From 9581849600c5d965d00458889b4a0c544000e339 Mon Sep 17 00:00:00 2001 From: Javier Viola Date: Tue, 20 Sep 2022 09:13:55 -0300 Subject: [PATCH 001/211] [Zombienet] add upgrade test (#5970) * add upgrade test * fix node names * changes from feedback * rename bash script * fix upgrade node test * upgrade node test, use env * bump zombienet version and fix upgrade test * bump zombienet version * bump zombienet * fix raw link for binary * adjust within time --- .gitlab-ci.yml | 37 +++++++++++++- .../misc/0002-download-polkadot-from-pr.sh | 17 +++++++ .../misc/0002-upgrade-node.feature | 33 +++++++++++++ zombienet_tests/misc/0002-upgrade-node.toml | 49 +++++++++++++++++++ 4 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 zombienet_tests/misc/0002-download-polkadot-from-pr.sh create mode 100644 zombienet_tests/misc/0002-upgrade-node.feature create mode 100644 zombienet_tests/misc/0002-upgrade-node.toml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d3a4d2eaf381..62e983e72c23 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ variables: CI_IMAGE: "paritytech/ci-linux:production" DOCKER_OS: "debian:stretch" ARCH: "x86_64" - ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.56" + ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.67" PIPELINE_SCRIPTS_TAG: "v0.4" default: @@ -231,6 +231,9 @@ build-linux-stable: - echo "Polkadot version = ${VERSION} (EXTRATAG = ${EXTRATAG})" - echo -n ${VERSION} > ./artifacts/VERSION - echo -n ${EXTRATAG} > ./artifacts/EXTRATAG + - echo -n ${CI_JOB_ID} > ./artifacts/BUILD_LINUX_JOB_ID + - RELEASE_VERSION=$(./artifacts/polkadot -V | awk '{print $2}'| awk -F "-" '{print $1}') + - echo -n "v${RELEASE_VERSION}" > ./artifacts/BUILD_RELEASE_VERSION - cp -r scripts/* ./artifacts test-linux-stable: @@ -868,6 +871,38 @@ zombienet-tests-misc-paritydb: tags: - zombienet-polkadot-integration-test +zombienet-tests-misc-upgrade-node: + stage: stage3 + image: "${ZOMBIENET_IMAGE}" + <<: *kubernetes-env + <<: *zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-test-collators-image + - job: build-linux-stable + artifacts: true + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/misc" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - BUILD_RELEASE_VERSION="$(cat ./artifacts/BUILD_RELEASE_VERSION)" + - export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:${BUILD_RELEASE_VERSION}" + - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} + - BUILD_LINUX_JOB_ID="$(cat ./artifacts/BUILD_LINUX_JOB_ID)" + - export POLKADOT_PR_BIN_URL="https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/${BUILD_LINUX_JOB_ID}/artifacts/raw/artifacts/polkadot" + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0002-upgrade-node.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + zombienet-tests-malus-dispute-valid: stage: stage3 image: "${ZOMBIENET_IMAGE}" diff --git a/zombienet_tests/misc/0002-download-polkadot-from-pr.sh b/zombienet_tests/misc/0002-download-polkadot-from-pr.sh new file mode 100644 index 000000000000..332435aaeebb --- /dev/null +++ b/zombienet_tests/misc/0002-download-polkadot-from-pr.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +set -euxo pipefail + +echo $@ + +CFG_DIR=/cfg + +# add CFG_DIR as first `looking dir` to allow to overrides commands. +mkdir -p $CFG_DIR +export PATH=$CFG_DIR:$PATH + +cd $CFG_DIR +# see 0002-upgrade-node.feature to view the args. +curl -L -O $1 +chmod +x $CFG_DIR/polkadot +echo $(polkadot --version) diff --git a/zombienet_tests/misc/0002-upgrade-node.feature b/zombienet_tests/misc/0002-upgrade-node.feature new file mode 100644 index 000000000000..6d0bd643c4f9 --- /dev/null +++ b/zombienet_tests/misc/0002-upgrade-node.feature @@ -0,0 +1,33 @@ +Description: Smoke / Upgrade Node +Network: ./0002-upgrade-node.toml +Creds: config + +alice: is up +bob: is up +charlie: is up +dave: is up + +alice: parachain 2000 block height is at least 10 within 200 seconds +bob: parachain 2001 block height is at least 10 within 200 seconds + +# upgrade both nodes +# For testing using native provider you should set this env var +# POLKADOT_PR_BIN_URL=https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/1842869/artifacts/raw/artifacts/polkadot +# with the version of polkadot you want to download. + +# avg 30s in our infra +alice: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_BIN_URL}}" within 40 seconds +bob: run ./0002-download-polkadot-from-pr.sh with "{{POLKADOT_PR_BIN_URL}}" within 40 seconds +alice: restart after 5 seconds +bob: restart after 5 seconds + +# process bootstrap +sleep 30 seconds + +alice: is up within 10 seconds +bob: is up within 10 seconds + + +alice: parachain 2000 block height is at least 30 within 300 seconds +bob: parachain 2001 block height is at least 30 within 120 seconds + diff --git a/zombienet_tests/misc/0002-upgrade-node.toml b/zombienet_tests/misc/0002-upgrade-node.toml new file mode 100644 index 000000000000..ef3fa54dc200 --- /dev/null +++ b/zombienet_tests/misc/0002-upgrade-node.toml @@ -0,0 +1,49 @@ +[settings] +timeout = 1000 + +[relaychain] +default_image = "{{ZOMBIENET_INTEGRATION_TEST_IMAGE}}" +chain = "rococo-local" + + + [[relaychain.nodes]] + name = "alice" + args = [ "-lparachain=debug,runtime=debug", "--db paritydb" ] + + [[relaychain.nodes]] + name = "bob" + args = [ "-lparachain=debug,runtime=debug", "--db rocksdb" ] + + [[relaychain.nodes]] + name = "charlie" + args = [ "-lparachain=debug,runtime=debug", "--db paritydb" ] + + [[relaychain.nodes]] + name = "dave" + args = [ "-lparachain=debug,runtime=debug", "--db rocksdb" ] + + +[[parachains]] +id = 2000 +addToGenesis = true + + [parachains.collator] + name = "collator01" + image = "{{COL_IMAGE}}" + command = "undying-collator" + args = ["-lparachain=debug"] + +[[parachains]] +id = 2001 +addToGenesis = true + + [parachains.collator] + name = "collator02" + image = "{{COL_IMAGE}}" + command = "undying-collator" + args = ["-lparachain=debug"] + +[types.Header] +number = "u64" +parent_hash = "Hash" +post_state = "Hash" \ No newline at end of file From afbc64e61697dc54db60b3c54510f1f5672a9068 Mon Sep 17 00:00:00 2001 From: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Date: Wed, 21 Sep 2022 00:53:12 +0200 Subject: [PATCH 002/211] Rename Origin (#6020) * Rename Origin * fmt * fixes * more fixes * fix * more fixing * small fixes * last touches * update lockfile for {"substrate"} Co-authored-by: Shawn Tabrizi Co-authored-by: parity-processbot <> --- Cargo.lock | 344 +++++++++--------- runtime/common/src/assigned_slots.rs | 87 +++-- runtime/common/src/auctions.rs | 138 +++---- runtime/common/src/claims.rs | 159 +++++--- runtime/common/src/crowdloan/mod.rs | 222 ++++++----- runtime/common/src/impls.rs | 2 +- runtime/common/src/integration_tests.rs | 88 +++-- runtime/common/src/paras_registrar.rs | 118 +++--- runtime/common/src/purchase.rs | 128 ++++--- runtime/common/src/slots/mod.rs | 18 +- runtime/kusama/src/governance/old.rs | 4 +- runtime/kusama/src/lib.rs | 8 +- runtime/kusama/src/xcm_config.rs | 22 +- runtime/parachains/src/configuration/tests.rs | 161 ++++---- runtime/parachains/src/hrmp.rs | 14 +- runtime/parachains/src/hrmp/benchmarking.rs | 4 +- runtime/parachains/src/initializer.rs | 2 +- runtime/parachains/src/mock.rs | 4 +- runtime/parachains/src/paras/tests.rs | 52 ++- runtime/parachains/src/session_info/tests.rs | 10 +- runtime/parachains/src/ump.rs | 2 +- runtime/parachains/src/ump/tests.rs | 12 +- runtime/polkadot/src/lib.rs | 12 +- runtime/polkadot/src/xcm_config.rs | 20 +- runtime/rococo/src/lib.rs | 12 +- runtime/rococo/src/validator_manager.rs | 2 +- runtime/rococo/src/xcm_config.rs | 22 +- runtime/test-runtime/src/lib.rs | 21 +- runtime/test-runtime/src/xcm_config.rs | 4 +- runtime/westend/src/lib.rs | 8 +- runtime/westend/src/xcm_config.rs | 20 +- .../src/fungible/mock.rs | 2 +- xcm/pallet-xcm-benchmarks/src/generic/mock.rs | 18 +- xcm/pallet-xcm-benchmarks/src/generic/mod.rs | 2 +- xcm/pallet-xcm/src/lib.rs | 25 +- xcm/pallet-xcm/src/mock.rs | 26 +- xcm/pallet-xcm/src/tests.rs | 48 +-- xcm/xcm-builder/src/mock.rs | 4 +- xcm/xcm-builder/src/origin_conversion.rs | 151 ++++---- xcm/xcm-builder/tests/mock/mod.rs | 18 +- xcm/xcm-executor/src/config.rs | 2 +- xcm/xcm-simulator/example/src/lib.rs | 2 +- xcm/xcm-simulator/example/src/parachain.rs | 16 +- xcm/xcm-simulator/example/src/relay_chain.rs | 18 +- xcm/xcm-simulator/fuzzer/src/parachain.rs | 16 +- xcm/xcm-simulator/fuzzer/src/relay_chain.rs | 18 +- 46 files changed, 1176 insertions(+), 910 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b9f15ad0ed18..d1cf333079aa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -429,7 +429,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "beefy-primitives", @@ -465,7 +465,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -485,7 +485,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "beefy-primitives", "sp-api", @@ -494,7 +494,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -1989,7 +1989,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", ] @@ -2007,7 +2007,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -2030,7 +2030,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "Inflector", "chrono", @@ -2081,7 +2081,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2108,7 +2108,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "bitflags", "frame-metadata", @@ -2169,7 +2169,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "Inflector", "cfg-expr", @@ -2183,7 +2183,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2195,7 +2195,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro2", "quote", @@ -2205,7 +2205,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2228,7 +2228,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -2239,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "log", @@ -2257,7 +2257,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -2272,7 +2272,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "sp-api", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "parity-scale-codec", @@ -2464,7 +2464,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "chrono", "frame-election-provider-support", @@ -4822,7 +4822,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -4836,7 +4836,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -4852,7 +4852,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -4867,7 +4867,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -4891,7 +4891,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4930,7 +4930,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -4945,7 +4945,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "beefy-primitives", "frame-support", @@ -4961,7 +4961,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -4984,7 +4984,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5002,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5021,7 +5021,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5038,7 +5038,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5054,7 +5054,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5078,7 +5078,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5091,7 +5091,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5109,7 +5109,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5124,7 +5124,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5147,7 +5147,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5183,7 +5183,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5200,7 +5200,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5217,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5250,7 +5250,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5265,7 +5265,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -5282,7 +5282,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5302,7 +5302,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "sp-api", @@ -5312,7 +5312,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5352,7 +5352,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5368,7 +5368,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5383,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5398,7 +5398,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -5435,7 +5435,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5451,7 +5451,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -5465,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5488,7 +5488,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5499,7 +5499,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "sp-arithmetic", @@ -5508,7 +5508,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -5522,7 +5522,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5540,7 +5540,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5559,7 +5559,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-support", "frame-system", @@ -5575,7 +5575,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5590,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5601,7 +5601,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5618,7 +5618,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -5634,7 +5634,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-benchmarking", "frame-support", @@ -8164,7 +8164,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8512,7 +8512,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "sp-core", @@ -8523,7 +8523,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "futures", @@ -8550,7 +8550,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "futures-timer", @@ -8573,7 +8573,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8589,7 +8589,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8617,7 +8617,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "chrono", "clap", @@ -8656,7 +8656,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "fnv", "futures", @@ -8684,7 +8684,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "hash-db", "kvdb", @@ -8709,7 +8709,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "futures", @@ -8733,7 +8733,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "fork-tree", @@ -8775,7 +8775,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "jsonrpsee", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8810,7 +8810,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "futures", @@ -8835,7 +8835,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8862,7 +8862,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "environmental", "parity-scale-codec", @@ -8878,7 +8878,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "parity-scale-codec", @@ -8893,7 +8893,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8913,7 +8913,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "ahash", "async-trait", @@ -8954,7 +8954,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "finality-grandpa", "futures", @@ -8975,7 +8975,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "ansi_term", "futures", @@ -8992,7 +8992,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "hex", @@ -9007,7 +9007,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "asynchronous-codec", @@ -9054,7 +9054,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "cid", "futures", @@ -9074,7 +9074,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "bitflags", @@ -9097,7 +9097,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "ahash", "futures", @@ -9115,7 +9115,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "hex", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "fork-tree", "futures", @@ -9164,7 +9164,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "bytes", "fnv", @@ -9194,7 +9194,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "libp2p", @@ -9207,7 +9207,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9216,7 +9216,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "hash-db", @@ -9246,7 +9246,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "jsonrpsee", @@ -9269,7 +9269,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "jsonrpsee", @@ -9282,7 +9282,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "directories", @@ -9351,7 +9351,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "parity-scale-codec", @@ -9365,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9384,7 +9384,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "libc", @@ -9403,7 +9403,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "chrono", "futures", @@ -9421,7 +9421,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "ansi_term", "atty", @@ -9452,7 +9452,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9463,7 +9463,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "futures-timer", @@ -9489,7 +9489,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "log", @@ -9502,7 +9502,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "futures-timer", @@ -9988,7 +9988,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "hash-db", "log", @@ -10006,7 +10006,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "blake2", "proc-macro-crate", @@ -10018,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -10031,7 +10031,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "integer-sqrt", "num-traits", @@ -10046,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -10059,7 +10059,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "parity-scale-codec", @@ -10071,7 +10071,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "sp-api", @@ -10083,7 +10083,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "log", @@ -10101,7 +10101,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "futures", @@ -10120,7 +10120,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "merlin", @@ -10143,7 +10143,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -10157,7 +10157,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -10170,7 +10170,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "base58", "bitflags", @@ -10216,7 +10216,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "blake2", "byteorder", @@ -10230,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro2", "quote", @@ -10241,7 +10241,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10250,7 +10250,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro2", "quote", @@ -10260,7 +10260,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "environmental", "parity-scale-codec", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "finality-grandpa", "log", @@ -10289,7 +10289,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10303,7 +10303,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "bytes", "futures", @@ -10329,7 +10329,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "lazy_static", "sp-core", @@ -10340,7 +10340,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "futures", @@ -10357,7 +10357,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "thiserror", "zstd", @@ -10366,7 +10366,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "parity-scale-codec", @@ -10381,7 +10381,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -10395,7 +10395,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "sp-api", "sp-core", @@ -10405,7 +10405,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "backtrace", "lazy_static", @@ -10415,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "rustc-hash", "serde", @@ -10425,7 +10425,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "either", "hash256-std-hasher", @@ -10448,7 +10448,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10466,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "Inflector", "proc-macro-crate", @@ -10478,7 +10478,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "parity-scale-codec", @@ -10492,7 +10492,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -10506,7 +10506,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "scale-info", @@ -10517,7 +10517,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "hash-db", "log", @@ -10539,12 +10539,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10557,7 +10557,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "log", "sp-core", @@ -10570,7 +10570,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "futures-timer", @@ -10586,7 +10586,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "sp-std", @@ -10598,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "sp-api", "sp-runtime", @@ -10607,7 +10607,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "log", @@ -10623,7 +10623,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "ahash", "hash-db", @@ -10646,7 +10646,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10663,7 +10663,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10674,7 +10674,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "impl-trait-for-tuples", "log", @@ -10687,7 +10687,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10902,7 +10902,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "platforms", ] @@ -10910,7 +10910,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10931,7 +10931,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures-util", "hyper", @@ -10944,7 +10944,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "jsonrpsee", "log", @@ -10965,7 +10965,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "async-trait", "futures", @@ -10991,7 +10991,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11001,7 +11001,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11012,7 +11012,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "ansi_term", "build-helper", @@ -11726,7 +11726,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#91b97b016618fcc515f55a15b1f008b68e13f5a2" +source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/common/src/assigned_slots.rs b/runtime/common/src/assigned_slots.rs index d704dfb0d158..9be227a37352 100644 --- a/runtime/common/src/assigned_slots.rs +++ b/runtime/common/src/assigned_slots.rs @@ -88,7 +88,7 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Origin for assigning slots. - type AssignSlotOrigin: EnsureOrigin<::Origin>; + type AssignSlotOrigin: EnsureOrigin<::RuntimeOrigin>; /// The type representing the leasing system. type Leaser: Leaser< @@ -592,7 +592,7 @@ mod tests { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = (); type BlockLength = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = BlockNumber; @@ -738,7 +738,10 @@ mod tests { run_to_block(1); assert_noop!( - AssignedSlots::assign_perm_parachain_slot(Origin::root(), ParaId::from(1_u32),), + AssignedSlots::assign_perm_parachain_slot( + RuntimeOrigin::root(), + ParaId::from(1_u32), + ), Error::::ParaDoesntExist ); }); @@ -750,7 +753,10 @@ mod tests { run_to_block(1); assert_noop!( - AssignedSlots::assign_perm_parachain_slot(Origin::signed(1), ParaId::from(1_u32),), + AssignedSlots::assign_perm_parachain_slot( + RuntimeOrigin::signed(1), + ParaId::from(1_u32), + ), BadOrigin ); }); @@ -770,7 +776,10 @@ mod tests { assert_ok!(TestRegistrar::::make_parachain(ParaId::from(1_u32))); assert_noop!( - AssignedSlots::assign_perm_parachain_slot(Origin::root(), ParaId::from(1_u32),), + AssignedSlots::assign_perm_parachain_slot( + RuntimeOrigin::root(), + ParaId::from(1_u32), + ), Error::::NotParathread ); }); @@ -792,18 +801,24 @@ mod tests { assert_ok!(Slots::lease_out(ParaId::from(1_u32), &1, 1, 1, 1)); // Try to assign a perm slot in current period fails assert_noop!( - AssignedSlots::assign_perm_parachain_slot(Origin::root(), ParaId::from(1_u32),), + AssignedSlots::assign_perm_parachain_slot( + RuntimeOrigin::root(), + ParaId::from(1_u32), + ), Error::::OngoingLeaseExists ); // Cleanup - assert_ok!(Slots::clear_all_leases(Origin::root(), 1.into())); + assert_ok!(Slots::clear_all_leases(RuntimeOrigin::root(), 1.into())); // Register lease for next lease period assert_ok!(Slots::lease_out(ParaId::from(1_u32), &1, 1, 2, 1)); // Should be detected and also fail assert_noop!( - AssignedSlots::assign_perm_parachain_slot(Origin::root(), ParaId::from(1_u32),), + AssignedSlots::assign_perm_parachain_slot( + RuntimeOrigin::root(), + ParaId::from(1_u32), + ), Error::::OngoingLeaseExists ); }); @@ -836,17 +851,20 @@ mod tests { )); assert_ok!(AssignedSlots::assign_perm_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), )); assert_ok!(AssignedSlots::assign_perm_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(2_u32), )); assert_eq!(AssignedSlots::permanent_slot_count(), 2); assert_noop!( - AssignedSlots::assign_perm_parachain_slot(Origin::root(), ParaId::from(3_u32),), + AssignedSlots::assign_perm_parachain_slot( + RuntimeOrigin::root(), + ParaId::from(3_u32), + ), Error::::MaxPermanentSlotsExceeded ); }); @@ -868,7 +886,7 @@ mod tests { assert_eq!(AssignedSlots::permanent_slots(ParaId::from(1_u32)), None); assert_ok!(AssignedSlots::assign_perm_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), )); @@ -901,7 +919,7 @@ mod tests { assert_noop!( AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), SlotLeasePeriodStart::Current ), @@ -917,7 +935,7 @@ mod tests { assert_noop!( AssignedSlots::assign_temp_parachain_slot( - Origin::signed(1), + RuntimeOrigin::signed(1), ParaId::from(1_u32), SlotLeasePeriodStart::Current ), @@ -941,7 +959,7 @@ mod tests { assert_noop!( AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), SlotLeasePeriodStart::Current ), @@ -967,7 +985,7 @@ mod tests { // Try to assign a perm slot in current period fails assert_noop!( AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), SlotLeasePeriodStart::Current ), @@ -975,14 +993,14 @@ mod tests { ); // Cleanup - assert_ok!(Slots::clear_all_leases(Origin::root(), 1.into())); + assert_ok!(Slots::clear_all_leases(RuntimeOrigin::root(), 1.into())); // Register lease for next lease period assert_ok!(Slots::lease_out(ParaId::from(1_u32), &1, 1, 2, 1)); // Should be detected and also fail assert_noop!( AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), SlotLeasePeriodStart::Current ), @@ -1006,7 +1024,7 @@ mod tests { )); assert_ok!(AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(n as u32), SlotLeasePeriodStart::Current )); @@ -1023,7 +1041,7 @@ mod tests { )); assert_noop!( AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(7_u32), SlotLeasePeriodStart::Current ), @@ -1047,7 +1065,7 @@ mod tests { assert_eq!(AssignedSlots::temporary_slots(ParaId::from(1_u32)), None); assert_ok!(AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), SlotLeasePeriodStart::Current )); @@ -1122,7 +1140,7 @@ mod tests { )); assert_ok!(AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(n as u32), if (n % 2).is_zero() { SlotLeasePeriodStart::Current @@ -1214,7 +1232,7 @@ mod tests { run_to_block(1); assert_noop!( - AssignedSlots::unassign_parachain_slot(Origin::root(), ParaId::from(1_u32),), + AssignedSlots::unassign_parachain_slot(RuntimeOrigin::root(), ParaId::from(1_u32),), Error::::SlotNotAssigned ); }); @@ -1226,7 +1244,10 @@ mod tests { run_to_block(1); assert_noop!( - AssignedSlots::assign_perm_parachain_slot(Origin::signed(1), ParaId::from(1_u32),), + AssignedSlots::assign_perm_parachain_slot( + RuntimeOrigin::signed(1), + ParaId::from(1_u32), + ), BadOrigin ); }); @@ -1245,15 +1266,16 @@ mod tests { )); assert_ok!(AssignedSlots::assign_perm_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), )); assert_eq!(TestRegistrar::::is_parachain(ParaId::from(1_u32)), true); - assert_ok!( - AssignedSlots::unassign_parachain_slot(Origin::root(), ParaId::from(1_u32),) - ); + assert_ok!(AssignedSlots::unassign_parachain_slot( + RuntimeOrigin::root(), + ParaId::from(1_u32), + )); assert_eq!(AssignedSlots::permanent_slot_count(), 0); assert_eq!(AssignedSlots::has_permanent_slot(ParaId::from(1_u32)), false); @@ -1276,16 +1298,17 @@ mod tests { )); assert_ok!(AssignedSlots::assign_temp_parachain_slot( - Origin::root(), + RuntimeOrigin::root(), ParaId::from(1_u32), SlotLeasePeriodStart::Current )); assert_eq!(TestRegistrar::::is_parachain(ParaId::from(1_u32)), true); - assert_ok!( - AssignedSlots::unassign_parachain_slot(Origin::root(), ParaId::from(1_u32),) - ); + assert_ok!(AssignedSlots::unassign_parachain_slot( + RuntimeOrigin::root(), + ParaId::from(1_u32), + )); assert_eq!(AssignedSlots::temporary_slot_count(), 0); assert_eq!(AssignedSlots::active_temporary_slot_count(), 0); diff --git a/runtime/common/src/auctions.rs b/runtime/common/src/auctions.rs index b71f0ea3874a..f9181a7eac7b 100644 --- a/runtime/common/src/auctions.rs +++ b/runtime/common/src/auctions.rs @@ -117,7 +117,7 @@ pub mod pallet { type Randomness: Randomness; /// The origin which may initiate auctions. - type InitiateOrigin: EnsureOrigin; + type InitiateOrigin: EnsureOrigin; /// Weight Information for the Extrinsics in the Pallet type WeightInfo: WeightInfo; @@ -709,7 +709,7 @@ mod tests { type BlockWeights = (); type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = BlockNumber; @@ -955,8 +955,8 @@ mod tests { new_test_ext().execute_with(|| { run_to_block(1); - assert_noop!(Auctions::new_auction(Origin::signed(1), 5, 1), BadOrigin); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); + assert_noop!(Auctions::new_auction(RuntimeOrigin::signed(1), 5, 1), BadOrigin); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); assert_eq!(AuctionCounter::::get(), 1); assert_eq!( @@ -970,8 +970,8 @@ mod tests { fn bidding_works() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 4, 5)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 4, 5)); assert_eq!(Balances::reserved_balance(1), 5); assert_eq!(Balances::free_balance(1), 5); @@ -986,12 +986,12 @@ mod tests { fn under_bidding_works() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 4, 5)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 4, 5)); assert_storage_noop!({ - assert_ok!(Auctions::bid(Origin::signed(2), 0.into(), 1, 1, 4, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), 0.into(), 1, 1, 4, 1)); }); }); } @@ -1000,9 +1000,9 @@ mod tests { fn over_bidding_works() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 4, 5)); - assert_ok!(Auctions::bid(Origin::signed(2), 0.into(), 1, 1, 4, 6)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 4, 5)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), 0.into(), 1, 1, 4, 6)); assert_eq!(Balances::reserved_balance(1), 0); assert_eq!(Balances::free_balance(1), 10); @@ -1020,7 +1020,7 @@ mod tests { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); assert_eq!(AuctionCounter::::get(), 1); assert_eq!( @@ -1082,8 +1082,8 @@ mod tests { fn can_win_auction() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 4, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 4, 1)); assert_eq!(Balances::reserved_balance(1), 1); assert_eq!(Balances::free_balance(1), 9); run_to_block(9); @@ -1105,8 +1105,8 @@ mod tests { fn can_win_auction_with_late_randomness() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 4, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 4, 1)); assert_eq!(Balances::reserved_balance(1), 1); assert_eq!(Balances::free_balance(1), 9); assert_eq!( @@ -1159,8 +1159,8 @@ mod tests { fn can_win_incomplete_auction() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 4, 4, 5)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 4, 4, 5)); run_to_block(9); assert_eq!(leases(), vec![((0.into(), 4), LeaseData { leaser: 1, amount: 5 }),]); @@ -1172,11 +1172,11 @@ mod tests { fn should_choose_best_combination() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 1, 1)); - assert_ok!(Auctions::bid(Origin::signed(2), 0.into(), 1, 2, 3, 4)); - assert_ok!(Auctions::bid(Origin::signed(3), 0.into(), 1, 4, 4, 2)); - assert_ok!(Auctions::bid(Origin::signed(1), 1.into(), 1, 1, 4, 2)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 1, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), 0.into(), 1, 2, 3, 4)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), 0.into(), 1, 4, 4, 2)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 1.into(), 1, 1, 4, 2)); run_to_block(9); assert_eq!( @@ -1199,15 +1199,15 @@ mod tests { fn gap_bid_works() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); // User 1 will make a bid for period 1 and 4 for the same Para 0 - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 1, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 4, 4, 4)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 1, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 4, 4, 4)); // User 2 and 3 will make a bid for para 1 on period 2 and 3 respectively - assert_ok!(Auctions::bid(Origin::signed(2), 1.into(), 1, 2, 2, 2)); - assert_ok!(Auctions::bid(Origin::signed(3), 1.into(), 1, 3, 3, 3)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), 1.into(), 1, 2, 2, 2)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), 1.into(), 1, 3, 3, 3)); // Total reserved should be the max of the two assert_eq!(Balances::reserved_balance(1), 4); @@ -1238,16 +1238,16 @@ mod tests { fn deposit_credit_should_work() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 1, 5)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 1, 5)); assert_eq!(Balances::reserved_balance(1), 5); run_to_block(10); assert_eq!(leases(), vec![((0.into(), 1), LeaseData { leaser: 1, amount: 5 }),]); assert_eq!(TestLeaser::deposit_held(0.into(), &1), 5); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 2)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 2, 2, 2, 6)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 2)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 2, 2, 2, 6)); // Only 1 reserved since we have a deposit credit of 5. assert_eq!(Balances::reserved_balance(1), 1); run_to_block(20); @@ -1267,16 +1267,16 @@ mod tests { fn deposit_credit_on_alt_para_should_not_count() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 1, 5)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 1, 5)); assert_eq!(Balances::reserved_balance(1), 5); run_to_block(10); assert_eq!(leases(), vec![((0.into(), 1), LeaseData { leaser: 1, amount: 5 }),]); assert_eq!(TestLeaser::deposit_held(0.into(), &1), 5); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 2)); - assert_ok!(Auctions::bid(Origin::signed(1), 1.into(), 2, 2, 2, 6)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 2)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 1.into(), 2, 2, 2, 6)); // 6 reserved since we are bidding on a new para; only works because we don't assert_eq!(Balances::reserved_balance(1), 6); run_to_block(20); @@ -1298,11 +1298,11 @@ mod tests { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); for i in 1..6u64 { run_to_block(i as _); - assert_ok!(Auctions::bid(Origin::signed(i), 0.into(), 1, 1, 4, i)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(i), 0.into(), 1, 1, 4, i)); for j in 1..6 { assert_eq!(Balances::reserved_balance(j), if j == i { j } else { 0 }); assert_eq!(Balances::free_balance(j), if j == i { j * 9 } else { j * 10 }); @@ -1327,11 +1327,11 @@ mod tests { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 0, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 0, 1)); for i in 1..6u64 { run_to_block(((i - 1) / 2 + 1) as _); - assert_ok!(Auctions::bid(Origin::signed(i), 0.into(), 1, 1, 4, i)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(i), 0.into(), 1, 1, 4, i)); for j in 1..6 { assert_eq!(Balances::reserved_balance(j), if j <= i { j } else { 0 }); assert_eq!(Balances::free_balance(j), if j <= i { j * 9 } else { j * 10 }); @@ -1405,19 +1405,19 @@ mod tests { fn lower_bids_are_correctly_refunded() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 1, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 1, 1)); let para_1 = ParaId::from(1_u32); let para_2 = ParaId::from(2_u32); // Make a bid and reserve a balance - assert_ok!(Auctions::bid(Origin::signed(1), para_1, 1, 1, 4, 10)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 1, 4, 10)); assert_eq!(Balances::reserved_balance(1), 10); assert_eq!(ReservedAmounts::::get((1, para_1)), Some(10)); assert_eq!(Balances::reserved_balance(2), 0); assert_eq!(ReservedAmounts::::get((2, para_2)), None); // Bigger bid, reserves new balance and returns funds - assert_ok!(Auctions::bid(Origin::signed(2), para_2, 1, 1, 4, 20)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 1, 4, 20)); assert_eq!(Balances::reserved_balance(1), 0); assert_eq!(ReservedAmounts::::get((1, para_1)), None); assert_eq!(Balances::reserved_balance(2), 20); @@ -1429,14 +1429,14 @@ mod tests { fn initialize_winners_in_ending_period_works() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 9, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 9, 1)); let para_1 = ParaId::from(1_u32); let para_2 = ParaId::from(2_u32); let para_3 = ParaId::from(3_u32); // Make bids - assert_ok!(Auctions::bid(Origin::signed(1), para_1, 1, 1, 4, 10)); - assert_ok!(Auctions::bid(Origin::signed(2), para_2, 1, 3, 4, 20)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 1, 4, 10)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 3, 4, 20)); assert_eq!( Auctions::auction_status(System::block_number()), @@ -1466,7 +1466,7 @@ mod tests { AuctionStatus::::EndingPeriod(1, 0) ); assert_eq!(Auctions::winning(1), Some(winning)); - assert_ok!(Auctions::bid(Origin::signed(3), para_3, 1, 3, 4, 30)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 3, 4, 30)); run_to_block(12); assert_eq!( @@ -1482,9 +1482,9 @@ mod tests { fn handle_bid_requires_registered_para() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); assert_noop!( - Auctions::bid(Origin::signed(1), 1337.into(), 1, 1, 4, 1), + Auctions::bid(RuntimeOrigin::signed(1), 1337.into(), 1, 1, 4, 1), Error::::ParaNotRegistered ); assert_ok!(TestRegistrar::::register( @@ -1493,7 +1493,7 @@ mod tests { dummy_head_data(), dummy_validation_code() )); - assert_ok!(Auctions::bid(Origin::signed(1), 1337.into(), 1, 1, 4, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 1337.into(), 1, 1, 4, 1)); }); } @@ -1501,8 +1501,8 @@ mod tests { fn handle_bid_checks_existing_lease_periods() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 2, 3, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 2, 3, 1)); assert_eq!(Balances::reserved_balance(1), 1); assert_eq!(Balances::free_balance(1), 9); run_to_block(9); @@ -1518,21 +1518,21 @@ mod tests { // Para 1 just won an auction above and won some lease periods. // No bids can work which overlap these periods. - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); assert_noop!( - Auctions::bid(Origin::signed(1), 0.into(), 2, 1, 4, 1), + Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 2, 1, 4, 1), Error::::AlreadyLeasedOut, ); assert_noop!( - Auctions::bid(Origin::signed(1), 0.into(), 2, 1, 2, 1), + Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 2, 1, 2, 1), Error::::AlreadyLeasedOut, ); assert_noop!( - Auctions::bid(Origin::signed(1), 0.into(), 2, 3, 4, 1), + Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 2, 3, 4, 1), Error::::AlreadyLeasedOut, ); // This is okay, not an overlapping bid. - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 2, 1, 1, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 2, 1, 1, 1)); }); } @@ -1544,14 +1544,14 @@ mod tests { SampleLength::set(10); run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 9, 11)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 9, 11)); let para_1 = ParaId::from(1_u32); let para_2 = ParaId::from(2_u32); let para_3 = ParaId::from(3_u32); // Make bids - assert_ok!(Auctions::bid(Origin::signed(1), para_1, 1, 11, 14, 10)); - assert_ok!(Auctions::bid(Origin::signed(2), para_2, 1, 13, 14, 20)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), para_1, 1, 11, 14, 10)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(2), para_2, 1, 13, 14, 20)); assert_eq!( Auctions::auction_status(System::block_number()), @@ -1576,7 +1576,7 @@ mod tests { assert_eq!(Auctions::winning(0), Some(winning)); // New bids update the current winning - assert_ok!(Auctions::bid(Origin::signed(3), para_3, 1, 14, 14, 30)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 14, 14, 30)); winning[SlotRange::ThreeThree as u8 as usize] = Some((3, para_3, 30)); assert_eq!(Auctions::winning(0), Some(winning)); @@ -1588,7 +1588,7 @@ mod tests { assert_eq!(Auctions::winning(1), Some(winning)); run_to_block(25); // Overbid mid sample - assert_ok!(Auctions::bid(Origin::signed(3), para_3, 1, 13, 14, 30)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(3), para_3, 1, 13, 14, 30)); winning[SlotRange::TwoThree as u8 as usize] = Some((3, para_3, 30)); assert_eq!(Auctions::winning(1), Some(winning)); @@ -1629,7 +1629,7 @@ mod tests { ); run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 9, 11)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 9, 11)); run_to_block(9); assert_eq!( @@ -1704,13 +1704,13 @@ mod tests { fn can_cancel_auction() { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Auctions::new_auction(Origin::signed(6), 5, 1)); - assert_ok!(Auctions::bid(Origin::signed(1), 0.into(), 1, 1, 4, 1)); + assert_ok!(Auctions::new_auction(RuntimeOrigin::signed(6), 5, 1)); + assert_ok!(Auctions::bid(RuntimeOrigin::signed(1), 0.into(), 1, 1, 4, 1)); assert_eq!(Balances::reserved_balance(1), 1); assert_eq!(Balances::free_balance(1), 9); - assert_noop!(Auctions::cancel_auction(Origin::signed(6)), BadOrigin); - assert_ok!(Auctions::cancel_auction(Origin::root())); + assert_noop!(Auctions::cancel_auction(RuntimeOrigin::signed(6)), BadOrigin); + assert_ok!(Auctions::cancel_auction(RuntimeOrigin::root())); assert!(AuctionInfo::::get().is_none()); assert_eq!(Balances::reserved_balance(1), 0); @@ -1784,7 +1784,7 @@ mod benchmarking { let duration = T::BlockNumber::max_value(); let lease_period_index = LeasePeriodOf::::max_value(); let origin = T::InitiateOrigin::successful_origin(); - }: _(origin, duration, lease_period_index) + }: _(origin, duration, lease_period_index) verify { assert_last_event::(Event::::AuctionStarted { auction_index: AuctionCounter::::get(), diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index 1f92f4553533..cded9b289a4f 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -176,7 +176,7 @@ pub mod pallet { type VestingSchedule: VestingSchedule; #[pallet::constant] type Prefix: Get<&'static [u8]>; - type MoveClaimOrigin: EnsureOrigin; + type MoveClaimOrigin: EnsureOrigin; type WeightInfo: WeightInfo; } @@ -750,7 +750,7 @@ mod tests { type BlockWeights = (); type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -885,7 +885,7 @@ mod tests { new_test_ext().execute_with(|| { assert_eq!(Balances::free_balance(42), 0); assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 42, sig::(&alice(), &42u64.encode(), &[][..]) )); @@ -900,16 +900,25 @@ mod tests { new_test_ext().execute_with(|| { assert_eq!(Balances::free_balance(42), 0); assert_noop!( - Claims::move_claim(Origin::signed(1), eth(&alice()), eth(&bob()), None), + Claims::move_claim(RuntimeOrigin::signed(1), eth(&alice()), eth(&bob()), None), BadOrigin ); - assert_ok!(Claims::move_claim(Origin::signed(6), eth(&alice()), eth(&bob()), None)); + assert_ok!(Claims::move_claim( + RuntimeOrigin::signed(6), + eth(&alice()), + eth(&bob()), + None + )); assert_noop!( - Claims::claim(Origin::none(), 42, sig::(&alice(), &42u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 42, + sig::(&alice(), &42u64.encode(), &[][..]) + ), Error::::SignerHasNoClaim ); assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 42, sig::(&bob(), &42u64.encode(), &[][..]) )); @@ -922,10 +931,15 @@ mod tests { #[test] fn claim_attest_moving_works() { new_test_ext().execute_with(|| { - assert_ok!(Claims::move_claim(Origin::signed(6), eth(&dave()), eth(&bob()), None)); + assert_ok!(Claims::move_claim( + RuntimeOrigin::signed(6), + eth(&dave()), + eth(&bob()), + None + )); let s = sig::(&bob(), &42u64.encode(), StatementKind::Regular.to_text()); assert_ok!(Claims::claim_attest( - Origin::none(), + RuntimeOrigin::none(), 42, s, StatementKind::Regular.to_text().to_vec() @@ -937,8 +951,16 @@ mod tests { #[test] fn attest_moving_works() { new_test_ext().execute_with(|| { - assert_ok!(Claims::move_claim(Origin::signed(6), eth(&eve()), eth(&bob()), Some(42))); - assert_ok!(Claims::attest(Origin::signed(42), StatementKind::Saft.to_text().to_vec())); + assert_ok!(Claims::move_claim( + RuntimeOrigin::signed(6), + eth(&eve()), + eth(&bob()), + Some(42) + )); + assert_ok!(Claims::attest( + RuntimeOrigin::signed(42), + StatementKind::Saft.to_text().to_vec() + )); assert_eq!(Balances::free_balance(&42), 300); }); } @@ -947,20 +969,28 @@ mod tests { fn claiming_does_not_bypass_signing() { new_test_ext().execute_with(|| { assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 42, sig::(&alice(), &42u64.encode(), &[][..]) )); assert_noop!( - Claims::claim(Origin::none(), 42, sig::(&dave(), &42u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 42, + sig::(&dave(), &42u64.encode(), &[][..]) + ), Error::::InvalidStatement, ); assert_noop!( - Claims::claim(Origin::none(), 42, sig::(&eve(), &42u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 42, + sig::(&eve(), &42u64.encode(), &[][..]) + ), Error::::InvalidStatement, ); assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 42, sig::(&frank(), &42u64.encode(), &[][..]) )); @@ -973,7 +1003,7 @@ mod tests { assert_eq!(Balances::free_balance(42), 0); let s = sig::(&dave(), &42u64.encode(), StatementKind::Saft.to_text()); let r = Claims::claim_attest( - Origin::none(), + RuntimeOrigin::none(), 42, s.clone(), StatementKind::Saft.to_text().to_vec(), @@ -981,7 +1011,7 @@ mod tests { assert_noop!(r, Error::::InvalidStatement); let r = Claims::claim_attest( - Origin::none(), + RuntimeOrigin::none(), 42, s, StatementKind::Regular.to_text().to_vec(), @@ -992,7 +1022,7 @@ mod tests { let s = sig::(&dave(), &42u64.encode(), StatementKind::Regular.to_text()); assert_ok!(Claims::claim_attest( - Origin::none(), + RuntimeOrigin::none(), 42, s, StatementKind::Regular.to_text().to_vec() @@ -1002,7 +1032,7 @@ mod tests { let s = sig::(&dave(), &42u64.encode(), StatementKind::Regular.to_text()); let r = Claims::claim_attest( - Origin::none(), + RuntimeOrigin::none(), 42, s, StatementKind::Regular.to_text().to_vec(), @@ -1016,14 +1046,20 @@ mod tests { new_test_ext().execute_with(|| { assert_eq!(Balances::free_balance(42), 0); assert_noop!( - Claims::attest(Origin::signed(69), StatementKind::Saft.to_text().to_vec()), + Claims::attest(RuntimeOrigin::signed(69), StatementKind::Saft.to_text().to_vec()), Error::::SenderHasNoClaim ); assert_noop!( - Claims::attest(Origin::signed(42), StatementKind::Regular.to_text().to_vec()), + Claims::attest( + RuntimeOrigin::signed(42), + StatementKind::Regular.to_text().to_vec() + ), Error::::InvalidStatement ); - assert_ok!(Claims::attest(Origin::signed(42), StatementKind::Saft.to_text().to_vec())); + assert_ok!(Claims::attest( + RuntimeOrigin::signed(42), + StatementKind::Saft.to_text().to_vec() + )); assert_eq!(Balances::free_balance(&42), 300); assert_eq!(Claims::total(), total_claims() - 300); }); @@ -1035,13 +1071,16 @@ mod tests { assert_eq!(Balances::free_balance(42), 0); // Alice's claim is 100 assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 42, sig::(&alice(), &42u64.encode(), &[][..]) )); assert_eq!(Balances::free_balance(&42), 100); // Eve's claim is 300 through Account 42 - assert_ok!(Claims::attest(Origin::signed(42), StatementKind::Saft.to_text().to_vec())); + assert_ok!(Claims::attest( + RuntimeOrigin::signed(42), + StatementKind::Saft.to_text().to_vec() + )); assert_eq!(Balances::free_balance(&42), 100 + 300); assert_eq!(Claims::total(), total_claims() - 400); }); @@ -1085,7 +1124,7 @@ mod tests { new_test_ext().execute_with(|| { assert_eq!(Balances::free_balance(42), 0); let s = sig::(&dave(), &42u64.encode(), &[]); - let r = Claims::claim(Origin::none(), 42, s.clone()); + let r = Claims::claim(RuntimeOrigin::none(), 42, s.clone()); assert_noop!(r, Error::::InvalidStatement); }); } @@ -1094,18 +1133,22 @@ mod tests { fn add_claim_works() { new_test_ext().execute_with(|| { assert_noop!( - Claims::mint_claim(Origin::signed(42), eth(&bob()), 200, None, None), + Claims::mint_claim(RuntimeOrigin::signed(42), eth(&bob()), 200, None, None), sp_runtime::traits::BadOrigin, ); assert_eq!(Balances::free_balance(42), 0); assert_noop!( - Claims::claim(Origin::none(), 69, sig::(&bob(), &69u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 69, + sig::(&bob(), &69u64.encode(), &[][..]) + ), Error::::SignerHasNoClaim, ); - assert_ok!(Claims::mint_claim(Origin::root(), eth(&bob()), 200, None, None)); + assert_ok!(Claims::mint_claim(RuntimeOrigin::root(), eth(&bob()), 200, None, None)); assert_eq!(Claims::total(), total_claims() + 200); assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 69, sig::(&bob(), &69u64.encode(), &[][..]) )); @@ -1119,23 +1162,33 @@ mod tests { fn add_claim_with_vesting_works() { new_test_ext().execute_with(|| { assert_noop!( - Claims::mint_claim(Origin::signed(42), eth(&bob()), 200, Some((50, 10, 1)), None), + Claims::mint_claim( + RuntimeOrigin::signed(42), + eth(&bob()), + 200, + Some((50, 10, 1)), + None + ), sp_runtime::traits::BadOrigin, ); assert_eq!(Balances::free_balance(42), 0); assert_noop!( - Claims::claim(Origin::none(), 69, sig::(&bob(), &69u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 69, + sig::(&bob(), &69u64.encode(), &[][..]) + ), Error::::SignerHasNoClaim, ); assert_ok!(Claims::mint_claim( - Origin::root(), + RuntimeOrigin::root(), eth(&bob()), 200, Some((50, 10, 1)), None )); assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 69, sig::(&bob(), &69u64.encode(), &[][..]) )); @@ -1160,7 +1213,7 @@ mod tests { new_test_ext().execute_with(|| { assert_noop!( Claims::mint_claim( - Origin::signed(42), + RuntimeOrigin::signed(42), eth(&bob()), 200, None, @@ -1172,7 +1225,7 @@ mod tests { let signature = sig::(&bob(), &69u64.encode(), StatementKind::Regular.to_text()); assert_noop!( Claims::claim_attest( - Origin::none(), + RuntimeOrigin::none(), 69, signature.clone(), StatementKind::Regular.to_text().to_vec() @@ -1180,18 +1233,18 @@ mod tests { Error::::SignerHasNoClaim ); assert_ok!(Claims::mint_claim( - Origin::root(), + RuntimeOrigin::root(), eth(&bob()), 200, None, Some(StatementKind::Regular) )); assert_noop!( - Claims::claim_attest(Origin::none(), 69, signature.clone(), vec![],), + Claims::claim_attest(RuntimeOrigin::none(), 69, signature.clone(), vec![],), Error::::SignerHasNoClaim ); assert_ok!(Claims::claim_attest( - Origin::none(), + RuntimeOrigin::none(), 69, signature.clone(), StatementKind::Regular.to_text().to_vec() @@ -1206,7 +1259,7 @@ mod tests { assert_eq!(Balances::free_balance(42), 0); assert_err!( Claims::claim( - Origin::signed(42), + RuntimeOrigin::signed(42), 42, sig::(&alice(), &42u64.encode(), &[][..]) ), @@ -1220,12 +1273,16 @@ mod tests { new_test_ext().execute_with(|| { assert_eq!(Balances::free_balance(42), 0); assert_ok!(Claims::claim( - Origin::none(), + RuntimeOrigin::none(), 42, sig::(&alice(), &42u64.encode(), &[][..]) )); assert_noop!( - Claims::claim(Origin::none(), 42, sig::(&alice(), &42u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 42, + sig::(&alice(), &42u64.encode(), &[][..]) + ), Error::::SignerHasNoClaim ); }); @@ -1244,7 +1301,7 @@ mod tests { CurrencyOf::::make_free_balance_be(&69, total_claims()); assert_eq!(Balances::free_balance(69), total_claims()); assert_ok!(Claims::mint_claim( - Origin::root(), + RuntimeOrigin::root(), eth(&bob()), 200, Some((50, 10, 1)), @@ -1255,7 +1312,11 @@ mod tests { // They should not be able to claim assert_noop!( - Claims::claim(Origin::none(), 69, sig::(&bob(), &69u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 69, + sig::(&bob(), &69u64.encode(), &[][..]) + ), Error::::VestedBalanceExists, ); }); @@ -1266,7 +1327,11 @@ mod tests { new_test_ext().execute_with(|| { assert_eq!(Balances::free_balance(42), 0); assert_noop!( - Claims::claim(Origin::none(), 42, sig::(&alice(), &69u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 42, + sig::(&alice(), &69u64.encode(), &[][..]) + ), Error::::SignerHasNoClaim ); }); @@ -1277,7 +1342,11 @@ mod tests { new_test_ext().execute_with(|| { assert_eq!(Balances::free_balance(42), 0); assert_noop!( - Claims::claim(Origin::none(), 42, sig::(&bob(), &69u64.encode(), &[][..])), + Claims::claim( + RuntimeOrigin::none(), + 42, + sig::(&bob(), &69u64.encode(), &[][..]) + ), Error::::SignerHasNoClaim ); }); diff --git a/runtime/common/src/crowdloan/mod.rs b/runtime/common/src/crowdloan/mod.rs index 684c6a088a3f..1f84af3f2ee9 100644 --- a/runtime/common/src/crowdloan/mod.rs +++ b/runtime/common/src/crowdloan/mod.rs @@ -892,7 +892,7 @@ mod tests { type BlockWeights = (); type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = BlockNumber; @@ -1168,7 +1168,7 @@ mod tests { new_test_ext().execute_with(|| { let para = new_para(); // Now try to create a crowdloan campaign - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 4, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 4, 9, None)); // This is what the initial `fund_info` should look like let fund_info = FundInfo { depositor: 1, @@ -1201,7 +1201,7 @@ mod tests { let para = new_para(); // Now try to create a crowdloan campaign assert_ok!(Crowdloan::create( - Origin::signed(1), + RuntimeOrigin::signed(1), para, 1000, 1, @@ -1241,12 +1241,15 @@ mod tests { let para = new_para(); let e = Error::::InvalidParaId; - assert_noop!(Crowdloan::create(Origin::signed(1), 1.into(), 1000, 1, 4, 9, None), e); + assert_noop!( + Crowdloan::create(RuntimeOrigin::signed(1), 1.into(), 1000, 1, 4, 9, None), + e + ); // Cannot create a crowdloan with bad lease periods let e = Error::::LastPeriodBeforeFirstPeriod; - assert_noop!(Crowdloan::create(Origin::signed(1), para, 1000, 4, 1, 9, None), e); + assert_noop!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 4, 1, 9, None), e); let e = Error::::LastPeriodTooFarInFuture; - assert_noop!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 9, 9, None), e); + assert_noop!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 9, 9, None), e); // Cannot create a crowdloan without some deposit funds assert_ok!(TestRegistrar::::register( @@ -1257,14 +1260,22 @@ mod tests { )); let e = BalancesError::::InsufficientBalance; assert_noop!( - Crowdloan::create(Origin::signed(1337), ParaId::from(1234), 1000, 1, 3, 9, None), + Crowdloan::create( + RuntimeOrigin::signed(1337), + ParaId::from(1234), + 1000, + 1, + 3, + 9, + None + ), e ); // Cannot create a crowdloan with nonsense end date // This crowdloan would end in lease period 2, but is bidding for some slot that starts in lease period 1. assert_noop!( - Crowdloan::create(Origin::signed(1), para, 1000, 1, 4, 41, None), + Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 4, 41, None), Error::::EndTooFarInFuture ); }); @@ -1277,13 +1288,13 @@ mod tests { let index = NextFundIndex::::get(); // Set up a crowdloan - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 4, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 4, 9, None)); // No contributions yet assert_eq!(Crowdloan::contribution_get(u32::from(para), &1).0, 0); // User 1 contributes to their own crowdloan - assert_ok!(Crowdloan::contribute(Origin::signed(1), para, 49, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(1), para, 49, None)); // User 1 has spent some funds to do this, transfer fees **are** taken assert_eq!(Balances::free_balance(1), 950); // Contributions are stored in the trie @@ -1309,7 +1320,7 @@ mod tests { let pubkey = crypto::create_ed25519_pubkey(b"//verifier".to_vec()); // Set up a crowdloan assert_ok!(Crowdloan::create( - Origin::signed(1), + RuntimeOrigin::signed(1), para, 1000, 1, @@ -1323,7 +1334,7 @@ mod tests { // Missing signature assert_noop!( - Crowdloan::contribute(Origin::signed(1), para, 49, None), + Crowdloan::contribute(RuntimeOrigin::signed(1), para, 49, None), Error::::InvalidSignature ); @@ -1335,23 +1346,33 @@ mod tests { // Invalid signature assert_noop!( - Crowdloan::contribute(Origin::signed(1), para, 49, Some(invalid_signature)), + Crowdloan::contribute(RuntimeOrigin::signed(1), para, 49, Some(invalid_signature)), Error::::InvalidSignature ); // Valid signature wrong parameter assert_noop!( - Crowdloan::contribute(Origin::signed(1), para, 50, Some(valid_signature.clone())), + Crowdloan::contribute( + RuntimeOrigin::signed(1), + para, + 50, + Some(valid_signature.clone()) + ), Error::::InvalidSignature ); assert_noop!( - Crowdloan::contribute(Origin::signed(2), para, 49, Some(valid_signature.clone())), + Crowdloan::contribute( + RuntimeOrigin::signed(2), + para, + 49, + Some(valid_signature.clone()) + ), Error::::InvalidSignature ); // Valid signature assert_ok!(Crowdloan::contribute( - Origin::signed(1), + RuntimeOrigin::signed(1), para, 49, Some(valid_signature.clone()) @@ -1359,7 +1380,7 @@ mod tests { // Reuse valid signature assert_noop!( - Crowdloan::contribute(Origin::signed(1), para, 49, Some(valid_signature)), + Crowdloan::contribute(RuntimeOrigin::signed(1), para, 49, Some(valid_signature)), Error::::InvalidSignature ); @@ -1367,7 +1388,12 @@ mod tests { let valid_signature_2 = crypto::create_ed25519_signature(&payload_2.encode(), pubkey); // New valid signature - assert_ok!(Crowdloan::contribute(Origin::signed(1), para, 10, Some(valid_signature_2))); + assert_ok!(Crowdloan::contribute( + RuntimeOrigin::signed(1), + para, + 10, + Some(valid_signature_2) + )); // Contributions appear in free balance of crowdloan assert_eq!(Balances::free_balance(Crowdloan::fund_account_id(index)), 59); @@ -1385,22 +1411,22 @@ mod tests { // Cannot contribute to non-existing fund assert_noop!( - Crowdloan::contribute(Origin::signed(1), para, 49, None), + Crowdloan::contribute(RuntimeOrigin::signed(1), para, 49, None), Error::::InvalidParaId ); // Cannot contribute below minimum contribution assert_noop!( - Crowdloan::contribute(Origin::signed(1), para, 9, None), + Crowdloan::contribute(RuntimeOrigin::signed(1), para, 9, None), Error::::ContributionTooSmall ); // Set up a crowdloan - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 4, 9, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(1), para, 101, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 4, 9, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(1), para, 101, None)); // Cannot contribute past the limit assert_noop!( - Crowdloan::contribute(Origin::signed(2), para, 900, None), + Crowdloan::contribute(RuntimeOrigin::signed(2), para, 900, None), Error::::CapExceeded ); @@ -1409,31 +1435,31 @@ mod tests { // Cannot contribute to ended fund assert_noop!( - Crowdloan::contribute(Origin::signed(1), para, 49, None), + Crowdloan::contribute(RuntimeOrigin::signed(1), para, 49, None), Error::::ContributionPeriodOver ); // If a crowdloan has already won, it should not allow contributions. let para_2 = new_para(); let index = NextFundIndex::::get(); - assert_ok!(Crowdloan::create(Origin::signed(1), para_2, 1000, 1, 4, 40, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_2, 1000, 1, 4, 40, None)); // Emulate a win by leasing out and putting a deposit. Slots pallet would normally do this. let crowdloan_account = Crowdloan::fund_account_id(index); set_winner(para_2, crowdloan_account, true); assert_noop!( - Crowdloan::contribute(Origin::signed(1), para_2, 49, None), + Crowdloan::contribute(RuntimeOrigin::signed(1), para_2, 49, None), Error::::BidOrLeaseActive ); // Move past lease period 1, should not be allowed to have further contributions with a crowdloan // that has starting period 1. let para_3 = new_para(); - assert_ok!(Crowdloan::create(Origin::signed(1), para_3, 1000, 1, 4, 40, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_3, 1000, 1, 4, 40, None)); run_to_block(40); let now = System::block_number(); assert_eq!(TestAuctioneer::lease_period_index(now).unwrap().0, 2); assert_noop!( - Crowdloan::contribute(Origin::signed(1), para_3, 49, None), + Crowdloan::contribute(RuntimeOrigin::signed(1), para_3, 49, None), Error::::ContributionPeriodOver ); }); @@ -1452,7 +1478,7 @@ mod tests { // Set up a crowdloan assert_ok!(Crowdloan::create( - Origin::signed(1), + RuntimeOrigin::signed(1), para, 1000, first_period, @@ -1464,20 +1490,20 @@ mod tests { run_to_block(8); // Can def contribute when auction is running. assert!(TestAuctioneer::auction_status(System::block_number()).is_ending().is_some()); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 250, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 250, None)); run_to_block(10); // Can't contribute when auction is in the VRF delay period. assert!(TestAuctioneer::auction_status(System::block_number()).is_vrf()); assert_noop!( - Crowdloan::contribute(Origin::signed(2), para, 250, None), + Crowdloan::contribute(RuntimeOrigin::signed(2), para, 250, None), Error::::VrfDelayInProgress ); run_to_block(15); // Its fine to contribute when no auction is running. assert!(!TestAuctioneer::auction_status(System::block_number()).is_in_progress()); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 250, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 250, None)); }) } @@ -1493,7 +1519,7 @@ mod tests { // Set up a crowdloan assert_ok!(Crowdloan::create( - Origin::signed(1), + RuntimeOrigin::signed(1), para, 1000, first_period, @@ -1505,13 +1531,13 @@ mod tests { // Fund crowdloan run_to_block(1); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 100, None)); run_to_block(3); - assert_ok!(Crowdloan::contribute(Origin::signed(3), para, 150, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para, 150, None)); run_to_block(5); - assert_ok!(Crowdloan::contribute(Origin::signed(4), para, 200, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(4), para, 200, None)); run_to_block(8); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 250, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 250, None)); run_to_block(10); assert_eq!( @@ -1535,9 +1561,9 @@ mod tests { let index = NextFundIndex::::get(); // Set up a crowdloan - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 1, 9, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 100, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(3), para, 50, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para, 50, None)); run_to_block(10); let account_id = Crowdloan::fund_account_id(index); @@ -1548,11 +1574,11 @@ mod tests { assert_eq!(Balances::free_balance(2), 1900); assert_eq!(Balances::free_balance(3), 2950); - assert_ok!(Crowdloan::withdraw(Origin::signed(2), 2, para)); + assert_ok!(Crowdloan::withdraw(RuntimeOrigin::signed(2), 2, para)); assert_eq!(Balances::free_balance(&account_id), 50); assert_eq!(Balances::free_balance(2), 2000); - assert_ok!(Crowdloan::withdraw(Origin::signed(2), 3, para)); + assert_ok!(Crowdloan::withdraw(RuntimeOrigin::signed(2), 3, para)); assert_eq!(Balances::free_balance(&account_id), 0); assert_eq!(Balances::free_balance(3), 3000); }); @@ -1565,26 +1591,26 @@ mod tests { let index = NextFundIndex::::get(); // Set up a crowdloan - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 1, 9, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 100, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 100, None)); run_to_block(10); let account_id = Crowdloan::fund_account_id(index); // user sends the crowdloan funds trying to make an accounting error - assert_ok!(Balances::transfer(Origin::signed(1), account_id, 10)); + assert_ok!(Balances::transfer(RuntimeOrigin::signed(1), account_id, 10)); // overfunded now assert_eq!(Balances::free_balance(&account_id), 110); assert_eq!(Balances::free_balance(2), 1900); - assert_ok!(Crowdloan::withdraw(Origin::signed(2), 2, para)); + assert_ok!(Crowdloan::withdraw(RuntimeOrigin::signed(2), 2, para)); assert_eq!(Balances::free_balance(2), 2000); // Some funds are left over assert_eq!(Balances::free_balance(&account_id), 10); // They wil be left in the account at the end - assert_ok!(Crowdloan::dissolve(Origin::signed(1), para)); + assert_ok!(Crowdloan::dissolve(RuntimeOrigin::signed(1), para)); assert_eq!(Balances::free_balance(&account_id), 10); }); } @@ -1597,23 +1623,23 @@ mod tests { let account_id = Crowdloan::fund_account_id(index); // Set up a crowdloan ending on 9 - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 1, 9, None)); // Make some contributions - assert_ok!(Crowdloan::contribute(Origin::signed(1), para, 100, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 200, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(3), para, 300, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(1), para, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 200, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para, 300, None)); assert_eq!(Balances::free_balance(account_id), 600); // Can't refund before the crowdloan it has ended assert_noop!( - Crowdloan::refund(Origin::signed(1337), para), + Crowdloan::refund(RuntimeOrigin::signed(1337), para), Error::::FundNotEnded, ); // Move to the end of the crowdloan run_to_block(10); - assert_ok!(Crowdloan::refund(Origin::signed(1337), para)); + assert_ok!(Crowdloan::refund(RuntimeOrigin::signed(1337), para)); // Funds are returned assert_eq!(Balances::free_balance(account_id), 0); @@ -1632,12 +1658,12 @@ mod tests { let account_id = Crowdloan::fund_account_id(index); // Set up a crowdloan ending on 9 - assert_ok!(Crowdloan::create(Origin::signed(1), para, 100000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 100000, 1, 1, 9, None)); // Make more contributions than our limit for i in 1..=RemoveKeysLimit::get() * 2 { Balances::make_free_balance_be(&i.into(), (1000 * i).into()); assert_ok!(Crowdloan::contribute( - Origin::signed(i.into()), + RuntimeOrigin::signed(i.into()), para, (i * 100).into(), None @@ -1648,7 +1674,7 @@ mod tests { // Move to the end of the crowdloan run_to_block(10); - assert_ok!(Crowdloan::refund(Origin::signed(1337), para)); + assert_ok!(Crowdloan::refund(RuntimeOrigin::signed(1337), para)); assert_eq!( last_event(), super::Event::::PartiallyRefunded { para_id: para }.into() @@ -1658,7 +1684,7 @@ mod tests { assert!(!Balances::free_balance(account_id).is_zero()); // Call again - assert_ok!(Crowdloan::refund(Origin::signed(1337), para)); + assert_ok!(Crowdloan::refund(RuntimeOrigin::signed(1337), para)); assert_eq!(last_event(), super::Event::::AllRefunded { para_id: para }.into()); // Funds are returned @@ -1677,16 +1703,16 @@ mod tests { let issuance = Balances::total_issuance(); // Set up a crowdloan - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 1, 9, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 100, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(3), para, 50, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para, 50, None)); run_to_block(10); // All funds are refunded - assert_ok!(Crowdloan::refund(Origin::signed(2), para)); + assert_ok!(Crowdloan::refund(RuntimeOrigin::signed(2), para)); // Now that `fund.raised` is zero, it can be dissolved. - assert_ok!(Crowdloan::dissolve(Origin::signed(1), para)); + assert_ok!(Crowdloan::dissolve(RuntimeOrigin::signed(1), para)); assert_eq!(Balances::free_balance(1), 1000); assert_eq!(Balances::free_balance(2), 2000); assert_eq!(Balances::free_balance(3), 3000); @@ -1701,13 +1727,13 @@ mod tests { let issuance = Balances::total_issuance(); // Set up a crowdloan - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 1, 9, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 100, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(3), para, 50, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para, 50, None)); // Can't dissolve before it ends assert_noop!( - Crowdloan::dissolve(Origin::signed(1), para), + Crowdloan::dissolve(RuntimeOrigin::signed(1), para), Error::::NotReadyToDissolve ); @@ -1715,22 +1741,22 @@ mod tests { set_winner(para, 1, true); // Can't dissolve when it won. assert_noop!( - Crowdloan::dissolve(Origin::signed(1), para), + Crowdloan::dissolve(RuntimeOrigin::signed(1), para), Error::::NotReadyToDissolve ); set_winner(para, 1, false); // Can't dissolve while it still has user funds assert_noop!( - Crowdloan::dissolve(Origin::signed(1), para), + Crowdloan::dissolve(RuntimeOrigin::signed(1), para), Error::::NotReadyToDissolve ); // All funds are refunded - assert_ok!(Crowdloan::refund(Origin::signed(2), para)); + assert_ok!(Crowdloan::refund(RuntimeOrigin::signed(2), para)); // Now that `fund.raised` is zero, it can be dissolved. - assert_ok!(Crowdloan::dissolve(Origin::signed(1), para)); + assert_ok!(Crowdloan::dissolve(RuntimeOrigin::signed(1), para)); assert_eq!(Balances::free_balance(1), 1000); assert_eq!(Balances::free_balance(2), 2000); assert_eq!(Balances::free_balance(3), 3000); @@ -1746,17 +1772,17 @@ mod tests { let account_id = Crowdloan::fund_account_id(index); // Set up a crowdloan - assert_ok!(Crowdloan::create(Origin::signed(1), para, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para, 1000, 1, 1, 9, None)); // Fund crowdloans. - assert_ok!(Crowdloan::contribute(Origin::signed(2), para, 100, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(3), para, 50, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para, 50, None)); // simulate the reserving of para's funds. this actually happens in the Slots pallet. assert_ok!(Balances::reserve(&account_id, 150)); run_to_block(19); assert_noop!( - Crowdloan::withdraw(Origin::signed(2), 2, para), + Crowdloan::withdraw(RuntimeOrigin::signed(2), 2, para), Error::::BidOrLeaseActive ); @@ -1772,11 +1798,11 @@ mod tests { assert_eq!(Balances::free_balance(2), 1900); assert_eq!(Balances::free_balance(3), 2950); - assert_ok!(Crowdloan::withdraw(Origin::signed(2), 2, para)); + assert_ok!(Crowdloan::withdraw(RuntimeOrigin::signed(2), 2, para)); assert_eq!(Balances::free_balance(&account_id), 50); assert_eq!(Balances::free_balance(2), 2000); - assert_ok!(Crowdloan::withdraw(Origin::signed(2), 3, para)); + assert_ok!(Crowdloan::withdraw(RuntimeOrigin::signed(2), 3, para)); assert_eq!(Balances::free_balance(&account_id), 0); assert_eq!(Balances::free_balance(3), 3000); }); @@ -1789,11 +1815,11 @@ mod tests { let para_2 = new_para(); // Set up crowdloans - assert_ok!(Crowdloan::create(Origin::signed(1), para_1, 1000, 1, 1, 9, None)); - assert_ok!(Crowdloan::create(Origin::signed(1), para_2, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_1, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_2, 1000, 1, 1, 9, None)); // Different contributions - assert_ok!(Crowdloan::contribute(Origin::signed(2), para_1, 100, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(3), para_2, 50, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para_1, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(3), para_2, 50, None)); // Original state assert_eq!(Funds::::get(para_1).unwrap().raised, 100); assert_eq!(Funds::::get(para_2).unwrap().raised, 50); @@ -1810,10 +1836,10 @@ mod tests { new_test_ext().execute_with(|| { let para_1 = new_para(); - assert_ok!(Crowdloan::create(Origin::signed(1), para_1, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_1, 1000, 1, 1, 9, None)); // Cannot create a fund again assert_noop!( - Crowdloan::create(Origin::signed(1), para_1, 1000, 1, 1, 9, None), + Crowdloan::create(RuntimeOrigin::signed(1), para_1, 1000, 1, 1, 9, None), Error::::FundNotEnded, ); }); @@ -1824,11 +1850,11 @@ mod tests { new_test_ext().execute_with(|| { let para_1 = new_para(); - assert_ok!(Crowdloan::create(Origin::signed(1), para_1, 1000, 1, 1, 9, None)); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para_1, 100, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_1, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para_1, 100, None)); let old_crowdloan = Crowdloan::funds(para_1).unwrap(); - assert_ok!(Crowdloan::edit(Origin::root(), para_1, 1234, 2, 3, 4, None)); + assert_ok!(Crowdloan::edit(RuntimeOrigin::root(), para_1, 1234, 2, 3, 4, None)); let new_crowdloan = Crowdloan::funds(para_1).unwrap(); // Some things stay the same @@ -1848,25 +1874,29 @@ mod tests { new_test_ext().execute_with(|| { let para_1 = new_para(); - assert_ok!(Crowdloan::create(Origin::signed(1), para_1, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_1, 1000, 1, 1, 9, None)); // Cant add a memo before you have contributed. assert_noop!( - Crowdloan::add_memo(Origin::signed(1), para_1, b"hello, world".to_vec()), + Crowdloan::add_memo(RuntimeOrigin::signed(1), para_1, b"hello, world".to_vec()), Error::::NoContributions, ); // Make a contribution. Initially no memo. - assert_ok!(Crowdloan::contribute(Origin::signed(1), para_1, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(1), para_1, 100, None)); assert_eq!(Crowdloan::contribution_get(0u32, &1), (100, vec![])); // Can't place a memo that is too large. assert_noop!( - Crowdloan::add_memo(Origin::signed(1), para_1, vec![123; 123]), + Crowdloan::add_memo(RuntimeOrigin::signed(1), para_1, vec![123; 123]), Error::::MemoTooLarge, ); // Adding a memo to an existing contribution works - assert_ok!(Crowdloan::add_memo(Origin::signed(1), para_1, b"hello, world".to_vec())); + assert_ok!(Crowdloan::add_memo( + RuntimeOrigin::signed(1), + para_1, + b"hello, world".to_vec() + )); assert_eq!(Crowdloan::contribution_get(0u32, &1), (100, b"hello, world".to_vec())); // Can contribute again and data persists - assert_ok!(Crowdloan::contribute(Origin::signed(1), para_1, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(1), para_1, 100, None)); assert_eq!(Crowdloan::contribution_get(0u32, &1), (200, b"hello, world".to_vec())); }); } @@ -1877,18 +1907,18 @@ mod tests { let para_1 = new_para(); assert_ok!(TestAuctioneer::new_auction(5, 0)); - assert_ok!(Crowdloan::create(Origin::signed(1), para_1, 1000, 1, 1, 9, None)); + assert_ok!(Crowdloan::create(RuntimeOrigin::signed(1), para_1, 1000, 1, 1, 9, None)); // Should fail when no contributions. assert_noop!( - Crowdloan::poke(Origin::signed(1), para_1), + Crowdloan::poke(RuntimeOrigin::signed(1), para_1), Error::::NoContributions ); - assert_ok!(Crowdloan::contribute(Origin::signed(2), para_1, 100, None)); + assert_ok!(Crowdloan::contribute(RuntimeOrigin::signed(2), para_1, 100, None)); run_to_block(6); - assert_ok!(Crowdloan::poke(Origin::signed(1), para_1)); + assert_ok!(Crowdloan::poke(RuntimeOrigin::signed(1), para_1)); assert_eq!(Crowdloan::new_raise(), vec![para_1]); assert_noop!( - Crowdloan::poke(Origin::signed(1), para_1), + Crowdloan::poke(RuntimeOrigin::signed(1), para_1), Error::::AlreadyInNewRaise ); }); diff --git a/runtime/common/src/impls.rs b/runtime/common/src/impls.rs index f8675143e2bf..4c09397e0451 100644 --- a/runtime/common/src/impls.rs +++ b/runtime/common/src/impls.rs @@ -106,7 +106,7 @@ mod tests { impl frame_system::Config for Test { type BaseCallFilter = frame_support::traits::Everything; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Index = u64; type BlockNumber = u64; type RuntimeCall = RuntimeCall; diff --git a/runtime/common/src/integration_tests.rs b/runtime/common/src/integration_tests.rs index c81d58c8798a..15a39ff5a2f4 100644 --- a/runtime/common/src/integration_tests.rs +++ b/runtime/common/src/integration_tests.rs @@ -61,9 +61,9 @@ fn account_id(i: u32) -> AccountId32 { array.into() } -fn signed(i: u32) -> Origin { +fn signed(i: u32) -> RuntimeOrigin { let account_id = account_id(i); - Origin::signed(account_id) + RuntimeOrigin::signed(account_id) } frame_support::construct_runtime!( @@ -112,7 +112,7 @@ impl frame_system::Config for Test { type BlockWeights = BlockWeights; type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = BlockNumber; @@ -218,7 +218,7 @@ impl paras_registrar::Config for Test { type ParaDeposit = ParaDeposit; type DataDepositPerByte = DataDepositPerByte; type Currency = Balances; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type WeightInfo = crate::paras_registrar::TestWeightInfo; } @@ -389,7 +389,11 @@ fn basic_end_to_end_works() { // Start a new auction in the future let duration = 99u32 + offset; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // 2 sessions later they are parathreads run_to_session(2); @@ -557,7 +561,11 @@ fn basic_errors_fail() { // Start an auction let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // Cannot create a crowdloan if you do not own the para assert_noop!( @@ -600,7 +608,11 @@ fn competing_slots() { // Start a new auction in the future let duration = 149u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // Paras should be onboarded run_to_block(20); // session 2 @@ -697,7 +709,11 @@ fn competing_bids() { let starting_block = System::block_number(); let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); for n in 1..=3 { // Create a crowdloan for each para @@ -799,7 +815,11 @@ fn basic_swap_works() { // Start a new auction in the future let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // 2 sessions later they are parathreads run_to_session(2); @@ -955,7 +975,11 @@ fn parachain_swap_works() { let unique_id = winner - 1999u32; let starting_block = System::block_number(); let duration = 99u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // 2 sessions later they are parathreads run_to_block(starting_block + 20); @@ -1106,7 +1130,11 @@ fn crowdloan_ending_period_bid() { // Start a new auction in the future let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // 2 sessions later they are parathreads run_to_session(2); @@ -1182,7 +1210,11 @@ fn auction_bid_requires_registered_para() { // Start a new auction in the future let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // Can't bid with non-registered paras Balances::make_free_balance_be(&account_id(1), 1_000_000_000); @@ -1244,7 +1276,11 @@ fn gap_bids_work() { // Start a new auction in the future let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); Balances::make_free_balance_be(&account_id(1), 1_000_000_000); Balances::make_free_balance_be(&account_id(2), 1_000_000_000); @@ -1432,7 +1468,11 @@ fn cant_bid_on_existing_lease_periods() { let starting_block = System::block_number(); let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // 2 sessions later they are parathreads run_to_session(2); @@ -1480,7 +1520,11 @@ fn cant_bid_on_existing_lease_periods() { let starting_block = System::block_number(); let duration = 99u32; let lease_period_index_start = 4u32; - assert_ok!(Auctions::new_auction(Origin::root(), duration, lease_period_index_start)); + assert_ok!(Auctions::new_auction( + RuntimeOrigin::root(), + duration, + lease_period_index_start + )); // Poke the crowdloan into `NewRaise` assert_ok!(Crowdloan::poke(signed(1), ParaId::from(2000))); @@ -1492,7 +1536,7 @@ fn cant_bid_on_existing_lease_periods() { // Bids cannot be made which intersect assert_noop!( Auctions::bid( - Origin::signed(crowdloan_account.clone()), + RuntimeOrigin::signed(crowdloan_account.clone()), ParaId::from(2000), 2, lease_period_index_start + 0, @@ -1504,7 +1548,7 @@ fn cant_bid_on_existing_lease_periods() { assert_noop!( Auctions::bid( - Origin::signed(crowdloan_account.clone()), + RuntimeOrigin::signed(crowdloan_account.clone()), ParaId::from(2000), 2, lease_period_index_start + 1, @@ -1516,7 +1560,7 @@ fn cant_bid_on_existing_lease_periods() { assert_noop!( Auctions::bid( - Origin::signed(crowdloan_account.clone()), + RuntimeOrigin::signed(crowdloan_account.clone()), ParaId::from(2000), 2, lease_period_index_start - 1, @@ -1528,7 +1572,7 @@ fn cant_bid_on_existing_lease_periods() { assert_noop!( Auctions::bid( - Origin::signed(crowdloan_account.clone()), + RuntimeOrigin::signed(crowdloan_account.clone()), ParaId::from(2000), 2, lease_period_index_start + 0, @@ -1540,7 +1584,7 @@ fn cant_bid_on_existing_lease_periods() { assert_noop!( Auctions::bid( - Origin::signed(crowdloan_account.clone()), + RuntimeOrigin::signed(crowdloan_account.clone()), ParaId::from(2000), 2, lease_period_index_start + 1, @@ -1552,7 +1596,7 @@ fn cant_bid_on_existing_lease_periods() { assert_noop!( Auctions::bid( - Origin::signed(crowdloan_account.clone()), + RuntimeOrigin::signed(crowdloan_account.clone()), ParaId::from(2000), 2, lease_period_index_start - 1, @@ -1564,7 +1608,7 @@ fn cant_bid_on_existing_lease_periods() { // Will work when not overlapping assert_ok!(Auctions::bid( - Origin::signed(crowdloan_account.clone()), + RuntimeOrigin::signed(crowdloan_account.clone()), ParaId::from(2000), 2, lease_period_index_start + 2, diff --git a/runtime/common/src/paras_registrar.rs b/runtime/common/src/paras_registrar.rs index 4d63a8f8fe86..90493c9077b9 100644 --- a/runtime/common/src/paras_registrar.rs +++ b/runtime/common/src/paras_registrar.rs @@ -102,8 +102,8 @@ pub mod pallet { /// infallibly convert between this origin and the system origin, but in reality, they're the /// same type, we just can't express that to the Rust type system without writing a `where` /// clause everywhere. - type Origin: From<::Origin> - + Into::Origin>>; + type RuntimeOrigin: From<::RuntimeOrigin> + + Into::RuntimeOrigin>>; /// The system's currency for parathread payment. type Currency: ReservableCurrency; @@ -456,7 +456,7 @@ impl Pallet { /// Ensure the origin is one of Root, the `para` owner, or the `para` itself. /// If the origin is the `para` owner, the `para` must be unlocked. fn ensure_root_para_or_owner( - origin: ::Origin, + origin: ::RuntimeOrigin, id: ParaId, ) -> DispatchResult { ensure_signed(origin.clone()) @@ -469,7 +469,8 @@ impl Pallet { }) .or_else(|_| -> DispatchResult { // Else check if para origin... - let caller_id = ensure_parachain(::Origin::from(origin.clone()))?; + let caller_id = + ensure_parachain(::RuntimeOrigin::from(origin.clone()))?; ensure!(caller_id == id, Error::::NotOwner); Ok(()) }) @@ -648,7 +649,7 @@ mod tests { impl frame_system::Config for Test { type BaseCallFilter = frame_support::traits::Everything; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = BlockNumber; @@ -715,8 +716,8 @@ mod tests { } impl Config for Test { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type OnSwap = MockSwap; type ParaDeposit = ParaDeposit; @@ -800,7 +801,7 @@ mod tests { ValidationCode(validation_code) } - fn para_origin(id: ParaId) -> Origin { + fn para_origin(id: ParaId) -> RuntimeOrigin { runtime_parachains::Origin::Parachain(id).into() } @@ -828,9 +829,9 @@ mod tests { // first para is not yet registered assert!(!Parachains::is_parathread(para_id)); // We register the Para ID - assert_ok!(Registrar::reserve(Origin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, test_genesis_head(32), test_validation_code(32), @@ -851,7 +852,7 @@ mod tests { assert!(Parachains::is_parathread(para_id)); assert!(!Parachains::is_parachain(para_id)); // Deregister it - assert_ok!(Registrar::deregister(Origin::root(), para_id,)); + assert_ok!(Registrar::deregister(RuntimeOrigin::root(), para_id,)); run_to_session(8); // It is nothing assert!(!Parachains::is_parathread(para_id)); @@ -865,10 +866,10 @@ mod tests { run_to_block(1); let para_id = LOWEST_PUBLIC_ID; assert!(!Parachains::is_parathread(para_id)); - assert_ok!(Registrar::reserve(Origin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); assert_eq!(Balances::reserved_balance(&1), ::ParaDeposit::get()); assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, test_genesis_head(32), test_validation_code(32), @@ -890,7 +891,7 @@ mod tests { assert_noop!( Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, test_genesis_head(max_head_size() as usize), test_validation_code(max_code_size() as usize), @@ -899,11 +900,11 @@ mod tests { ); // Successfully register para - assert_ok!(Registrar::reserve(Origin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); assert_noop!( Registrar::register( - Origin::signed(2), + RuntimeOrigin::signed(2), para_id, test_genesis_head(max_head_size() as usize), test_validation_code(max_code_size() as usize), @@ -912,7 +913,7 @@ mod tests { ); assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, test_genesis_head(max_head_size() as usize), test_validation_code(max_code_size() as usize), @@ -920,12 +921,12 @@ mod tests { run_to_session(2); - assert_ok!(Registrar::deregister(Origin::root(), para_id)); + assert_ok!(Registrar::deregister(RuntimeOrigin::root(), para_id)); // Can't do it again assert_noop!( Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, test_genesis_head(max_head_size() as usize), test_validation_code(max_code_size() as usize), @@ -934,10 +935,10 @@ mod tests { ); // Head Size Check - assert_ok!(Registrar::reserve(Origin::signed(2))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(2))); assert_noop!( Registrar::register( - Origin::signed(2), + RuntimeOrigin::signed(2), para_id + 1, test_genesis_head((max_head_size() + 1) as usize), test_validation_code(max_code_size() as usize), @@ -948,7 +949,7 @@ mod tests { // Code Size Check assert_noop!( Registrar::register( - Origin::signed(2), + RuntimeOrigin::signed(2), para_id + 1, test_genesis_head(max_head_size() as usize), test_validation_code((max_code_size() + 1) as usize), @@ -958,7 +959,7 @@ mod tests { // Needs enough funds for deposit assert_noop!( - Registrar::reserve(Origin::signed(1337)), + Registrar::reserve(RuntimeOrigin::signed(1337)), BalancesError::::InsufficientBalance ); }); @@ -970,16 +971,16 @@ mod tests { run_to_block(1); let para_id = LOWEST_PUBLIC_ID; assert!(!Parachains::is_parathread(para_id)); - assert_ok!(Registrar::reserve(Origin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, test_genesis_head(32), test_validation_code(32), )); run_to_session(2); assert!(Parachains::is_parathread(para_id)); - assert_ok!(Registrar::deregister(Origin::root(), para_id,)); + assert_ok!(Registrar::deregister(RuntimeOrigin::root(), para_id,)); run_to_session(4); assert!(paras::Pallet::::lifecycle(para_id).is_none()); assert_eq!(Balances::reserved_balance(&1), 0); @@ -992,9 +993,9 @@ mod tests { run_to_block(1); let para_id = LOWEST_PUBLIC_ID; assert!(!Parachains::is_parathread(para_id)); - assert_ok!(Registrar::reserve(Origin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, test_genesis_head(32), test_validation_code(32), @@ -1002,12 +1003,12 @@ mod tests { run_to_session(2); assert!(Parachains::is_parathread(para_id)); // Owner check - assert_noop!(Registrar::deregister(Origin::signed(2), para_id,), BadOrigin); + assert_noop!(Registrar::deregister(RuntimeOrigin::signed(2), para_id,), BadOrigin); assert_ok!(Registrar::make_parachain(para_id)); run_to_session(4); // Cant directly deregister parachain assert_noop!( - Registrar::deregister(Origin::root(), para_id,), + Registrar::deregister(RuntimeOrigin::root(), para_id,), Error::::NotParathread ); }); @@ -1019,16 +1020,16 @@ mod tests { // Successfully register first two parachains let para_1 = LOWEST_PUBLIC_ID; let para_2 = LOWEST_PUBLIC_ID + 1; - assert_ok!(Registrar::reserve(Origin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_1, test_genesis_head(max_head_size() as usize), test_validation_code(max_code_size() as usize), )); - assert_ok!(Registrar::reserve(Origin::signed(2))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(2))); assert_ok!(Registrar::register( - Origin::signed(2), + RuntimeOrigin::signed(2), para_2, test_genesis_head(max_head_size() as usize), test_validation_code(max_code_size() as usize), @@ -1075,17 +1076,17 @@ mod tests { new_test_ext().execute_with(|| { run_to_block(1); - assert_ok!(Registrar::reserve(Origin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); let para_id = LOWEST_PUBLIC_ID; assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_id, vec![1; 3].into(), vec![1, 2, 3].into(), )); // Owner can call swap - assert_ok!(Registrar::swap(Origin::signed(1), para_id, para_id + 1)); + assert_ok!(Registrar::swap(RuntimeOrigin::signed(1), para_id, para_id + 1)); // 2 session changes to fully onboard. run_to_session(2); @@ -1095,7 +1096,10 @@ mod tests { assert_ok!(Registrar::make_parachain(para_id)); // Owner cannot call swap anymore - assert_noop!(Registrar::swap(Origin::signed(1), para_id, para_id + 2), BadOrigin); + assert_noop!( + Registrar::swap(RuntimeOrigin::signed(1), para_id, para_id + 2), + BadOrigin + ); }); } @@ -1111,30 +1115,30 @@ mod tests { // Cannot even start a swap assert_noop!( - Registrar::swap(Origin::root(), para_1, para_2), + Registrar::swap(RuntimeOrigin::root(), para_1, para_2), Error::::NotRegistered ); // We register Paras 1 and 2 - assert_ok!(Registrar::reserve(Origin::signed(1))); - assert_ok!(Registrar::reserve(Origin::signed(2))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(1))); + assert_ok!(Registrar::reserve(RuntimeOrigin::signed(2))); assert_ok!(Registrar::register( - Origin::signed(1), + RuntimeOrigin::signed(1), para_1, test_genesis_head(32), test_validation_code(32), )); assert_ok!(Registrar::register( - Origin::signed(2), + RuntimeOrigin::signed(2), para_2, test_genesis_head(32), test_validation_code(32), )); // Cannot swap - assert_ok!(Registrar::swap(Origin::root(), para_1, para_2)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_1, para_2)); assert_noop!( - Registrar::swap(Origin::root(), para_2, para_1), + Registrar::swap(RuntimeOrigin::root(), para_2, para_1), Error::::CannotSwap ); @@ -1145,9 +1149,9 @@ mod tests { assert!(Parachains::is_parathread(para_2)); // Cannot swap - assert_ok!(Registrar::swap(Origin::root(), para_1, para_2)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_1, para_2)); assert_noop!( - Registrar::swap(Origin::root(), para_2, para_1), + Registrar::swap(RuntimeOrigin::root(), para_2, para_1), Error::::CannotSwap ); @@ -1155,18 +1159,18 @@ mod tests { assert_ok!(Registrar::make_parachain(para_1)); // Cannot swap - assert_ok!(Registrar::swap(Origin::root(), para_1, para_2)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_1, para_2)); assert_noop!( - Registrar::swap(Origin::root(), para_2, para_1), + Registrar::swap(RuntimeOrigin::root(), para_2, para_1), Error::::CannotSwap ); run_to_session(3); // Cannot swap - assert_ok!(Registrar::swap(Origin::root(), para_1, para_2)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_1, para_2)); assert_noop!( - Registrar::swap(Origin::root(), para_2, para_1), + Registrar::swap(RuntimeOrigin::root(), para_2, para_1), Error::::CannotSwap ); @@ -1177,15 +1181,15 @@ mod tests { assert!(Parachains::is_parathread(para_2)); // Swap works here. - assert_ok!(Registrar::swap(Origin::root(), para_1, para_2)); - assert_ok!(Registrar::swap(Origin::root(), para_2, para_1)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_1, para_2)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_2, para_1)); run_to_session(5); // Cannot swap - assert_ok!(Registrar::swap(Origin::root(), para_1, para_2)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_1, para_2)); assert_noop!( - Registrar::swap(Origin::root(), para_2, para_1), + Registrar::swap(RuntimeOrigin::root(), para_2, para_1), Error::::CannotSwap ); @@ -1201,9 +1205,9 @@ mod tests { run_to_session(7); // Cannot swap - assert_ok!(Registrar::swap(Origin::root(), para_1, para_2)); + assert_ok!(Registrar::swap(RuntimeOrigin::root(), para_1, para_2)); assert_noop!( - Registrar::swap(Origin::root(), para_2, para_1), + Registrar::swap(RuntimeOrigin::root(), para_2, para_1), Error::::CannotSwap ); @@ -1261,7 +1265,7 @@ mod benchmarking { } benchmarks! { - where_clause { where ParaOrigin: Into<::Origin> } + where_clause { where ParaOrigin: Into<::RuntimeOrigin> } reserve { let caller: T::AccountId = whitelisted_caller(); diff --git a/runtime/common/src/purchase.rs b/runtime/common/src/purchase.rs index cea93307bfb3..8c0fcebd5c12 100644 --- a/runtime/common/src/purchase.rs +++ b/runtime/common/src/purchase.rs @@ -111,10 +111,10 @@ pub mod pallet { >; /// The origin allowed to set account status. - type ValidityOrigin: EnsureOrigin; + type ValidityOrigin: EnsureOrigin; /// The origin allowed to make configurations to the pallet. - type ConfigurationOrigin: EnsureOrigin; + type ConfigurationOrigin: EnsureOrigin; /// The maximum statement length for the statement users to sign when creating an account. #[pallet::constant] @@ -510,7 +510,7 @@ mod tests { type BlockWeights = (); type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -596,10 +596,14 @@ mod tests { fn setup() { let statement = b"Hello, World".to_vec(); let unlock_block = 100; - Purchase::set_statement(Origin::signed(configuration_origin()), statement).unwrap(); - Purchase::set_unlock_block(Origin::signed(configuration_origin()), unlock_block).unwrap(); - Purchase::set_payment_account(Origin::signed(configuration_origin()), payment_account()) + Purchase::set_statement(RuntimeOrigin::signed(configuration_origin()), statement).unwrap(); + Purchase::set_unlock_block(RuntimeOrigin::signed(configuration_origin()), unlock_block) .unwrap(); + Purchase::set_payment_account( + RuntimeOrigin::signed(configuration_origin()), + payment_account(), + ) + .unwrap(); Balances::make_free_balance_be(&payment_account(), 100_000); } @@ -665,18 +669,21 @@ mod tests { let statement = b"Test Set Statement".to_vec(); // Invalid origin assert_noop!( - Purchase::set_statement(Origin::signed(alice()), statement.clone()), + Purchase::set_statement(RuntimeOrigin::signed(alice()), statement.clone()), BadOrigin, ); // Too Long let long_statement = [0u8; 10_000].to_vec(); assert_noop!( - Purchase::set_statement(Origin::signed(configuration_origin()), long_statement), + Purchase::set_statement( + RuntimeOrigin::signed(configuration_origin()), + long_statement + ), Error::::InvalidStatement, ); // Just right... assert_ok!(Purchase::set_statement( - Origin::signed(configuration_origin()), + RuntimeOrigin::signed(configuration_origin()), statement.clone() )); assert_eq!(Statement::::get(), statement); @@ -689,7 +696,7 @@ mod tests { let unlock_block = 69; // Invalid origin assert_noop!( - Purchase::set_unlock_block(Origin::signed(alice()), unlock_block), + Purchase::set_unlock_block(RuntimeOrigin::signed(alice()), unlock_block), BadOrigin, ); // Block Number in Past @@ -697,14 +704,14 @@ mod tests { System::set_block_number(bad_unlock_block); assert_noop!( Purchase::set_unlock_block( - Origin::signed(configuration_origin()), + RuntimeOrigin::signed(configuration_origin()), bad_unlock_block ), Error::::InvalidUnlockBlock, ); // Just right... assert_ok!(Purchase::set_unlock_block( - Origin::signed(configuration_origin()), + RuntimeOrigin::signed(configuration_origin()), unlock_block )); assert_eq!(UnlockBlock::::get(), unlock_block); @@ -717,12 +724,15 @@ mod tests { let payment_account: AccountId = [69u8; 32].into(); // Invalid Origin assert_noop!( - Purchase::set_payment_account(Origin::signed(alice()), payment_account.clone()), + Purchase::set_payment_account( + RuntimeOrigin::signed(alice()), + payment_account.clone() + ), BadOrigin, ); // Just right... assert_ok!(Purchase::set_payment_account( - Origin::signed(configuration_origin()), + RuntimeOrigin::signed(configuration_origin()), payment_account.clone() )); assert_eq!(PaymentAccount::::get(), Some(payment_account)); @@ -753,7 +763,7 @@ mod tests { new_test_ext().execute_with(|| { assert!(!Accounts::::contains_key(alice())); assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), alice_signature().to_vec(), )); @@ -776,7 +786,7 @@ mod tests { // Wrong Origin assert_noop!( Purchase::create_account( - Origin::signed(alice()), + RuntimeOrigin::signed(alice()), alice(), alice_signature().to_vec() ), @@ -786,7 +796,7 @@ mod tests { // Wrong Account/Signature assert_noop!( Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), bob_signature().to_vec() ), @@ -802,7 +812,7 @@ mod tests { )); assert_noop!( Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), alice_signature().to_vec() ), @@ -811,13 +821,13 @@ mod tests { // Duplicate Purchasing Account assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), bob(), bob_signature().to_vec() )); assert_noop!( Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), bob(), bob_signature().to_vec() ), @@ -831,19 +841,19 @@ mod tests { new_test_ext().execute_with(|| { // Alice account is created. assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), alice_signature().to_vec(), )); // She submits KYC, and we update the status to `Pending`. assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::Pending, )); // KYC comes back negative, so we mark the account invalid. assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::Invalid, )); @@ -859,7 +869,7 @@ mod tests { ); // She fixes it, we mark her account valid. assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::ValidLow, )); @@ -882,7 +892,7 @@ mod tests { // Wrong Origin assert_noop!( Purchase::update_validity_status( - Origin::signed(alice()), + RuntimeOrigin::signed(alice()), alice(), AccountValidity::Pending, ), @@ -891,7 +901,7 @@ mod tests { // Inactive Account assert_noop!( Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::Pending, ), @@ -899,18 +909,18 @@ mod tests { ); // Already Completed assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), alice_signature().to_vec(), )); assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::Completed, )); assert_noop!( Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::Pending, ), @@ -924,19 +934,19 @@ mod tests { new_test_ext().execute_with(|| { // Alice account is created assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), alice_signature().to_vec() )); // And approved for basic contribution assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::ValidLow, )); // We set a balance on the user based on the payment they made. 50 locked, 50 free. assert_ok!(Purchase::update_balance( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), 50, 50, @@ -954,7 +964,7 @@ mod tests { ); // We can update the balance based on new information. assert_ok!(Purchase::update_balance( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), 25, 50, @@ -978,13 +988,19 @@ mod tests { new_test_ext().execute_with(|| { // Wrong Origin assert_noop!( - Purchase::update_balance(Origin::signed(alice()), alice(), 50, 50, Permill::zero(),), + Purchase::update_balance( + RuntimeOrigin::signed(alice()), + alice(), + 50, + 50, + Permill::zero(), + ), BadOrigin ); // Inactive Account assert_noop!( Purchase::update_balance( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), 50, 50, @@ -995,7 +1011,7 @@ mod tests { // Overflow assert_noop!( Purchase::update_balance( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), u64::MAX, u64::MAX, @@ -1011,45 +1027,45 @@ mod tests { new_test_ext().execute_with(|| { // Alice and Bob accounts are created assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), alice_signature().to_vec() )); assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), bob(), bob_signature().to_vec() )); // Alice is approved for basic contribution assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::ValidLow, )); // Bob is approved for high contribution assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), bob(), AccountValidity::ValidHigh, )); // We set a balance on the users based on the payment they made. 50 locked, 50 free. assert_ok!(Purchase::update_balance( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), 50, 50, Permill::zero(), )); assert_ok!(Purchase::update_balance( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), bob(), 100, 150, Permill::zero(), )); // Now we call payout for Alice and Bob. - assert_ok!(Purchase::payout(Origin::signed(payment_account()), alice(),)); - assert_ok!(Purchase::payout(Origin::signed(payment_account()), bob(),)); + assert_ok!(Purchase::payout(RuntimeOrigin::signed(payment_account()), alice(),)); + assert_ok!(Purchase::payout(RuntimeOrigin::signed(payment_account()), bob(),)); // Payment is made. assert_eq!(::Currency::free_balance(&payment_account()), 99_650); assert_eq!(::Currency::free_balance(&alice()), 100); @@ -1082,13 +1098,13 @@ mod tests { // Vesting lock is removed in whole on block 101 (100 blocks after block 1) System::set_block_number(100); let vest_call = RuntimeCall::Vesting(pallet_vesting::Call::::vest {}); - assert_ok!(vest_call.clone().dispatch(Origin::signed(alice()))); - assert_ok!(vest_call.clone().dispatch(Origin::signed(bob()))); + assert_ok!(vest_call.clone().dispatch(RuntimeOrigin::signed(alice()))); + assert_ok!(vest_call.clone().dispatch(RuntimeOrigin::signed(bob()))); assert_eq!(::VestingSchedule::vesting_balance(&alice()), Some(45)); assert_eq!(::VestingSchedule::vesting_balance(&bob()), Some(140)); System::set_block_number(101); - assert_ok!(vest_call.clone().dispatch(Origin::signed(alice()))); - assert_ok!(vest_call.clone().dispatch(Origin::signed(bob()))); + assert_ok!(vest_call.clone().dispatch(RuntimeOrigin::signed(alice()))); + assert_ok!(vest_call.clone().dispatch(RuntimeOrigin::signed(bob()))); assert_eq!(::VestingSchedule::vesting_balance(&alice()), None); assert_eq!(::VestingSchedule::vesting_balance(&bob()), None); }); @@ -1098,45 +1114,45 @@ mod tests { fn payout_handles_basic_errors() { new_test_ext().execute_with(|| { // Wrong Origin - assert_noop!(Purchase::payout(Origin::signed(alice()), alice(),), BadOrigin); + assert_noop!(Purchase::payout(RuntimeOrigin::signed(alice()), alice(),), BadOrigin); // Account with Existing Vesting Schedule assert_ok!( ::VestingSchedule::add_vesting_schedule(&bob(), 100, 1, 50,) ); assert_noop!( - Purchase::payout(Origin::signed(payment_account()), bob(),), + Purchase::payout(RuntimeOrigin::signed(payment_account()), bob(),), Error::::VestingScheduleExists ); // Invalid Account (never created) assert_noop!( - Purchase::payout(Origin::signed(payment_account()), alice(),), + Purchase::payout(RuntimeOrigin::signed(payment_account()), alice(),), Error::::InvalidAccount ); // Invalid Account (created, but not valid) assert_ok!(Purchase::create_account( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), alice_signature().to_vec() )); assert_noop!( - Purchase::payout(Origin::signed(payment_account()), alice(),), + Purchase::payout(RuntimeOrigin::signed(payment_account()), alice(),), Error::::InvalidAccount ); // Not enough funds in payment account assert_ok!(Purchase::update_validity_status( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), AccountValidity::ValidHigh, )); assert_ok!(Purchase::update_balance( - Origin::signed(validity_origin()), + RuntimeOrigin::signed(validity_origin()), alice(), 100_000, 100_000, Permill::zero(), )); assert_noop!( - Purchase::payout(Origin::signed(payment_account()), alice(),), + Purchase::payout(RuntimeOrigin::signed(payment_account()), alice(),), BalancesError::::InsufficientBalance ); }); diff --git a/runtime/common/src/slots/mod.rs b/runtime/common/src/slots/mod.rs index 982f7e5f796e..673d9f86e1bd 100644 --- a/runtime/common/src/slots/mod.rs +++ b/runtime/common/src/slots/mod.rs @@ -91,7 +91,7 @@ pub mod pallet { type LeaseOffset: Get; /// The origin which may forcibly create or clear leases. Root can always do this. - type ForceOrigin: EnsureOrigin<::Origin>; + type ForceOrigin: EnsureOrigin<::RuntimeOrigin>; /// Weight Information for the Extrinsics in the Pallet type WeightInfo: WeightInfo; @@ -529,7 +529,7 @@ mod tests { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = (); type BlockLength = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = BlockNumber; @@ -847,7 +847,7 @@ mod tests { assert_eq!(Balances::reserved_balance(j), j * 10); } - assert_ok!(Slots::clear_all_leases(Origin::root(), 1.into())); + assert_ok!(Slots::clear_all_leases(RuntimeOrigin::root(), 1.into())); // Balances cleaned up correctly for i in 1u32..=max_num { @@ -925,21 +925,21 @@ mod tests { // Para 1 should fail cause they don't have any leases assert_noop!( - Slots::trigger_onboard(Origin::signed(1), 1.into()), + Slots::trigger_onboard(RuntimeOrigin::signed(1), 1.into()), Error::::ParaNotOnboarding ); // Para 2 should succeed - assert_ok!(Slots::trigger_onboard(Origin::signed(1), 2.into())); + assert_ok!(Slots::trigger_onboard(RuntimeOrigin::signed(1), 2.into())); // Para 3 should fail cause their lease is in the future assert_noop!( - Slots::trigger_onboard(Origin::signed(1), 3.into()), + Slots::trigger_onboard(RuntimeOrigin::signed(1), 3.into()), Error::::ParaNotOnboarding ); // Trying Para 2 again should fail cause they are not currently a parathread - assert!(Slots::trigger_onboard(Origin::signed(1), 2.into()).is_err()); + assert!(Slots::trigger_onboard(RuntimeOrigin::signed(1), 2.into()).is_err()); assert_eq!(TestRegistrar::::operations(), vec![(2.into(), 1, true),]); }); @@ -1025,7 +1025,7 @@ mod benchmarking { let period_begin = 69u32.into(); let period_count = 3u32.into(); let origin = T::ForceOrigin::successful_origin(); - }: _(origin, para, leaser.clone(), amount, period_begin, period_count) + }: _(origin, para, leaser.clone(), amount, period_begin, period_count) verify { assert_last_event::(Event::::Leased { para_id: para, @@ -1119,7 +1119,7 @@ mod benchmarking { } let origin = T::ForceOrigin::successful_origin(); - }: _(origin, para) + }: _(origin, para) verify { for i in 0 .. max_people { let leaser = account("lease_deposit", i, 0); diff --git a/runtime/kusama/src/governance/old.rs b/runtime/kusama/src/governance/old.rs index 61a2f9074282..371b88dcd443 100644 --- a/runtime/kusama/src/governance/old.rs +++ b/runtime/kusama/src/governance/old.rs @@ -92,7 +92,7 @@ parameter_types! { pub type CouncilCollective = pallet_collective::Instance1; impl pallet_collective::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type MotionDuration = CouncilMotionDuration; @@ -148,7 +148,7 @@ parameter_types! { pub type TechnicalCollective = pallet_collective::Instance2; impl pallet_collective::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type MotionDuration = TechnicalMotionDuration; diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index af55eba4203a..bda010473faf 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -157,7 +157,7 @@ impl frame_system::Config for Runtime { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = BlockWeights; type BlockLength = BlockLength; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = Nonce; type BlockNumber = BlockNumber; @@ -216,8 +216,8 @@ impl PrivilegeCmp for OriginPrivilegeCmp { } impl pallet_scheduler::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; @@ -1152,8 +1152,8 @@ impl parachains_ump::Config for Runtime { impl parachains_dmp::Config for Runtime {} impl parachains_hrmp::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type WeightInfo = weights::runtime_parachains_hrmp::WeightInfo; } @@ -1182,8 +1182,8 @@ parameter_types! { } impl paras_registrar::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type OnSwap = (Crowdloan, Slots); type ParaDeposit = ParaDeposit; diff --git a/runtime/kusama/src/xcm_config.rs b/runtime/kusama/src/xcm_config.rs index 1d10205153ce..17310dd5ead1 100644 --- a/runtime/kusama/src/xcm_config.rs +++ b/runtime/kusama/src/xcm_config.rs @@ -17,8 +17,8 @@ //! XCM configurations for the Kusama runtime. use super::{ - parachains_origin, AccountId, Balances, CouncilCollective, Origin, ParaId, Runtime, - RuntimeCall, RuntimeEvent, WeightToFee, XcmPallet, + parachains_origin, AccountId, Balances, CouncilCollective, ParaId, Runtime, RuntimeCall, + RuntimeEvent, RuntimeOrigin, WeightToFee, XcmPallet, }; use frame_support::{match_types, parameter_types, traits::Everything}; use runtime_common::{xcm_sender, ToAuthor}; @@ -75,13 +75,13 @@ pub type LocalAssetTransactor = XcmCurrencyAdapter< /// The means that we convert an the XCM message origin location into a local dispatch origin. type LocalOriginConverter = ( // A `Signed` origin of the sovereign account that the original location controls. - SovereignSignedViaLocation, + SovereignSignedViaLocation, // A child parachain, natively expressed, has the `Parachain` origin. - ChildParachainAsNative, + ChildParachainAsNative, // The AccountId32 location type can be expressed natively as a `Signed` origin. - SignedAccountId32AsNative, + SignedAccountId32AsNative, // A system child parachain, expressed as a Superuser, converts to the `Root` origin. - ChildSystemParachainAsSuperuser, + ChildSystemParachainAsSuperuser, ); parameter_types! { @@ -158,7 +158,7 @@ parameter_types! { /// Type to convert the council origin to a Plurality `MultiLocation` value. pub type CouncilToPlurality = BackingToPlurality< - Origin, + RuntimeOrigin, pallet_collective::Origin, CouncilBodyId, >; @@ -170,7 +170,7 @@ pub type LocalOriginToLocation = ( // `Unit` body. CouncilToPlurality, // And a usual Signed origin to be used in XCM as a corresponding AccountId32 - SignedToAccountId32, + SignedToAccountId32, ); impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; @@ -178,10 +178,10 @@ impl pallet_xcm::Config for Runtime { // (safe the possibility of someone spamming the parachain if they're willing to pay the KSM to // send from the Relay-chain), but it's useless until we bring in XCM v3 which will make // `DescendOrigin` a bit more useful. - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally. - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmExecuteFilter = Everything; type XcmExecutor = xcm_executor::XcmExecutor; // Anyone is able to use teleportation regardless of who they are and what they want to teleport. @@ -191,7 +191,7 @@ impl pallet_xcm::Config for Runtime { type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; diff --git a/runtime/parachains/src/configuration/tests.rs b/runtime/parachains/src/configuration/tests.rs index 9c8af75f51d2..6f2faf6cb204 100644 --- a/runtime/parachains/src/configuration/tests.rs +++ b/runtime/parachains/src/configuration/tests.rs @@ -15,7 +15,7 @@ // along with Polkadot. If not, see . use super::*; -use crate::mock::{new_test_ext, Configuration, Origin, ParasShared, Test}; +use crate::mock::{new_test_ext, Configuration, ParasShared, RuntimeOrigin, Test}; use frame_support::{assert_err, assert_ok}; fn on_new_session(session_index: SessionIndex) -> (HostConfiguration, HostConfiguration) { @@ -48,7 +48,7 @@ fn initializer_on_new_session() { new_test_ext(Default::default()).execute_with(|| { let (prev_config, new_config) = on_new_session(1); assert_eq!(prev_config, new_config); - assert_ok!(Configuration::set_validation_upgrade_delay(Origin::root(), 100)); + assert_ok!(Configuration::set_validation_upgrade_delay(RuntimeOrigin::root(), 100)); let (prev_config, new_config) = on_new_session(2); assert_eq!(prev_config, new_config); @@ -67,7 +67,7 @@ fn config_changes_after_2_session_boundary() { config.validation_upgrade_delay = 100; assert!(old_config != config); - assert_ok!(Configuration::set_validation_upgrade_delay(Origin::root(), 100)); + assert_ok!(Configuration::set_validation_upgrade_delay(RuntimeOrigin::root(), 100)); // Verify that the current configuration has not changed and that there is a scheduled // change for the SESSION_DELAY sessions in advance. @@ -96,8 +96,8 @@ fn consecutive_changes_within_one_session() { config.validation_upgrade_cooldown = 100; assert!(old_config != config); - assert_ok!(Configuration::set_validation_upgrade_delay(Origin::root(), 100)); - assert_ok!(Configuration::set_validation_upgrade_cooldown(Origin::root(), 100)); + assert_ok!(Configuration::set_validation_upgrade_delay(RuntimeOrigin::root(), 100)); + assert_ok!(Configuration::set_validation_upgrade_cooldown(RuntimeOrigin::root(), 100)); assert_eq!(Configuration::config(), old_config); assert_eq!(::PendingConfigs::get(), vec![(2, config.clone())]); @@ -125,7 +125,7 @@ fn pending_next_session_but_we_upgrade_once_more() { ..initial_config.clone() }; - assert_ok!(Configuration::set_validation_upgrade_delay(Origin::root(), 100)); + assert_ok!(Configuration::set_validation_upgrade_delay(RuntimeOrigin::root(), 100)); assert_eq!(Configuration::config(), initial_config); assert_eq!( ::PendingConfigs::get(), @@ -136,7 +136,7 @@ fn pending_next_session_but_we_upgrade_once_more() { // We are still waiting until the pending configuration is applied and we add another // update. - assert_ok!(Configuration::set_validation_upgrade_cooldown(Origin::root(), 99)); + assert_ok!(Configuration::set_validation_upgrade_cooldown(RuntimeOrigin::root(), 99)); // This should result in yet another configiguration change scheduled. assert_eq!(Configuration::config(), initial_config); @@ -173,7 +173,7 @@ fn scheduled_session_config_update_while_next_session_pending() { ..initial_config.clone() }; - assert_ok!(Configuration::set_validation_upgrade_delay(Origin::root(), 100)); + assert_ok!(Configuration::set_validation_upgrade_delay(RuntimeOrigin::root(), 100)); assert_eq!(Configuration::config(), initial_config); assert_eq!( ::PendingConfigs::get(), @@ -184,8 +184,8 @@ fn scheduled_session_config_update_while_next_session_pending() { // The second call should fall into the case where we already have a pending config // update for the scheduled_session, but we want to update it once more. - assert_ok!(Configuration::set_validation_upgrade_cooldown(Origin::root(), 99)); - assert_ok!(Configuration::set_code_retention_period(Origin::root(), 98)); + assert_ok!(Configuration::set_validation_upgrade_cooldown(RuntimeOrigin::root(), 99)); + assert_ok!(Configuration::set_code_retention_period(RuntimeOrigin::root(), 98)); // This should result in yet another configiguration change scheduled. assert_eq!(Configuration::config(), initial_config); @@ -213,30 +213,30 @@ fn scheduled_session_config_update_while_next_session_pending() { fn invariants() { new_test_ext(Default::default()).execute_with(|| { assert_err!( - Configuration::set_max_code_size(Origin::root(), MAX_CODE_SIZE + 1), + Configuration::set_max_code_size(RuntimeOrigin::root(), MAX_CODE_SIZE + 1), Error::::InvalidNewValue ); assert_err!( - Configuration::set_max_pov_size(Origin::root(), MAX_POV_SIZE + 1), + Configuration::set_max_pov_size(RuntimeOrigin::root(), MAX_POV_SIZE + 1), Error::::InvalidNewValue ); assert_err!( - Configuration::set_max_head_data_size(Origin::root(), MAX_HEAD_DATA_SIZE + 1), + Configuration::set_max_head_data_size(RuntimeOrigin::root(), MAX_HEAD_DATA_SIZE + 1), Error::::InvalidNewValue ); assert_err!( - Configuration::set_chain_availability_period(Origin::root(), 0), + Configuration::set_chain_availability_period(RuntimeOrigin::root(), 0), Error::::InvalidNewValue ); assert_err!( - Configuration::set_thread_availability_period(Origin::root(), 0), + Configuration::set_thread_availability_period(RuntimeOrigin::root(), 0), Error::::InvalidNewValue ); assert_err!( - Configuration::set_no_show_slots(Origin::root(), 0), + Configuration::set_no_show_slots(RuntimeOrigin::root(), 0), Error::::InvalidNewValue ); @@ -247,20 +247,20 @@ fn invariants() { ..Default::default() }); assert_err!( - Configuration::set_chain_availability_period(Origin::root(), 12), + Configuration::set_chain_availability_period(RuntimeOrigin::root(), 12), Error::::InvalidNewValue ); assert_err!( - Configuration::set_thread_availability_period(Origin::root(), 12), + Configuration::set_thread_availability_period(RuntimeOrigin::root(), 12), Error::::InvalidNewValue ); assert_err!( - Configuration::set_minimum_validation_upgrade_delay(Origin::root(), 9), + Configuration::set_minimum_validation_upgrade_delay(RuntimeOrigin::root(), 9), Error::::InvalidNewValue ); assert_err!( - Configuration::set_validation_upgrade_delay(Origin::root(), 0), + Configuration::set_validation_upgrade_delay(RuntimeOrigin::root(), 0), Error::::InvalidNewValue ); }); @@ -270,12 +270,12 @@ fn invariants() { fn consistency_bypass_works() { new_test_ext(Default::default()).execute_with(|| { assert_err!( - Configuration::set_max_code_size(Origin::root(), MAX_CODE_SIZE + 1), + Configuration::set_max_code_size(RuntimeOrigin::root(), MAX_CODE_SIZE + 1), Error::::InvalidNewValue ); - assert_ok!(Configuration::set_bypass_consistency_check(Origin::root(), true)); - assert_ok!(Configuration::set_max_code_size(Origin::root(), MAX_CODE_SIZE + 1)); + assert_ok!(Configuration::set_bypass_consistency_check(RuntimeOrigin::root(), true)); + assert_ok!(Configuration::set_max_code_size(RuntimeOrigin::root(), MAX_CODE_SIZE + 1)); assert_eq!( Configuration::config().max_code_size, @@ -339,165 +339,186 @@ fn setting_pending_config_members() { }; Configuration::set_validation_upgrade_cooldown( - Origin::root(), + RuntimeOrigin::root(), new_config.validation_upgrade_cooldown, ) .unwrap(); Configuration::set_validation_upgrade_delay( - Origin::root(), + RuntimeOrigin::root(), new_config.validation_upgrade_delay, ) .unwrap(); - Configuration::set_code_retention_period(Origin::root(), new_config.code_retention_period) + Configuration::set_code_retention_period( + RuntimeOrigin::root(), + new_config.code_retention_period, + ) + .unwrap(); + Configuration::set_max_code_size(RuntimeOrigin::root(), new_config.max_code_size).unwrap(); + Configuration::set_max_pov_size(RuntimeOrigin::root(), new_config.max_pov_size).unwrap(); + Configuration::set_max_head_data_size(RuntimeOrigin::root(), new_config.max_head_data_size) .unwrap(); - Configuration::set_max_code_size(Origin::root(), new_config.max_code_size).unwrap(); - Configuration::set_max_pov_size(Origin::root(), new_config.max_pov_size).unwrap(); - Configuration::set_max_head_data_size(Origin::root(), new_config.max_head_data_size) + Configuration::set_parathread_cores(RuntimeOrigin::root(), new_config.parathread_cores) .unwrap(); - Configuration::set_parathread_cores(Origin::root(), new_config.parathread_cores).unwrap(); - Configuration::set_parathread_retries(Origin::root(), new_config.parathread_retries) + Configuration::set_parathread_retries(RuntimeOrigin::root(), new_config.parathread_retries) .unwrap(); Configuration::set_group_rotation_frequency( - Origin::root(), + RuntimeOrigin::root(), new_config.group_rotation_frequency, ) .unwrap(); // This comes out of order to satisfy the validity criteria for the chain and thread // availability periods. Configuration::set_minimum_validation_upgrade_delay( - Origin::root(), + RuntimeOrigin::root(), new_config.minimum_validation_upgrade_delay, ) .unwrap(); Configuration::set_chain_availability_period( - Origin::root(), + RuntimeOrigin::root(), new_config.chain_availability_period, ) .unwrap(); Configuration::set_thread_availability_period( - Origin::root(), + RuntimeOrigin::root(), new_config.thread_availability_period, ) .unwrap(); - Configuration::set_scheduling_lookahead(Origin::root(), new_config.scheduling_lookahead) - .unwrap(); + Configuration::set_scheduling_lookahead( + RuntimeOrigin::root(), + new_config.scheduling_lookahead, + ) + .unwrap(); Configuration::set_max_validators_per_core( - Origin::root(), + RuntimeOrigin::root(), new_config.max_validators_per_core, ) .unwrap(); - Configuration::set_max_validators(Origin::root(), new_config.max_validators).unwrap(); - Configuration::set_dispute_period(Origin::root(), new_config.dispute_period).unwrap(); + Configuration::set_max_validators(RuntimeOrigin::root(), new_config.max_validators) + .unwrap(); + Configuration::set_dispute_period(RuntimeOrigin::root(), new_config.dispute_period) + .unwrap(); Configuration::set_dispute_post_conclusion_acceptance_period( - Origin::root(), + RuntimeOrigin::root(), new_config.dispute_post_conclusion_acceptance_period, ) .unwrap(); Configuration::set_dispute_max_spam_slots( - Origin::root(), + RuntimeOrigin::root(), new_config.dispute_max_spam_slots, ) .unwrap(); Configuration::set_dispute_conclusion_by_time_out_period( - Origin::root(), + RuntimeOrigin::root(), new_config.dispute_conclusion_by_time_out_period, ) .unwrap(); - Configuration::set_no_show_slots(Origin::root(), new_config.no_show_slots).unwrap(); - Configuration::set_n_delay_tranches(Origin::root(), new_config.n_delay_tranches).unwrap(); + Configuration::set_no_show_slots(RuntimeOrigin::root(), new_config.no_show_slots).unwrap(); + Configuration::set_n_delay_tranches(RuntimeOrigin::root(), new_config.n_delay_tranches) + .unwrap(); Configuration::set_zeroth_delay_tranche_width( - Origin::root(), + RuntimeOrigin::root(), new_config.zeroth_delay_tranche_width, ) .unwrap(); - Configuration::set_needed_approvals(Origin::root(), new_config.needed_approvals).unwrap(); + Configuration::set_needed_approvals(RuntimeOrigin::root(), new_config.needed_approvals) + .unwrap(); Configuration::set_relay_vrf_modulo_samples( - Origin::root(), + RuntimeOrigin::root(), new_config.relay_vrf_modulo_samples, ) .unwrap(); Configuration::set_max_upward_queue_count( - Origin::root(), + RuntimeOrigin::root(), new_config.max_upward_queue_count, ) .unwrap(); - Configuration::set_max_upward_queue_size(Origin::root(), new_config.max_upward_queue_size) - .unwrap(); + Configuration::set_max_upward_queue_size( + RuntimeOrigin::root(), + new_config.max_upward_queue_size, + ) + .unwrap(); Configuration::set_max_downward_message_size( - Origin::root(), + RuntimeOrigin::root(), new_config.max_downward_message_size, ) .unwrap(); Configuration::set_ump_service_total_weight( - Origin::root(), + RuntimeOrigin::root(), new_config.ump_service_total_weight, ) .unwrap(); Configuration::set_max_upward_message_size( - Origin::root(), + RuntimeOrigin::root(), new_config.max_upward_message_size, ) .unwrap(); Configuration::set_max_upward_message_num_per_candidate( - Origin::root(), + RuntimeOrigin::root(), new_config.max_upward_message_num_per_candidate, ) .unwrap(); - Configuration::set_hrmp_sender_deposit(Origin::root(), new_config.hrmp_sender_deposit) - .unwrap(); + Configuration::set_hrmp_sender_deposit( + RuntimeOrigin::root(), + new_config.hrmp_sender_deposit, + ) + .unwrap(); Configuration::set_hrmp_recipient_deposit( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_recipient_deposit, ) .unwrap(); Configuration::set_hrmp_channel_max_capacity( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_channel_max_capacity, ) .unwrap(); Configuration::set_hrmp_channel_max_total_size( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_channel_max_total_size, ) .unwrap(); Configuration::set_hrmp_max_parachain_inbound_channels( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_max_parachain_inbound_channels, ) .unwrap(); Configuration::set_hrmp_max_parathread_inbound_channels( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_max_parathread_inbound_channels, ) .unwrap(); Configuration::set_hrmp_channel_max_message_size( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_channel_max_message_size, ) .unwrap(); Configuration::set_hrmp_max_parachain_outbound_channels( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_max_parachain_outbound_channels, ) .unwrap(); Configuration::set_hrmp_max_parathread_outbound_channels( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_max_parathread_outbound_channels, ) .unwrap(); Configuration::set_hrmp_max_message_num_per_candidate( - Origin::root(), + RuntimeOrigin::root(), new_config.hrmp_max_message_num_per_candidate, ) .unwrap(); Configuration::set_ump_max_individual_weight( - Origin::root(), + RuntimeOrigin::root(), new_config.ump_max_individual_weight, ) .unwrap(); - Configuration::set_pvf_checking_enabled(Origin::root(), new_config.pvf_checking_enabled) + Configuration::set_pvf_checking_enabled( + RuntimeOrigin::root(), + new_config.pvf_checking_enabled, + ) + .unwrap(); + Configuration::set_pvf_voting_ttl(RuntimeOrigin::root(), new_config.pvf_voting_ttl) .unwrap(); - Configuration::set_pvf_voting_ttl(Origin::root(), new_config.pvf_voting_ttl).unwrap(); assert_eq!( ::PendingConfigs::get(), @@ -509,7 +530,7 @@ fn setting_pending_config_members() { #[test] fn non_root_cannot_set_config() { new_test_ext(Default::default()).execute_with(|| { - assert!(Configuration::set_validation_upgrade_delay(Origin::signed(1), 100).is_err()); + assert!(Configuration::set_validation_upgrade_delay(RuntimeOrigin::signed(1), 100).is_err()); }); } diff --git a/runtime/parachains/src/hrmp.rs b/runtime/parachains/src/hrmp.rs index b4ab13da4c08..af0cccb22512 100644 --- a/runtime/parachains/src/hrmp.rs +++ b/runtime/parachains/src/hrmp.rs @@ -241,9 +241,9 @@ pub mod pallet { /// The outer event type. type RuntimeEvent: From> + IsType<::RuntimeEvent>; - type Origin: From - + From<::Origin> - + Into::Origin>>; + type RuntimeOrigin: From + + From<::RuntimeOrigin> + + Into::RuntimeOrigin>>; /// An interface for reserving deposits for opening channels. /// @@ -465,7 +465,7 @@ pub mod pallet { proposed_max_capacity: u32, proposed_max_message_size: u32, ) -> DispatchResult { - let origin = ensure_parachain(::Origin::from(origin))?; + let origin = ensure_parachain(::RuntimeOrigin::from(origin))?; Self::init_open_channel( origin, recipient, @@ -486,7 +486,7 @@ pub mod pallet { /// The channel will be opened only on the next session boundary. #[pallet::weight(::WeightInfo::hrmp_accept_open_channel())] pub fn hrmp_accept_open_channel(origin: OriginFor, sender: ParaId) -> DispatchResult { - let origin = ensure_parachain(::Origin::from(origin))?; + let origin = ensure_parachain(::RuntimeOrigin::from(origin))?; Self::accept_open_channel(origin, sender)?; Self::deposit_event(Event::OpenChannelAccepted(sender, origin)); Ok(()) @@ -501,7 +501,7 @@ pub mod pallet { origin: OriginFor, channel_id: HrmpChannelId, ) -> DispatchResult { - let origin = ensure_parachain(::Origin::from(origin))?; + let origin = ensure_parachain(::RuntimeOrigin::from(origin))?; Self::close_channel(origin, channel_id.clone())?; Self::deposit_event(Event::ChannelClosed(origin, channel_id)); Ok(()) @@ -567,7 +567,7 @@ pub mod pallet { channel_id: HrmpChannelId, open_requests: u32, ) -> DispatchResult { - let origin = ensure_parachain(::Origin::from(origin))?; + let origin = ensure_parachain(::RuntimeOrigin::from(origin))?; ensure!( ::HrmpOpenChannelRequestsList::decode_len().unwrap_or_default() as u32 <= open_requests, diff --git a/runtime/parachains/src/hrmp/benchmarking.rs b/runtime/parachains/src/hrmp/benchmarking.rs index 125a56279944..71ea684be179 100644 --- a/runtime/parachains/src/hrmp/benchmarking.rs +++ b/runtime/parachains/src/hrmp/benchmarking.rs @@ -66,7 +66,7 @@ fn establish_para_connection( until: ParachainSetupStep, ) -> [(ParaId, crate::Origin); 2] where - ::Origin: From, + ::RuntimeOrigin: From, { let config = Configuration::::config(); let deposit: BalanceOf = config.hrmp_sender_deposit.unique_saturated_into(); @@ -138,7 +138,7 @@ static_assertions::const_assert!(HRMP_MAX_INBOUND_CHANNELS_BOUND < PREFIX_0); static_assertions::const_assert!(HRMP_MAX_OUTBOUND_CHANNELS_BOUND < PREFIX_0); frame_benchmarking::benchmarks! { - where_clause { where ::Origin: From } + where_clause { where ::RuntimeOrigin: From } hrmp_init_open_channel { let sender_id: ParaId = 1u32.into(); diff --git a/runtime/parachains/src/initializer.rs b/runtime/parachains/src/initializer.rs index a5634bf48419..eaa4510fafcf 100644 --- a/runtime/parachains/src/initializer.rs +++ b/runtime/parachains/src/initializer.rs @@ -120,7 +120,7 @@ pub mod pallet { /// A randomness beacon. type Randomness: Randomness; /// An origin which is allowed to force updates to parachains. - type ForceOrigin: EnsureOrigin<::Origin>; + type ForceOrigin: EnsureOrigin<::RuntimeOrigin>; /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; } diff --git a/runtime/parachains/src/mock.rs b/runtime/parachains/src/mock.rs index dc0eeb97e049..05c17b00150b 100644 --- a/runtime/parachains/src/mock.rs +++ b/runtime/parachains/src/mock.rs @@ -92,7 +92,7 @@ impl frame_system::Config for Test { type BlockWeights = BlockWeights; type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = BlockNumber; @@ -234,8 +234,8 @@ impl crate::ump::Config for Test { } impl crate::hrmp::Config for Test { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = pallet_balances::Pallet; type WeightInfo = crate::hrmp::TestWeightInfo; } diff --git a/runtime/parachains/src/paras/tests.rs b/runtime/parachains/src/paras/tests.rs index 47fd15793181..7944bf34715b 100644 --- a/runtime/parachains/src/paras/tests.rs +++ b/runtime/parachains/src/paras/tests.rs @@ -26,7 +26,8 @@ use test_helpers::{dummy_head_data, dummy_validation_code}; use crate::{ configuration::HostConfiguration, mock::{ - new_test_ext, Configuration, MockGenesisConfig, Origin, Paras, ParasShared, System, Test, + new_test_ext, Configuration, MockGenesisConfig, Paras, ParasShared, RuntimeOrigin, System, + Test, }, }; @@ -1449,7 +1450,10 @@ fn add_trusted_validation_code_inserts_with_no_users() { // with the reference count equal to 0. let validation_code = ValidationCode(vec![1, 2, 3]); new_test_ext(Default::default()).execute_with(|| { - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), validation_code.clone())); + assert_ok!(Paras::add_trusted_validation_code( + RuntimeOrigin::root(), + validation_code.clone() + )); assert_eq!(::CodeByHashRefs::get(&validation_code.hash()), 0,); }); } @@ -1460,9 +1464,15 @@ fn add_trusted_validation_code_idempotent() { // parameters is a no-op. let validation_code = ValidationCode(vec![1, 2, 3]); new_test_ext(Default::default()).execute_with(|| { - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), validation_code.clone())); + assert_ok!(Paras::add_trusted_validation_code( + RuntimeOrigin::root(), + validation_code.clone() + )); assert_storage_noop!({ - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), validation_code.clone())); + assert_ok!(Paras::add_trusted_validation_code( + RuntimeOrigin::root(), + validation_code.clone() + )); }); }); } @@ -1473,8 +1483,14 @@ fn poke_unused_validation_code_removes_code_cleanly() { // in the storage but has no users will remove it cleanly from the storage. let validation_code = ValidationCode(vec![1, 2, 3]); new_test_ext(Default::default()).execute_with(|| { - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), validation_code.clone())); - assert_ok!(Paras::poke_unused_validation_code(Origin::root(), validation_code.hash())); + assert_ok!(Paras::add_trusted_validation_code( + RuntimeOrigin::root(), + validation_code.clone() + )); + assert_ok!(Paras::poke_unused_validation_code( + RuntimeOrigin::root(), + validation_code.hash() + )); assert_eq!(::CodeByHashRefs::get(&validation_code.hash()), 0); assert!(!::CodeByHash::contains_key(&validation_code.hash())); @@ -1487,7 +1503,10 @@ fn poke_unused_validation_code_doesnt_remove_code_with_users() { let validation_code = ValidationCode(vec![1, 2, 3]); new_test_ext(Default::default()).execute_with(|| { // First we add the code to the storage. - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), validation_code.clone())); + assert_ok!(Paras::add_trusted_validation_code( + RuntimeOrigin::root(), + validation_code.clone() + )); // Then we add a user to the code, say by upgrading. run_to_block(2, None); @@ -1496,7 +1515,10 @@ fn poke_unused_validation_code_doesnt_remove_code_with_users() { // Finally we poke the code, which should not remove it from the storage. assert_storage_noop!({ - assert_ok!(Paras::poke_unused_validation_code(Origin::root(), validation_code.hash())); + assert_ok!(Paras::poke_unused_validation_code( + RuntimeOrigin::root(), + validation_code.hash() + )); }); check_code_is_stored(&validation_code); }); @@ -1511,7 +1533,7 @@ fn increase_code_ref_doesnt_have_allergy_on_add_trusted_validation_code() { let code = ValidationCode(vec![1, 2, 3]); new_test_ext(Default::default()).execute_with(|| { - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), code.clone())); + assert_ok!(Paras::add_trusted_validation_code(RuntimeOrigin::root(), code.clone())); Paras::increase_code_ref(&code.hash(), &code); Paras::increase_code_ref(&code.hash(), &code); assert!(::CodeByHash::contains_key(code.hash())); @@ -1519,7 +1541,7 @@ fn increase_code_ref_doesnt_have_allergy_on_add_trusted_validation_code() { }); new_test_ext(Default::default()).execute_with(|| { - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), code.clone())); + assert_ok!(Paras::add_trusted_validation_code(RuntimeOrigin::root(), code.clone())); Paras::decrease_code_ref(&code.hash()); assert!(::CodeByHash::contains_key(code.hash())); assert_eq!(::CodeByHashRefs::get(code.hash()), 0); @@ -1547,7 +1569,10 @@ fn add_trusted_validation_code_insta_approval() { ..Default::default() }; new_test_ext(genesis_config).execute_with(|| { - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), validation_code.clone())); + assert_ok!(Paras::add_trusted_validation_code( + RuntimeOrigin::root(), + validation_code.clone() + )); // Then some parachain upgrades it's code with the relay-parent 1. run_to_block(2, None); @@ -1602,7 +1627,10 @@ fn add_trusted_validation_code_enacts_existing_pvf_vote() { assert!(::PvfActiveVoteMap::contains_key(&validation_code.hash())); // Then we add a trusted validation code. That should conclude the vote. - assert_ok!(Paras::add_trusted_validation_code(Origin::root(), validation_code.clone())); + assert_ok!(Paras::add_trusted_validation_code( + RuntimeOrigin::root(), + validation_code.clone() + )); assert!(::FutureCodeUpgrades::get(¶_id).is_some()); assert!(!::PvfActiveVoteMap::contains_key(&validation_code.hash())); }); diff --git a/runtime/parachains/src/session_info/tests.rs b/runtime/parachains/src/session_info/tests.rs index 4128463578e6..168bd3d1cc27 100644 --- a/runtime/parachains/src/session_info/tests.rs +++ b/runtime/parachains/src/session_info/tests.rs @@ -19,8 +19,8 @@ use crate::{ configuration::HostConfiguration, initializer::SessionChangeNotification, mock::{ - new_test_ext, Configuration, MockGenesisConfig, Origin, ParasShared, SessionInfo, System, - Test, + new_test_ext, Configuration, MockGenesisConfig, ParasShared, RuntimeOrigin, SessionInfo, + System, Test, }, util::take_active_subset, }; @@ -109,7 +109,7 @@ fn session_pruning_is_based_on_dispute_period() { // changing `dispute_period` works let dispute_period = 5; - Configuration::set_dispute_period(Origin::root(), dispute_period).unwrap(); + Configuration::set_dispute_period(RuntimeOrigin::root(), dispute_period).unwrap(); // Dispute period does not automatically change let config = Configuration::config(); @@ -124,7 +124,7 @@ fn session_pruning_is_based_on_dispute_period() { // Increase dispute period even more let new_dispute_period = 16; - Configuration::set_dispute_period(Origin::root(), new_dispute_period).unwrap(); + Configuration::set_dispute_period(RuntimeOrigin::root(), new_dispute_period).unwrap(); run_to_block(210, session_changes); assert_eq!(EarliestStoredSession::::get(), 21 - dispute_period); @@ -154,7 +154,7 @@ fn session_info_is_based_on_config() { assert_eq!(session.needed_approvals, 3); // change some param - Configuration::set_needed_approvals(Origin::root(), 42).unwrap(); + Configuration::set_needed_approvals(RuntimeOrigin::root(), 42).unwrap(); // 2 sessions later run_to_block(3, new_session_every_block); let session = Sessions::::get(&3).unwrap(); diff --git a/runtime/parachains/src/ump.rs b/runtime/parachains/src/ump.rs index 8d341410d831..92cce87f85a7 100644 --- a/runtime/parachains/src/ump.rs +++ b/runtime/parachains/src/ump.rs @@ -234,7 +234,7 @@ pub mod pallet { type FirstMessageFactorPercent: Get; /// Origin which is allowed to execute overweight messages. - type ExecuteOverweightOrigin: EnsureOrigin; + type ExecuteOverweightOrigin: EnsureOrigin; /// Weight information for extrinsics in this pallet. type WeightInfo: WeightInfo; diff --git a/runtime/parachains/src/ump/tests.rs b/runtime/parachains/src/ump/tests.rs index 8e6bb2968429..c0ffbdc8256c 100644 --- a/runtime/parachains/src/ump/tests.rs +++ b/runtime/parachains/src/ump/tests.rs @@ -16,8 +16,8 @@ use super::*; use crate::mock::{ - assert_last_event, new_test_ext, take_processed, Configuration, MockGenesisConfig, Origin, - System, Test, Ump, + assert_last_event, new_test_ext, take_processed, Configuration, MockGenesisConfig, + RuntimeOrigin, System, Test, Ump, }; use frame_support::{assert_noop, assert_ok, weights::Weight}; use std::collections::HashSet; @@ -296,7 +296,7 @@ fn service_overweight_unknown() { // the next test. new_test_ext(GenesisConfigBuilder::default().build()).execute_with(|| { assert_noop!( - Ump::service_overweight(Origin::root(), 0, Weight::from_ref_time(1000)), + Ump::service_overweight(RuntimeOrigin::root(), 0, Weight::from_ref_time(1000)), Error::::UnknownMessageIndex ); }); @@ -346,18 +346,18 @@ fn overweight_queue_works() { // Now verify that if we wanted to service this overweight message with less than enough // weight it will fail. assert_noop!( - Ump::service_overweight(Origin::root(), 0, Weight::from_ref_time(499)), + Ump::service_overweight(RuntimeOrigin::root(), 0, Weight::from_ref_time(499)), Error::::WeightOverLimit ); // ... and if we try to service it with just enough weight it will succeed as well. - assert_ok!(Ump::service_overweight(Origin::root(), 0, Weight::from_ref_time(500))); + assert_ok!(Ump::service_overweight(RuntimeOrigin::root(), 0, Weight::from_ref_time(500))); assert_last_event(Event::OverweightServiced(0, Weight::from_ref_time(500)).into()); // ... and if we try to service a message with index that doesn't exist it will error // out. assert_noop!( - Ump::service_overweight(Origin::root(), 1, Weight::from_ref_time(1000)), + Ump::service_overweight(RuntimeOrigin::root(), 1, Weight::from_ref_time(1000)), Error::::UnknownMessageIndex ); }); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index b906d7d6bada..020235ac55bf 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -147,7 +147,7 @@ impl frame_system::Config for Runtime { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = BlockWeights; type BlockLength = BlockLength; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = Nonce; type BlockNumber = BlockNumber; @@ -206,8 +206,8 @@ impl PrivilegeCmp for OriginPrivilegeCmp { } impl pallet_scheduler::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; @@ -673,7 +673,7 @@ parameter_types! { pub type CouncilCollective = pallet_collective::Instance1; impl pallet_collective::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type MotionDuration = CouncilMotionDuration; @@ -729,7 +729,7 @@ parameter_types! { pub type TechnicalCollective = pallet_collective::Instance2; impl pallet_collective::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type MotionDuration = TechnicalMotionDuration; @@ -1239,8 +1239,8 @@ impl parachains_ump::Config for Runtime { impl parachains_dmp::Config for Runtime {} impl parachains_hrmp::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type WeightInfo = weights::runtime_parachains_hrmp::WeightInfo; } @@ -1272,8 +1272,8 @@ parameter_types! { } impl paras_registrar::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type OnSwap = (Crowdloan, Slots); type ParaDeposit = ParaDeposit; diff --git a/runtime/polkadot/src/xcm_config.rs b/runtime/polkadot/src/xcm_config.rs index e985fd78860a..846d98a59d99 100644 --- a/runtime/polkadot/src/xcm_config.rs +++ b/runtime/polkadot/src/xcm_config.rs @@ -17,8 +17,8 @@ //! XCM configuration for Polkadot. use super::{ - parachains_origin, AccountId, Balances, CouncilCollective, Origin, ParaId, Runtime, - RuntimeCall, RuntimeEvent, WeightToFee, XcmPallet, + parachains_origin, AccountId, Balances, CouncilCollective, ParaId, Runtime, RuntimeCall, + RuntimeEvent, RuntimeOrigin, WeightToFee, XcmPallet, }; use frame_support::{ match_types, parameter_types, @@ -80,13 +80,13 @@ pub type LocalAssetTransactor = XcmCurrencyAdapter< type LocalOriginConverter = ( // If the origin kind is `Sovereign`, then return a `Signed` origin with the account determined // by the `SovereignAccountOf` converter. - SovereignSignedViaLocation, + SovereignSignedViaLocation, // If the origin kind is `Native` and the XCM origin is a child parachain, then we can express // it with the special `parachains_origin::Origin` origin variant. - ChildParachainAsNative, + ChildParachainAsNative, // If the origin kind is `Native` and the XCM origin is the `AccountId32` location, then it can // be expressed using the `Signed` origin variant. - SignedAccountId32AsNative, + SignedAccountId32AsNative, ); parameter_types! { @@ -158,7 +158,7 @@ parameter_types! { /// Type to convert a council origin to a Plurality `MultiLocation` value. pub type CouncilToPlurality = BackingToPlurality< - Origin, + RuntimeOrigin, pallet_collective::Origin, CouncilBodyId, >; @@ -170,16 +170,16 @@ pub type LocalOriginToLocation = ( // `Unit` body. CouncilToPlurality, // And a usual Signed origin to be used in XCM as a corresponding AccountId32 - SignedToAccountId32, + SignedToAccountId32, ); impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; // Only allow the council to send messages. - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally... - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; // ...but they must match our filter, which rejects all. type XcmExecuteFilter = Nothing; // == Deny All type XcmExecutor = xcm_executor::XcmExecutor; @@ -187,7 +187,7 @@ impl pallet_xcm::Config for Runtime { type XcmReserveTransferFilter = Everything; // == Allow All type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = AdvertisedXcmVersion; diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index f861594ae61e..f27905b66e29 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -149,7 +149,7 @@ impl frame_system::Config for Runtime { type BlockWeights = BlockWeights; type BlockLength = BlockLength; type DbWeight = RocksDbWeight; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = Nonce; type BlockNumber = BlockNumber; @@ -207,8 +207,8 @@ impl PrivilegeCmp for OriginPrivilegeCmp { } impl pallet_scheduler::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; @@ -459,7 +459,7 @@ parameter_types! { type CouncilCollective = pallet_collective::Instance1; impl pallet_collective::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type MotionDuration = CouncilMotionDuration; @@ -515,7 +515,7 @@ parameter_types! { type TechnicalCollective = pallet_collective::Instance2; impl pallet_collective::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type MotionDuration = TechnicalMotionDuration; @@ -1071,8 +1071,8 @@ impl parachains_ump::Config for Runtime { impl parachains_dmp::Config for Runtime {} impl parachains_hrmp::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type WeightInfo = weights::runtime_parachains_hrmp::WeightInfo; } @@ -1118,8 +1118,8 @@ parameter_types! { } impl paras_registrar::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type OnSwap = (Crowdloan, Slots); type ParaDeposit = ParaDeposit; diff --git a/runtime/rococo/src/validator_manager.rs b/runtime/rococo/src/validator_manager.rs index b6b1b8c22d24..bb13bc823ca4 100644 --- a/runtime/rococo/src/validator_manager.rs +++ b/runtime/rococo/src/validator_manager.rs @@ -40,7 +40,7 @@ pub mod pallet { type RuntimeEvent: From> + IsType<::RuntimeEvent>; /// Privileged origin that can add or remove validators. - type PrivilegedOrigin: EnsureOrigin<::Origin>; + type PrivilegedOrigin: EnsureOrigin<::RuntimeOrigin>; } #[pallet::event] diff --git a/runtime/rococo/src/xcm_config.rs b/runtime/rococo/src/xcm_config.rs index df594ec95715..26a380dfcd20 100644 --- a/runtime/rococo/src/xcm_config.rs +++ b/runtime/rococo/src/xcm_config.rs @@ -17,8 +17,8 @@ //! XCM configuration for Rococo. use super::{ - parachains_origin, AccountId, Balances, CouncilCollective, Origin, ParaId, Runtime, - RuntimeCall, RuntimeEvent, WeightToFee, XcmPallet, + parachains_origin, AccountId, Balances, CouncilCollective, ParaId, Runtime, RuntimeCall, + RuntimeEvent, RuntimeOrigin, WeightToFee, XcmPallet, }; use frame_support::{match_types, parameter_types, traits::Everything}; use runtime_common::{xcm_sender, ToAuthor}; @@ -76,13 +76,13 @@ pub type LocalAssetTransactor = XcmCurrencyAdapter< /// The means that we convert an the XCM message origin location into a local dispatch origin. type LocalOriginConverter = ( // A `Signed` origin of the sovereign account that the original location controls. - SovereignSignedViaLocation, + SovereignSignedViaLocation, // A child parachain, natively expressed, has the `Parachain` origin. - ChildParachainAsNative, + ChildParachainAsNative, // The AccountId32 location type can be expressed natively as a `Signed` origin. - SignedAccountId32AsNative, + SignedAccountId32AsNative, // A system child parachain, expressed as a Superuser, converts to the `Root` origin. - ChildSystemParachainAsSuperuser, + ChildSystemParachainAsSuperuser, ); parameter_types! { @@ -176,7 +176,7 @@ parameter_types! { /// Type to convert the council origin to a Plurality `MultiLocation` value. pub type CouncilToPlurality = BackingToPlurality< - Origin, + RuntimeOrigin, pallet_collective::Origin, CouncilBodyId, >; @@ -188,14 +188,14 @@ pub type LocalOriginToLocation = ( // `Unit` body. CouncilToPlurality, // And a usual Signed origin to be used in XCM as a corresponding AccountId32 - SignedToAccountId32, + SignedToAccountId32, ); impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally. - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmExecuteFilter = Everything; type XcmExecutor = xcm_executor::XcmExecutor; // Anyone is able to use teleportation regardless of who they are and what they want to teleport. @@ -205,7 +205,7 @@ impl pallet_xcm::Config for Runtime { type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index ffaad22c5dbe..b2fcd58194f2 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -135,7 +135,7 @@ impl frame_system::Config for Runtime { type BlockWeights = BlockWeights; type BlockLength = BlockLength; type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = Nonce; type BlockNumber = BlockNumber; @@ -534,30 +534,31 @@ parameter_types! { pub const MaxInstructions: u32 = 100; } -pub type LocalOriginToLocation = xcm_builder::SignedToAccountId32; +pub type LocalOriginToLocation = + xcm_builder::SignedToAccountId32; impl pallet_xcm::Config for Runtime { // The config types here are entirely configurable, since the only one that is sorely needed // is `XcmExecutor`, which will be used in unit tests located in xcm-executor. type RuntimeEvent = RuntimeEvent; - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; type LocationInverter = xcm_config::InvertNothing; - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type Weigher = xcm_builder::FixedWeightBounds; type XcmRouter = xcm_config::DoNothingRouter; type XcmExecuteFilter = Everything; type XcmExecutor = xcm_executor::XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Everything; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; } impl parachains_hrmp::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type WeightInfo = parachains_hrmp::TestWeightInfo; } @@ -570,7 +571,7 @@ impl parachains_origin::Config for Runtime {} impl pallet_test_notifier::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; } @@ -589,8 +590,8 @@ pub mod pallet_test_notifier { #[pallet::config] pub trait Config: frame_system::Config + pallet_xcm::Config { type RuntimeEvent: IsType<::RuntimeEvent> + From>; - type Origin: IsType<::Origin> - + Into::Origin>>; + type RuntimeOrigin: IsType<::RuntimeOrigin> + + Into::RuntimeOrigin>>; type RuntimeCall: IsType<::RuntimeCall> + From>; } @@ -647,7 +648,7 @@ pub mod pallet_test_notifier { query_id: QueryId, response: Response, ) -> DispatchResult { - let responder = ensure_response(::Origin::from(origin))?; + let responder = ensure_response(::RuntimeOrigin::from(origin))?; Self::deposit_event(Event::::ResponseReceived(responder, query_id, response)); Ok(()) } diff --git a/runtime/test-runtime/src/xcm_config.rs b/runtime/test-runtime/src/xcm_config.rs index 7d1aa7de40b7..217995f31fe4 100644 --- a/runtime/test-runtime/src/xcm_config.rs +++ b/runtime/test-runtime/src/xcm_config.rs @@ -31,7 +31,7 @@ parameter_types! { /// of this chain. pub type LocalOriginToLocation = ( // And a usual Signed origin to be used in XCM as a corresponding AccountId32 - SignedToAccountId32, + SignedToAccountId32, ); pub struct DoNothingRouter; @@ -81,7 +81,7 @@ impl xcm_executor::Config for XcmConfig { type RuntimeCall = super::RuntimeCall; type XcmSender = DoNothingRouter; type AssetTransactor = DummyAssetTransactor; - type OriginConverter = pallet_xcm::XcmPassthrough; + type OriginConverter = pallet_xcm::XcmPassthrough; type IsReserve = (); type IsTeleporter = (); type LocationInverter = InvertNothing; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 834972f1f431..9d387fb8cda7 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -141,7 +141,7 @@ impl frame_system::Config for Runtime { type BaseCallFilter = frame_support::traits::Everything; type BlockWeights = BlockWeights; type BlockLength = BlockLength; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = Nonce; type BlockNumber = BlockNumber; @@ -172,8 +172,8 @@ parameter_types! { } impl pallet_scheduler::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; @@ -906,8 +906,8 @@ impl parachains_ump::Config for Runtime { impl parachains_dmp::Config for Runtime {} impl parachains_hrmp::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type WeightInfo = weights::runtime_parachains_hrmp::WeightInfo; } @@ -975,8 +975,8 @@ parameter_types! { } impl paras_registrar::Config for Runtime { + type RuntimeOrigin = RuntimeOrigin; type RuntimeEvent = RuntimeEvent; - type Origin = Origin; type Currency = Balances; type OnSwap = (Crowdloan, Slots); type ParaDeposit = ParaDeposit; diff --git a/runtime/westend/src/xcm_config.rs b/runtime/westend/src/xcm_config.rs index ddb5316e2843..a1e108eb3be0 100644 --- a/runtime/westend/src/xcm_config.rs +++ b/runtime/westend/src/xcm_config.rs @@ -17,8 +17,8 @@ //! XCM configurations for Westend. use super::{ - parachains_origin, weights, AccountId, Balances, Origin, ParaId, Runtime, RuntimeCall, - RuntimeEvent, WeightToFee, XcmPallet, + parachains_origin, weights, AccountId, Balances, ParaId, Runtime, RuntimeCall, RuntimeEvent, + RuntimeOrigin, WeightToFee, XcmPallet, }; use frame_support::{ parameter_types, @@ -60,10 +60,10 @@ pub type LocalAssetTransactor = XcmCurrencyAdapter< >; type LocalOriginConverter = ( - SovereignSignedViaLocation, - ChildParachainAsNative, - SignedAccountId32AsNative, - ChildSystemParachainAsSuperuser, + SovereignSignedViaLocation, + ChildParachainAsNative, + SignedAccountId32AsNative, + ChildSystemParachainAsSuperuser, ); /// The XCM router. When we want to send an XCM message, we use this type. It amalgamates all of our @@ -122,15 +122,15 @@ impl xcm_executor::Config for XcmConfig { /// of this chain. pub type LocalOriginToLocation = ( // And a usual Signed origin to be used in XCM as a corresponding AccountId32 - SignedToAccountId32, + SignedToAccountId32, ); impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally... - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; // ...but they must match our filter, which rejects everything. type XcmExecuteFilter = Nothing; type XcmExecutor = xcm_executor::XcmExecutor; @@ -139,7 +139,7 @@ impl pallet_xcm::Config for Runtime { type Weigher = WeightInfoBounds, RuntimeCall, MaxInstructions>; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; diff --git a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs index 5accdb946e90..3cc67971e667 100644 --- a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs @@ -54,7 +54,7 @@ impl frame_system::Config for Test { type BlockWeights = (); type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Index = u64; type BlockNumber = u64; type Hash = H256; diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs index 6c628ce5df54..ea7899afceb9 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs @@ -60,7 +60,7 @@ impl frame_system::Config for Test { type BlockWeights = (); type BlockLength = (); type DbWeight = (); - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type Index = u64; type BlockNumber = u64; type Hash = H256; @@ -103,7 +103,7 @@ impl xcm_executor::Config for XcmConfig { type RuntimeCall = RuntimeCall; type XcmSender = DevNull; type AssetTransactor = NoAssetTransactor; - type OriginConverter = AlwaysSignedByDefault; + type OriginConverter = AlwaysSignedByDefault; type IsReserve = AllAssetLocationsPass; type IsTeleporter = (); type LocationInverter = xcm_builder::LocationInverter; @@ -159,18 +159,18 @@ pub fn new_test_ext() -> sp_io::TestExternalities { t.into() } -pub struct AlwaysSignedByDefault(core::marker::PhantomData); -impl ConvertOrigin for AlwaysSignedByDefault +pub struct AlwaysSignedByDefault(core::marker::PhantomData); +impl ConvertOrigin for AlwaysSignedByDefault where - Origin: OriginTrait, - ::AccountId: Decode, + RuntimeOrigin: OriginTrait, + ::AccountId: Decode, { fn convert_origin( _origin: impl Into, _kind: OriginKind, - ) -> Result { - Ok(Origin::signed( - ::AccountId::decode(&mut TrailingZeroInput::zeroes()) + ) -> Result { + Ok(RuntimeOrigin::signed( + ::AccountId::decode(&mut TrailingZeroInput::zeroes()) .expect("infinite length input; no invalid inputs for type; qed"), )) } diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs index 3d836b21e63d..adf31fb207f2 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs @@ -15,7 +15,7 @@ pub mod pallet { #[pallet::config] pub trait Config: frame_system::Config + crate::Config { - type RuntimeCall: Dispatchable + type RuntimeCall: Dispatchable + GetDispatchInfo + From> + Encode; diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index 5d297e144df1..f5e5d0f8c004 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -75,7 +75,10 @@ pub mod pallet { /// Required origin for sending XCM messages. If successful, it resolves to `MultiLocation` /// which exists as an interior location within this chain's XCM context. - type SendXcmOrigin: EnsureOrigin<::Origin, Success = MultiLocation>; + type SendXcmOrigin: EnsureOrigin< + ::RuntimeOrigin, + Success = MultiLocation, + >; /// The type used to actually dispatch an XCM to its destination. type XcmRouter: SendXcm; @@ -83,7 +86,10 @@ pub mod pallet { /// Required origin for executing XCM messages, including the teleport functionality. If successful, /// then it resolves to `MultiLocation` which exists as an interior location within this chain's XCM /// context. - type ExecuteXcmOrigin: EnsureOrigin<::Origin, Success = MultiLocation>; + type ExecuteXcmOrigin: EnsureOrigin< + ::RuntimeOrigin, + Success = MultiLocation, + >; /// Our XCM filter which messages to be executed using `XcmExecutor` must pass. type XcmExecuteFilter: Contains<(MultiLocation, Xcm<::RuntimeCall>)>; @@ -104,13 +110,16 @@ pub mod pallet { type LocationInverter: InvertLocation; /// The outer `Origin` type. - type Origin: From + From<::Origin>; + type RuntimeOrigin: From + From<::RuntimeOrigin>; /// The outer `Call` type. type RuntimeCall: Parameter + GetDispatchInfo + IsType<::RuntimeCall> - + Dispatchable::Origin, PostInfo = PostDispatchInfo>; + + Dispatchable< + RuntimeOrigin = ::RuntimeOrigin, + PostInfo = PostDispatchInfo, + >; const VERSION_DISCOVERY_QUEUE_SIZE: u32; @@ -1555,12 +1564,14 @@ where /// A simple passthrough where we reuse the `MultiLocation`-typed XCM origin as the inner value of /// this crate's `Origin::Xcm` value. -pub struct XcmPassthrough(PhantomData); -impl> ConvertOrigin for XcmPassthrough { +pub struct XcmPassthrough(PhantomData); +impl> ConvertOrigin + for XcmPassthrough +{ fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); match kind { OriginKind::Xcm => Ok(crate::Origin::Xcm(origin).into()), diff --git a/xcm/pallet-xcm/src/mock.rs b/xcm/pallet-xcm/src/mock.rs index a42d7f109136..7652a395b47b 100644 --- a/xcm/pallet-xcm/src/mock.rs +++ b/xcm/pallet-xcm/src/mock.rs @@ -52,8 +52,8 @@ pub mod pallet_test_notifier { #[pallet::config] pub trait Config: frame_system::Config + crate::Config { type RuntimeEvent: IsType<::RuntimeEvent> + From>; - type Origin: IsType<::Origin> - + Into::Origin>>; + type RuntimeOrigin: IsType<::RuntimeOrigin> + + Into::RuntimeOrigin>>; type RuntimeCall: IsType<::RuntimeCall> + From>; } @@ -110,7 +110,7 @@ pub mod pallet_test_notifier { query_id: QueryId, response: Response, ) -> DispatchResult { - let responder = ensure_response(::Origin::from(origin))?; + let responder = ensure_response(::RuntimeOrigin::from(origin))?; Self::deposit_event(Event::::ResponseReceived(responder, query_id, response)); Ok(()) } @@ -171,7 +171,7 @@ parameter_types! { } impl frame_system::Config for Test { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -229,10 +229,10 @@ pub type LocalAssetTransactor = XcmCurrencyAdapter, SovereignAccountOf, AccountId, ()>; type LocalOriginConverter = ( - SovereignSignedViaLocation, - ChildParachainAsNative, - SignedAccountId32AsNative, - ChildSystemParachainAsSuperuser, + SovereignSignedViaLocation, + ChildParachainAsNative, + SignedAccountId32AsNative, + ChildSystemParachainAsSuperuser, ); parameter_types! { @@ -267,7 +267,7 @@ impl xcm_executor::Config for XcmConfig { type SubscriptionService = XcmPallet; } -pub type LocalOriginToLocation = SignedToAccountId32; +pub type LocalOriginToLocation = SignedToAccountId32; parameter_types! { pub static AdvertisedXcmVersion: pallet_xcm::XcmVersion = 2; @@ -275,16 +275,16 @@ parameter_types! { impl pallet_xcm::Config for Test { type RuntimeEvent = RuntimeEvent; - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = (TestSendXcmErrX8, TestSendXcm); - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmExecuteFilter = Everything; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = AdvertisedXcmVersion; @@ -294,7 +294,7 @@ impl origin::Config for Test {} impl pallet_test_notifier::Config for Test { type RuntimeEvent = RuntimeEvent; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; } diff --git a/xcm/pallet-xcm/src/tests.rs b/xcm/pallet-xcm/src/tests.rs index 2e7703a062b4..ddac7518e510 100644 --- a/xcm/pallet-xcm/src/tests.rs +++ b/xcm/pallet-xcm/src/tests.rs @@ -171,7 +171,11 @@ fn send_works() { ]); let versioned_dest = Box::new(RelayLocation::get().into()); let versioned_message = Box::new(VersionedXcm::from(message.clone())); - assert_ok!(XcmPallet::send(Origin::signed(ALICE), versioned_dest, versioned_message)); + assert_ok!(XcmPallet::send( + RuntimeOrigin::signed(ALICE), + versioned_dest, + versioned_message + )); assert_eq!( sent_xcm(), vec![( @@ -209,7 +213,7 @@ fn send_fails_when_xcm_router_blocks() { ]); assert_noop!( XcmPallet::send( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(MultiLocation::ancestor(8).into()), Box::new(VersionedXcm::from(message.clone())), ), @@ -233,7 +237,7 @@ fn teleport_assets_works() { assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE); let dest: MultiLocation = AccountId32 { network: Any, id: BOB.into() }.into(); assert_ok!(XcmPallet::teleport_assets( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(RelayLocation::get().into()), Box::new(dest.clone().into()), Box::new((Here, SEND_AMOUNT).into()), @@ -276,7 +280,7 @@ fn limmited_teleport_assets_works() { assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE); let dest: MultiLocation = AccountId32 { network: Any, id: BOB.into() }.into(); assert_ok!(XcmPallet::limited_teleport_assets( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(RelayLocation::get().into()), Box::new(dest.clone().into()), Box::new((Here, SEND_AMOUNT).into()), @@ -320,7 +324,7 @@ fn unlimmited_teleport_assets_works() { assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE); let dest: MultiLocation = AccountId32 { network: Any, id: BOB.into() }.into(); assert_ok!(XcmPallet::limited_teleport_assets( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(RelayLocation::get().into()), Box::new(dest.clone().into()), Box::new((Here, SEND_AMOUNT).into()), @@ -363,7 +367,7 @@ fn reserve_transfer_assets_works() { Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() }.into(); assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE); assert_ok!(XcmPallet::reserve_transfer_assets( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(Parachain(PARA_ID).into().into()), Box::new(dest.clone().into()), Box::new((Here, SEND_AMOUNT).into()), @@ -411,7 +415,7 @@ fn limited_reserve_transfer_assets_works() { Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() }.into(); assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE); assert_ok!(XcmPallet::limited_reserve_transfer_assets( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(Parachain(PARA_ID).into().into()), Box::new(dest.clone().into()), Box::new((Here, SEND_AMOUNT).into()), @@ -460,7 +464,7 @@ fn unlimited_reserve_transfer_assets_works() { Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() }.into(); assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE); assert_ok!(XcmPallet::limited_reserve_transfer_assets( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(Parachain(PARA_ID).into().into()), Box::new(dest.clone().into()), Box::new((Here, SEND_AMOUNT).into()), @@ -507,7 +511,7 @@ fn execute_withdraw_to_deposit_works() { Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() }.into(); assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE); assert_ok!(XcmPallet::execute( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(VersionedXcm::from(Xcm(vec![ WithdrawAsset((Here, SEND_AMOUNT).into()), buy_execution((Here, SEND_AMOUNT)), @@ -534,7 +538,7 @@ fn trapped_assets_can_be_claimed() { Junction::AccountId32 { network: NetworkId::Any, id: BOB.into() }.into(); assert_ok!(XcmPallet::execute( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(VersionedXcm::from(Xcm(vec![ WithdrawAsset((Here, SEND_AMOUNT).into()), buy_execution((Here, SEND_AMOUNT)), @@ -569,7 +573,7 @@ fn trapped_assets_can_be_claimed() { let weight = 3 * BaseXcmWeight::get(); assert_ok!(XcmPallet::execute( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(VersionedXcm::from(Xcm(vec![ ClaimAsset { assets: (Here, SEND_AMOUNT).into(), ticket: Here.into() }, buy_execution((Here, SEND_AMOUNT)), @@ -584,7 +588,7 @@ fn trapped_assets_can_be_claimed() { let weight = 3 * BaseXcmWeight::get(); assert_ok!(XcmPallet::execute( - Origin::signed(ALICE), + RuntimeOrigin::signed(ALICE), Box::new(VersionedXcm::from(Xcm(vec![ ClaimAsset { assets: (Here, SEND_AMOUNT).into(), ticket: Here.into() }, buy_execution((Here, SEND_AMOUNT)), @@ -615,7 +619,7 @@ fn basic_subscription_works() { new_test_ext_with_balances(vec![]).execute_with(|| { let remote = Parachain(1000).into(); assert_ok!(XcmPallet::force_subscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()), )); @@ -658,13 +662,13 @@ fn subscriptions_increment_id() { new_test_ext_with_balances(vec![]).execute_with(|| { let remote = Parachain(1000).into(); assert_ok!(XcmPallet::force_subscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()), )); let remote2 = Parachain(1001).into(); assert_ok!(XcmPallet::force_subscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote2.clone().into()), )); @@ -689,12 +693,12 @@ fn double_subscription_fails() { new_test_ext_with_balances(vec![]).execute_with(|| { let remote = Parachain(1000).into(); assert_ok!(XcmPallet::force_subscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()), )); assert_noop!( XcmPallet::force_subscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()) ), Error::::AlreadySubscribed, @@ -707,16 +711,16 @@ fn unsubscribe_works() { new_test_ext_with_balances(vec![]).execute_with(|| { let remote = Parachain(1000).into(); assert_ok!(XcmPallet::force_subscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()), )); assert_ok!(XcmPallet::force_unsubscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()) )); assert_noop!( XcmPallet::force_unsubscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()) ), Error::::NoSubscription, @@ -851,7 +855,7 @@ fn subscriber_side_subscription_works() { new_test_ext_with_balances(vec![]).execute_with(|| { let remote = Parachain(1000).into(); assert_ok!(XcmPallet::force_subscribe_version_notify( - Origin::root(), + RuntimeOrigin::root(), Box::new(remote.clone().into()), )); take_sent_xcm(); @@ -893,7 +897,7 @@ fn auto_subscription_works() { let remote0 = Parachain(1000).into(); let remote1 = Parachain(1001).into(); - assert_ok!(XcmPallet::force_default_xcm_version(Origin::root(), Some(1))); + assert_ok!(XcmPallet::force_default_xcm_version(RuntimeOrigin::root(), Some(1))); // Wrapping a version for a destination we don't know elicits a subscription. let v1_msg = xcm::v1::Xcm::<()>::QueryResponse { diff --git a/xcm/xcm-builder/src/mock.rs b/xcm/xcm-builder/src/mock.rs index 96ef04bead3b..e085f22f4127 100644 --- a/xcm/xcm-builder/src/mock.rs +++ b/xcm/xcm-builder/src/mock.rs @@ -60,11 +60,11 @@ pub enum TestCall { Any(Weight, Option), } impl Dispatchable for TestCall { - type Origin = TestOrigin; + type RuntimeOrigin = TestOrigin; type Config = (); type Info = (); type PostInfo = PostDispatchInfo; - fn dispatch(self, origin: Self::Origin) -> DispatchResultWithPostInfo { + fn dispatch(self, origin: Self::RuntimeOrigin) -> DispatchResultWithPostInfo { let mut post_info = PostDispatchInfo::default(); let maybe_actual = match self { TestCall::OnlyRoot(_, maybe_actual) | diff --git a/xcm/xcm-builder/src/origin_conversion.rs b/xcm/xcm-builder/src/origin_conversion.rs index 5df56f1ed5de..9fe50eaf9c3f 100644 --- a/xcm/xcm-builder/src/origin_conversion.rs +++ b/xcm/xcm-builder/src/origin_conversion.rs @@ -24,18 +24,20 @@ use xcm::latest::{BodyId, BodyPart, Junction, Junctions::*, MultiLocation, Netwo use xcm_executor::traits::{Convert, ConvertOrigin}; /// Sovereign accounts use the system's `Signed` origin with an account ID derived from the `LocationConverter`. -pub struct SovereignSignedViaLocation( - PhantomData<(LocationConverter, Origin)>, +pub struct SovereignSignedViaLocation( + PhantomData<(LocationConverter, RuntimeOrigin)>, ); -impl, Origin: OriginTrait> - ConvertOrigin for SovereignSignedViaLocation +impl< + LocationConverter: Convert, + RuntimeOrigin: OriginTrait, + > ConvertOrigin for SovereignSignedViaLocation where - Origin::AccountId: Clone, + RuntimeOrigin::AccountId: Clone, { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!( target: "xcm::origin_conversion", @@ -44,57 +46,61 @@ where ); if let OriginKind::SovereignAccount = kind { let location = LocationConverter::convert(origin)?; - Ok(Origin::signed(location).into()) + Ok(RuntimeOrigin::signed(location).into()) } else { Err(origin) } } } -pub struct ParentAsSuperuser(PhantomData); -impl ConvertOrigin for ParentAsSuperuser { +pub struct ParentAsSuperuser(PhantomData); +impl ConvertOrigin for ParentAsSuperuser { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!(target: "xcm::origin_conversion", "ParentAsSuperuser origin: {:?}, kind: {:?}", origin, kind); if kind == OriginKind::Superuser && origin.contains_parents_only(1) { - Ok(Origin::root()) + Ok(RuntimeOrigin::root()) } else { Err(origin) } } } -pub struct ChildSystemParachainAsSuperuser(PhantomData<(ParaId, Origin)>); -impl, Origin: OriginTrait> ConvertOrigin - for ChildSystemParachainAsSuperuser +pub struct ChildSystemParachainAsSuperuser( + PhantomData<(ParaId, RuntimeOrigin)>, +); +impl, RuntimeOrigin: OriginTrait> ConvertOrigin + for ChildSystemParachainAsSuperuser { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!(target: "xcm::origin_conversion", "ChildSystemParachainAsSuperuser origin: {:?}, kind: {:?}", origin, kind); match (kind, origin) { ( OriginKind::Superuser, MultiLocation { parents: 0, interior: X1(Junction::Parachain(id)) }, - ) if ParaId::from(id).is_system() => Ok(Origin::root()), + ) if ParaId::from(id).is_system() => Ok(RuntimeOrigin::root()), (_, origin) => Err(origin), } } } -pub struct SiblingSystemParachainAsSuperuser(PhantomData<(ParaId, Origin)>); -impl, Origin: OriginTrait> ConvertOrigin - for SiblingSystemParachainAsSuperuser +pub struct SiblingSystemParachainAsSuperuser( + PhantomData<(ParaId, RuntimeOrigin)>, +); +impl, RuntimeOrigin: OriginTrait> ConvertOrigin + for SiblingSystemParachainAsSuperuser { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!( target: "xcm::origin_conversion", @@ -105,42 +111,44 @@ impl, Origin: OriginTrait> ConvertOrigin ( OriginKind::Superuser, MultiLocation { parents: 1, interior: X1(Junction::Parachain(id)) }, - ) if ParaId::from(id).is_system() => Ok(Origin::root()), + ) if ParaId::from(id).is_system() => Ok(RuntimeOrigin::root()), (_, origin) => Err(origin), } } } -pub struct ChildParachainAsNative(PhantomData<(ParachainOrigin, Origin)>); -impl, Origin: From> ConvertOrigin - for ChildParachainAsNative +pub struct ChildParachainAsNative( + PhantomData<(ParachainOrigin, RuntimeOrigin)>, +); +impl, RuntimeOrigin: From> ConvertOrigin + for ChildParachainAsNative { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!(target: "xcm::origin_conversion", "ChildParachainAsNative origin: {:?}, kind: {:?}", origin, kind); match (kind, origin) { ( OriginKind::Native, MultiLocation { parents: 0, interior: X1(Junction::Parachain(id)) }, - ) => Ok(Origin::from(ParachainOrigin::from(id))), + ) => Ok(RuntimeOrigin::from(ParachainOrigin::from(id))), (_, origin) => Err(origin), } } } -pub struct SiblingParachainAsNative( - PhantomData<(ParachainOrigin, Origin)>, +pub struct SiblingParachainAsNative( + PhantomData<(ParachainOrigin, RuntimeOrigin)>, ); -impl, Origin: From> ConvertOrigin - for SiblingParachainAsNative +impl, RuntimeOrigin: From> ConvertOrigin + for SiblingParachainAsNative { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!( target: "xcm::origin_conversion", @@ -151,21 +159,23 @@ impl, Origin: From> ConvertOrigin Ok(Origin::from(ParachainOrigin::from(id))), + ) => Ok(RuntimeOrigin::from(ParachainOrigin::from(id))), (_, origin) => Err(origin), } } } // Our Relay-chain has a native origin given by the `Get`ter. -pub struct RelayChainAsNative(PhantomData<(RelayOrigin, Origin)>); -impl, Origin> ConvertOrigin - for RelayChainAsNative +pub struct RelayChainAsNative( + PhantomData<(RelayOrigin, RuntimeOrigin)>, +); +impl, RuntimeOrigin> ConvertOrigin + for RelayChainAsNative { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!(target: "xcm::origin_conversion", "RelayChainAsNative origin: {:?}, kind: {:?}", origin, kind); if kind == OriginKind::Native && origin.contains_parents_only(1) { @@ -176,16 +186,16 @@ impl, Origin> ConvertOrigin } } -pub struct SignedAccountId32AsNative(PhantomData<(Network, Origin)>); -impl, Origin: OriginTrait> ConvertOrigin - for SignedAccountId32AsNative +pub struct SignedAccountId32AsNative(PhantomData<(Network, RuntimeOrigin)>); +impl, RuntimeOrigin: OriginTrait> ConvertOrigin + for SignedAccountId32AsNative where - Origin::AccountId: From<[u8; 32]>, + RuntimeOrigin::AccountId: From<[u8; 32]>, { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!( target: "xcm::origin_conversion", @@ -197,22 +207,24 @@ where OriginKind::Native, MultiLocation { parents: 0, interior: X1(Junction::AccountId32 { id, network }) }, ) if matches!(network, NetworkId::Any) || network == Network::get() => - Ok(Origin::signed(id.into())), + Ok(RuntimeOrigin::signed(id.into())), (_, origin) => Err(origin), } } } -pub struct SignedAccountKey20AsNative(PhantomData<(Network, Origin)>); -impl, Origin: OriginTrait> ConvertOrigin - for SignedAccountKey20AsNative +pub struct SignedAccountKey20AsNative( + PhantomData<(Network, RuntimeOrigin)>, +); +impl, RuntimeOrigin: OriginTrait> ConvertOrigin + for SignedAccountKey20AsNative where - Origin::AccountId: From<[u8; 20]>, + RuntimeOrigin::AccountId: From<[u8; 20]>, { fn convert_origin( origin: impl Into, kind: OriginKind, - ) -> Result { + ) -> Result { let origin = origin.into(); log::trace!( target: "xcm::origin_conversion", @@ -224,28 +236,28 @@ where OriginKind::Native, MultiLocation { parents: 0, interior: X1(Junction::AccountKey20 { key, network }) }, ) if (matches!(network, NetworkId::Any) || network == Network::get()) => - Ok(Origin::signed(key.into())), + Ok(RuntimeOrigin::signed(key.into())), (_, origin) => Err(origin), } } } /// `EnsureOrigin` barrier to convert from dispatch origin to XCM origin, if one exists. -pub struct EnsureXcmOrigin(PhantomData<(Origin, Conversion)>); -impl> EnsureOrigin - for EnsureXcmOrigin +pub struct EnsureXcmOrigin(PhantomData<(RuntimeOrigin, Conversion)>); +impl> + EnsureOrigin for EnsureXcmOrigin where - Origin::PalletsOrigin: PartialEq, + RuntimeOrigin::PalletsOrigin: PartialEq, { type Success = MultiLocation; - fn try_origin(o: Origin) -> Result { + fn try_origin(o: RuntimeOrigin) -> Result { let o = match Conversion::convert(o) { Ok(location) => return Ok(location), Err(o) => o, }; // We institute a root fallback so root can always represent the context. This // guarantees that `successful_origin` will work. - if o.caller() == Origin::root().caller() { + if o.caller() == RuntimeOrigin::root().caller() { Ok(Here.into()) } else { Err(o) @@ -253,8 +265,8 @@ where } #[cfg(feature = "runtime-benchmarks")] - fn try_successful_origin() -> Result { - Ok(Origin::root()) + fn try_successful_origin() -> Result { + Ok(RuntimeOrigin::root()) } } @@ -262,16 +274,16 @@ where /// /// Typically used when configuring `pallet-xcm` for allowing normal accounts to dispatch an XCM from an `AccountId32` /// origin. -pub struct SignedToAccountId32( - PhantomData<(Origin, AccountId, Network)>, +pub struct SignedToAccountId32( + PhantomData<(RuntimeOrigin, AccountId, Network)>, ); -impl, Network: Get> - Convert for SignedToAccountId32 +impl, Network: Get> + Convert for SignedToAccountId32 where - Origin::PalletsOrigin: From> - + TryInto, Error = Origin::PalletsOrigin>, + RuntimeOrigin::PalletsOrigin: From> + + TryInto, Error = RuntimeOrigin::PalletsOrigin>, { - fn convert(o: Origin) -> Result { + fn convert(o: RuntimeOrigin) -> Result { o.try_with_caller(|caller| match caller.try_into() { Ok(SystemRawOrigin::Signed(who)) => Ok(Junction::AccountId32 { network: Network::get(), id: who.into() }.into()), @@ -286,13 +298,16 @@ where /// /// Typically used when configuring `pallet-xcm` for allowing a collective's Origin to dispatch an XCM from a /// `Plurality` origin. -pub struct BackingToPlurality(PhantomData<(Origin, COrigin, Body)>); -impl> - Convert for BackingToPlurality +pub struct BackingToPlurality( + PhantomData<(RuntimeOrigin, COrigin, Body)>, +); +impl> + Convert for BackingToPlurality where - Origin::PalletsOrigin: From + TryInto, + RuntimeOrigin::PalletsOrigin: + From + TryInto, { - fn convert(o: Origin) -> Result { + fn convert(o: RuntimeOrigin) -> Result { o.try_with_caller(|caller| match caller.try_into() { Ok(co) => match co.get_backing() { Some(backing) => Ok(Junction::Plurality { diff --git a/xcm/xcm-builder/tests/mock/mod.rs b/xcm/xcm-builder/tests/mock/mod.rs index f5f7cf6a1959..30e12a12e073 100644 --- a/xcm/xcm-builder/tests/mock/mod.rs +++ b/xcm/xcm-builder/tests/mock/mod.rs @@ -61,7 +61,7 @@ parameter_types! { } impl frame_system::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -133,10 +133,10 @@ pub type LocalCurrencyAdapter = XcmCurrencyAdapter< pub type LocalAssetTransactor = (LocalCurrencyAdapter,); type LocalOriginConverter = ( - SovereignSignedViaLocation, - ChildParachainAsNative, - SignedAccountId32AsNative, - ChildSystemParachainAsSuperuser, + SovereignSignedViaLocation, + ChildParachainAsNative, + SignedAccountId32AsNative, + ChildSystemParachainAsSuperuser, ); parameter_types! { @@ -176,22 +176,22 @@ impl xcm_executor::Config for XcmConfig { type SubscriptionService = XcmPallet; } -pub type LocalOriginToLocation = SignedToAccountId32; +pub type LocalOriginToLocation = SignedToAccountId32; impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; type LocationInverter = LocationInverter; - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = TestSendXcm; // Anyone can execute XCM messages locally... - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmExecuteFilter = Nothing; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type RuntimeCall = RuntimeCall; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; } diff --git a/xcm/xcm-executor/src/config.rs b/xcm/xcm-executor/src/config.rs index 99585762d96c..8b15ac3b754f 100644 --- a/xcm/xcm-executor/src/config.rs +++ b/xcm/xcm-executor/src/config.rs @@ -33,7 +33,7 @@ pub trait Config { type AssetTransactor: TransactAsset; /// How to get a call origin from a `OriginKind` value. - type OriginConverter: ConvertOrigin<::Origin>; + type OriginConverter: ConvertOrigin<::RuntimeOrigin>; /// Combinations of (Location, Asset) pairs which we trust as reserves. type IsReserve: FilterAssetLocation; diff --git a/xcm/xcm-simulator/example/src/lib.rs b/xcm/xcm-simulator/example/src/lib.rs index 1782a69e8de6..1e4f96cb2282 100644 --- a/xcm/xcm-simulator/example/src/lib.rs +++ b/xcm/xcm-simulator/example/src/lib.rs @@ -206,7 +206,7 @@ mod tests { Relay::execute_with(|| { assert_ok!(RelayChainPalletXcm::reserve_transfer_assets( - relay_chain::Origin::signed(ALICE), + relay_chain::RuntimeOrigin::signed(ALICE), Box::new(X1(Parachain(1)).into().into()), Box::new(X1(AccountId32 { network: Any, id: ALICE.into() }).into().into()), Box::new((Here, withdraw_amount).into()), diff --git a/xcm/xcm-simulator/example/src/parachain.rs b/xcm/xcm-simulator/example/src/parachain.rs index 77322054a258..ff435a9238fd 100644 --- a/xcm/xcm-simulator/example/src/parachain.rs +++ b/xcm/xcm-simulator/example/src/parachain.rs @@ -52,7 +52,7 @@ parameter_types! { } impl frame_system::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -114,9 +114,9 @@ pub type LocationToAccountId = ( ); pub type XcmOriginToCallOrigin = ( - SovereignSignedViaLocation, - SignedAccountId32AsNative, - XcmPassthrough, + SovereignSignedViaLocation, + SignedAccountId32AsNative, + XcmPassthrough, ); parameter_types! { @@ -298,20 +298,20 @@ impl mock_msg_queue::Config for Runtime { type XcmExecutor = XcmExecutor; } -pub type LocalOriginToLocation = SignedToAccountId32; +pub type LocalOriginToLocation = SignedToAccountId32; impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SendXcmOrigin = EnsureXcmOrigin; + type SendXcmOrigin = EnsureXcmOrigin; type XcmRouter = XcmRouter; - type ExecuteXcmOrigin = EnsureXcmOrigin; + type ExecuteXcmOrigin = EnsureXcmOrigin; type XcmExecuteFilter = Everything; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Nothing; type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; diff --git a/xcm/xcm-simulator/example/src/relay_chain.rs b/xcm/xcm-simulator/example/src/relay_chain.rs index f664947487f6..3a5d9e229621 100644 --- a/xcm/xcm-simulator/example/src/relay_chain.rs +++ b/xcm/xcm-simulator/example/src/relay_chain.rs @@ -42,7 +42,7 @@ parameter_types! { } impl frame_system::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -107,10 +107,10 @@ pub type LocalAssetTransactor = XcmCurrencyAdapter, SovereignAccountOf, AccountId, ()>; type LocalOriginConverter = ( - SovereignSignedViaLocation, - ChildParachainAsNative, - SignedAccountId32AsNative, - ChildSystemParachainAsSuperuser, + SovereignSignedViaLocation, + ChildParachainAsNative, + SignedAccountId32AsNative, + ChildSystemParachainAsSuperuser, ); parameter_types! { @@ -140,21 +140,21 @@ impl Config for XcmConfig { type SubscriptionService = (); } -pub type LocalOriginToLocation = SignedToAccountId32; +pub type LocalOriginToLocation = SignedToAccountId32; impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally... - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmExecuteFilter = Nothing; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; diff --git a/xcm/xcm-simulator/fuzzer/src/parachain.rs b/xcm/xcm-simulator/fuzzer/src/parachain.rs index 25a20e97fc37..b8b51e57e853 100644 --- a/xcm/xcm-simulator/fuzzer/src/parachain.rs +++ b/xcm/xcm-simulator/fuzzer/src/parachain.rs @@ -52,7 +52,7 @@ parameter_types! { } impl frame_system::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -114,9 +114,9 @@ pub type LocationToAccountId = ( ); pub type XcmOriginToCallOrigin = ( - SovereignSignedViaLocation, - SignedAccountId32AsNative, - XcmPassthrough, + SovereignSignedViaLocation, + SignedAccountId32AsNative, + XcmPassthrough, ); parameter_types! { @@ -298,20 +298,20 @@ impl mock_msg_queue::Config for Runtime { type XcmExecutor = XcmExecutor; } -pub type LocalOriginToLocation = SignedToAccountId32; +pub type LocalOriginToLocation = SignedToAccountId32; impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SendXcmOrigin = EnsureXcmOrigin; + type SendXcmOrigin = EnsureXcmOrigin; type XcmRouter = XcmRouter; - type ExecuteXcmOrigin = EnsureXcmOrigin; + type ExecuteXcmOrigin = EnsureXcmOrigin; type XcmExecuteFilter = Everything; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Nothing; type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; diff --git a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs index f664947487f6..3a5d9e229621 100644 --- a/xcm/xcm-simulator/fuzzer/src/relay_chain.rs +++ b/xcm/xcm-simulator/fuzzer/src/relay_chain.rs @@ -42,7 +42,7 @@ parameter_types! { } impl frame_system::Config for Runtime { - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; type Index = u64; type BlockNumber = u64; @@ -107,10 +107,10 @@ pub type LocalAssetTransactor = XcmCurrencyAdapter, SovereignAccountOf, AccountId, ()>; type LocalOriginConverter = ( - SovereignSignedViaLocation, - ChildParachainAsNative, - SignedAccountId32AsNative, - ChildSystemParachainAsSuperuser, + SovereignSignedViaLocation, + ChildParachainAsNative, + SignedAccountId32AsNative, + ChildSystemParachainAsSuperuser, ); parameter_types! { @@ -140,21 +140,21 @@ impl Config for XcmConfig { type SubscriptionService = (); } -pub type LocalOriginToLocation = SignedToAccountId32; +pub type LocalOriginToLocation = SignedToAccountId32; impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally... - type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; + type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmExecuteFilter = Nothing; type XcmExecutor = XcmExecutor; type XcmTeleportFilter = Everything; type XcmReserveTransferFilter = Everything; type Weigher = FixedWeightBounds; type LocationInverter = LocationInverter; - type Origin = Origin; + type RuntimeOrigin = RuntimeOrigin; type RuntimeCall = RuntimeCall; const VERSION_DISCOVERY_QUEUE_SIZE: u32 = 100; type AdvertisedXcmVersion = pallet_xcm::CurrentXcmVersion; From e2da6e5369b0b1a2dd7524bfef03ec269dbc7ec6 Mon Sep 17 00:00:00 2001 From: Ankan <10196091+Ank4n@users.noreply.github.com> Date: Wed, 21 Sep 2022 17:24:14 +0200 Subject: [PATCH 003/211] [Companion] Get rid of HistoryDepth storage (#5996) * remove history depth from storage and add it as config for pallet staking * add migration to v11 for staking pallet * revert local substrate dependency patch * remove history depth from storage and add it as config for pallet staking * add migration to v11 for staking pallet * revert local substrate dependency patch * update substrate dependencies * update cargo lock * update to latest substrate * revert all changes to Cargo.lock * cargo update -p sp-io * mark migration job as failable Co-authored-by: kianenigma --- .gitlab-ci.yml | 1 + Cargo.lock | 452 +++++++++--------- runtime/kusama/src/lib.rs | 2 + runtime/kusama/src/weights/pallet_staking.rs | 18 - runtime/polkadot/src/lib.rs | 2 + .../polkadot/src/weights/pallet_staking.rs | 18 - runtime/test-runtime/src/lib.rs | 1 + runtime/westend/src/lib.rs | 2 + runtime/westend/src/weights/pallet_staking.rs | 18 - 9 files changed, 238 insertions(+), 276 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 62e983e72c23..798939d006c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -651,6 +651,7 @@ check-runtime-migration: else echo "runtimemigration label not found. Skipping" fi + allow_failure: true check-no-default-features: diff --git a/Cargo.lock b/Cargo.lock index d1cf333079aa..dc13c9fe387c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -118,6 +118,12 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "510c76ecefdceada737ea728f4f9a84bd2e1ef29f1ba555e560940fe279954de" +[[package]] +name = "array-bytes" +version = "4.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a913633b0c922e6b745072795f50d90ebea78ba31a57e2ac8c2fc7b50950949" + [[package]] name = "arrayref" version = "0.3.6" @@ -429,14 +435,14 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "async-trait", "beefy-primitives", "fnv", "futures", "futures-timer", - "hex", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -465,7 +471,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -485,7 +491,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "beefy-primitives", "sp-api", @@ -494,7 +500,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -1066,19 +1072,21 @@ dependencies = [ [[package]] name = "cranelift-bforest" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f91425bea5a5ac6d76b788477064944a7e21f0e240fd93f6f368a774a3efdd1" +checksum = "b27bbd3e6c422cf6282b047bcdd51ecd9ca9f3497a3be0132ffa08e509b824b0" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b83b4bbf7bc96db77b7b5b5e41fafc4001536e9f0cbfd702ed7d4d8f848dc06" +checksum = "872f5d4557a411b087bd731df6347c142ae1004e6467a144a7e33662e5715a01" dependencies = [ + "arrayvec 0.7.2", + "bumpalo", "cranelift-bforest", "cranelift-codegen-meta", "cranelift-codegen-shared", @@ -1093,33 +1101,33 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da02e8fff048c381b313a3dfef4deb2343976fb6d7acc8e7d9c86d4c93e3fa06" +checksum = "21b49fdebb29c62c1fc4da1eeebd609e9d530ecde24a9876def546275f73a244" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9abc2a06e8fc29e36660ebbc9e2503e18a051057072acbb1e75e7f7cf19cb95e" +checksum = "5fc0c091e2db055d4d7f6b7cec2d2ead286bcfaea3357c6a52c2a2613a8cb5ac" [[package]] name = "cranelift-entity" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aeced7874890fc25d85cacc5e626c4d67931c7c25aad1c2ad521684744c1ff5c" +checksum = "354a9597be87996c9b278655e68b8447f65dd907256855ad773864edee8d985c" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc1d301ccad6fce05d9c9793d433d225fafdd57661b98d268d8d162e9291ff2e" +checksum = "0cd8dd3fb8b82c772f4172e87ae1677b971676fffa7c4e3398e3047e650a266b" dependencies = [ "cranelift-codegen", "log", @@ -1129,15 +1137,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd7b100db19320848986b4df1da19501dbddeb706a799f502222f72f889b0fab" +checksum = "b82527802b1f7d8da288adc28f1dc97ea52943f5871c041213f7b5035ac698a7" [[package]] name = "cranelift-native" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7be18d8b976cddc822e52343f328b7593d26dd2f1aeadd90da071596a210d524" +checksum = "c30ba8b910f1be023af0c39109cb28a8809734942a6b3eecbf2de8993052ea5e" dependencies = [ "cranelift-codegen", "libc", @@ -1146,9 +1154,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.87.1" +version = "0.88.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f9e48bb632a2e189b38a9fa89fa5a6eea687a5a4c613bbef7c2b7522c3ad0e0" +checksum = "776a8916d201894aca9637a20814f1e11abc62acd5cfbe0b4eb2e63922756971" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -1989,7 +1997,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", ] @@ -2007,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -2030,9 +2038,10 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "Inflector", + "array-bytes", "chrono", "clap", "comfy-table", @@ -2042,7 +2051,6 @@ dependencies = [ "gethostname", "handlebars", "hash-db", - "hex", "itertools", "kvdb", "lazy_static", @@ -2081,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2092,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2108,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -2137,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "bitflags", "frame-metadata", @@ -2169,7 +2177,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "Inflector", "cfg-expr", @@ -2183,7 +2191,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2195,7 +2203,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro2", "quote", @@ -2205,7 +2213,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2228,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -2239,7 +2247,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "log", @@ -2257,7 +2265,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -2272,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "sp-api", @@ -2281,7 +2289,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "parity-scale-codec", @@ -2464,7 +2472,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "chrono", "frame-election-provider-support", @@ -4822,7 +4830,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -4836,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -4852,7 +4860,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -4867,7 +4875,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -4891,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4911,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4930,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -4945,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "beefy-primitives", "frame-support", @@ -4961,13 +4969,13 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "beefy-merkle-tree", "beefy-primitives", "frame-support", "frame-system", - "hex", "log", "pallet-beefy", "pallet-mmr", @@ -4984,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5002,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5021,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5038,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5054,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5078,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5091,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5109,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5124,7 +5132,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5147,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5163,7 +5171,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5183,7 +5191,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5200,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5217,7 +5225,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5235,7 +5243,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5250,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5265,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -5282,7 +5290,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5302,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "sp-api", @@ -5312,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -5329,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5352,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5368,7 +5376,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5383,7 +5391,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5398,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -5435,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5451,7 +5459,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -5465,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5488,7 +5496,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5499,7 +5507,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "sp-arithmetic", @@ -5508,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -5522,7 +5530,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5540,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5559,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-support", "frame-system", @@ -5575,7 +5583,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5590,7 +5598,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5601,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5618,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -5634,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-benchmarking", "frame-support", @@ -8164,7 +8172,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8512,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "sp-core", @@ -8523,7 +8531,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "futures", @@ -8550,7 +8558,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "futures-timer", @@ -8573,7 +8581,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8589,7 +8597,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8606,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8617,13 +8625,13 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "chrono", "clap", "fdlimit", "futures", - "hex", "libp2p", "log", "names", @@ -8656,7 +8664,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "fnv", "futures", @@ -8684,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "hash-db", "kvdb", @@ -8709,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "futures", @@ -8733,7 +8741,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "fork-tree", @@ -8775,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "jsonrpsee", @@ -8797,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8810,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "futures", @@ -8835,7 +8843,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8862,7 +8870,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "environmental", "parity-scale-codec", @@ -8878,7 +8886,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "parity-scale-codec", @@ -8893,7 +8901,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8913,16 +8921,16 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "ahash", + "array-bytes", "async-trait", "dyn-clone", "finality-grandpa", "fork-tree", "futures", "futures-timer", - "hex", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -8954,7 +8962,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "finality-grandpa", "futures", @@ -8975,7 +8983,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "ansi_term", "futures", @@ -8992,10 +9000,10 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "async-trait", - "hex", "parking_lot 0.12.1", "serde_json", "sp-application-crypto", @@ -9007,8 +9015,9 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "async-trait", "asynchronous-codec", "bitflags", @@ -9019,7 +9028,6 @@ dependencies = [ "fork-tree", "futures", "futures-timer", - "hex", "ip_network", "libp2p", "linked-hash-map", @@ -9054,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "cid", "futures", @@ -9074,7 +9082,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "bitflags", @@ -9097,7 +9105,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "ahash", "futures", @@ -9115,10 +9123,10 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "futures", - "hex", "libp2p", "log", "parity-scale-codec", @@ -9136,11 +9144,11 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "fork-tree", "futures", - "hex", "libp2p", "log", "lru 0.7.8", @@ -9164,13 +9172,13 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "bytes", "fnv", "futures", "futures-timer", - "hex", "hyper", "hyper-rustls", "libp2p", @@ -9194,7 +9202,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "libp2p", @@ -9207,7 +9215,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9216,7 +9224,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "hash-db", @@ -9246,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "jsonrpsee", @@ -9269,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "jsonrpsee", @@ -9282,7 +9290,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "directories", @@ -9351,7 +9359,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "parity-scale-codec", @@ -9365,7 +9373,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9384,7 +9392,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "libc", @@ -9403,7 +9411,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "chrono", "futures", @@ -9421,7 +9429,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "ansi_term", "atty", @@ -9452,7 +9460,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9463,7 +9471,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "futures-timer", @@ -9489,7 +9497,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "log", @@ -9502,7 +9510,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "futures-timer", @@ -9988,7 +9996,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "hash-db", "log", @@ -10006,7 +10014,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "blake2", "proc-macro-crate", @@ -10018,7 +10026,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -10031,7 +10039,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "integer-sqrt", "num-traits", @@ -10046,7 +10054,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -10059,7 +10067,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "parity-scale-codec", @@ -10071,7 +10079,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "sp-api", @@ -10083,7 +10091,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "log", @@ -10101,7 +10109,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "futures", @@ -10120,7 +10128,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "merlin", @@ -10143,7 +10151,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -10157,7 +10165,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -10170,8 +10178,9 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "base58", "bitflags", "blake2", @@ -10181,7 +10190,6 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "hex", "impl-serde", "lazy_static", "libsecp256k1", @@ -10216,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "blake2", "byteorder", @@ -10230,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro2", "quote", @@ -10241,7 +10249,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10250,7 +10258,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro2", "quote", @@ -10260,7 +10268,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "environmental", "parity-scale-codec", @@ -10271,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "finality-grandpa", "log", @@ -10289,7 +10297,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10303,7 +10311,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "bytes", "futures", @@ -10329,7 +10337,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "lazy_static", "sp-core", @@ -10340,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "futures", @@ -10357,7 +10365,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "thiserror", "zstd", @@ -10366,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "parity-scale-codec", @@ -10381,7 +10389,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -10395,7 +10403,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "sp-api", "sp-core", @@ -10405,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "backtrace", "lazy_static", @@ -10415,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "rustc-hash", "serde", @@ -10425,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "either", "hash256-std-hasher", @@ -10448,7 +10456,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10466,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "Inflector", "proc-macro-crate", @@ -10478,7 +10486,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "parity-scale-codec", @@ -10492,7 +10500,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -10506,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "scale-info", @@ -10517,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "hash-db", "log", @@ -10539,12 +10547,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10557,7 +10565,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "log", "sp-core", @@ -10570,7 +10578,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "futures-timer", @@ -10586,7 +10594,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "sp-std", @@ -10598,7 +10606,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "sp-api", "sp-runtime", @@ -10607,7 +10615,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "async-trait", "log", @@ -10623,7 +10631,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "ahash", "hash-db", @@ -10646,7 +10654,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10663,7 +10671,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10674,7 +10682,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "impl-trait-for-tuples", "log", @@ -10687,7 +10695,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10902,7 +10910,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "platforms", ] @@ -10910,7 +10918,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10931,7 +10939,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures-util", "hyper", @@ -10944,7 +10952,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "jsonrpsee", "log", @@ -10965,11 +10973,11 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ + "array-bytes", "async-trait", "futures", - "hex", "parity-scale-codec", "sc-client-api", "sc-client-db", @@ -10991,7 +10999,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11001,7 +11009,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11012,7 +11020,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "ansi_term", "build-helper", @@ -11726,7 +11734,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a47f200eebeb88a5bde6f1ed2be9728b82536dde" +source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" dependencies = [ "clap", "frame-try-runtime", @@ -12150,18 +12158,18 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.88.0" +version = "0.89.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb8cf7dd82407fe68161bedcd57fde15596f32ebf6e9b3bdbf3ae1da20e38e5e" +checksum = "ab5d3e08b13876f96dd55608d03cd4883a0545884932d5adf11925876c96daef" dependencies = [ "indexmap", ] [[package]] name = "wasmtime" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a020a3f6587fa7a7d98a021156177735ebb07212a6239a85ab5f14b2f728508f" +checksum = "8a10dc9784d8c3a33c970e3939180424955f08af2e7f20368ec02685a0e8f065" dependencies = [ "anyhow", "bincode", @@ -12187,18 +12195,18 @@ dependencies = [ [[package]] name = "wasmtime-asm-macros" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fed4ada1fdd4d9a2aa37be652abcc31ae3188ad0efcefb4571ef4f785be2d777" +checksum = "ee4dbdc6daf68528cad1275ac91e3f51848ce9824385facc94c759f529decdf8" dependencies = [ "cfg-if 1.0.0", ] [[package]] name = "wasmtime-cache" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96a03a5732ef39b83943d9d72de8ac2d58623d3bfaaea4d9a92aea5fcd9acf5" +checksum = "9f507f3fa1ee1b2f9a83644e2514242b1dfe580782c0eb042f1ef70255bc4ffe" dependencies = [ "anyhow", "base64", @@ -12216,9 +12224,9 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fc59c28fe895112db09e262fb9c483f9e7b82c78a82a6ded69567ccc0e9795b" +checksum = "8f03cf79d982fc68e94ba0bea6a300a3b94621c4eb9705eece0a4f06b235a3b5" dependencies = [ "anyhow", "cranelift-codegen", @@ -12237,9 +12245,9 @@ dependencies = [ [[package]] name = "wasmtime-environ" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11086e573d2635a45ac0d44697a8e4586e058cf1b190f76bea466ca2ec36c30a" +checksum = "5c587c62e91c5499df62012b87b88890d0eb470b2ffecc5964e9da967b70c77c" dependencies = [ "anyhow", "cranelift-entity", @@ -12256,9 +12264,9 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5444a78b74144718633f8642eccd7c4858f4c6f0c98ae6a3668998adf177ba2" +checksum = "047839b5dabeae5424a078c19b8cc897e5943a7fadc69e3d888b9c9a897666b3" dependencies = [ "addr2line", "anyhow", @@ -12281,9 +12289,9 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2bf6a667d2a29b2b0ed42bcf7564f00c595d92c24acb4d241c7c4d950b1910c" +checksum = "b299569abf6f99b7b8e020afaf84a700e8636c6a42e242069267322cd5818235" dependencies = [ "object 0.29.0", "once_cell", @@ -12292,9 +12300,9 @@ dependencies = [ [[package]] name = "wasmtime-runtime" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee064ce7b563cc201cdf3bb1cc4b233f386d8c57a96e55f4c4afe6103f4bd6a1" +checksum = "ae79e0515160bd5abee5df50a16c4eb8db9f71b530fc988ae1d9ce34dcb8dd01" dependencies = [ "anyhow", "cc", @@ -12317,9 +12325,9 @@ dependencies = [ [[package]] name = "wasmtime-types" -version = "0.40.1" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01e104bd9e625181d53ead85910bbc0863aa5f0c6ef96836fe9a5cc65da11b69" +checksum = "790cf43ee8e2d5dad1780af30f00d7a972b74725fb1e4f90c28d62733819b185" dependencies = [ "cranelift-entity", "serde", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index bda010473faf..05e6951b839f 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -615,6 +615,7 @@ impl pallet_staking::Config for Runtime { type VoterList = VoterList; type TargetList = UseValidatorsMap; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; + type HistoryDepth = frame_support::traits::ConstU32<84>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; type OnStakerSlash = NominationPools; type WeightInfo = weights::pallet_staking::WeightInfo; @@ -1460,6 +1461,7 @@ pub type Executive = frame_executive::Executive< VoterList, StakingMigrationV11OldPallet, >, + pallet_staking::migrations::v12::MigrateToV12, ), >; /// The payload being signed in the transactions. diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index 5b05b1249cf3..53cb5d10c4b1 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -297,24 +297,6 @@ impl pallet_staking::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } - // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:1) - // Storage: Staking ErasStakersClipped (r:0 w:2) - // Storage: Staking ErasValidatorPrefs (r:0 w:2) - // Storage: Staking ErasValidatorReward (r:0 w:1) - // Storage: Staking ErasRewardPoints (r:0 w:1) - // Storage: Staking ErasStakers (r:0 w:2) - // Storage: Staking ErasTotalStake (r:0 w:1) - // Storage: Staking ErasStartSessionIndex (r:0 w:1) - /// The range of component `e` is `[1, 100]`. - fn set_history_depth(e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 89_000 - .saturating_add(Weight::from_ref_time(21_655_000 as u64).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) - } // Storage: System Account (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:1 w:1) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 020235ac55bf..fed91496df5c 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -560,6 +560,7 @@ impl pallet_staking::Config for Runtime { type VoterList = VoterList; type TargetList = UseValidatorsMap; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; + type HistoryDepth = frame_support::traits::ConstU32<84>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; type OnStakerSlash = NominationPools; type WeightInfo = weights::pallet_staking::WeightInfo; @@ -1543,6 +1544,7 @@ pub type Executive = frame_executive::Executive< VoterList, StakingMigrationV11OldPallet, >, + pallet_staking::migrations::v12::MigrateToV12, ), >; diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index b70e2289567f..f162b24405a6 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -297,24 +297,6 @@ impl pallet_staking::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } - // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:1) - // Storage: Staking ErasStakersClipped (r:0 w:2) - // Storage: Staking ErasValidatorPrefs (r:0 w:2) - // Storage: Staking ErasValidatorReward (r:0 w:1) - // Storage: Staking ErasRewardPoints (r:0 w:1) - // Storage: Staking ErasStakers (r:0 w:2) - // Storage: Staking ErasTotalStake (r:0 w:1) - // Storage: Staking ErasStartSessionIndex (r:0 w:1) - /// The range of component `e` is `[1, 100]`. - fn set_history_depth(e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 87_000 - .saturating_add(Weight::from_ref_time(21_687_000 as u64).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) - } // Storage: System Account (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:1 w:1) diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index b2fcd58194f2..311ff132b54f 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -356,6 +356,7 @@ impl pallet_staking::Config for Runtime { type VoterList = pallet_staking::UseNominatorsAndValidatorsMap; type TargetList = pallet_staking::UseValidatorsMap; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; + type HistoryDepth = frame_support::traits::ConstU32<84>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; type OnStakerSlash = (); type WeightInfo = (); diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 9d387fb8cda7..0d739b6ed026 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -511,6 +511,7 @@ impl pallet_staking::Config for Runtime { type VoterList = VoterList; type TargetList = UseValidatorsMap; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; + type HistoryDepth = frame_support::traits::ConstU32<84>; type BenchmarkingConfig = runtime_common::StakingBenchmarkingConfig; type OnStakerSlash = NominationPools; type WeightInfo = weights::pallet_staking::WeightInfo; @@ -1200,6 +1201,7 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_nomination_pools::migration::v3::MigrateToV3, + pallet_staking::migrations::v12::MigrateToV12, ), >; /// The payload being signed in transactions. diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index 8e2797fab6da..86f33610fafb 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -297,24 +297,6 @@ impl pallet_staking::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } - // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:1) - // Storage: Staking ErasStakersClipped (r:0 w:2) - // Storage: Staking ErasValidatorPrefs (r:0 w:2) - // Storage: Staking ErasValidatorReward (r:0 w:1) - // Storage: Staking ErasRewardPoints (r:0 w:1) - // Storage: Staking ErasStakers (r:0 w:2) - // Storage: Staking ErasTotalStake (r:0 w:1) - // Storage: Staking ErasStartSessionIndex (r:0 w:1) - /// The range of component `e` is `[1, 100]`. - fn set_history_depth(e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 86_000 - .saturating_add(Weight::from_ref_time(21_617_000 as u64).saturating_mul(e as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((7 as u64).saturating_mul(e as u64))) - } // Storage: System Account (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:1 w:1) From 9ffe6e9e3da28d2b2d93b40c5790124dacba2089 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Thu, 22 Sep 2022 10:45:58 +0200 Subject: [PATCH 004/211] Change visibility of `open_database` for use in cumulus (#6034) * Make some helper methods public * Make availability config const. --- node/service/src/lib.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 6934571ab4db..def059f2faec 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -292,7 +292,7 @@ impl IdentifyVariant for Box { } #[cfg(feature = "full-node")] -fn open_database(db_source: &DatabaseSource) -> Result, Error> { +pub fn open_database(db_source: &DatabaseSource) -> Result, Error> { let parachains_db = match db_source { DatabaseSource::RocksDb { path, .. } => parachains_db::open_creating_rocksdb( path.clone(), @@ -718,6 +718,11 @@ where Ok(leaves.into_iter().rev().take(MAX_ACTIVE_LEAVES).collect()) } +pub const AVAILABILITY_CONFIG: AvailabilityConfig = AvailabilityConfig { + col_data: parachains_db::REAL_COLUMNS.col_availability_data, + col_meta: parachains_db::REAL_COLUMNS.col_availability_meta, +}; + /// Create a new full node of arbitrary runtime and executor. /// /// This is an advanced feature and not recommended for general use. Generally, `build_full` is @@ -926,11 +931,6 @@ where let parachains_db = open_database(&config.database)?; - let availability_config = AvailabilityConfig { - col_data: parachains_db::REAL_COLUMNS.col_availability_data, - col_meta: parachains_db::REAL_COLUMNS.col_availability_meta, - }; - let approval_voting_config = ApprovalVotingConfig { col_data: parachains_db::REAL_COLUMNS.col_approval_data, slot_duration_millis: slot_duration.as_millis() as u64, @@ -1063,7 +1063,7 @@ where spawner, is_collator, approval_voting_config, - availability_config, + availability_config: AVAILABILITY_CONFIG, candidate_validation_config, chain_selection_config, dispute_coordinator_config, From 50c514d448bb513b162a483b6ede473e01954131 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Thu, 22 Sep 2022 11:13:43 -0400 Subject: [PATCH 005/211] Companion for #12283 (Anon -> Pure Proxy) (#6038) * anon -> pure * fn pure -> fn create_pure * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 344 +++++++++---------- runtime/kusama/src/weights/pallet_proxy.rs | 4 +- runtime/polkadot/src/weights/pallet_proxy.rs | 4 +- runtime/rococo/src/weights/pallet_proxy.rs | 4 +- runtime/westend/src/weights/pallet_proxy.rs | 4 +- 5 files changed, 180 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dc13c9fe387c..39a6cba5a18e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "async-trait", @@ -471,7 +471,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -491,7 +491,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "beefy-primitives", "sp-api", @@ -500,7 +500,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -1997,7 +1997,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", ] @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -2038,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "bitflags", "frame-metadata", @@ -2177,7 +2177,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "Inflector", "cfg-expr", @@ -2191,7 +2191,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2203,7 +2203,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro2", "quote", @@ -2213,7 +2213,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "log", @@ -2265,7 +2265,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "sp-api", @@ -2289,7 +2289,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "parity-scale-codec", @@ -2472,7 +2472,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "chrono", "frame-election-provider-support", @@ -4830,7 +4830,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -4860,7 +4860,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -4875,7 +4875,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4919,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "beefy-primitives", "frame-support", @@ -4969,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4992,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5086,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5132,7 +5132,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5171,7 +5171,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5191,7 +5191,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5208,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5225,7 +5225,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5243,7 +5243,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5258,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5273,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -5290,7 +5290,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "sp-api", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5376,7 +5376,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5391,7 +5391,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5459,7 +5459,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5496,7 +5496,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5507,7 +5507,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "sp-arithmetic", @@ -5516,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -5530,7 +5530,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5548,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5567,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-support", "frame-system", @@ -5583,7 +5583,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5598,7 +5598,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5609,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -5642,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-benchmarking", "frame-support", @@ -8172,7 +8172,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8520,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "sp-core", @@ -8531,7 +8531,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "futures", @@ -8558,7 +8558,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "futures-timer", @@ -8581,7 +8581,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8597,7 +8597,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8614,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8625,7 +8625,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "chrono", @@ -8664,7 +8664,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "fnv", "futures", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "hash-db", "kvdb", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "futures", @@ -8741,7 +8741,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "fork-tree", @@ -8783,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "jsonrpsee", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8818,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "futures", @@ -8843,7 +8843,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8870,7 +8870,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "environmental", "parity-scale-codec", @@ -8886,7 +8886,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "parity-scale-codec", @@ -8901,7 +8901,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8921,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "ahash", "array-bytes", @@ -8962,7 +8962,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "finality-grandpa", "futures", @@ -8983,7 +8983,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "ansi_term", "futures", @@ -9000,7 +9000,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "async-trait", @@ -9015,7 +9015,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "async-trait", @@ -9062,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "cid", "futures", @@ -9082,7 +9082,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "bitflags", @@ -9105,7 +9105,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "ahash", "futures", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "futures", @@ -9144,7 +9144,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "fork-tree", @@ -9172,7 +9172,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "bytes", @@ -9202,7 +9202,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "libp2p", @@ -9215,7 +9215,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9224,7 +9224,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "hash-db", @@ -9254,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "jsonrpsee", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "jsonrpsee", @@ -9290,7 +9290,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "directories", @@ -9359,7 +9359,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "parity-scale-codec", @@ -9373,7 +9373,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9392,7 +9392,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "libc", @@ -9411,7 +9411,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "chrono", "futures", @@ -9429,7 +9429,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "ansi_term", "atty", @@ -9460,7 +9460,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9471,7 +9471,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "futures-timer", @@ -9497,7 +9497,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "log", @@ -9510,7 +9510,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "futures-timer", @@ -9996,7 +9996,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "hash-db", "log", @@ -10014,7 +10014,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "blake2", "proc-macro-crate", @@ -10026,7 +10026,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -10039,7 +10039,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "integer-sqrt", "num-traits", @@ -10054,7 +10054,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -10067,7 +10067,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "parity-scale-codec", @@ -10079,7 +10079,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "sp-api", @@ -10091,7 +10091,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "log", @@ -10109,7 +10109,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "futures", @@ -10128,7 +10128,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "merlin", @@ -10151,7 +10151,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -10165,7 +10165,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -10178,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "base58", @@ -10224,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "blake2", "byteorder", @@ -10238,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro2", "quote", @@ -10249,7 +10249,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10258,7 +10258,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro2", "quote", @@ -10268,7 +10268,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "environmental", "parity-scale-codec", @@ -10279,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "finality-grandpa", "log", @@ -10297,7 +10297,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10311,7 +10311,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "bytes", "futures", @@ -10337,7 +10337,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "lazy_static", "sp-core", @@ -10348,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "futures", @@ -10365,7 +10365,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "thiserror", "zstd", @@ -10374,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "parity-scale-codec", @@ -10389,7 +10389,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -10403,7 +10403,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "sp-api", "sp-core", @@ -10413,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "backtrace", "lazy_static", @@ -10423,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "rustc-hash", "serde", @@ -10433,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "either", "hash256-std-hasher", @@ -10456,7 +10456,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10474,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "Inflector", "proc-macro-crate", @@ -10486,7 +10486,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "parity-scale-codec", @@ -10500,7 +10500,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -10514,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "scale-info", @@ -10525,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "hash-db", "log", @@ -10547,12 +10547,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10565,7 +10565,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "log", "sp-core", @@ -10578,7 +10578,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "futures-timer", @@ -10594,7 +10594,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "sp-std", @@ -10606,7 +10606,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "sp-api", "sp-runtime", @@ -10615,7 +10615,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "async-trait", "log", @@ -10631,7 +10631,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "ahash", "hash-db", @@ -10654,7 +10654,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10671,7 +10671,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10682,7 +10682,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "impl-trait-for-tuples", "log", @@ -10695,7 +10695,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10910,7 +10910,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "platforms", ] @@ -10918,7 +10918,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10939,7 +10939,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures-util", "hyper", @@ -10952,7 +10952,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "jsonrpsee", "log", @@ -10973,7 +10973,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "array-bytes", "async-trait", @@ -10999,7 +10999,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11009,7 +11009,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11020,7 +11020,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "ansi_term", "build-helper", @@ -11734,7 +11734,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#be976154078ae8df932802f32350bfaff78a1e57" +source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/weights/pallet_proxy.rs b/runtime/kusama/src/weights/pallet_proxy.rs index c5d2f515f2e2..2ea546eed2fa 100644 --- a/runtime/kusama/src/weights/pallet_proxy.rs +++ b/runtime/kusama/src/weights/pallet_proxy.rs @@ -136,7 +136,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. - fn anonymous(p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { Weight::from_ref_time(31_637_000 as u64) // Standard Error: 1_000 .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64)) @@ -145,7 +145,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. - fn kill_anonymous(p: u32, ) -> Weight { + fn kill_pure(p: u32, ) -> Weight { Weight::from_ref_time(26_228_000 as u64) // Standard Error: 1_000 .saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64)) diff --git a/runtime/polkadot/src/weights/pallet_proxy.rs b/runtime/polkadot/src/weights/pallet_proxy.rs index 1d22b23c9633..3897dadd865a 100644 --- a/runtime/polkadot/src/weights/pallet_proxy.rs +++ b/runtime/polkadot/src/weights/pallet_proxy.rs @@ -136,7 +136,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. - fn anonymous(p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { Weight::from_ref_time(30_935_000 as u64) // Standard Error: 1_000 .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(p as u64)) @@ -145,7 +145,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. - fn kill_anonymous(p: u32, ) -> Weight { + fn kill_pure(p: u32, ) -> Weight { Weight::from_ref_time(25_877_000 as u64) // Standard Error: 1_000 .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64)) diff --git a/runtime/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index e721e8670088..b671d154e768 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -136,7 +136,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. - fn anonymous(p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { Weight::from_ref_time(30_191_000 as u64) // Standard Error: 1_000 .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64)) @@ -145,7 +145,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. - fn kill_anonymous(p: u32, ) -> Weight { + fn kill_pure(p: u32, ) -> Weight { Weight::from_ref_time(25_957_000 as u64) // Standard Error: 2_000 .saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64)) diff --git a/runtime/westend/src/weights/pallet_proxy.rs b/runtime/westend/src/weights/pallet_proxy.rs index 32fc365869e8..5713094eb5c5 100644 --- a/runtime/westend/src/weights/pallet_proxy.rs +++ b/runtime/westend/src/weights/pallet_proxy.rs @@ -136,7 +136,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. - fn anonymous(p: u32, ) -> Weight { + fn create_pure(p: u32, ) -> Weight { Weight::from_ref_time(30_510_000 as u64) // Standard Error: 2_000 .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64)) @@ -145,7 +145,7 @@ impl pallet_proxy::WeightInfo for WeightInfo { } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. - fn kill_anonymous(p: u32, ) -> Weight { + fn kill_pure(p: u32, ) -> Weight { Weight::from_ref_time(26_338_000 as u64) // Standard Error: 1_000 .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(p as u64)) From 788264dd35819390e693f261e73ce949683f8515 Mon Sep 17 00:00:00 2001 From: marcin-cb <114105519+marcin-cb@users.noreply.github.com> Date: Thu, 22 Sep 2022 16:54:57 -0400 Subject: [PATCH 006/211] Increase BlockHashCount parameter (#6037) --- runtime/common/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 7673457828c8..06f76fbfbff1 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -75,7 +75,7 @@ const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO // Common constants used in all runtimes. parameter_types! { - pub const BlockHashCount: BlockNumber = 2400; + pub const BlockHashCount: BlockNumber = 4096; /// The portion of the `NORMAL_DISPATCH_RATIO` that we adjust the fees with. Blocks filled less /// than this will decrease the weight and more will increase. pub const TargetBlockFullness: Perquintill = Perquintill::from_percent(25); From 2edb8ad1472f8f3f5a16510f607f91e96388c0cf Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Fri, 23 Sep 2022 14:41:06 +0200 Subject: [PATCH 007/211] Some more information on disputes for the guide (#6006) * Add some notes about treatment of already finalized blocks. * More info in the guide as discussed with Jakob. * Remove references to private repo. --- .../src/node/disputes/dispute-coordinator.md | 159 ++++++++++++++++-- 1 file changed, 144 insertions(+), 15 deletions(-) diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index b35fc0df2ca1..29a3c5ffa082 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -1,7 +1,7 @@ # Dispute Coordinator The coordinator is the central subsystem of the node-side components which -participate in disputes. It wraps a database, which used to track statements +participate in disputes. It wraps a database, which is used to track statements observed by _all_ validators over some window of sessions. Votes older than this session window are pruned. @@ -318,12 +318,12 @@ at some stage in the pipeline). To ensure to only spend significant work on genuine disputes, we only trigger participation at all on any _vote import_ if any of the following holds true: -- We saw the disputed candidate included on at least one fork of the chain -- We have "our" availability chunk available for that candidate as this suggests - that either availability was at least run, although it might not have - succeeded or we have been a backing node of the candidate. In both cases the - candidate is at least not completely made up and there has been some effort - already flown into that candidate. +- We saw the disputed candidate included in some not yet finalized block on at + least one fork of the chain. +- We have seen the disputed candidate backed in some not yet finalized block on + at least one fork of the chain. This ensures the candidate is at least not + completely made up and there has been some effort already flown into that + candidate. - The dispute is already confirmed: Meaning that 1/3+1 nodes already participated, as this suggests in our threat model that there was at least one honest node that already voted, so the dispute must be genuine. @@ -332,7 +332,7 @@ Note: A node might be out of sync with the chain and we might only learn about a block including a candidate, after we learned about the dispute. This means, we have to re-evaluate participation decisions on block import! -With this nodes won't waste significant resources on completely made up +With this, nodes won't waste significant resources on completely made up candidates. The next step is to process dispute participation in a (globally) ordered fashion. Meaning a majority of validators should arrive at at least roughly at the same ordering of participation, for disputes to get resolved one @@ -380,13 +380,102 @@ candidates for approval votes a similar argument holds (if they come from approval-voting), but we also don't import them until a dispute already concluded. For actual dispute votes, we need two opposing votes, so there must be an explicit `invalid` vote in the import. Only a third of the validators can be -malicious, so spam disk usage is limited to ```2*vote_size*n/3*NUM_SPAM_SLOTS```, with -n being the number of validators. -- -More reasoning behind spam considerations can be found on -this sr-lab ticket: https://github.com/paritytech/srlabs_findings/issues/179 - -## Disputes for Non Included Candidates +malicious, so spam disk usage is limited to `2*vote_size*n/3*NUM_SPAM_SLOTS`, with +`n` being the number of validators. + +## Attacks & Considerations + +The following attacks on the priority queue and best-effort queues are +considered in above design. + +### Priority Queue + +On the priority queue, we will only queue participations for candidates we have +seen included on any chain. Any attack attempt would start with a candidate +included on some chain, but an attacker could try to only reveal the including +relay chain blocks to just some honest validators and stop as soon as it learns +that some honest validator would have a relevant approval assignment. + +Without revealing the including block to any honest validator, we don't really +have an attack yet. Once the block is revealed though, the above is actually +very hard. Each honest validator will re-distribute the block it just learned +about. This means an attacker would need to pull of a targeted DoS attack, which +allows the validator to send its assignment, but prevents it from forwarding and +sharing the relay chain block. + +This sounds already hard enough, provided that we also start participation if +we learned about an including block after the dispute has been raised already +(we need to update participation queues on new leaves), but to be even safer +we choose to have an additional best-effort queue. + +### Best-Effort Queue + +While attacking the priority queue is already pretty hard, attacking the +best-effort queue is even harder. For a candidate to be a threat, it has to be +included on some chain. For it to be included, it has to have been backed before +and at least n/3 honest nodes must have seen that block, so availability +(inclusion) can be reached. Making a full third of the nodes not further +propagate a block, while at the same time allowing them to fetch chunks, sign +and distribute bitfields seems almost infeasible and even if accomplished, those +nodes would be enough to confirm a dispute and we have not even touched the +above fact that in addition, for an attack, the following including block must +be shared with honest validators as well. + +It is worth mentioning that a successful attack on the priority queue as +outlined above is already outside of our threat model, as it assumes n/3 +malicious nodes + additionally malfunctioning/DoSed nodes. Even more so for +attacks on the best-effort queue, as our threat model only allows for n/3 +malicious _or_ malfunctioning nodes in total. It would therefore be a valid +decision to ditch the best-effort queue, if it proves to become a burden or +creates other issues. + +One issue we should not be worried about though is spam. For abusing best-effort +for spam, the following scenario would be necessary: + +An attacker controls a backing group: The attacker can then have candidates +backed and choose to not provide chunks. This should come at a cost to miss out +on rewards for backing, so is not free. At the same time it is rate limited, as +a backing group can only back so many candidates legitimately. (~ 1 per slot): + +1. They have to wait until a malicious actor becomes block producer (for causing + additional forks via equivocation for example). +2. Forks are possible, but if caused by equivocation also not free. +3. For each fork the attacker has to wait until the candidate times out, for + backing another one. + +Assuming there can only be a handful of forks, 2) together with 3) the candidate +timeout restriction, frequency should indeed be in the ballpark of once per +slot. Scaling linearly in the number of controlled backing groups, so two groups +would mean 2 backings per slot, ... + +So by this reasoning an attacker could only do very limited harm and at the same +time will have to pay some price for it (it will miss out on rewards). Overall +the work done by the network might even be in the same ballpark as if actors +just behaved honestly: + +1. Validators would have fetched chunks +2. Approval checkers would have done approval checks + +While because of the attack (backing, not providing chunks and afterwards +disputing the candidate), the work for 1000 validators would be: + +All validators sending out ~ 1000 tiny requests over already established +connections, with also tiny (byte) responses. + +This means around a million requests, while in the honest case it would be ~ +10000 (30 approval checkers x330) - where each request triggers a response in +the range of kilobytes. Hence network load alone will likely be higher in the +honest case than in the DoS attempt case, which would mean the DoS attempt +actually reduces load, while also costing rewards. + +In the worst case this can happen multiple times, as we would retry that on +every vote import. The effect would still be in the same ballpark as honest +behavior though and can also be mitigated by chilling repeated availability +recovery requests for example. + +## Out of Scope + +### No Disputes for Non Included Candidates We only ever care about disputes for candidates that have been included on at least some chain (became available). This is because the availability system was @@ -421,6 +510,46 @@ even weaken it as attackers are warned before availability is reached, while at the same time adding signficant amount of complexity. We therefore punt on such disputes and concentrate on disputes the system was designed to handle. +### No Disputes for Already Finalized Blocks + +Note that by above rules in the `Participation` section, we will not participate +in disputes concerning a candidate in an already finalized block. This is +because, disputing an already finalized block is simply too late and therefore +of little value. Once finalized, bridges have already processed the block for +example, so we have to assume the damage is already done. Governance has to step +in and fix what can be fixed. + +Making disputes for already finalized blocks possible would only provide two +features: + +1. We can at least still slash attackers. +2. We can freeze the chain to some governance only mode, in an attempt to + minimize potential harm done. + +Both seem kind of worthwhile, although as argued above, it is likely that there +is not too much that can be done in 2 and we would likely only ending up DoSing +the whole system without much we can do. 1 can also be achieved via governance +mechanisms. + +In any case, our focus should be making as sure as reasonably possible that any +potentially invalid block does not get finalized in the first place. Not +allowing disputing already finalized blocks actually helps a great deal with +this goal as it massively reduces the amount of candidates that can be disputed. + +This makes attempts to overwhelm the system with disputes significantly harder +and counter measures way easier. We can limit inclusion for example (as +suggested [here](https://github.com/paritytech/polkadot/issues/5898) in case of +high dispute load. Another measure we have at our disposal is that on finality +lag block production will slow down, implicitly reducing the rate of new +candidates that can be disputed. Hence, the cutting-off of the unlimited +candidate supply of already finalized blocks, guarantees the necessary DoS +protection and ensures we can have measures in place to keep up with processing +of disputes. + +If we allowed participation for disputes for already finalized candidates, the +above spam protection mechanisms would be insufficient/relying 100% on full and +quick disabling of spamming validators. + ## Database Schema We use an underlying Key-Value database where we assume we have the following operations available: From d2974e57296270ec43fd021c31c6e73ad3b001a0 Mon Sep 17 00:00:00 2001 From: Davide Galassi Date: Fri, 23 Sep 2022 20:32:04 +0200 Subject: [PATCH 008/211] Companion - Independence of Slot-based algorithms from Timestamp (#5997) * Companion for substrate #12224 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 345 ++++++++++++++++++++-------------------- node/service/src/lib.rs | 4 +- 2 files changed, 174 insertions(+), 175 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 39a6cba5a18e..4f9a49a0f102 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "async-trait", @@ -471,7 +471,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -491,7 +491,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "beefy-primitives", "sp-api", @@ -500,7 +500,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -1997,7 +1997,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", ] @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -2038,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "bitflags", "frame-metadata", @@ -2177,7 +2177,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "Inflector", "cfg-expr", @@ -2191,7 +2191,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2203,7 +2203,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro2", "quote", @@ -2213,7 +2213,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "log", @@ -2265,7 +2265,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "sp-api", @@ -2289,7 +2289,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "parity-scale-codec", @@ -2472,7 +2472,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "chrono", "frame-election-provider-support", @@ -4830,7 +4830,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -4860,7 +4860,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -4875,7 +4875,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4919,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "beefy-primitives", "frame-support", @@ -4969,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4992,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5086,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5132,7 +5132,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5171,7 +5171,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5191,7 +5191,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5208,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5225,7 +5225,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5243,7 +5243,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5258,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5273,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -5290,7 +5290,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "sp-api", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5376,7 +5376,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5391,7 +5391,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5459,7 +5459,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5496,7 +5496,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5507,7 +5507,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "sp-arithmetic", @@ -5516,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -5530,7 +5530,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5548,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5567,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-support", "frame-system", @@ -5583,7 +5583,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5598,7 +5598,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5609,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -5642,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-benchmarking", "frame-support", @@ -8172,7 +8172,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8520,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "sp-core", @@ -8531,7 +8531,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "futures", @@ -8558,7 +8558,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "futures-timer", @@ -8581,7 +8581,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8597,7 +8597,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8614,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8625,7 +8625,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "chrono", @@ -8664,7 +8664,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "fnv", "futures", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "hash-db", "kvdb", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "futures", @@ -8741,7 +8741,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "fork-tree", @@ -8783,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "jsonrpsee", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8818,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "futures", @@ -8836,14 +8836,13 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-state-machine", - "sp-timestamp", "thiserror", ] [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8870,7 +8869,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "environmental", "parity-scale-codec", @@ -8886,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "parity-scale-codec", @@ -8901,7 +8900,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8921,7 +8920,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "ahash", "array-bytes", @@ -8962,7 +8961,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "finality-grandpa", "futures", @@ -8983,7 +8982,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "ansi_term", "futures", @@ -9000,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "async-trait", @@ -9015,7 +9014,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "async-trait", @@ -9062,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "cid", "futures", @@ -9082,7 +9081,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "bitflags", @@ -9105,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "ahash", "futures", @@ -9123,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "futures", @@ -9144,7 +9143,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "fork-tree", @@ -9172,7 +9171,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "bytes", @@ -9202,7 +9201,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "libp2p", @@ -9215,7 +9214,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9224,7 +9223,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "hash-db", @@ -9254,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "jsonrpsee", @@ -9277,7 +9276,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "jsonrpsee", @@ -9290,7 +9289,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "directories", @@ -9359,7 +9358,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "parity-scale-codec", @@ -9373,7 +9372,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9392,7 +9391,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "libc", @@ -9411,7 +9410,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "chrono", "futures", @@ -9429,7 +9428,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "ansi_term", "atty", @@ -9460,7 +9459,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9471,7 +9470,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "futures-timer", @@ -9497,7 +9496,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "log", @@ -9510,7 +9509,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "futures-timer", @@ -9996,7 +9995,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "hash-db", "log", @@ -10014,7 +10013,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "blake2", "proc-macro-crate", @@ -10026,7 +10025,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -10039,7 +10038,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "integer-sqrt", "num-traits", @@ -10054,7 +10053,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -10067,7 +10066,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "parity-scale-codec", @@ -10079,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "sp-api", @@ -10091,7 +10090,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "log", @@ -10109,7 +10108,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "futures", @@ -10128,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "merlin", @@ -10151,7 +10150,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -10165,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -10178,7 +10177,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "base58", @@ -10224,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "blake2", "byteorder", @@ -10238,7 +10237,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro2", "quote", @@ -10249,7 +10248,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10258,7 +10257,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro2", "quote", @@ -10268,7 +10267,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "environmental", "parity-scale-codec", @@ -10279,7 +10278,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "finality-grandpa", "log", @@ -10297,7 +10296,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10311,7 +10310,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "bytes", "futures", @@ -10337,7 +10336,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "lazy_static", "sp-core", @@ -10348,7 +10347,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "futures", @@ -10365,7 +10364,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "thiserror", "zstd", @@ -10374,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "parity-scale-codec", @@ -10389,7 +10388,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -10403,7 +10402,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "sp-api", "sp-core", @@ -10413,7 +10412,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "backtrace", "lazy_static", @@ -10423,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "rustc-hash", "serde", @@ -10433,7 +10432,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "either", "hash256-std-hasher", @@ -10456,7 +10455,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10474,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "Inflector", "proc-macro-crate", @@ -10486,7 +10485,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "parity-scale-codec", @@ -10500,7 +10499,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -10514,7 +10513,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "scale-info", @@ -10525,7 +10524,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "hash-db", "log", @@ -10547,12 +10546,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10565,7 +10564,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "log", "sp-core", @@ -10578,7 +10577,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "futures-timer", @@ -10594,7 +10593,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "sp-std", @@ -10606,7 +10605,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "sp-api", "sp-runtime", @@ -10615,7 +10614,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "async-trait", "log", @@ -10631,7 +10630,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "ahash", "hash-db", @@ -10654,7 +10653,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10671,7 +10670,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10682,7 +10681,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "impl-trait-for-tuples", "log", @@ -10695,7 +10694,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10910,7 +10909,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "platforms", ] @@ -10918,7 +10917,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10939,7 +10938,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures-util", "hyper", @@ -10952,7 +10951,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "jsonrpsee", "log", @@ -10973,7 +10972,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "array-bytes", "async-trait", @@ -10999,7 +10998,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11009,7 +11008,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11020,7 +11019,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "ansi_term", "build-helper", @@ -11734,7 +11733,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f720c11b90d45bba0c4ddad60d3b9a27ca85441" +source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index def059f2faec..774901435e1d 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -541,7 +541,7 @@ where slot_duration, ); - Ok((timestamp, slot)) + Ok((slot, timestamp)) }, &task_manager.spawn_essential_handle(), config.prometheus_registry(), @@ -1152,7 +1152,7 @@ where slot_duration, ); - Ok((timestamp, slot, parachain)) + Ok((slot, timestamp, parachain)) } }, force_authoring, From d07588e43fb858c709f5209d196172f1cfb14fae Mon Sep 17 00:00:00 2001 From: ZhiYong Date: Mon, 26 Sep 2022 16:26:44 +0800 Subject: [PATCH 009/211] Companion for substrate#11983. (#5992) * Companion for substrate#11983. * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 344 +++++++++++++++++------------------ node/test/service/src/lib.rs | 2 +- 2 files changed, 173 insertions(+), 173 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4f9a49a0f102..97786f048dbd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "async-trait", @@ -471,7 +471,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -491,7 +491,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "beefy-primitives", "sp-api", @@ -500,7 +500,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -1997,7 +1997,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", ] @@ -2015,7 +2015,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -2038,7 +2038,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "bitflags", "frame-metadata", @@ -2177,7 +2177,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "Inflector", "cfg-expr", @@ -2191,7 +2191,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2203,7 +2203,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro2", "quote", @@ -2213,7 +2213,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "log", @@ -2265,7 +2265,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "sp-api", @@ -2289,7 +2289,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "parity-scale-codec", @@ -2472,7 +2472,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "chrono", "frame-election-provider-support", @@ -4830,7 +4830,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -4860,7 +4860,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -4875,7 +4875,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4919,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "beefy-primitives", "frame-support", @@ -4969,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4992,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5086,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5132,7 +5132,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5171,7 +5171,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5191,7 +5191,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5208,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5225,7 +5225,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5243,7 +5243,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5258,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5273,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -5290,7 +5290,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "sp-api", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5376,7 +5376,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5391,7 +5391,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5459,7 +5459,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5496,7 +5496,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5507,7 +5507,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "sp-arithmetic", @@ -5516,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -5530,7 +5530,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5548,7 +5548,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5567,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-support", "frame-system", @@ -5583,7 +5583,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5598,7 +5598,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5609,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -5642,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-benchmarking", "frame-support", @@ -8172,7 +8172,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8520,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "sp-core", @@ -8531,7 +8531,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "futures", @@ -8558,7 +8558,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "futures-timer", @@ -8581,7 +8581,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8597,7 +8597,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8614,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8625,7 +8625,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "chrono", @@ -8664,7 +8664,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "fnv", "futures", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "hash-db", "kvdb", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "futures", @@ -8741,7 +8741,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "fork-tree", @@ -8783,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "jsonrpsee", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8818,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "futures", @@ -8842,7 +8842,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8869,7 +8869,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "environmental", "parity-scale-codec", @@ -8885,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "parity-scale-codec", @@ -8900,7 +8900,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8920,7 +8920,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "ahash", "array-bytes", @@ -8961,7 +8961,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "finality-grandpa", "futures", @@ -8982,7 +8982,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "ansi_term", "futures", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "async-trait", @@ -9014,7 +9014,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "async-trait", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "cid", "futures", @@ -9081,7 +9081,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "bitflags", @@ -9104,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "ahash", "futures", @@ -9122,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "futures", @@ -9143,7 +9143,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "fork-tree", @@ -9171,7 +9171,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "bytes", @@ -9201,7 +9201,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "libp2p", @@ -9214,7 +9214,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9223,7 +9223,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "hash-db", @@ -9253,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "jsonrpsee", @@ -9276,7 +9276,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "jsonrpsee", @@ -9289,7 +9289,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "directories", @@ -9358,7 +9358,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "parity-scale-codec", @@ -9372,7 +9372,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9391,7 +9391,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "libc", @@ -9410,7 +9410,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "chrono", "futures", @@ -9428,7 +9428,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "ansi_term", "atty", @@ -9459,7 +9459,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9470,7 +9470,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "futures-timer", @@ -9496,7 +9496,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "log", @@ -9509,7 +9509,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "futures-timer", @@ -9995,7 +9995,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "hash-db", "log", @@ -10013,7 +10013,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "blake2", "proc-macro-crate", @@ -10025,7 +10025,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -10038,7 +10038,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "integer-sqrt", "num-traits", @@ -10053,7 +10053,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -10066,7 +10066,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "parity-scale-codec", @@ -10078,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "sp-api", @@ -10090,7 +10090,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "log", @@ -10108,7 +10108,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "futures", @@ -10127,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "merlin", @@ -10150,7 +10150,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -10164,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -10177,7 +10177,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "base58", @@ -10223,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "blake2", "byteorder", @@ -10237,7 +10237,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro2", "quote", @@ -10248,7 +10248,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10257,7 +10257,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro2", "quote", @@ -10267,7 +10267,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "environmental", "parity-scale-codec", @@ -10278,7 +10278,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "finality-grandpa", "log", @@ -10296,7 +10296,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10310,7 +10310,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "bytes", "futures", @@ -10336,7 +10336,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "lazy_static", "sp-core", @@ -10347,7 +10347,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "futures", @@ -10364,7 +10364,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "thiserror", "zstd", @@ -10373,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "parity-scale-codec", @@ -10388,7 +10388,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -10402,7 +10402,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "sp-api", "sp-core", @@ -10412,7 +10412,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "backtrace", "lazy_static", @@ -10422,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "rustc-hash", "serde", @@ -10432,7 +10432,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "either", "hash256-std-hasher", @@ -10455,7 +10455,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10473,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "Inflector", "proc-macro-crate", @@ -10485,7 +10485,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "parity-scale-codec", @@ -10499,7 +10499,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -10513,7 +10513,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "scale-info", @@ -10524,7 +10524,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "hash-db", "log", @@ -10546,12 +10546,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10564,7 +10564,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "log", "sp-core", @@ -10577,7 +10577,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "futures-timer", @@ -10593,7 +10593,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "sp-std", @@ -10605,7 +10605,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "sp-api", "sp-runtime", @@ -10614,7 +10614,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "async-trait", "log", @@ -10630,7 +10630,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "ahash", "hash-db", @@ -10653,7 +10653,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10670,7 +10670,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10681,7 +10681,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "impl-trait-for-tuples", "log", @@ -10694,7 +10694,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10909,7 +10909,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "platforms", ] @@ -10917,7 +10917,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10938,7 +10938,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures-util", "hyper", @@ -10951,7 +10951,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "jsonrpsee", "log", @@ -10972,7 +10972,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "array-bytes", "async-trait", @@ -10998,7 +10998,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11008,7 +11008,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11019,7 +11019,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "ansi_term", "build-helper", @@ -11733,7 +11733,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ffcd5232a89b556dcf558db429c6c3d9a020cc27" +source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/test/service/src/lib.rs b/node/test/service/src/lib.rs index 0e5c486c3d69..435bcabb3ef5 100644 --- a/node/test/service/src/lib.rs +++ b/node/test/service/src/lib.rs @@ -178,7 +178,7 @@ pub fn node_config( database: DatabaseSource::RocksDb { path: root.join("db"), cache_size: 128 }, trie_cache_maximum_size: Some(64 * 1024 * 1024), state_pruning: Default::default(), - blocks_pruning: BlocksPruning::All, + blocks_pruning: BlocksPruning::KeepFinalized, chain_spec: Box::new(spec), wasm_method: WasmExecutionMethod::Compiled { instantiation_strategy: WasmtimeInstantiationStrategy::PoolingCopyOnWrite, From 403c3e144fe9c6dcb13cc6fd7775dff67feb7598 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Mon, 26 Sep 2022 10:50:25 +0200 Subject: [PATCH 010/211] [ci] Split gitlab-ci config to separate files (#6031) * [WIP][ci] Split gitlab-ci config to separate files * add stage * move short benches * rename stage short_benchmark * include short-benchmarks * add check * add test stage * quickfix check-no-default-features * add build stage * add weights and publish * rename stage * rename stage * fix publish miner image * fix publish miner image * add dag * fix image * start build-short-benchmark with the pipeline * some more DAGs * empty line to short-benchmarks * add change from master Co-authored-by: parity-processbot <> --- .gitlab-ci.yml | 951 +----------------- scripts/ci/gitlab/pipeline/build.yml | 193 ++++ scripts/ci/gitlab/pipeline/check.yml | 97 ++ scripts/ci/gitlab/pipeline/publish.yml | 209 ++++ .../ci/gitlab/pipeline/short-benchmarks.yml | 27 + scripts/ci/gitlab/pipeline/test.yml | 74 ++ scripts/ci/gitlab/pipeline/weights.yml | 33 + scripts/ci/gitlab/pipeline/zombienet.yml | 302 ++++++ 8 files changed, 979 insertions(+), 907 deletions(-) create mode 100644 scripts/ci/gitlab/pipeline/build.yml create mode 100644 scripts/ci/gitlab/pipeline/check.yml create mode 100644 scripts/ci/gitlab/pipeline/publish.yml create mode 100644 scripts/ci/gitlab/pipeline/short-benchmarks.yml create mode 100644 scripts/ci/gitlab/pipeline/test.yml create mode 100644 scripts/ci/gitlab/pipeline/weights.yml create mode 100644 scripts/ci/gitlab/pipeline/zombienet.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 798939d006c8..33ab02c549c5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,10 +15,13 @@ # moment of time. stages: - - stage1 - - stage2 - - stage3 - - stage4 + - weights + - check + - test + - build + - publish + - zombienet + - short-benchmarks workflow: rules: @@ -38,7 +41,7 @@ variables: default: cache: {} -.collect-artifacts: &collect-artifacts +.collect-artifacts: artifacts: name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}" when: on_success @@ -46,7 +49,7 @@ default: paths: - ./artifacts/ -.collect-artifacts-short: &collect-artifacts-short +.collect-artifacts-short: artifacts: name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}" when: on_success @@ -56,18 +59,19 @@ default: # collecting vars for pipeline stopper # they will be used if the job fails -.pipeline-stopper-vars: &pipeline-stopper-vars +.pipeline-stopper-vars: + before_script: - echo "FAILED_JOB_URL=${CI_JOB_URL}" > pipeline-stopper.env - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env - echo "PR_NUM=${CI_COMMIT_REF_NAME}" >> pipeline-stopper.env -.pipeline-stopper-artifacts: &pipeline-stopper-artifacts +.pipeline-stopper-artifacts: artifacts: reports: dotenv: pipeline-stopper.env -.kubernetes-env: &kubernetes-env +.kubernetes-env: retry: max: 2 when: @@ -78,7 +82,7 @@ default: tags: - kubernetes-parity-build -.docker-env: &docker-env +.docker-env: image: "${CI_IMAGE}" retry: max: 2 @@ -90,20 +94,20 @@ default: tags: - linux-docker -.compiler-info: &compiler-info +.compiler-info: before_script: - rustup show - cargo --version - sccache -s -.test-refs: &test-refs +.test-refs: rules: - if: $CI_PIPELINE_SOURCE == "web" - if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_COMMIT_REF_NAME == "master" - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs -.common-refs: &common-refs +.common-refs: # these jobs run always* rules: - if: $CI_PIPELINE_SOURCE == "web" @@ -113,13 +117,13 @@ default: - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 - if: $CI_COMMIT_REF_NAME =~ /^release-v[0-9]+\.[0-9]+.*$/ # i.e. release-v0.9.27 -.test-pr-refs: &test-pr-refs +.test-pr-refs: rules: - if: $CI_PIPELINE_SOURCE == "pipeline" when: never - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs -.zombienet-refs: &zombienet-refs +.zombienet-refs: rules: - if: $CI_PIPELINE_SOURCE == "pipeline" when: never @@ -128,14 +132,14 @@ default: - if: $CI_COMMIT_REF_NAME == "master" - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs -.deploy-testnet-refs: &deploy-testnet-refs +.deploy-testnet-refs: rules: - if: $CI_PIPELINE_SOURCE == "pipeline" when: never - if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_COMMIT_REF_NAME == "master" -.publish-refs: &publish-refs +.publish-refs: rules: - if: $CI_PIPELINE_SOURCE == "pipeline" when: never @@ -145,14 +149,11 @@ default: - if: $CI_COMMIT_REF_NAME == "master" - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 -.build-push-image: &build-push-image - <<: *kubernetes-env +.build-push-image: + extends: + - .kubernetes-env image: quay.io/buildah/stable - variables: &image-variables - GIT_STRATEGY: none - DOCKER_USER: ${PARITYPR_USER} - DOCKER_PASS: ${PARITYPR_PASS} - before_script: &check-versions + before_script: - test -s ./artifacts/VERSION || exit 1 - test -s ./artifacts/EXTRATAG || exit 1 - VERSION="$(cat ./artifacts/VERSION)" @@ -179,900 +180,36 @@ default: after_script: - buildah logout --all -#### stage: stage1 - -check-runtime: - stage: stage1 - image: paritytech/tools:latest - <<: *kubernetes-env - rules: - - if: $CI_COMMIT_REF_NAME =~ /^release-v[0-9]+\.[0-9]+.*$/ # i.e. release-v0.9.27 - variables: - GITLAB_API: "https://gitlab.parity.io/api/v4" - GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api" - script: - - ./scripts/ci/gitlab/check_runtime.sh - allow_failure: true - -cargo-fmt: - stage: stage1 - <<: *docker-env - <<: *test-refs - script: - - cargo +nightly --version - - cargo +nightly fmt --all -- --check - allow_failure: true - -build-linux-stable: - stage: stage1 - <<: *docker-env - <<: *compiler-info - <<: *collect-artifacts - <<: *common-refs - variables: - RUST_TOOLCHAIN: stable - # Enable debug assertions since we are running optimized builds for testing - # but still want to have debug assertions. - RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" - # Ensure we run the UI tests. - RUN_UI_TESTS: 1 - script: - - time cargo build --profile testnet --features pyroscope --verbose --bin polkadot - - sccache -s - # pack artifacts - - mkdir -p ./artifacts - - VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name - - mv ./target/testnet/polkadot ./artifacts/. - - pushd artifacts - - sha256sum polkadot | tee polkadot.sha256 - - shasum -c polkadot.sha256 - - popd - - EXTRATAG="${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" - - echo "Polkadot version = ${VERSION} (EXTRATAG = ${EXTRATAG})" - - echo -n ${VERSION} > ./artifacts/VERSION - - echo -n ${EXTRATAG} > ./artifacts/EXTRATAG - - echo -n ${CI_JOB_ID} > ./artifacts/BUILD_LINUX_JOB_ID - - RELEASE_VERSION=$(./artifacts/polkadot -V | awk '{print $2}'| awk -F "-" '{print $1}') - - echo -n "v${RELEASE_VERSION}" > ./artifacts/BUILD_RELEASE_VERSION - - cp -r scripts/* ./artifacts - -test-linux-stable: - stage: stage1 - <<: *docker-env - <<: *common-refs - <<: *pipeline-stopper-artifacts - before_script: - - rustup show - - cargo --version - - *pipeline-stopper-vars - variables: - RUST_TOOLCHAIN: stable - # Enable debug assertions since we are running optimized builds for testing - # but still want to have debug assertions. - RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" - script: - - time cargo test --workspace --profile testnet --verbose --locked --features=runtime-benchmarks,runtime-metrics - - - -spellcheck: - stage: stage1 - <<: *docker-env - <<: *test-refs - script: - - cargo spellcheck --version - # compare with the commit parent to the PR, given it's from a default branch - - git fetch origin +${CI_DEFAULT_BRANCH}:${CI_DEFAULT_BRANCH} - - echo "___Spellcheck is going to check your diff___" - - cargo spellcheck list-files -vvv $(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges)) - - time cargo spellcheck check -vvv --cfg=scripts/ci/gitlab/spellcheck.toml --checkers hunspell --code 1 - $(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges)) - allow_failure: true - -build-test-collators: - stage: stage1 - <<: *collect-artifacts - <<: *docker-env - <<: *compiler-info - <<: *test-refs - script: - - time cargo build --profile testnet --verbose -p test-parachain-adder-collator - - time cargo build --profile testnet --verbose -p test-parachain-undying-collator - - sccache -s - # pack artifacts - - mkdir -p ./artifacts - - mv ./target/testnet/adder-collator ./artifacts/. - - mv ./target/testnet/undying-collator ./artifacts/. - - echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION - - echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG - - echo "adder-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" - - echo "undying-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" - - cp -r ./scripts/* ./artifacts - -build-malus: - stage: stage1 - <<: *collect-artifacts - <<: *docker-env - <<: *compiler-info - <<: *test-refs - script: - - time cargo build --profile testnet --verbose -p polkadot-test-malus - - sccache -s - # pack artifacts - - mkdir -p ./artifacts - - mv ./target/testnet/malus ./artifacts/. - - echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION - - echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG - - echo "polkadot-test-malus = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" - - cp -r ./scripts/* ./artifacts - -build-staking-miner: - stage: stage1 - <<: *collect-artifacts - <<: *docker-env - <<: *compiler-info - <<: *common-refs - script: - - time cargo build --locked --release --package staking-miner - # pack artifacts - - mkdir -p ./artifacts - - mv ./target/release/staking-miner ./artifacts/. - - echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION - - echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG - - echo "staking-miner = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" - - cp -r ./scripts/* ./artifacts - -#### stage: stage2 - -.check-dependent-project: &check-dependent-project - stage: stage2 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: cargo-fmt - artifacts: false - <<: *docker-env - <<: *test-pr-refs - script: - - git clone - --depth=1 - "--branch=$PIPELINE_SCRIPTS_TAG" - https://github.com/paritytech/pipeline-scripts - - ./pipeline-scripts/check_dependent_project.sh - --org paritytech - --dependent-repo "$DEPENDENT_REPO" - --github-api-token "$GITHUB_PR_TOKEN" - --extra-dependencies "$EXTRA_DEPENDENCIES" - --companion-overrides "$COMPANION_OVERRIDES" - -check-dependent-cumulus: - <<: *check-dependent-project - variables: - DEPENDENT_REPO: cumulus - EXTRA_DEPENDENCIES: substrate - COMPANION_OVERRIDES: | - polkadot: release-v* - cumulus: polkadot-v* - -test-node-metrics: - stage: stage2 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: cargo-fmt - artifacts: false - <<: *docker-env - <<: *compiler-info - <<: *test-refs - variables: - RUST_TOOLCHAIN: stable - # Enable debug assertions since we are running optimized builds for testing - # but still want to have debug assertions. - RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" - script: - - time cargo test --profile testnet --verbose --locked --features=runtime-metrics -p polkadot-node-metrics - -test-deterministic-wasm: - stage: stage2 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: cargo-fmt - artifacts: false - <<: *test-refs - <<: *docker-env - <<: *compiler-info - script: - - ./scripts/ci/gitlab/test_deterministic_wasm.sh - -check-transaction-versions: - stage: stage2 - <<: *test-refs - <<: *docker-env - image: node:15 - needs: - - job: build-linux-stable - artifacts: true - before_script: - - apt-get -y update; apt-get -y install jq lsof - - npm install --ignore-scripts -g @polkadot/metadata-cmp - # Set git config - - git config remote.origin.url "https://github.com/paritytech/polkadot.git" - - git fetch origin release - script: - - ./scripts/ci/gitlab/check_extrinsics_ordering.sh - - - -# This image is used in testnets -# Release image is handled by the Github Action here: -# .github/workflows/publish-docker-release.yml -publish-polkadot-debug-image: - stage: stage2 - <<: *build-push-image - rules: - # Don't run when triggered from another pipeline - - if: $CI_PIPELINE_SOURCE == "pipeline" - when: never - - if: $CI_PIPELINE_SOURCE == "web" - - if: $CI_PIPELINE_SOURCE == "schedule" - - if: $CI_COMMIT_REF_NAME == "master" - - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs - - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 - variables: - <<: *image-variables - # scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile - DOCKERFILE: ci/dockerfiles/polkadot_injected_debug.Dockerfile - IMAGE_NAME: docker.io/paritypr/polkadot-debug - needs: - - job: build-linux-stable - artifacts: true - after_script: - # pass artifacts to the zombienet-tests job - # https://docs.gitlab.com/ee/ci/multi_project_pipelines.html#with-variable-inheritance - - echo "PARACHAINS_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/parachains.env - - echo "PARACHAINS_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/parachains.env - artifacts: - reports: - # this artifact is used in zombienet-tests job - dotenv: ./artifacts/parachains.env - expire_in: 1 days - -publish-test-collators-image: - # service image for Simnet - stage: stage2 - <<: *build-push-image - <<: *zombienet-refs - variables: - <<: *image-variables - # scripts/ci/dockerfiles/collator_injected.Dockerfile - DOCKERFILE: ci/dockerfiles/collator_injected.Dockerfile - IMAGE_NAME: docker.io/paritypr/colander - needs: - - job: build-test-collators - artifacts: true - after_script: - - buildah logout --all - # pass artifacts to the zombienet-tests job - - echo "COLLATOR_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/collator.env - - echo "COLLATOR_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/collator.env - artifacts: - reports: - # this artifact is used in zombienet-tests job - dotenv: ./artifacts/collator.env - -publish-malus-image: - # service image for Simnet - stage: stage2 - <<: *build-push-image - <<: *zombienet-refs - variables: - <<: *image-variables - # scripts/ci/dockerfiles/malus_injected.Dockerfile - DOCKERFILE: ci/dockerfiles/malus_injected.Dockerfile - IMAGE_NAME: docker.io/paritypr/malus - needs: - - job: build-malus - artifacts: true - after_script: - - buildah logout "$IMAGE_NAME" - # pass artifacts to the zombienet-tests job - - echo "MALUS_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/malus.env - - echo "MALUS_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/malus.env - artifacts: - reports: - # this artifact is used in zombienet-tests job - dotenv: ./artifacts/malus.env - -publish-staking-miner-image: - stage: stage2 - <<: *build-push-image - <<: *publish-refs - variables: - <<: *image-variables - # scripts/ci/dockerfiles/staking-miner/staking-miner_injected.Dockerfile - DOCKERFILE: ci/dockerfiles/staking-miner/staking-miner_injected.Dockerfile - IMAGE_NAME: docker.io/paritytech/staking-miner - GIT_STRATEGY: none - DOCKER_USER: ${Docker_Hub_User_Parity} - DOCKER_PASS: ${Docker_Hub_Pass_Parity} - needs: - - job: build-staking-miner - artifacts: true - - -publish-s3-release: &publish-s3 - stage: stage3 - needs: - - job: build-linux-stable - artifacts: true - <<: *kubernetes-env - image: paritytech/awscli:latest - variables: - GIT_STRATEGY: none - PREFIX: "builds/polkadot/${ARCH}-${DOCKER_OS}" - rules: - - if: $CI_PIPELINE_SOURCE == "pipeline" - when: never - # publishing binaries nightly - - if: $CI_PIPELINE_SOURCE == "schedule" - before_script: - - *check-versions - script: - - echo "uploading objects to https://releases.parity.io/${PREFIX}/${VERSION}" - - aws s3 sync --acl public-read ./artifacts/ s3://${AWS_BUCKET}/${PREFIX}/${VERSION}/ - - echo "update objects at https://releases.parity.io/${PREFIX}/${EXTRATAG}" - - find ./artifacts -type f | while read file; do - name="${file#./artifacts/}"; - aws s3api copy-object - --copy-source ${AWS_BUCKET}/${PREFIX}/${VERSION}/${name} - --bucket ${AWS_BUCKET} --key ${PREFIX}/${EXTRATAG}/${name}; - done - - | - cat <<-EOM - | - | polkadot binary paths: - | - | - https://releases.parity.io/${PREFIX}/${EXTRATAG}/polkadot - | - https://releases.parity.io/${PREFIX}/${VERSION}/polkadot - | - EOM - after_script: - - aws s3 ls s3://${AWS_BUCKET}/${PREFIX}/${EXTRATAG}/ - --recursive --human-readable --summarize - -update_polkadot_weights: &update-weights - stage: stage2 - timeout: 1d - when: manual - variables: - RUNTIME: polkadot - artifacts: - paths: - - ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch - script: - - ./scripts/ci/run_benches_for_runtime.sh $RUNTIME - - git diff -P > ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch - # uses the "shell" executors - tags: - - weights - -update_kusama_weights: - <<: *update-weights - variables: - RUNTIME: kusama - -update_westend_weights: - <<: *update-weights - variables: - RUNTIME: westend - -update_rococo_weights: - <<: *update-weights - variables: - RUNTIME: rococo - -#### stage: stage3 - -build-rustdoc: - stage: stage3 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: test-deterministic-wasm - artifacts: false - <<: *docker-env - <<: *test-refs - variables: - SKIP_WASM_BUILD: 1 - artifacts: - name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc" - when: on_success - expire_in: 1 days - paths: - - ./crate-docs/ - script: - # FIXME: it fails with `RUSTDOCFLAGS="-Dwarnings"` and `--all-features` - # FIXME: return to stable when https://github.com/rust-lang/rust/issues/96937 gets into stable - - time cargo +nightly doc --workspace --verbose --no-deps - - rm -f ./target/doc/.lock - - mv ./target/doc ./crate-docs - # FIXME: remove me after CI image gets nonroot - - chown -R nonroot:nonroot ./crate-docs - - echo "" > ./crate-docs/index.html - -build-implementers-guide: - stage: stage3 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: test-deterministic-wasm - artifacts: false - <<: *test-refs - <<: *docker-env - <<: *collect-artifacts-short - script: - - cargo install mdbook mdbook-mermaid mdbook-linkcheck - - mdbook build ./roadmap/implementers-guide - - mkdir -p artifacts - - mv roadmap/implementers-guide/book artifacts/ - # FIXME: remove me after CI image gets nonroot - - chown -R nonroot:nonroot artifacts/ - -check-try-runtime: - stage: stage3 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: test-node-metrics - artifacts: false - <<: *test-refs - <<: *docker-env - <<: *compiler-info - script: - # Check that everything compiles with `try-runtime` feature flag. - - cargo check --features try-runtime --all +include: + # weights jobs + - scripts/ci/gitlab/pipeline/weights.yml + # check jobs + - scripts/ci/gitlab/pipeline/check.yml + # test jobs + - scripts/ci/gitlab/pipeline/test.yml + # build jobs + - scripts/ci/gitlab/pipeline/build.yml + # short-benchmarks jobs + - scripts/ci/gitlab/pipeline/short-benchmarks.yml + # publish jobs + - scripts/ci/gitlab/pipeline/publish.yml + # zombienet jobs + - scripts/ci/gitlab/pipeline/zombienet.yml -# More info can be found here: https://github.com/paritytech/polkadot/pull/5865 -# Works only in PRs -check-runtime-migration: - stage: stage3 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: test-node-metrics - artifacts: false - <<: *test-pr-refs - <<: *docker-env - <<: *compiler-info - script: - - | - export has_runtimemigration_label=$(curl -sS -H "Accept: application/vnd.github+json" \ - -H "Authorization: token $GITHUB_PR_TOKEN" \ - https://api.github.com/repos/paritytech/polkadot/issues/$CI_COMMIT_REF_NAME/labels | grep "E1" | wc -l) - - | - if [[ $has_runtimemigration_label != 0 ]]; then - echo "Found label runtimemigration. Running tests" - export RUST_LOG=remote-ext=debug,runtime=debug - time cargo test --release -p westend-runtime -p polkadot-runtime -p kusama-runtime --features try-runtime - else - echo "runtimemigration label not found. Skipping" - fi - allow_failure: true -check-no-default-features: - stage: stage3 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: test-deterministic-wasm - artifacts: false - <<: *test-refs - <<: *docker-env - <<: *compiler-info - script: - # Check that polkadot-cli will compile no default features. - - pushd ./node/service && cargo check --no-default-features && popd - - pushd ./cli && cargo check --no-default-features --features "service" && popd - - sccache -s - -build-short-benchmark: - stage: stage3 - <<: *test-refs - <<: *docker-env - <<: *collect-artifacts - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: test-node-metrics - artifacts: false - script: - - cargo +nightly build --profile release --locked --features=runtime-benchmarks - - mkdir artifacts - - cp ./target/release/polkadot ./artifacts/ +#### stage: .post deploy-parity-testnet: - stage: stage3 - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: test-deterministic-wasm - artifacts: false - <<: *deploy-testnet-refs + stage: .post + extends: + - .deploy-testnet-refs variables: POLKADOT_CI_COMMIT_NAME: "${CI_COMMIT_REF_NAME}" POLKADOT_CI_COMMIT_REF: "${CI_COMMIT_SHORT_SHA}" allow_failure: false trigger: "parity/infrastructure/parity-testnet" -zombienet-tests-parachains-smoke-test: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-malus-image - - job: publish-test-collators-image - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/smoke" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie,zombie::network-node - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} - - export COL_IMAGE="docker.io/paritypr/colander:4519" # The collator image is fixed - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0001-parachains-smoke-test.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-parachains-pvf: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-test-collators-image - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie,zombie::network-node - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} - - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0001-parachains-pvf.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-parachains-disputes: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-test-collators-image - - job: publish-malus-image - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE_NAME}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie,zombie::network-node - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} - - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0002-parachains-disputes.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-parachains-disputes-garbage-candidate: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-test-collators-image - - job: publish-malus-image - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE_NAME}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie,zombie::network-node - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} - - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0003-parachains-garbage-candidate.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-test-parachains-upgrade-smoke-test: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-malus-image - - job: publish-test-collators-image - variables: - GH_DIR: 'https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/smoke' - before_script: - - echo "ZombieNet Tests Config" - - echo "${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG}" - - echo "docker.io/parity/polkadot-collator:latest" - - echo "${ZOMBIENET_IMAGE}" - - echo "${GH_DIR}" - - export DEBUG=zombie,zombie::network-node - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export COL_IMAGE="docker.io/parity/polkadot-collator:latest" # Use cumulus lastest image - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0002-parachains-upgrade-smoke-test.feature" - allow_failure: true - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-misc-paritydb: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-test-collators-image - artifacts: true - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/misc" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE_NAME}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie,zombie::network-node - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0001-paritydb.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-misc-upgrade-node: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-test-collators-image - - job: build-linux-stable - artifacts: true - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/misc" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE_NAME}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie,zombie::network-node - - BUILD_RELEASE_VERSION="$(cat ./artifacts/BUILD_RELEASE_VERSION)" - - export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:${BUILD_RELEASE_VERSION}" - - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} - - BUILD_LINUX_JOB_ID="$(cat ./artifacts/BUILD_LINUX_JOB_ID)" - - export POLKADOT_PR_BIN_URL="https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/${BUILD_LINUX_JOB_ID}/artifacts/raw/artifacts/polkadot" - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0002-upgrade-node.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-malus-dispute-valid: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - - job: publish-malus-image - - job: publish-test-collators-image - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/node/malus/integrationtests" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE_NAME}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie* - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} - - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0001-dispute-valid-block.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-deregister-register-validator: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - artifacts: true - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/smoke" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE_NAME}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie* - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0003-deregister-register-validator-smoke.feature" - allow_failure: false - retry: 2 - tags: - - zombienet-polkadot-integration-test - -zombienet-tests-beefy-and-mmr: - stage: stage3 - image: "${ZOMBIENET_IMAGE}" - <<: *kubernetes-env - <<: *zombienet-refs - needs: - - job: publish-polkadot-debug-image - variables: - GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" - before_script: - - echo "Zombie-net Tests Config" - - echo "${ZOMBIENET_IMAGE_NAME}" - - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - - echo "${GH_DIR}" - - export DEBUG=zombie* - - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} - script: - - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh - --github-remote-dir="${GH_DIR}" - --test="0003-beefy-and-mmr.feature" - allow_failure: true - retry: 2 - tags: - - zombienet-polkadot-integration-test - -#### stage: stage4 - -publish-rustdoc: - stage: stage4 - <<: *kubernetes-env - image: paritytech/tools:latest - variables: - GIT_DEPTH: 100 - rules: - - if: $CI_PIPELINE_SOURCE == "pipeline" - when: never - - if: $CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME == "master" - - if: $CI_COMMIT_REF_NAME == "master" - # `needs:` can be removed after CI image gets nonroot. In this case `needs:` stops other - # artifacts from being dowloaded by this job. - needs: - - job: build-rustdoc - artifacts: true - - job: build-implementers-guide - artifacts: true - script: - # Save README and docs - - cp -r ./crate-docs/ /tmp/doc/ - - cp -r ./artifacts/book/ /tmp/ - # setup ssh - - eval $(ssh-agent) - - ssh-add - <<< ${GITHUB_SSH_PRIV_KEY} - - mkdir ~/.ssh && touch ~/.ssh/known_hosts - - ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts - # Set git config - - git config user.email "devops-team@parity.io" - - git config user.name "${GITHUB_USER}" - - git config remote.origin.url "git@github.com:/paritytech/${CI_PROJECT_NAME}.git" - - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - - git fetch origin gh-pages - - git checkout gh-pages - # Remove everything and restore generated docs and README - - cp index.html /tmp - - cp README.md /tmp - - rm -rf ./* - # dir for rustdoc - - mkdir -p doc - # dir for implementors guide - - mkdir -p book - - mv /tmp/doc/* doc/ - - mv /tmp/book/html/* book/ - - mv /tmp/index.html . - - mv /tmp/README.md . - # Upload files - - git add --all --force - # `git commit` has an exit code of > 0 if there is nothing to commit. - # This causes GitLab to exit immediately and marks this job failed. - # We don't want to mark the entire job failed if there's nothing to - # publish though, hence the `|| true`. - - git commit -m "Updated docs for ${CI_COMMIT_REF_NAME}" || - echo "___Nothing to commit___" - - git push origin gh-pages --force - - echo "___Rustdoc was successfully published to https://paritytech.github.io/polkadot/___" - after_script: - - rm -rf .git/ ./* - -# Run all pallet benchmarks only once to check if there are any errors -short-benchmark-polkadot: &short-bench - stage: stage4 - <<: *test-pr-refs - <<: *docker-env - # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs - needs: - - job: build-short-benchmark - artifacts: true - variables: - RUNTIME: polkadot - script: - - ./artifacts/polkadot benchmark pallet --execution wasm --wasm-execution compiled --chain $RUNTIME-dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1 - -short-benchmark-kusama: - <<: *short-bench - variables: - RUNTIME: kusama - -short-benchmark-westend: - <<: *short-bench - variables: - RUNTIME: westend - -#### stage: .post - # This job cancels the whole pipeline if any of provided jobs fail. # In a DAG, every jobs chain is executed independently of others. The `fail_fast` principle suggests # to fail the pipeline as soon as possible to shorten the feedback loop. diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml new file mode 100644 index 000000000000..dcc05427f0b3 --- /dev/null +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -0,0 +1,193 @@ +# This file is part of .gitlab-ci.yml +# Here are all jobs that are executed during "build" stage + +build-linux-stable: + stage: build + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in check.yml + needs: + - job: job-starter + artifacts: false + extends: + - .docker-env + - .common-refs + - .compiler-info + - .collect-artifacts + variables: + RUST_TOOLCHAIN: stable + # Enable debug assertions since we are running optimized builds for testing + # but still want to have debug assertions. + RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" + # Ensure we run the UI tests. + RUN_UI_TESTS: 1 + script: + - time cargo build --profile testnet --features pyroscope --verbose --bin polkadot + - sccache -s + # pack artifacts + - mkdir -p ./artifacts + - VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name + - mv ./target/testnet/polkadot ./artifacts/. + - pushd artifacts + - sha256sum polkadot | tee polkadot.sha256 + - shasum -c polkadot.sha256 + - popd + - EXTRATAG="${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" + - echo "Polkadot version = ${VERSION} (EXTRATAG = ${EXTRATAG})" + - echo -n ${VERSION} > ./artifacts/VERSION + - echo -n ${EXTRATAG} > ./artifacts/EXTRATAG + - echo -n ${CI_JOB_ID} > ./artifacts/BUILD_LINUX_JOB_ID + - RELEASE_VERSION=$(./artifacts/polkadot -V | awk '{print $2}'| awk -F "-" '{print $1}') + - echo -n "v${RELEASE_VERSION}" > ./artifacts/BUILD_RELEASE_VERSION + - cp -r scripts/* ./artifacts + +check-transaction-versions: + stage: build + extends: + - .docker-env + - .test-refs + image: node:15 + needs: + - job: build-linux-stable + artifacts: true + before_script: + - apt-get -y update; apt-get -y install jq lsof + - npm install --ignore-scripts -g @polkadot/metadata-cmp + # Set git config + - git config remote.origin.url "https://github.com/paritytech/polkadot.git" + - git fetch origin release + script: + - ./scripts/ci/gitlab/check_extrinsics_ordering.sh + +build-test-collators: + stage: build + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in check.yml + needs: + - job: job-starter + artifacts: false + extends: + - .docker-env + - .common-refs + - .compiler-info + - .collect-artifacts + script: + - time cargo build --profile testnet --verbose -p test-parachain-adder-collator + - time cargo build --profile testnet --verbose -p test-parachain-undying-collator + - sccache -s + # pack artifacts + - mkdir -p ./artifacts + - mv ./target/testnet/adder-collator ./artifacts/. + - mv ./target/testnet/undying-collator ./artifacts/. + - echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION + - echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG + - echo "adder-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" + - echo "undying-collator version = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" + - cp -r ./scripts/* ./artifacts + +build-malus: + stage: build + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in check.yml + needs: + - job: job-starter + artifacts: false + extends: + - .docker-env + - .common-refs + - .compiler-info + - .collect-artifacts + script: + - time cargo build --profile testnet --verbose -p polkadot-test-malus + - sccache -s + # pack artifacts + - mkdir -p ./artifacts + - mv ./target/testnet/malus ./artifacts/. + - echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION + - echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG + - echo "polkadot-test-malus = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" + - cp -r ./scripts/* ./artifacts + +build-staking-miner: + stage: build + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in check.yml + needs: + - job: job-starter + artifacts: false + extends: + - .docker-env + - .common-refs + - .compiler-info + - .collect-artifacts + script: + - time cargo build --locked --release --package staking-miner + # pack artifacts + - mkdir -p ./artifacts + - mv ./target/release/staking-miner ./artifacts/. + - echo -n "${CI_COMMIT_REF_NAME}" > ./artifacts/VERSION + - echo -n "${CI_COMMIT_REF_NAME}-${CI_COMMIT_SHORT_SHA}" > ./artifacts/EXTRATAG + - echo "staking-miner = $(cat ./artifacts/VERSION) (EXTRATAG = $(cat ./artifacts/EXTRATAG))" + - cp -r ./scripts/* ./artifacts + +build-rustdoc: + stage: build + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in test.yml + needs: + - job: test-deterministic-wasm + artifacts: false + extends: + - .docker-env + - .test-refs + variables: + SKIP_WASM_BUILD: 1 + artifacts: + name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc" + when: on_success + expire_in: 1 days + paths: + - ./crate-docs/ + script: + # FIXME: it fails with `RUSTDOCFLAGS="-Dwarnings"` and `--all-features` + # FIXME: return to stable when https://github.com/rust-lang/rust/issues/96937 gets into stable + - time cargo +nightly doc --workspace --verbose --no-deps + - rm -f ./target/doc/.lock + - mv ./target/doc ./crate-docs + # FIXME: remove me after CI image gets nonroot + - chown -R nonroot:nonroot ./crate-docs + - echo "" > ./crate-docs/index.html + +build-implementers-guide: + stage: build + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in test.yml + needs: + - job: test-deterministic-wasm + artifacts: false + extends: + - .docker-env + - .test-refs + - .collect-artifacts-short + script: + - cargo install mdbook mdbook-mermaid mdbook-linkcheck + - mdbook build ./roadmap/implementers-guide + - mkdir -p artifacts + - mv roadmap/implementers-guide/book artifacts/ + # FIXME: remove me after CI image gets nonroot + - chown -R nonroot:nonroot artifacts/ + +build-short-benchmark: + stage: build + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in check.yml + needs: + - job: job-starter + artifacts: false + extends: + - .docker-env + - .test-refs + - .collect-artifacts + script: + - cargo +nightly build --profile release --locked --features=runtime-benchmarks + - mkdir artifacts + - cp ./target/release/polkadot ./artifacts/ diff --git a/scripts/ci/gitlab/pipeline/check.yml b/scripts/ci/gitlab/pipeline/check.yml new file mode 100644 index 000000000000..0e435d604821 --- /dev/null +++ b/scripts/ci/gitlab/pipeline/check.yml @@ -0,0 +1,97 @@ +# This file is part of .gitlab-ci.yml +# Here are all jobs that are executed during "check" stage + +check-runtime: + stage: check + image: paritytech/tools:latest + extends: + - .kubernetes-env + rules: + - if: $CI_COMMIT_REF_NAME =~ /^release-v[0-9]+\.[0-9]+.*$/ # i.e. release-v0.9.27 + variables: + GITLAB_API: "https://gitlab.parity.io/api/v4" + GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api" + script: + - ./scripts/ci/gitlab/check_runtime.sh + allow_failure: true + +cargo-fmt: + stage: check + extends: + - .docker-env + - .test-refs + script: + - cargo +nightly --version + - cargo +nightly fmt --all -- --check + allow_failure: true + +spellcheck: + stage: check + extends: + - .docker-env + - .test-refs + script: + - cargo spellcheck --version + # compare with the commit parent to the PR, given it's from a default branch + - git fetch origin +${CI_DEFAULT_BRANCH}:${CI_DEFAULT_BRANCH} + - echo "___Spellcheck is going to check your diff___" + - cargo spellcheck list-files -vvv $(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges)) + - time cargo spellcheck check -vvv --cfg=scripts/ci/gitlab/spellcheck.toml --checkers hunspell --code 1 + $(git diff --diff-filter=AM --name-only $(git merge-base ${CI_COMMIT_SHA} ${CI_DEFAULT_BRANCH} -- :^bridges)) + allow_failure: true + +check-try-runtime: + stage: check + extends: + - .docker-env + - .test-refs + - .compiler-info + script: + # Check that everything compiles with `try-runtime` feature flag. + - cargo check --features try-runtime --all + +# More info can be found here: https://github.com/paritytech/polkadot/pull/5865 +# Works only in PRs +check-runtime-migration: + stage: check + extends: + - .docker-env + - .test-pr-refs + - .compiler-info + script: + - | + export has_runtimemigration_label=$(curl -sS -H "Accept: application/vnd.github+json" \ + -H "Authorization: token $GITHUB_PR_TOKEN" \ + https://api.github.com/repos/paritytech/polkadot/issues/$CI_COMMIT_REF_NAME/labels | grep "E1" | wc -l) + - | + if [[ $has_runtimemigration_label != 0 ]]; then + echo "Found label runtimemigration. Running tests" + export RUST_LOG=remote-ext=debug,runtime=debug + time cargo test --release -p westend-runtime -p polkadot-runtime -p kusama-runtime --features try-runtime + else + echo "runtimemigration label not found. Skipping" + fi + allow_failure: true + +# is broken, need to fix +check-no-default-features: + stage: check + extends: + - .docker-env + - .test-refs + - .compiler-info + script: + # Check that polkadot-cli will compile no default features. + - pushd ./node/service && cargo check --no-default-features && popd + - pushd ./cli && cargo check --no-default-features --features "service" && popd + - exit 0 + +# this is artificial job to run some build and tests using DAG +job-starter: + stage: check + image: paritytech/tools:latest + extends: + - .kubernetes-env + - .common-refs + script: + - echo ok diff --git a/scripts/ci/gitlab/pipeline/publish.yml b/scripts/ci/gitlab/pipeline/publish.yml new file mode 100644 index 000000000000..12e087e188d1 --- /dev/null +++ b/scripts/ci/gitlab/pipeline/publish.yml @@ -0,0 +1,209 @@ +# This file is part of .gitlab-ci.yml +# Here are all jobs that are executed during "publish" stage + +# This image is used in testnets +# Release image is handled by the Github Action here: +# .github/workflows/publish-docker-release.yml +publish-polkadot-debug-image: + stage: publish + extends: + - .build-push-image + rules: + # Don't run when triggered from another pipeline + - if: $CI_PIPELINE_SOURCE == "pipeline" + when: never + - if: $CI_PIPELINE_SOURCE == "web" + - if: $CI_PIPELINE_SOURCE == "schedule" + - if: $CI_COMMIT_REF_NAME == "master" + - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs + - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 + variables: + GIT_STRATEGY: none + DOCKER_USER: ${PARITYPR_USER} + DOCKER_PASS: ${PARITYPR_PASS} + # scripts/ci/dockerfiles/polkadot_injected_debug.Dockerfile + DOCKERFILE: ci/dockerfiles/polkadot_injected_debug.Dockerfile + IMAGE_NAME: docker.io/paritypr/polkadot-debug + needs: + - job: build-linux-stable + artifacts: true + after_script: + # pass artifacts to the zombienet-tests job + # https://docs.gitlab.com/ee/ci/multi_project_pipelines.html#with-variable-inheritance + - echo "PARACHAINS_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/parachains.env + - echo "PARACHAINS_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/parachains.env + artifacts: + reports: + # this artifact is used in zombienet-tests job + dotenv: ./artifacts/parachains.env + expire_in: 1 days + +publish-test-collators-image: + # service image for Simnet + stage: publish + extends: + - .build-push-image + - .zombienet-refs + variables: + GIT_STRATEGY: none + DOCKER_USER: ${PARITYPR_USER} + DOCKER_PASS: ${PARITYPR_PASS} + # scripts/ci/dockerfiles/collator_injected.Dockerfile + DOCKERFILE: ci/dockerfiles/collator_injected.Dockerfile + IMAGE_NAME: docker.io/paritypr/colander + needs: + - job: build-test-collators + artifacts: true + after_script: + - buildah logout --all + # pass artifacts to the zombienet-tests job + - echo "COLLATOR_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/collator.env + - echo "COLLATOR_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/collator.env + artifacts: + reports: + # this artifact is used in zombienet-tests job + dotenv: ./artifacts/collator.env + +publish-malus-image: + # service image for Simnet + stage: publish + extends: + - .build-push-image + - .zombienet-refs + variables: + GIT_STRATEGY: none + DOCKER_USER: ${PARITYPR_USER} + DOCKER_PASS: ${PARITYPR_PASS} + # scripts/ci/dockerfiles/malus_injected.Dockerfile + DOCKERFILE: ci/dockerfiles/malus_injected.Dockerfile + IMAGE_NAME: docker.io/paritypr/malus + needs: + - job: build-malus + artifacts: true + after_script: + - buildah logout "$IMAGE_NAME" + # pass artifacts to the zombienet-tests job + - echo "MALUS_IMAGE_NAME=${IMAGE_NAME}" > ./artifacts/malus.env + - echo "MALUS_IMAGE_TAG=$(cat ./artifacts/EXTRATAG)" >> ./artifacts/malus.env + artifacts: + reports: + # this artifact is used in zombienet-tests job + dotenv: ./artifacts/malus.env + +publish-staking-miner-image: + stage: publish + extends: + - .build-push-image + - .publish-refs + variables: + # scripts/ci/dockerfiles/staking-miner/staking-miner_injected.Dockerfile + DOCKERFILE: ci/dockerfiles/staking-miner/staking-miner_injected.Dockerfile + IMAGE_NAME: docker.io/paritytech/staking-miner + GIT_STRATEGY: none + DOCKER_USER: ${Docker_Hub_User_Parity} + DOCKER_PASS: ${Docker_Hub_Pass_Parity} + needs: + - job: build-staking-miner + artifacts: true + + +publish-s3-release: + stage: publish + extends: + - .kubernetes-env + needs: + - job: build-linux-stable + artifacts: true + image: paritytech/awscli:latest + variables: + GIT_STRATEGY: none + PREFIX: "builds/polkadot/${ARCH}-${DOCKER_OS}" + rules: + - if: $CI_PIPELINE_SOURCE == "pipeline" + when: never + # publishing binaries nightly + - if: $CI_PIPELINE_SOURCE == "schedule" + before_script: + - !reference [.build-push-image, before_script] + script: + - echo "uploading objects to https://releases.parity.io/${PREFIX}/${VERSION}" + - aws s3 sync --acl public-read ./artifacts/ s3://${AWS_BUCKET}/${PREFIX}/${VERSION}/ + - echo "update objects at https://releases.parity.io/${PREFIX}/${EXTRATAG}" + - find ./artifacts -type f | while read file; do + name="${file#./artifacts/}"; + aws s3api copy-object + --copy-source ${AWS_BUCKET}/${PREFIX}/${VERSION}/${name} + --bucket ${AWS_BUCKET} --key ${PREFIX}/${EXTRATAG}/${name}; + done + - | + cat <<-EOM + | + | polkadot binary paths: + | + | - https://releases.parity.io/${PREFIX}/${EXTRATAG}/polkadot + | - https://releases.parity.io/${PREFIX}/${VERSION}/polkadot + | + EOM + after_script: + - aws s3 ls s3://${AWS_BUCKET}/${PREFIX}/${EXTRATAG}/ + --recursive --human-readable --summarize + +publish-rustdoc: + stage: publish + extends: + - .kubernetes-env + image: paritytech/tools:latest + variables: + GIT_DEPTH: 100 + rules: + - if: $CI_PIPELINE_SOURCE == "pipeline" + when: never + - if: $CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME == "master" + - if: $CI_COMMIT_REF_NAME == "master" + # `needs:` can be removed after CI image gets nonroot. In this case `needs:` stops other + # artifacts from being dowloaded by this job. + needs: + - job: build-rustdoc + artifacts: true + - job: build-implementers-guide + artifacts: true + script: + # Save README and docs + - cp -r ./crate-docs/ /tmp/doc/ + - cp -r ./artifacts/book/ /tmp/ + # setup ssh + - eval $(ssh-agent) + - ssh-add - <<< ${GITHUB_SSH_PRIV_KEY} + - mkdir ~/.ssh && touch ~/.ssh/known_hosts + - ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + # Set git config + - git config user.email "devops-team@parity.io" + - git config user.name "${GITHUB_USER}" + - git config remote.origin.url "git@github.com:/paritytech/${CI_PROJECT_NAME}.git" + - git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" + - git fetch origin gh-pages + - git checkout gh-pages + # Remove everything and restore generated docs and README + - cp index.html /tmp + - cp README.md /tmp + - rm -rf ./* + # dir for rustdoc + - mkdir -p doc + # dir for implementors guide + - mkdir -p book + - mv /tmp/doc/* doc/ + - mv /tmp/book/html/* book/ + - mv /tmp/index.html . + - mv /tmp/README.md . + # Upload files + - git add --all --force + # `git commit` has an exit code of > 0 if there is nothing to commit. + # This causes GitLab to exit immediately and marks this job failed. + # We don't want to mark the entire job failed if there's nothing to + # publish though, hence the `|| true`. + - git commit -m "Updated docs for ${CI_COMMIT_REF_NAME}" || + echo "___Nothing to commit___" + - git push origin gh-pages --force + - echo "___Rustdoc was successfully published to https://paritytech.github.io/polkadot/___" + after_script: + - rm -rf .git/ ./* diff --git a/scripts/ci/gitlab/pipeline/short-benchmarks.yml b/scripts/ci/gitlab/pipeline/short-benchmarks.yml new file mode 100644 index 000000000000..52a4074470f0 --- /dev/null +++ b/scripts/ci/gitlab/pipeline/short-benchmarks.yml @@ -0,0 +1,27 @@ +# This file is part of .gitlab-ci.yml +# Here are all jobs that are executed during "short-benchmarks" stage + +# Run all pallet benchmarks only once to check if there are any errors +short-benchmark-polkadot: &short-bench + stage: short-benchmarks + extends: + - .test-pr-refs + - .docker-env + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + needs: + - job: build-short-benchmark + artifacts: true + variables: + RUNTIME: polkadot + script: + - ./artifacts/polkadot benchmark pallet --execution wasm --wasm-execution compiled --chain $RUNTIME-dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1 + +short-benchmark-kusama: + <<: *short-bench + variables: + RUNTIME: kusama + +short-benchmark-westend: + <<: *short-bench + variables: + RUNTIME: westend diff --git a/scripts/ci/gitlab/pipeline/test.yml b/scripts/ci/gitlab/pipeline/test.yml new file mode 100644 index 000000000000..9a3dd0270fbb --- /dev/null +++ b/scripts/ci/gitlab/pipeline/test.yml @@ -0,0 +1,74 @@ +# This file is part of .gitlab-ci.yml +# Here are all jobs that are executed during "test" stage + +test-linux-stable: + stage: test + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in check.yml + needs: + - job: job-starter + artifacts: false + extends: + - .docker-env + - .common-refs + - .pipeline-stopper-artifacts + before_script: + - rustup show + - cargo --version + - !reference [.pipeline-stopper-vars, before_script] + variables: + RUST_TOOLCHAIN: stable + # Enable debug assertions since we are running optimized builds for testing + # but still want to have debug assertions. + RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" + script: + - time cargo test --workspace --profile testnet --verbose --locked --features=runtime-benchmarks,runtime-metrics + +.check-dependent-project: &check-dependent-project + stage: test + extends: + - .docker-env + - .test-pr-refs + script: + - git clone + --depth=1 + "--branch=$PIPELINE_SCRIPTS_TAG" + https://github.com/paritytech/pipeline-scripts + - ./pipeline-scripts/check_dependent_project.sh + --org paritytech + --dependent-repo "$DEPENDENT_REPO" + --github-api-token "$GITHUB_PR_TOKEN" + --extra-dependencies "$EXTRA_DEPENDENCIES" + --companion-overrides "$COMPANION_OVERRIDES" + +check-dependent-cumulus: + <<: *check-dependent-project + variables: + DEPENDENT_REPO: cumulus + EXTRA_DEPENDENCIES: substrate + COMPANION_OVERRIDES: | + polkadot: release-v* + cumulus: polkadot-v* + +test-node-metrics: + stage: test + extends: + - .docker-env + - .test-refs + - .compiler-info + variables: + RUST_TOOLCHAIN: stable + # Enable debug assertions since we are running optimized builds for testing + # but still want to have debug assertions. + RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" + script: + - time cargo test --profile testnet --verbose --locked --features=runtime-metrics -p polkadot-node-metrics + +test-deterministic-wasm: + stage: test + extends: + - .docker-env + - .test-refs + - .compiler-info + script: + - ./scripts/ci/gitlab/test_deterministic_wasm.sh diff --git a/scripts/ci/gitlab/pipeline/weights.yml b/scripts/ci/gitlab/pipeline/weights.yml new file mode 100644 index 000000000000..38b223ce57ab --- /dev/null +++ b/scripts/ci/gitlab/pipeline/weights.yml @@ -0,0 +1,33 @@ +# This file is part of .gitlab-ci.yml +# Here are all jobs that are executed during "weights" stage + +update_polkadot_weights: &update-weights + stage: weights + timeout: 1d + when: manual + variables: + RUNTIME: polkadot + artifacts: + paths: + - ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch + script: + - ./scripts/ci/run_benches_for_runtime.sh $RUNTIME + - git diff -P > ${RUNTIME}_weights_${CI_COMMIT_SHORT_SHA}.patch + # uses the "shell" executors + tags: + - weights + +update_kusama_weights: + <<: *update-weights + variables: + RUNTIME: kusama + +update_westend_weights: + <<: *update-weights + variables: + RUNTIME: westend + +update_rococo_weights: + <<: *update-weights + variables: + RUNTIME: rococo diff --git a/scripts/ci/gitlab/pipeline/zombienet.yml b/scripts/ci/gitlab/pipeline/zombienet.yml new file mode 100644 index 000000000000..8f7c5ef38a43 --- /dev/null +++ b/scripts/ci/gitlab/pipeline/zombienet.yml @@ -0,0 +1,302 @@ +# This file is part of .gitlab-ci.yml +# Here are all jobs that are executed during "zombienet" stage + +zombienet-tests-parachains-smoke-test: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-malus-image + - job: publish-test-collators-image + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/smoke" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} + - export COL_IMAGE="docker.io/paritypr/colander:4519" # The collator image is fixed + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0001-parachains-smoke-test.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-parachains-pvf: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-test-collators-image + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} + - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0001-parachains-pvf.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-parachains-disputes: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-test-collators-image + - job: publish-malus-image + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} + - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0002-parachains-disputes.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-parachains-disputes-garbage-candidate: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-test-collators-image + - job: publish-malus-image + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} + - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0003-parachains-garbage-candidate.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-test-parachains-upgrade-smoke-test: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-malus-image + - job: publish-test-collators-image + variables: + GH_DIR: 'https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/smoke' + before_script: + - echo "ZombieNet Tests Config" + - echo "${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG}" + - echo "docker.io/parity/polkadot-collator:latest" + - echo "${ZOMBIENET_IMAGE}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export COL_IMAGE="docker.io/parity/polkadot-collator:latest" # Use cumulus lastest image + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0002-parachains-upgrade-smoke-test.feature" + allow_failure: true + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-misc-paritydb: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-test-collators-image + artifacts: true + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/misc" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0001-paritydb.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-misc-upgrade-node: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-test-collators-image + - job: build-linux-stable + artifacts: true + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/misc" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie,zombie::network-node + - BUILD_RELEASE_VERSION="$(cat ./artifacts/BUILD_RELEASE_VERSION)" + - export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:${BUILD_RELEASE_VERSION}" + - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} + - BUILD_LINUX_JOB_ID="$(cat ./artifacts/BUILD_LINUX_JOB_ID)" + - export POLKADOT_PR_BIN_URL="https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/${BUILD_LINUX_JOB_ID}/artifacts/raw/artifacts/polkadot" + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0002-upgrade-node.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-malus-dispute-valid: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + - job: publish-malus-image + - job: publish-test-collators-image + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/node/malus/integrationtests" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${MALUS_IMAGE_NAME} ${MALUS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie* + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} + - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0001-dispute-valid-block.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-deregister-register-validator: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + artifacts: true + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/smoke" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie* + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + - export MALUS_IMAGE=${MALUS_IMAGE_NAME}:${MALUS_IMAGE_TAG} + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0003-deregister-register-validator-smoke.feature" + allow_failure: false + retry: 2 + tags: + - zombienet-polkadot-integration-test + +zombienet-tests-beefy-and-mmr: + stage: zombienet + image: "${ZOMBIENET_IMAGE}" + extends: + - .kubernetes-env + - .zombienet-refs + needs: + - job: publish-polkadot-debug-image + variables: + GH_DIR: "https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/functional" + before_script: + - echo "Zombie-net Tests Config" + - echo "${ZOMBIENET_IMAGE_NAME}" + - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" + - echo "${GH_DIR}" + - export DEBUG=zombie* + - export ZOMBIENET_INTEGRATION_TEST_IMAGE=${PARACHAINS_IMAGE_NAME}:${PARACHAINS_IMAGE_TAG} + script: + - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh + --github-remote-dir="${GH_DIR}" + --test="0003-beefy-and-mmr.feature" + allow_failure: true + retry: 2 + tags: + - zombienet-polkadot-integration-test \ No newline at end of file From 2b2376d817ef1b457a72dd4844e648f64faf37ca Mon Sep 17 00:00:00 2001 From: Andronik Date: Mon, 26 Sep 2022 14:39:56 +0200 Subject: [PATCH 011/211] orchestra: hide subsystem cycle warnings by default (#6047) --- node/orchestra/proc-macro/src/graph.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/node/orchestra/proc-macro/src/graph.rs b/node/orchestra/proc-macro/src/graph.rs index 2fd07e5ec711..13406efaf06a 100644 --- a/node/orchestra/proc-macro/src/graph.rs +++ b/node/orchestra/proc-macro/src/graph.rs @@ -119,11 +119,11 @@ impl<'a> ConnectionGraph<'a> { } })); match sccs.len() { - 0 => println!("✅ Found no strongly connected components, hence no cycles exist"), - 1 => println!( + 0 => eprintln!("✅ Found no strongly connected components, hence no cycles exist"), + 1 => eprintln!( "⚡ Found 1 strongly connected component which includes at least one cycle" ), - n => println!( + n => eprintln!( "⚡ Found {n} strongly connected components which includes at least one cycle each" ), } @@ -169,7 +169,7 @@ impl<'a> ConnectionGraph<'a> { } } let acc = String::from_iter(acc); - println!("cycle({print_idx:03}) ∈ {scc_tag}: {acc} *"); + eprintln!("cycle({print_idx:03}) ∈ {scc_tag}: {acc} *"); } sccs From 0e50e33b9622d1b8bf684340fb17eb59e4a4f987 Mon Sep 17 00:00:00 2001 From: Aaro Altonen <48052676+altonen@users.noreply.github.com> Date: Mon, 26 Sep 2022 16:15:41 +0300 Subject: [PATCH 012/211] Companion for paritytech/substrate#12264 (#5973) * Companion for paritytech/substrate#12198 * Use `ProtocolName` from sc-network-common * Update node service * Revert Cargo.lock changes * Fix node service test * cargo-fmt * disable cancel-pipeline-test-linux-stable to check companion * update lockfile for {"substrate"} Co-authored-by: alvicsam Co-authored-by: parity-processbot <> --- .gitlab-ci.yml | 2 +- Cargo.lock | 370 ++++++++++++++------------ node/network/protocol/Cargo.toml | 1 + node/network/protocol/src/peer_set.rs | 14 +- node/service/src/lib.rs | 3 +- node/test/service/src/lib.rs | 7 +- 6 files changed, 211 insertions(+), 186 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33ab02c549c5..ce9be9af767a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -228,7 +228,7 @@ deploy-parity-testnet: trigger: project: "parity/infrastructure/ci_cd/pipeline-stopper" -cancel-pipeline-test-linux-stable: +.cancel-pipeline-test-linux-stable: extends: .cancel-pipeline-template needs: - job: test-linux-stable diff --git a/Cargo.lock b/Cargo.lock index 97786f048dbd..92fe829400a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "async-trait", @@ -452,6 +452,7 @@ dependencies = [ "sc-finality-grandpa", "sc-keystore", "sc-network", + "sc-network-common", "sc-network-gossip", "sc-utils", "sp-api", @@ -471,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -491,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "beefy-primitives", "sp-api", @@ -500,7 +501,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -1997,7 +1998,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", ] @@ -2015,7 +2016,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -2038,7 +2039,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2090,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "bitflags", "frame-metadata", @@ -2177,7 +2178,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "Inflector", "cfg-expr", @@ -2191,7 +2192,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2203,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro2", "quote", @@ -2213,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2236,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -2247,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "log", @@ -2265,7 +2266,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -2280,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "sp-api", @@ -2289,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "parity-scale-codec", @@ -2472,7 +2473,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "chrono", "frame-election-provider-support", @@ -4830,7 +4831,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -4844,7 +4845,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -4860,7 +4861,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -4875,7 +4876,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,7 +4900,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4919,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4938,7 +4939,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -4953,7 +4954,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "beefy-primitives", "frame-support", @@ -4969,7 +4970,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4992,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5030,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +5063,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5086,7 +5087,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5099,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5132,7 +5133,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5156,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5171,7 +5172,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5191,7 +5192,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5208,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5225,7 +5226,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5243,7 +5244,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5258,7 +5259,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5273,7 +5274,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -5290,7 +5291,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5310,7 +5311,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "sp-api", @@ -5320,7 +5321,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -5337,7 +5338,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5360,7 +5361,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5376,7 +5377,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5391,7 +5392,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5407,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5423,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -5443,7 +5444,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5459,7 +5460,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -5473,7 +5474,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5496,7 +5497,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5507,7 +5508,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "sp-arithmetic", @@ -5516,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -5530,7 +5531,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5548,7 +5549,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5567,7 +5568,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-support", "frame-system", @@ -5583,7 +5584,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5598,7 +5599,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5609,7 +5610,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5627,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -5642,7 +5643,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-benchmarking", "frame-support", @@ -6725,6 +6726,7 @@ dependencies = [ "rand_chacha 0.3.1", "sc-authority-discovery", "sc-network", + "sc-network-common", "strum", "thiserror", "tracing-gum", @@ -8172,7 +8174,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8520,7 +8522,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "sp-core", @@ -8531,7 +8533,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "futures", @@ -8558,7 +8560,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "futures-timer", @@ -8581,7 +8583,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8597,7 +8599,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8614,7 +8616,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8625,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "chrono", @@ -8643,6 +8645,7 @@ dependencies = [ "sc-client-db", "sc-keystore", "sc-network", + "sc-network-common", "sc-service", "sc-telemetry", "sc-tracing", @@ -8664,7 +8667,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "fnv", "futures", @@ -8692,7 +8695,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "hash-db", "kvdb", @@ -8717,7 +8720,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "futures", @@ -8741,7 +8744,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "fork-tree", @@ -8783,7 +8786,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "jsonrpsee", @@ -8805,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8818,7 +8821,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "futures", @@ -8842,7 +8845,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8869,7 +8872,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "environmental", "parity-scale-codec", @@ -8885,7 +8888,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "parity-scale-codec", @@ -8900,7 +8903,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8920,7 +8923,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "ahash", "array-bytes", @@ -8961,7 +8964,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "finality-grandpa", "futures", @@ -8982,7 +8985,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "ansi_term", "futures", @@ -8999,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "async-trait", @@ -9014,7 +9017,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "async-trait", @@ -9061,7 +9064,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "cid", "futures", @@ -9081,13 +9084,15 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "bitflags", "bytes", "futures", + "futures-timer", "libp2p", + "linked_hash_set", "parity-scale-codec", "prost-build 0.10.4", "sc-consensus", @@ -9098,13 +9103,14 @@ dependencies = [ "sp-consensus", "sp-finality-grandpa", "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "ahash", "futures", @@ -9122,7 +9128,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "futures", @@ -9143,7 +9149,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "fork-tree", @@ -9168,10 +9174,29 @@ dependencies = [ "thiserror", ] +[[package]] +name = "sc-network-transactions" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +dependencies = [ + "array-bytes", + "futures", + "hex", + "libp2p", + "log", + "parity-scale-codec", + "pin-project", + "sc-network-common", + "sc-peerset", + "sp-consensus", + "sp-runtime", + "substrate-prometheus-endpoint", +] + [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "bytes", @@ -9201,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "libp2p", @@ -9214,7 +9239,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9223,7 +9248,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "hash-db", @@ -9253,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "jsonrpsee", @@ -9276,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "jsonrpsee", @@ -9289,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "directories", @@ -9317,6 +9342,7 @@ dependencies = [ "sc-network-common", "sc-network-light", "sc-network-sync", + "sc-network-transactions", "sc-offchain", "sc-rpc", "sc-rpc-server", @@ -9358,7 +9384,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "parity-scale-codec", @@ -9372,7 +9398,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9391,7 +9417,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "libc", @@ -9410,7 +9436,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "chrono", "futures", @@ -9428,7 +9454,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "ansi_term", "atty", @@ -9459,7 +9485,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9470,7 +9496,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "futures-timer", @@ -9496,7 +9522,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "log", @@ -9509,7 +9535,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "futures-timer", @@ -9995,7 +10021,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "hash-db", "log", @@ -10013,7 +10039,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "blake2", "proc-macro-crate", @@ -10025,7 +10051,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -10038,7 +10064,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "integer-sqrt", "num-traits", @@ -10053,7 +10079,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -10066,7 +10092,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "parity-scale-codec", @@ -10078,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "sp-api", @@ -10090,7 +10116,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "log", @@ -10108,7 +10134,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "futures", @@ -10127,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "merlin", @@ -10150,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -10164,7 +10190,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -10177,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "base58", @@ -10223,7 +10249,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "blake2", "byteorder", @@ -10237,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro2", "quote", @@ -10248,7 +10274,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10257,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro2", "quote", @@ -10267,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "environmental", "parity-scale-codec", @@ -10278,7 +10304,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "finality-grandpa", "log", @@ -10296,7 +10322,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10310,7 +10336,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "bytes", "futures", @@ -10336,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "lazy_static", "sp-core", @@ -10347,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "futures", @@ -10364,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "thiserror", "zstd", @@ -10373,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "parity-scale-codec", @@ -10388,7 +10414,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -10402,7 +10428,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "sp-api", "sp-core", @@ -10412,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "backtrace", "lazy_static", @@ -10422,7 +10448,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "rustc-hash", "serde", @@ -10432,7 +10458,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "either", "hash256-std-hasher", @@ -10455,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10473,7 +10499,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "Inflector", "proc-macro-crate", @@ -10485,7 +10511,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "parity-scale-codec", @@ -10499,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -10513,7 +10539,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "scale-info", @@ -10524,7 +10550,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "hash-db", "log", @@ -10546,12 +10572,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10564,7 +10590,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "log", "sp-core", @@ -10577,7 +10603,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "futures-timer", @@ -10593,7 +10619,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "sp-std", @@ -10605,7 +10631,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "sp-api", "sp-runtime", @@ -10614,7 +10640,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "async-trait", "log", @@ -10630,7 +10656,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "ahash", "hash-db", @@ -10653,7 +10679,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10670,7 +10696,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10681,7 +10707,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "impl-trait-for-tuples", "log", @@ -10694,7 +10720,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10909,7 +10935,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "platforms", ] @@ -10917,7 +10943,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10938,7 +10964,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures-util", "hyper", @@ -10951,7 +10977,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "jsonrpsee", "log", @@ -10972,7 +10998,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "array-bytes", "async-trait", @@ -10998,7 +11024,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11008,7 +11034,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11019,7 +11045,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "ansi_term", "build-helper", @@ -11733,7 +11759,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a0ec652e341f694f182a3c5fcc80d4c3fb280003" +source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index 04347a801090..465cb8d6f984 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -13,6 +13,7 @@ polkadot-node-primitives = { path = "../../primitives" } polkadot-node-jaeger = { path = "../../jaeger" } parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } strum = { version = "0.24", features = ["derive"] } futures = "0.3.21" diff --git a/node/network/protocol/src/peer_set.rs b/node/network/protocol/src/peer_set.rs index 4a3220995f98..8c5597a9fc83 100644 --- a/node/network/protocol/src/peer_set.rs +++ b/node/network/protocol/src/peer_set.rs @@ -18,9 +18,9 @@ use derive_more::Display; use polkadot_primitives::v2::Hash; -use sc_network::{ +use sc_network_common::{ config::{NonDefaultSetConfig, SetConfig}, - ProtocolName, + protocol::ProtocolName, }; use std::{ collections::{hash_map::Entry, HashMap}, @@ -80,7 +80,7 @@ impl PeerSet { notifications_protocol: protocol, fallback_names, max_notification_size, - set_config: sc_network::config::SetConfig { + set_config: sc_network_common::config::SetConfig { // we allow full nodes to connect to validators for gossip // to ensure any `MIN_GOSSIP_PEERS` always include reserved peers // we limit the amount of non-reserved slots to be less @@ -88,7 +88,7 @@ impl PeerSet { in_peers: super::MIN_GOSSIP_PEERS as u32 / 2 - 1, out_peers: super::MIN_GOSSIP_PEERS as u32 / 2 - 1, reserved_nodes: Vec::new(), - non_reserved_mode: sc_network::config::NonReservedPeerMode::Accept, + non_reserved_mode: sc_network_common::config::NonReservedPeerMode::Accept, }, }, PeerSet::Collation => NonDefaultSetConfig { @@ -101,9 +101,9 @@ impl PeerSet { out_peers: 0, reserved_nodes: Vec::new(), non_reserved_mode: if is_authority == IsAuthority::Yes { - sc_network::config::NonReservedPeerMode::Accept + sc_network_common::config::NonReservedPeerMode::Accept } else { - sc_network::config::NonReservedPeerMode::Deny + sc_network_common::config::NonReservedPeerMode::Deny }, }, }, @@ -188,7 +188,7 @@ impl IndexMut for PerPeerSet { pub fn peer_sets_info( is_authority: IsAuthority, peerset_protocol_names: &PeerSetProtocolNames, -) -> Vec { +) -> Vec { PeerSet::iter() .map(|s| s.get_info(is_authority, &peerset_protocol_names)) .collect() diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 774901435e1d..3ae207be8e13 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -898,7 +898,7 @@ where grandpa_hard_forks, )); - let (network, system_rpc_tx, network_starter) = + let (network, system_rpc_tx, tx_handler_controller, network_starter) = service::build_network(service::BuildNetworkParams { config: &config, client: client.clone(), @@ -968,6 +968,7 @@ where transaction_pool: transaction_pool.clone(), task_manager: &mut task_manager, system_rpc_tx, + tx_handler_controller, telemetry: telemetry.as_mut(), })?; diff --git a/node/test/service/src/lib.rs b/node/test/service/src/lib.rs index 435bcabb3ef5..8fe31ce2b5b4 100644 --- a/node/test/service/src/lib.rs +++ b/node/test/service/src/lib.rs @@ -37,11 +37,8 @@ use polkadot_test_runtime::{ }; use sc_chain_spec::ChainSpec; use sc_client_api::execution_extensions::ExecutionStrategies; -use sc_network::{ - config::{NetworkConfiguration, TransportConfig}, - multiaddr, -}; -use sc_network_common::service::NetworkStateInfo; +use sc_network::{config::NetworkConfiguration, multiaddr}; +use sc_network_common::{config::TransportConfig, service::NetworkStateInfo}; use sc_service::{ config::{ DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod, From 59f899a4a73ab7f378cbc3802b6853715e2f0a38 Mon Sep 17 00:00:00 2001 From: Chris Sosnin <48099298+slumber@users.noreply.github.com> Date: Mon, 26 Sep 2022 20:02:05 +0300 Subject: [PATCH 013/211] paras: unblock offboarding when pvf-check concludes (#6032) * Unblock offboarding for upgrading paras * ".git/.scripts/fmt.sh" 1 Co-authored-by: command-bot <> --- runtime/parachains/src/paras/mod.rs | 12 ++++-- runtime/parachains/src/paras/tests.rs | 62 +++++++++++++++++++++++++-- 2 files changed, 68 insertions(+), 6 deletions(-) diff --git a/runtime/parachains/src/paras/mod.rs b/runtime/parachains/src/paras/mod.rs index b43300fdcd12..184696ffcd45 100644 --- a/runtime/parachains/src/paras/mod.rs +++ b/runtime/parachains/src/paras/mod.rs @@ -1570,15 +1570,21 @@ impl Pallet { /// /// No-op if para is not registered at all. pub(crate) fn schedule_para_cleanup(id: ParaId) -> DispatchResult { - // Disallow offboarding in case there is an upcoming upgrade. + // Disallow offboarding in case there is a PVF pre-checking in progress. // // This is not a fundamential limitation but rather simplification: it allows us to get // away without introducing additional logic for pruning and, more importantly, enacting // ongoing PVF pre-checking votes. It also removes some nasty edge cases. // + // However, an upcoming upgrade on its own imposes no restrictions. An upgrade is enacted + // with a new para head, so if a para never progresses we still should be able to offboard it. + // // This implicitly assumes that the given para exists, i.e. it's lifecycle != None. - if FutureCodeHash::::contains_key(&id) { - return Err(Error::::CannotOffboard.into()) + if let Some(future_code_hash) = FutureCodeHash::::get(&id) { + let active_prechecking = PvfActiveVoteList::::get(); + if active_prechecking.contains(&future_code_hash) { + return Err(Error::::CannotOffboard.into()) + } } let lifecycle = ParaLifecycles::::get(&id); diff --git a/runtime/parachains/src/paras/tests.rs b/runtime/parachains/src/paras/tests.rs index 7944bf34715b..766fa00d01b3 100644 --- a/runtime/parachains/src/paras/tests.rs +++ b/runtime/parachains/src/paras/tests.rs @@ -772,9 +772,6 @@ fn full_parachain_cleanup_storage() { expected_at }; - // Cannot offboard while an upgrade is pending. - assert_err!(Paras::schedule_para_cleanup(para_id), Error::::CannotOffboard); - // Enact the upgrade. // // For that run to block #7 and submit a new head. @@ -820,6 +817,65 @@ fn full_parachain_cleanup_storage() { }); } +#[test] +fn cannot_offboard_ongoing_pvf_check() { + let para_id = ParaId::from(0); + + let existing_code: ValidationCode = vec![1, 2, 3].into(); + let new_code: ValidationCode = vec![3, 2, 1].into(); + + let paras = vec![( + para_id, + ParaGenesisArgs { + parachain: true, + genesis_head: Default::default(), + validation_code: existing_code, + }, + )]; + + let genesis_config = MockGenesisConfig { + paras: GenesisConfig { paras, ..Default::default() }, + configuration: crate::configuration::GenesisConfig { + config: HostConfiguration { pvf_checking_enabled: true, ..Default::default() }, + ..Default::default() + }, + ..Default::default() + }; + + new_test_ext(genesis_config).execute_with(|| { + run_to_block(2, Some(vec![1])); + + // Relay parent of the block that schedules the upgrade. + const RELAY_PARENT: BlockNumber = 1; + // Expected current session index. + const EXPECTED_SESSION: SessionIndex = 1; + + Paras::schedule_code_upgrade( + para_id, + new_code.clone(), + RELAY_PARENT, + &Configuration::config(), + ); + assert!(!Paras::pvfs_require_precheck().is_empty()); + + // Cannot offboard when there's an ongoing pvf-check voting. + assert_err!(Paras::schedule_para_cleanup(para_id), Error::::CannotOffboard); + + // Include votes for super-majority. + IntoIterator::into_iter([0, 1, 2, 3]) + .map(|i| PvfCheckStatement { + accept: true, + subject: new_code.hash(), + session_index: EXPECTED_SESSION, + validator_index: i.into(), + }) + .for_each(sign_and_include_pvf_check_statement); + + // Voting concluded, can offboard even though an upgrade is in progress. + assert_ok!(Paras::schedule_para_cleanup(para_id)); + }); +} + #[test] fn para_incoming_at_session() { let code_a = ValidationCode(vec![2]); From f7bf844553bfe819424611b4242956bc404906a7 Mon Sep 17 00:00:00 2001 From: Bernhard Schuster Date: Mon, 26 Sep 2022 22:11:36 +0200 Subject: [PATCH 014/211] [orchestra] fix: require the initialization with `F: FnOnce` to be `Send` (#6051) * add regression test for missing Send requirement * fix: require the initialization with `F: FnOnce` to be `Send` as well If creating intermediate variables of the builder type within a future, rustc will complain about the future not being send, while the thing itself isn't even using the closure based field initialization. Adding an additional bound, resolves this and pushes the error message "closer" to the user, and out of the generated code. * import fixins --- node/orchestra/examples/solo.rs | 37 +++++++++++-------- node/orchestra/proc-macro/src/impl_builder.rs | 6 +-- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/node/orchestra/examples/solo.rs b/node/orchestra/examples/solo.rs index 67ebc292e46d..cc82656759cd 100644 --- a/node/orchestra/examples/solo.rs +++ b/node/orchestra/examples/solo.rs @@ -46,24 +46,29 @@ impl Fortified { } } -fn main() { - use futures::{executor, pin_mut}; +async fn setup() { + let builder = Solo::builder(); + + let builder = builder.goblin_tower(Fortified::default()); + + let builder = builder.spawner(DummySpawner); + let (orchestra, _handle): (Solo<_>, _) = builder.build().unwrap(); - executor::block_on(async move { - let (orchestra, _handle): (Solo<_>, _) = Solo::builder() - .goblin_tower(Fortified::default()) - .spawner(DummySpawner) - .build() - .unwrap(); + let orchestra_fut = orchestra + .running_subsystems + .into_future() + .timeout(std::time::Duration::from_millis(300)) + .fuse(); - let orchestra_fut = orchestra - .running_subsystems - .into_future() - .timeout(std::time::Duration::from_millis(300)) - .fuse(); + futures::pin_mut!(orchestra_fut); - pin_mut!(orchestra_fut); + orchestra_fut.await; +} + +fn assert_t_impl_trait_send(_: &T) {} - orchestra_fut.await - }); +fn main() { + let x = setup(); + assert_t_impl_trait_send(&x); + futures::executor::block_on(x); } diff --git a/node/orchestra/proc-macro/src/impl_builder.rs b/node/orchestra/proc-macro/src/impl_builder.rs index 1be25d45b5e4..1a88dc926120 100644 --- a/node/orchestra/proc-macro/src/impl_builder.rs +++ b/node/orchestra/proc-macro/src/impl_builder.rs @@ -172,7 +172,7 @@ pub(crate) fn impl_builder(info: &OrchestraInfo) -> proc_macro2::TokenStream { pub fn #field_name_with<'a, F>(self, subsystem_init_fn: F ) -> #builder where - F: 'static + FnOnce(#handle) -> + F: 'static + Send + FnOnce(#handle) -> ::std::result::Result<#field_type, #error_ty>, { let boxed_func = Init::<#field_type>::Fn( @@ -206,7 +206,7 @@ pub(crate) fn impl_builder(info: &OrchestraInfo) -> proc_macro2::TokenStream { -> #builder where #field_type: 'static, - F: 'static + FnOnce(#field_type) -> NEW, + F: 'static + Send + FnOnce(#field_type) -> NEW, NEW: #support_crate ::Subsystem<#subsystem_ctx_name< #subsystem_consumes >, #error_ty>, { let replacement: Init = match self.#field_name { @@ -333,7 +333,7 @@ pub(crate) fn impl_builder(info: &OrchestraInfo) -> proc_macro2::TokenStream { let mut ts = quote! { /// Convenience alias. - type SubsystemInitFn = Box ::std::result::Result >; + type SubsystemInitFn = Box ::std::result::Result + Send + 'static>; /// Type for the initialized field of the orchestra builder pub enum Init { From e0a5f58b87fe607cafe28d4d7db40a27ea7f7bc9 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Mon, 26 Sep 2022 22:56:12 +0200 Subject: [PATCH 015/211] staking miner: CLI make request and connection timeout configurable (#6004) * staking miner: CLI request and connection timeout Make it possible to configure the `connection timeout` and `request timeout` via CLI flags. * cargo fmt --- utils/staking-miner/src/main.rs | 12 ++++++--- utils/staking-miner/src/opts.rs | 46 ++++++++++++++++++++++++++++++++- utils/staking-miner/src/rpc.rs | 13 +++++----- 3 files changed, 61 insertions(+), 10 deletions(-) diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 7a6a0b71dbcb..b10f87950445 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -57,7 +57,7 @@ use signal_hook::consts::signal::*; use signal_hook_tokio::Signals; use sp_npos_elections::BalancingConfig; use sp_runtime::{traits::Block as BlockT, DeserializeOwned}; -use std::{ops::Deref, sync::Arc}; +use std::{ops::Deref, sync::Arc, time::Duration}; use tracing_subscriber::{fmt, EnvFilter}; pub(crate) enum AnyRuntime { @@ -485,7 +485,7 @@ async fn handle_signals(mut signals: Signals) { async fn main() { fmt().with_env_filter(EnvFilter::from_default_env()).init(); - let Opt { uri, command } = Opt::parse(); + let Opt { uri, command, connection_timeout, request_timeout } = Opt::parse(); log::debug!(target: LOG_TARGET, "attempting to connect to {:?}", uri); let signals = Signals::new(&[SIGTERM, SIGINT, SIGQUIT]).expect("Failed initializing Signals"); @@ -493,7 +493,13 @@ async fn main() { let signals_task = tokio::spawn(handle_signals(signals)); let rpc = loop { - match SharedRpcClient::new(&uri).await { + match SharedRpcClient::new( + &uri, + Duration::from_secs(connection_timeout as u64), + Duration::from_secs(request_timeout as u64), + ) + .await + { Ok(client) => break client, Err(why) => { log::warn!( diff --git a/utils/staking-miner/src/opts.rs b/utils/staking-miner/src/opts.rs index 1e7b1f2ba294..f43744ad45e8 100644 --- a/utils/staking-miner/src/opts.rs +++ b/utils/staking-miner/src/opts.rs @@ -27,6 +27,14 @@ pub(crate) struct Opt { #[clap(long, short, default_value = DEFAULT_URI, env = "URI", global = true)] pub uri: String, + /// WS connection timeout in number of seconds. + #[clap(long, parse(try_from_str), default_value_t = 60)] + pub connection_timeout: usize, + + /// WS request timeout in number of seconds. + #[clap(long, parse(try_from_str), default_value_t = 60 * 10)] + pub request_timeout: usize, + #[clap(subcommand)] pub command: Command, } @@ -223,6 +231,8 @@ mod test_super { opt, Opt { uri: "hi".to_string(), + connection_timeout: 60, + request_timeout: 10 * 60, command: Command::Monitor(MonitorConfig { seed_or_path: "//Alice".to_string(), listen: "head".to_string(), @@ -251,6 +261,8 @@ mod test_super { opt, Opt { uri: "hi".to_string(), + connection_timeout: 60, + request_timeout: 10 * 60, command: Command::DryRun(DryRunConfig { seed_or_path: "//Alice".to_string(), at: None, @@ -279,6 +291,8 @@ mod test_super { opt, Opt { uri: "hi".to_string(), + connection_timeout: 60, + request_timeout: 10 * 60, command: Command::EmergencySolution(EmergencySolutionConfig { take: Some(99), at: None, @@ -294,7 +308,37 @@ mod test_super { assert_eq!( opt, - Opt { uri: "hi".to_string(), command: Command::Info(InfoOpts { json: false }) } + Opt { + uri: "hi".to_string(), + connection_timeout: 60, + request_timeout: 10 * 60, + command: Command::Info(InfoOpts { json: false }) + } + ); + } + + #[test] + fn cli_request_conn_timeout_works() { + let opt = Opt::try_parse_from([ + env!("CARGO_PKG_NAME"), + "--uri", + "hi", + "--request-timeout", + "10", + "--connection-timeout", + "9", + "info", + ]) + .unwrap(); + + assert_eq!( + opt, + Opt { + uri: "hi".to_string(), + connection_timeout: 9, + request_timeout: 10, + command: Command::Info(InfoOpts { json: false }) + } ); } diff --git a/utils/staking-miner/src/rpc.rs b/utils/staking-miner/src/rpc.rs index 4cf10f9ffef7..8929afcbe656 100644 --- a/utils/staking-miner/src/rpc.rs +++ b/utils/staking-miner/src/rpc.rs @@ -27,9 +27,6 @@ use sp_core::{storage::StorageKey, Bytes}; use sp_version::RuntimeVersion; use std::{future::Future, time::Duration}; -const MAX_CONNECTION_DURATION: Duration = Duration::from_secs(20); -const MAX_REQUEST_DURATION: Duration = Duration::from_secs(60); - #[derive(frame_support::DebugNoBound, thiserror::Error)] pub(crate) enum RpcHelperError { JsonRpsee(#[from] jsonrpsee::core::Error), @@ -125,11 +122,15 @@ impl SharedRpcClient { } /// Create a new shared JSON-RPC web-socket client. - pub(crate) async fn new(uri: &str) -> Result { + pub(crate) async fn new( + uri: &str, + connection_timeout: Duration, + request_timeout: Duration, + ) -> Result { let client = WsClientBuilder::default() - .connection_timeout(MAX_CONNECTION_DURATION) + .connection_timeout(connection_timeout) .max_request_body_size(u32::MAX) - .request_timeout(MAX_REQUEST_DURATION) + .request_timeout(request_timeout) .build(uri) .await?; Ok(Self(Arc::new(client))) From b5157a38792e5b65ae14501a348c9886468829d3 Mon Sep 17 00:00:00 2001 From: Andronik Date: Tue, 27 Sep 2022 10:48:49 +0200 Subject: [PATCH 016/211] make spellcheck green again (#6059) * make spellcheck green again * remove the comment * Fix a comment in `provisioner` Co-authored-by: Tsvetomir Dimitrov --- node/core/provisioner/src/disputes/mod.rs | 4 +- .../src/disputes/prioritized_selection/mod.rs | 22 +++----- .../src/disputes/random_selection/mod.rs | 2 +- node/primitives/src/disputes/status.rs | 2 +- node/subsystem-types/src/messages.rs | 2 +- primitives/src/runtime_api.rs | 56 +++++++++---------- .../parachains/src/runtime_api_impl/mod.rs | 16 +++--- 7 files changed, 49 insertions(+), 55 deletions(-) diff --git a/node/core/provisioner/src/disputes/mod.rs b/node/core/provisioner/src/disputes/mod.rs index 404e800702b1..bd19e101bb2e 100644 --- a/node/core/provisioner/src/disputes/mod.rs +++ b/node/core/provisioner/src/disputes/mod.rs @@ -17,8 +17,8 @@ //! The disputes module is responsible for selecting dispute votes to be sent with the inherent data. It contains two //! different implementations, extracted in two separate modules - `random_selection` and `prioritized_selection`. Which //! implementation will be executed depends on the version of the runtime. Runtime v2 supports `random_selection`. Runtime -//! v3 and above - `prioritized_selection`. The entrypoint to these implementations is the `select_disputes` function. -//! prioritized_selection` is considered superior and will be the default one in the future. Refer to the documentation of +//! `v3` and above - `prioritized_selection`. The entrypoint to these implementations is the `select_disputes` function. +//! `prioritized_selection` is considered superior and will be the default one in the future. Refer to the documentation of //! the modules for more details about each implementation. use crate::LOG_TARGET; diff --git a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs index 6582f0a612ff..07426ef1a75b 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs @@ -45,23 +45,17 @@ pub const MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME: usize = 200_000; #[cfg(test)] pub const MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME: usize = 200; -/// Controls how much dispute votes to be fetched from the runtime per iteration in `fn vote_selection`. -/// The purpose is to fetch the votes in batches until `MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME` is -/// reached. This value should definitely be less than `MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME`. +/// Controls how much dispute votes to be fetched from the `dispute-coordinator` per iteration in +/// `fn vote_selection`. The purpose is to fetch the votes in batches until +/// `MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME` is reached. If all votes are fetched in single call +/// we might fetch votes which we never use. This will create unnecessary load on `dispute-coordinator`. /// -/// The ratio `MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME` / `VOTES_SELECTION_BATCH_SIZE` gives an -/// approximation about how many runtime requests will be issued to fetch votes from the runtime in -/// a single `select_disputes` call. Ideally we don't want to make more than 2-3 calls. In practice -/// it's hard to predict this number because we can't guess how many new votes (for the runtime) a -/// batch will contain. -/// -/// The value below is reached by: `MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME` / 2 + 10% -/// The 10% makes approximately means '10% new votes'. Tweak this if provisioner makes excessive -/// number of runtime calls. +/// This value should be less than `MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME`. Increase it in case +/// `provisioner` sends too many `QueryCandidateVotes` messages to `dispite-coordinator`. #[cfg(not(test))] const VOTES_SELECTION_BATCH_SIZE: usize = 1_100; #[cfg(test)] -const VOTES_SELECTION_BATCH_SIZE: usize = 11; // Just a small value for tests. Doesn't follow the rules above +const VOTES_SELECTION_BATCH_SIZE: usize = 11; /// Implements the `select_disputes` function which selects dispute votes which should /// be sent to the Runtime. @@ -89,7 +83,7 @@ const VOTES_SELECTION_BATCH_SIZE: usize = 11; // Just a small value for tests. D /// /// The logic outlined above relies on `RuntimeApiRequest::Disputes` message from the Runtime. The user /// check the Runtime version before calling `select_disputes`. If the function is used with old runtime -/// an error is logged and the logic will continue with empty onchain votes HashMap. +/// an error is logged and the logic will continue with empty onchain votes `HashMap`. pub async fn select_disputes( sender: &mut Sender, metrics: &metrics::Metrics, diff --git a/node/core/provisioner/src/disputes/random_selection/mod.rs b/node/core/provisioner/src/disputes/random_selection/mod.rs index 7af025700bae..a25d3445ac6e 100644 --- a/node/core/provisioner/src/disputes/random_selection/mod.rs +++ b/node/core/provisioner/src/disputes/random_selection/mod.rs @@ -15,7 +15,7 @@ // along with Polkadot. If not, see . //! This module selects all RECENT disputes, fetches the votes for them from dispute-coordinator and -//! returns them as MultiDisputeStatementSet. If the RECENT disputes are more than +//! returns them as `MultiDisputeStatementSet`. If the RECENT disputes are more than //! `MAX_DISPUTES_FORWARDED_TO_RUNTIME` constant - the ACTIVE disputes plus a random selection of //! RECENT disputes (up to `MAX_DISPUTES_FORWARDED_TO_RUNTIME`) are returned instead. //! If the ACTIVE disputes are also above `MAX_DISPUTES_FORWARDED_TO_RUNTIME` limit - a random selection diff --git a/node/primitives/src/disputes/status.rs b/node/primitives/src/disputes/status.rs index 44aed9b78e20..c0ffb907423b 100644 --- a/node/primitives/src/disputes/status.rs +++ b/node/primitives/src/disputes/status.rs @@ -117,7 +117,7 @@ impl DisputeStatus { /// disputes. pub const ACTIVE_DURATION_SECS: Timestamp = 180; -/// Returns true if the dispute has concluded for longer than ACTIVE_DURATION_SECS +/// Returns true if the dispute has concluded for longer than [`ACTIVE_DURATION_SECS`]. pub fn dispute_is_inactive(status: &DisputeStatus, now: &Timestamp) -> bool { let at = status.concluded_at(); diff --git a/node/subsystem-types/src/messages.rs b/node/subsystem-types/src/messages.rs index c37f773b3839..17b47e507c27 100644 --- a/node/subsystem-types/src/messages.rs +++ b/node/subsystem-types/src/messages.rs @@ -699,7 +699,7 @@ pub enum RuntimeApiRequest { OccupiedCoreAssumption, RuntimeApiSender>, ), - /// Returns all on-chain disputes at given block number. Available in v3. + /// Returns all on-chain disputes at given block number. Available in `v3`. Disputes(RuntimeApiSender)>>), } diff --git a/primitives/src/runtime_api.rs b/primitives/src/runtime_api.rs index d0d0b7220bb9..2f6793d22032 100644 --- a/primitives/src/runtime_api.rs +++ b/primitives/src/runtime_api.rs @@ -21,18 +21,18 @@ //! (which is versioned) or they can be staging (aka unstable/testing //! functions). //! -//! The separation outlined above is achieved with the versioned api feature +//! The separation outlined above is achieved with the versioned API feature //! of `decl_runtime_apis!` and `impl_runtime_apis!`. Before moving on let's -//! see a quick example about how api versioning works. +//! see a quick example about how API versioning works. //! -//! # Runtime api versioning crash course +//! # Runtime API versioning crash course //! //! The versioning is achieved with the `api_version` attribute. It can be //! placed on: -//! * trait declaration - represents the base version of the api. +//! * trait declaration - represents the base version of the API. //! * method declaration (inside a trait declaration) - represents a versioned //! method, which is not available in the base version. -//! * trait implementation - represents which version of the api is being +//! * trait implementation - represents which version of the API is being //! implemented. //! //! Let's see a quick example: @@ -61,53 +61,53 @@ //! } //! } //! ``` -//! A new api named `MyApi` is declared with `decl_runtime_apis!`. The trait declaration +//! A new API named `MyApi` is declared with `decl_runtime_apis!`. The trait declaration //! has got an `api_version` attribute which represents its base version - 2 in this case. //! -//! The api has got three methods - `fn1`, `fn2`, `fn3` and `fn4`. `fn3` and `fn4` has got +//! The API has got three methods - `fn1`, `fn2`, `fn3` and `fn4`. `fn3` and `fn4` has got //! an `api_version` attribute which makes them versioned methods. These methods do not exist -//! in the base version of the api. Behind the scenes the declaration above creates three -//! runtime apis: -//! * MyApiV2 with `fn1` and `fn2` -//! * MyApiV3 with `fn1`, `fn2` and `fn3`. -//! * MyApiV4 with `fn1`, `fn2`, `fn3` and `fn4`. +//! in the base version of the API. Behind the scenes the declaration above creates three +//! runtime APIs: +//! * `MyApiV2` with `fn1` and `fn2` +//! * `MyApiV3` with `fn1`, `fn2` and `fn3`. +//! * `MyApiV4` with `fn1`, `fn2`, `fn3` and `fn4`. //! -//! Please note that v4 contains all methods from v3, v3 all methods from v2 and so on. +//! Please note that `v4` contains all methods from `v3`, `v3` all methods from `v2` and so on. //! -//! Back to our example. At the end runtime api is implemented for `struct Runtime` with -//! `impl_runtime_apis` macro. `api_version` attribute is attached to the impl block which +//! Back to our example. At the end runtime API is implemented for `struct Runtime` with +//! `impl_runtime_apis` macro. `api_version` attribute is attached to the `impl` block which //! means that a version different from the base one is being implemented - in our case this -//! is v3. +//! is `v3`. //! -//! This version of the api contains three methods so the `impl` block has got definitions -//! for them. Note that `fn4` is not implemented as it is not part of this version of the api. +//! This version of the API contains three methods so the `impl` block has got definitions +//! for them. Note that `fn4` is not implemented as it is not part of this version of the API. //! `impl_runtime_apis` generates a default implementation for it calling `unimplemented!()`. //! //! Hopefully this should be all you need to know in order to use versioned methods in the node. -//! For more details about how the api versioning works refer to `spi_api` +//! For more details about how the API versioning works refer to `spi_api` //! documentation [here](https://docs.substrate.io/rustdocs/latest/sp_api/macro.decl_runtime_apis.html). //! //! # How versioned methods are used for `ParachainHost` //! -//! Let's introduce two types of `ParachainHost` api implementation: +//! Let's introduce two types of `ParachainHost` API implementation: //! * stable - used on stable production networks like Polkadot and Kusama. There is only one -//! stable api at a single point in time. +//! stable API at a single point in time. //! * staging - used on test networks like Westend or Rococo. Depending on the development needs -//! there can be zero, one or multiple staging apis. +//! there can be zero, one or multiple staging APIs. //! -//! The stable version of `ParachainHost` is indicated by the base version of the api. Any staging +//! The stable version of `ParachainHost` is indicated by the base version of the API. Any staging //! method must use `api_version` attribute so that it is assigned to a specific version of a -//! staging api. This way in a single declaration one can see what's the stable version of +//! staging API. This way in a single declaration one can see what's the stable version of //! `ParachainHost` and what staging versions/functions are available. //! -//! All stable api functions should use primitives from the latest version. -//! In the time of writing of this document - this is v2. So for example: +//! All stable API functions should use primitives from the latest version. +//! In the time of writing of this document - this is `v2`. So for example: //! ```ignore //! fn validators() -> Vec; //! ``` -//! indicates a function from the stable v2 API. +//! indicates a function from the stable `v2` API. //! -//! All staging api functions should use primitives from vstaging. They should be clearly separated +//! All staging API functions should use primitives from `vstaging`. They should be clearly separated //! from the stable primitives. use crate::v2; diff --git a/runtime/parachains/src/runtime_api_impl/mod.rs b/runtime/parachains/src/runtime_api_impl/mod.rs index c045b4747868..da1cd6d09337 100644 --- a/runtime/parachains/src/runtime_api_impl/mod.rs +++ b/runtime/parachains/src/runtime_api_impl/mod.rs @@ -17,14 +17,14 @@ //! Runtime API implementations for Parachains. //! //! These are exposed as different modules using different sets of primitives. -//! At the moment there is a v2 module for the current stable api and -//! vstaging module for all staging methods. -//! When new version of the stable api is released it will be based on v2 and -//! will contain methods from vstaging. +//! At the moment there is a `v2` module for the current stable API and +//! `vstaging` module for all staging methods. +//! When new version of the stable API is released it will be based on `v2` and +//! will contain methods from `vstaging`. //! The promotion consists of the following steps: -//! 1. Bump the version of the stable module (e.g. v2 becomes v3) -//! 2. Move methods from vstaging to v3. The new stable version should include -//! all methods from vstaging tagged with the new version number (e.g. all -//! v3 methods). +//! 1. Bump the version of the stable module (e.g. `v2` becomes `v3`) +//! 2. Move methods from `vstaging` to `v3`. The new stable version should include +//! all methods from `vstaging` tagged with the new version number (e.g. all +//! `v3` methods). pub mod v2; pub mod vstaging; From 6b67d8654d11c1edbced73cb9f98e39d953b2900 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 10:55:17 +0200 Subject: [PATCH 017/211] Bump bytes from 1.1.0 to 1.2.1 (#6017) Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.1.0 to 1.2.1. - [Release notes](https://github.com/tokio-rs/bytes/releases) - [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.1) --- updated-dependencies: - dependency-name: bytes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 92fe829400a5..486c04dcc3da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -740,9 +740,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.1.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4872d67bab6358e59559027aa3b9157c53d9358c51423c17554809a8858e0f8" +checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" [[package]] name = "bzip2-sys" From 1cbab5a698eb65675f8cbb7632033716159fe741 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Tue, 27 Sep 2022 13:50:40 +0200 Subject: [PATCH 018/211] Remove executed runtime migrations (nompools MigrateToV3, InitiateNominationPools) (#6056) --- runtime/kusama/src/lib.rs | 1 - runtime/polkadot/src/lib.rs | 2 -- runtime/westend/src/lib.rs | 1 - 3 files changed, 4 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 05e6951b839f..0452c92a37f6 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1455,7 +1455,6 @@ pub type Executive = frame_executive::Executive< Runtime, AllPalletsWithSystem, ( - pallet_nomination_pools::migration::v3::MigrateToV3, pallet_staking::migrations::v11::MigrateToV11< Runtime, VoterList, diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index fed91496df5c..aa32eb599287 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1537,8 +1537,6 @@ pub type Executive = frame_executive::Executive< Runtime, AllPalletsWithSystem, ( - InitiateNominationPools, - pallet_nomination_pools::migration::v3::MigrateToV3, pallet_staking::migrations::v11::MigrateToV11< Runtime, VoterList, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 0d739b6ed026..8f1bf6246d3b 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1200,7 +1200,6 @@ pub type Executive = frame_executive::Executive< VoterList, StakingMigrationV11OldPallet, >, - pallet_nomination_pools::migration::v3::MigrateToV3, pallet_staking::migrations::v12::MigrateToV12, ), >; From c620450de80f76e15a735a0d13efe4540d3053a0 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Wed, 28 Sep 2022 10:39:38 +0100 Subject: [PATCH 019/211] add fast-unstsake pallet to all runtimes (#6050) * add fast-unstsake pallet to all runtimes * ".git/.scripts/fmt.sh" 1 * ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_fast_unstake * ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_fast_unstake * fix up all the weight stuff * update substrate * update mistake in kusama * add stub file * Update runtime/polkadot/src/lib.rs Co-authored-by: Nitwit <47109040+BustaNit@users.noreply.github.com> * Update runtime/westend/src/lib.rs Co-authored-by: Nitwit <47109040+BustaNit@users.noreply.github.com> * cargo update -p sp-io * add signed extension as well * Revert "add signed extension as well" This reverts commit deb936fe5a9a13a62d02757045b1dfa40dccb190. * cargo update -p sp-io * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_fast_unstake * ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_fast_unstake * update sub * integrate latest substrate changes * ".git/.scripts/fmt.sh" 1 * ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_fast_unstake Co-authored-by: command-bot <> Co-authored-by: Nitwit <47109040+BustaNit@users.noreply.github.com> --- Cargo.lock | 370 ++++++++++-------- runtime/kusama/Cargo.toml | 4 + runtime/kusama/src/lib.rs | 22 +- runtime/kusama/src/weights/mod.rs | 1 + .../kusama/src/weights/pallet_fast_unstake.rs | 114 ++++++ runtime/polkadot/Cargo.toml | 4 + runtime/polkadot/src/lib.rs | 24 +- runtime/polkadot/src/weights/mod.rs | 1 + .../src/weights/pallet_fast_unstake.rs | 114 ++++++ runtime/westend/Cargo.toml | 4 + runtime/westend/src/lib.rs | 19 +- runtime/westend/src/weights/mod.rs | 1 + .../src/weights/pallet_fast_unstake.rs | 116 ++++++ 13 files changed, 614 insertions(+), 180 deletions(-) create mode 100644 runtime/kusama/src/weights/pallet_fast_unstake.rs create mode 100644 runtime/polkadot/src/weights/pallet_fast_unstake.rs create mode 100644 runtime/westend/src/weights/pallet_fast_unstake.rs diff --git a/Cargo.lock b/Cargo.lock index 486c04dcc3da..85627e65e292 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "beefy-primitives", "sp-api", @@ -501,7 +501,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -1998,7 +1998,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", ] @@ -2016,7 +2016,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -2039,7 +2039,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "Inflector", "array-bytes", @@ -2090,7 +2090,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "bitflags", "frame-metadata", @@ -2178,7 +2178,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "Inflector", "cfg-expr", @@ -2192,7 +2192,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro2", "quote", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2237,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "log", @@ -2266,7 +2266,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "sp-api", @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "parity-scale-codec", @@ -2473,7 +2473,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "chrono", "frame-election-provider-support", @@ -3228,6 +3228,7 @@ dependencies = [ "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", + "pallet-fast-unstake", "pallet-gilt", "pallet-grandpa", "pallet-identity", @@ -4831,7 +4832,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -4845,7 +4846,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -4861,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -4876,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -4900,7 +4901,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4920,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4939,7 +4940,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -4954,7 +4955,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "beefy-primitives", "frame-support", @@ -4970,7 +4971,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4993,7 +4994,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5012,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5030,7 +5031,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5047,7 +5048,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5063,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5087,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5100,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5115,10 +5116,31 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-fast-unstake" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +dependencies = [ + "frame-benchmarking", + "frame-election-provider-support", + "frame-support", + "frame-system", + "log", + "pallet-balances", + "pallet-staking", + "pallet-timestamp", + "parity-scale-codec", + "scale-info", + "sp-io", + "sp-runtime", + "sp-staking", + "sp-std", +] + [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5133,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5156,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5172,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5192,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5231,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5226,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5244,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5259,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5274,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -5291,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5311,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "sp-api", @@ -5321,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -5338,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5361,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5377,7 +5399,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5392,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5407,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5423,7 +5445,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -5444,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5460,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -5474,7 +5496,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5497,7 +5519,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5508,7 +5530,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "sp-arithmetic", @@ -5517,7 +5539,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -5531,7 +5553,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5549,7 +5571,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5568,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-support", "frame-system", @@ -5584,7 +5606,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5599,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5610,7 +5632,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5627,7 +5649,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -5643,7 +5665,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-benchmarking", "frame-support", @@ -6999,6 +7021,7 @@ dependencies = [ "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", + "pallet-fast-unstake", "pallet-grandpa", "pallet-identity", "pallet-im-online", @@ -8174,7 +8197,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8522,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "sp-core", @@ -8533,7 +8556,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "futures", @@ -8560,7 +8583,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "futures-timer", @@ -8583,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8599,7 +8622,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8616,7 +8639,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8627,7 +8650,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "chrono", @@ -8667,7 +8690,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "fnv", "futures", @@ -8695,7 +8718,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "hash-db", "kvdb", @@ -8720,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "futures", @@ -8744,7 +8767,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "fork-tree", @@ -8786,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "jsonrpsee", @@ -8808,7 +8831,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8821,7 +8844,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "futures", @@ -8845,7 +8868,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8872,7 +8895,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "environmental", "parity-scale-codec", @@ -8888,7 +8911,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "parity-scale-codec", @@ -8903,7 +8926,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8923,7 +8946,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "ahash", "array-bytes", @@ -8964,7 +8987,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "finality-grandpa", "futures", @@ -8985,7 +9008,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "ansi_term", "futures", @@ -9002,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "async-trait", @@ -9017,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "async-trait", @@ -9064,7 +9087,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "cid", "futures", @@ -9084,7 +9107,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "bitflags", @@ -9110,7 +9133,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "ahash", "futures", @@ -9128,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "futures", @@ -9149,7 +9172,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "fork-tree", @@ -9177,7 +9200,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "futures", @@ -9196,7 +9219,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "bytes", @@ -9226,7 +9249,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "libp2p", @@ -9239,7 +9262,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9248,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "hash-db", @@ -9278,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "jsonrpsee", @@ -9301,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "jsonrpsee", @@ -9314,7 +9337,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "directories", @@ -9384,7 +9407,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "parity-scale-codec", @@ -9398,7 +9421,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9417,7 +9440,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "libc", @@ -9436,7 +9459,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "chrono", "futures", @@ -9454,7 +9477,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "ansi_term", "atty", @@ -9485,7 +9508,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9496,7 +9519,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "futures-timer", @@ -9522,7 +9545,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "log", @@ -9535,7 +9558,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "futures-timer", @@ -10021,7 +10044,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "hash-db", "log", @@ -10039,7 +10062,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "blake2", "proc-macro-crate", @@ -10051,7 +10074,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -10064,7 +10087,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "integer-sqrt", "num-traits", @@ -10079,7 +10102,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -10092,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "parity-scale-codec", @@ -10104,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "sp-api", @@ -10116,7 +10139,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "log", @@ -10134,7 +10157,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "futures", @@ -10153,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "merlin", @@ -10176,7 +10199,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -10190,7 +10213,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -10203,7 +10226,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "base58", @@ -10249,7 +10272,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "blake2", "byteorder", @@ -10263,7 +10286,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro2", "quote", @@ -10274,7 +10297,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10283,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro2", "quote", @@ -10293,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "environmental", "parity-scale-codec", @@ -10304,7 +10327,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "finality-grandpa", "log", @@ -10322,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10336,7 +10359,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "bytes", "futures", @@ -10362,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "lazy_static", "sp-core", @@ -10373,7 +10396,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "futures", @@ -10390,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "thiserror", "zstd", @@ -10399,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "parity-scale-codec", @@ -10414,7 +10437,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -10428,7 +10451,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "sp-api", "sp-core", @@ -10438,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "backtrace", "lazy_static", @@ -10448,7 +10471,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "rustc-hash", "serde", @@ -10458,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "either", "hash256-std-hasher", @@ -10481,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10499,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "Inflector", "proc-macro-crate", @@ -10511,7 +10534,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "parity-scale-codec", @@ -10525,7 +10548,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -10539,7 +10562,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "scale-info", @@ -10550,7 +10573,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "hash-db", "log", @@ -10572,12 +10595,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10590,7 +10613,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "log", "sp-core", @@ -10603,7 +10626,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "futures-timer", @@ -10619,7 +10642,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "sp-std", @@ -10631,7 +10654,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "sp-api", "sp-runtime", @@ -10640,7 +10663,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "async-trait", "log", @@ -10656,7 +10679,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "ahash", "hash-db", @@ -10679,7 +10702,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10696,7 +10719,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10707,7 +10730,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "impl-trait-for-tuples", "log", @@ -10720,7 +10743,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10935,7 +10958,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "platforms", ] @@ -10943,7 +10966,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10964,7 +10987,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures-util", "hyper", @@ -10977,7 +11000,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "jsonrpsee", "log", @@ -10998,7 +11021,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "array-bytes", "async-trait", @@ -11024,7 +11047,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11034,7 +11057,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11045,7 +11068,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "ansi_term", "build-helper", @@ -11759,7 +11782,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f360c87073cb5f59b7b55cfbfef5d91a40d1a217" +source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" dependencies = [ "clap", "frame-try-runtime", @@ -12424,6 +12447,7 @@ dependencies = [ "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", + "pallet-fast-unstake", "pallet-grandpa", "pallet-identity", "pallet-im-online", diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 21628e6b2582..9eddf926cde0 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -50,6 +50,7 @@ pallet-collective = { git = "https://github.com/paritytech/substrate", branch = pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-fast-unstake = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-gilt = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -143,6 +144,7 @@ std = [ "pallet-collective/std", "pallet-elections-phragmen/std", "pallet-election-provider-multi-phase/std", + "pallet-fast-unstake/std", "pallet-democracy/std", "pallet-gilt/std", "pallet-grandpa/std", @@ -206,6 +208,7 @@ runtime-benchmarks = [ "pallet-elections-phragmen/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", "pallet-election-provider-support-benchmarking/runtime-benchmarks", + "pallet-fast-unstake/runtime-benchmarks", "pallet-gilt/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", @@ -251,6 +254,7 @@ try-runtime = [ "pallet-collective/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-election-provider-multi-phase/try-runtime", + "pallet-fast-unstake/try-runtime", "pallet-democracy/try-runtime", "pallet-gilt/try-runtime", "pallet-grandpa/try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 0452c92a37f6..bbd221749c75 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -621,6 +621,17 @@ impl pallet_staking::Config for Runtime { type WeightInfo = weights::pallet_staking::WeightInfo; } +impl pallet_fast_unstake::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type DepositCurrency = Balances; + type Deposit = frame_support::traits::ConstU128<{ CENTS * 100 }>; + type ControlOrigin = EitherOfDiverse< + EnsureRoot, + pallet_collective::EnsureProportionAtLeast, + >; + type WeightInfo = weights::pallet_fast_unstake::WeightInfo; +} + parameter_types! { pub const ProposalBond: Permill = Permill::from_percent(5); pub const ProposalBondMinimum: Balance = 2000 * CENTS; @@ -1045,7 +1056,8 @@ impl InstanceFilter for ProxyType { RuntimeCall::Slots(..) | RuntimeCall::Auctions(..) | // Specifically omitting the entire XCM Pallet RuntimeCall::VoterList(..) | - RuntimeCall::NominationPools(..) + RuntimeCall::NominationPools(..) | + RuntimeCall::FastUnstake(..) ), ProxyType::Governance => matches!( @@ -1061,7 +1073,9 @@ impl InstanceFilter for ProxyType { ProxyType::Staking => { matches!( c, - RuntimeCall::Staking(..) | RuntimeCall::Session(..) | RuntimeCall::Utility(..) + RuntimeCall::Staking(..) | + RuntimeCall::Session(..) | RuntimeCall::Utility(..) | + RuntimeCall::FastUnstake(..) ) }, ProxyType::IdentityJudgement => matches!( @@ -1389,6 +1403,9 @@ construct_runtime! { // nomination pools: extension to staking. NominationPools: pallet_nomination_pools::{Pallet, Call, Storage, Event, Config} = 41, + // Fast unstake pallet: extension to staking. + FastUnstake: pallet_fast_unstake = 42, + // Parachains pallets. Start indices at 50 to leave room. ParachainsOrigin: parachains_origin::{Pallet, Origin} = 50, Configuration: parachains_configuration::{Pallet, Call, Storage, Config} = 51, @@ -1500,6 +1517,7 @@ mod benches { [pallet_elections_phragmen, PhragmenElection] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] [frame_election_provider_support, ElectionProviderBench::] + [pallet_fast_unstake, FastUnstake] [pallet_gilt, Gilt] [pallet_identity, Identity] [pallet_im_online, ImOnline] diff --git a/runtime/kusama/src/weights/mod.rs b/runtime/kusama/src/weights/mod.rs index 165f068a4b1c..4f8eb7d453d2 100644 --- a/runtime/kusama/src/weights/mod.rs +++ b/runtime/kusama/src/weights/mod.rs @@ -26,6 +26,7 @@ pub mod pallet_collective_technical_committee; pub mod pallet_democracy; pub mod pallet_election_provider_multi_phase; pub mod pallet_elections_phragmen; +pub mod pallet_fast_unstake; pub mod pallet_gilt; pub mod pallet_identity; pub mod pallet_im_online; diff --git a/runtime/kusama/src/weights/pallet_fast_unstake.rs b/runtime/kusama/src/weights/pallet_fast_unstake.rs new file mode 100644 index 000000000000..b7b6008fcc7e --- /dev/null +++ b/runtime/kusama/src/weights/pallet_fast_unstake.rs @@ -0,0 +1,114 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_fast_unstake` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_fast_unstake +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_fast_unstake`. +pub struct WeightInfo(PhantomData); +impl pallet_fast_unstake::WeightInfo for WeightInfo { + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking ValidatorCount (r:1 w:0) + // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) + // Storage: FastUnstake Head (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking SlashingSpans (r:1 w:0) + // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Validators (r:1 w:0) + // Storage: Staking Nominators (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: Staking Ledger (r:0 w:1) + // Storage: Staking Payee (r:0 w:1) + fn on_idle_unstake() -> Weight { + Weight::from_ref_time(64_798_000 as u64) + .saturating_add(T::DbWeight::get().reads(11 as u64)) + .saturating_add(T::DbWeight::get().writes(6 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking ValidatorCount (r:1 w:0) + // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) + // Storage: FastUnstake Head (r:1 w:1) + // Storage: FastUnstake Queue (r:2 w:1) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking ErasStakers (r:56 w:0) + /// The range of component `x` is `[28, 3584]`. + fn on_idle_check(x: u32, ) -> Weight { + Weight::from_ref_time(412_389_000 as u64) + // Standard Error: 10_902 + .saturating_add(Weight::from_ref_time(10_950_753 as u64).saturating_mul(x as u64)) + .saturating_add(T::DbWeight::get().reads(64 as u64)) + .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64))) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Staking Ledger (r:1 w:1) + // Storage: FastUnstake Queue (r:1 w:1) + // Storage: FastUnstake Head (r:1 w:0) + // Storage: Staking Validators (r:1 w:0) + // Storage: Staking Nominators (r:1 w:1) + // Storage: Staking CounterForNominators (r:1 w:1) + // Storage: VoterList ListNodes (r:1 w:1) + // Storage: VoterList ListBags (r:1 w:1) + // Storage: VoterList CounterForListNodes (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + fn register_fast_unstake() -> Weight { + Weight::from_ref_time(84_738_000 as u64) + .saturating_add(T::DbWeight::get().reads(12 as u64)) + .saturating_add(T::DbWeight::get().writes(9 as u64)) + } + // Storage: Staking Ledger (r:1 w:0) + // Storage: FastUnstake Queue (r:1 w:1) + // Storage: FastUnstake Head (r:1 w:0) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + fn deregister() -> Weight { + Weight::from_ref_time(23_369_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1) + fn control() -> Weight { + Weight::from_ref_time(3_991_000 as u64) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } +} diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 5af4c033073b..dddfd3a7b63c 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -47,6 +47,7 @@ pallet-collective = { git = "https://github.com/paritytech/substrate", branch = pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-fast-unstake = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -139,6 +140,7 @@ std = [ "pallet-elections-phragmen/std", "pallet-election-provider-multi-phase/std", "pallet-democracy/std", + "pallet-fast-unstake/std", "pallet-grandpa/std", "pallet-identity/std", "pallet-im-online/std", @@ -194,6 +196,7 @@ runtime-benchmarks = [ "pallet-elections-phragmen/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", "pallet-election-provider-support-benchmarking/runtime-benchmarks", + "pallet-fast-unstake/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", @@ -237,6 +240,7 @@ try-runtime = [ "pallet-collective/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-election-provider-multi-phase/try-runtime", + "pallet-fast-unstake/try-runtime", "pallet-democracy/try-runtime", "pallet-grandpa/try-runtime", "pallet-identity/try-runtime", diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index aa32eb599287..6abf57de9edf 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -566,6 +566,17 @@ impl pallet_staking::Config for Runtime { type WeightInfo = weights::pallet_staking::WeightInfo; } +impl pallet_fast_unstake::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type DepositCurrency = Balances; + type Deposit = frame_support::traits::ConstU128<{ UNITS }>; + type ControlOrigin = EitherOfDiverse< + EnsureRoot, + pallet_collective::EnsureProportionAtLeast, + >; + type WeightInfo = weights::pallet_fast_unstake::WeightInfo; +} + parameter_types! { // Minimum 4 CENTS/byte pub const BasicDeposit: Balance = deposit(1, 258); @@ -1133,7 +1144,8 @@ impl InstanceFilter for ProxyType { RuntimeCall::Slots(..) | RuntimeCall::Auctions(..) | // Specifically omitting the entire XCM Pallet RuntimeCall::VoterList(..) | - RuntimeCall::NominationPools(..) + RuntimeCall::NominationPools(..) | + RuntimeCall::FastUnstake(..) ), ProxyType::Governance => matches!( @@ -1149,7 +1161,9 @@ impl InstanceFilter for ProxyType { ProxyType::Staking => { matches!( c, - RuntimeCall::Staking(..) | RuntimeCall::Session(..) | RuntimeCall::Utility(..) + RuntimeCall::Staking(..) | + RuntimeCall::Session(..) | RuntimeCall::Utility(..) | + RuntimeCall::FastUnstake(..) ) }, ProxyType::IdentityJudgement => matches!( @@ -1467,9 +1481,12 @@ construct_runtime! { // Provides a semi-sorted list of nominators for staking. VoterList: pallet_bags_list::::{Pallet, Call, Storage, Event} = 37, - // nomination pools: extension to staking. + // Nomination pools: extension to staking. NominationPools: pallet_nomination_pools::{Pallet, Call, Storage, Event, Config} = 39, + // Fast unstake pallet: extension to staking. + FastUnstake: pallet_fast_unstake = 40, + // Parachains pallets. Start indices at 50 to leave room. ParachainsOrigin: parachains_origin::{Pallet, Origin} = 50, Configuration: parachains_configuration::{Pallet, Call, Storage, Config} = 51, @@ -1582,6 +1599,7 @@ mod benches { [pallet_elections_phragmen, PhragmenElection] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] [frame_election_provider_support, ElectionProviderBench::] + [pallet_fast_unstake, FastUnstake] [pallet_identity, Identity] [pallet_im_online, ImOnline] [pallet_indices, Indices] diff --git a/runtime/polkadot/src/weights/mod.rs b/runtime/polkadot/src/weights/mod.rs index 9435ef0c2e0e..cef1ce83bd11 100644 --- a/runtime/polkadot/src/weights/mod.rs +++ b/runtime/polkadot/src/weights/mod.rs @@ -26,6 +26,7 @@ pub mod pallet_collective_technical_committee; pub mod pallet_democracy; pub mod pallet_election_provider_multi_phase; pub mod pallet_elections_phragmen; +pub mod pallet_fast_unstake; pub mod pallet_identity; pub mod pallet_im_online; pub mod pallet_indices; diff --git a/runtime/polkadot/src/weights/pallet_fast_unstake.rs b/runtime/polkadot/src/weights/pallet_fast_unstake.rs new file mode 100644 index 000000000000..8752534c8a30 --- /dev/null +++ b/runtime/polkadot/src/weights/pallet_fast_unstake.rs @@ -0,0 +1,114 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_fast_unstake` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_fast_unstake +// --chain=polkadot-dev +// --header=./file_header.txt +// --output=./runtime/polkadot/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_fast_unstake`. +pub struct WeightInfo(PhantomData); +impl pallet_fast_unstake::WeightInfo for WeightInfo { + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking ValidatorCount (r:1 w:0) + // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) + // Storage: FastUnstake Head (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking SlashingSpans (r:1 w:0) + // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Validators (r:1 w:0) + // Storage: Staking Nominators (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: Staking Ledger (r:0 w:1) + // Storage: Staking Payee (r:0 w:1) + fn on_idle_unstake() -> Weight { + Weight::from_ref_time(67_082_000 as u64) + .saturating_add(T::DbWeight::get().reads(11 as u64)) + .saturating_add(T::DbWeight::get().writes(6 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking ValidatorCount (r:1 w:0) + // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) + // Storage: FastUnstake Head (r:1 w:1) + // Storage: FastUnstake Queue (r:2 w:1) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking ErasStakers (r:56 w:0) + /// The range of component `x` is `[28, 3584]`. + fn on_idle_check(x: u32, ) -> Weight { + Weight::from_ref_time(504_317_000 as u64) + // Standard Error: 18_023 + .saturating_add(Weight::from_ref_time(14_203_535 as u64).saturating_mul(x as u64)) + .saturating_add(T::DbWeight::get().reads(64 as u64)) + .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64))) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Staking Ledger (r:1 w:1) + // Storage: FastUnstake Queue (r:1 w:1) + // Storage: FastUnstake Head (r:1 w:0) + // Storage: Staking Validators (r:1 w:0) + // Storage: Staking Nominators (r:1 w:1) + // Storage: Staking CounterForNominators (r:1 w:1) + // Storage: VoterList ListNodes (r:2 w:2) + // Storage: VoterList ListBags (r:1 w:1) + // Storage: VoterList CounterForListNodes (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + fn register_fast_unstake() -> Weight { + Weight::from_ref_time(90_682_000 as u64) + .saturating_add(T::DbWeight::get().reads(13 as u64)) + .saturating_add(T::DbWeight::get().writes(10 as u64)) + } + // Storage: Staking Ledger (r:1 w:0) + // Storage: FastUnstake Queue (r:1 w:1) + // Storage: FastUnstake Head (r:1 w:0) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + fn deregister() -> Weight { + Weight::from_ref_time(23_926_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1) + fn control() -> Weight { + Weight::from_ref_time(3_899_000 as u64) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } +} diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 92ec42bfc98d..45a75e86f4ce 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -48,6 +48,7 @@ pallet-collective = { git = "https://github.com/paritytech/substrate", branch = pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-elections-phragmen = { package = "pallet-elections-phragmen", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-fast-unstake = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -135,6 +136,7 @@ std = [ "pallet-collective/std", "pallet-elections-phragmen/std", "pallet-election-provider-multi-phase/std", + "pallet-fast-unstake/std", "pallet-democracy/std", "pallet-grandpa/std", "pallet-identity/std", @@ -196,6 +198,7 @@ runtime-benchmarks = [ "pallet-elections-phragmen/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", "pallet-election-provider-support-benchmarking/runtime-benchmarks", + "pallet-fast-unstake/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", @@ -235,6 +238,7 @@ try-runtime = [ "pallet-collective/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-election-provider-multi-phase/try-runtime", + "pallet-fast-unstake/try-runtime", "pallet-democracy/try-runtime", "pallet-grandpa/try-runtime", "pallet-identity/try-runtime", diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 8f1bf6246d3b..62993cc24fd7 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -517,6 +517,14 @@ impl pallet_staking::Config for Runtime { type WeightInfo = weights::pallet_staking::WeightInfo; } +impl pallet_fast_unstake::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type DepositCurrency = Balances; + type Deposit = frame_support::traits::ConstU128<{ UNITS }>; + type ControlOrigin = EnsureRoot; + type WeightInfo = weights::pallet_fast_unstake::WeightInfo; +} + parameter_types! { pub const MaxAuthorities: u32 = 100_000; } @@ -804,12 +812,15 @@ impl InstanceFilter for ProxyType { RuntimeCall::Slots(..) | RuntimeCall::Auctions(..) | // Specifically omitting the entire XCM Pallet RuntimeCall::VoterList(..) | - RuntimeCall::NominationPools(..) + RuntimeCall::NominationPools(..) | + RuntimeCall::FastUnstake(..) ), ProxyType::Staking => { matches!( c, - RuntimeCall::Staking(..) | RuntimeCall::Session(..) | RuntimeCall::Utility(..) + RuntimeCall::Staking(..) | + RuntimeCall::Session(..) | RuntimeCall::Utility(..) | + RuntimeCall::FastUnstake(..) ) }, ProxyType::SudoBalances => match c { @@ -1126,6 +1137,9 @@ construct_runtime! { // Nomination pools for staking. NominationPools: pallet_nomination_pools::{Pallet, Call, Storage, Event, Config} = 29, + // Fast unstake pallet: extension to staking. + FastUnstake: pallet_fast_unstake = 30, + // Parachains pallets. Start indices at 40 to leave room. ParachainsOrigin: parachains_origin::{Pallet, Origin} = 41, Configuration: parachains_configuration::{Pallet, Call, Storage, Config} = 42, @@ -1233,6 +1247,7 @@ mod benches { [pallet_balances, Balances] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] [frame_election_provider_support, ElectionProviderBench::] + [pallet_fast_unstake, FastUnstake] [pallet_identity, Identity] [pallet_im_online, ImOnline] [pallet_indices, Indices] diff --git a/runtime/westend/src/weights/mod.rs b/runtime/westend/src/weights/mod.rs index df8b55067efc..216b3dcdf4ec 100644 --- a/runtime/westend/src/weights/mod.rs +++ b/runtime/westend/src/weights/mod.rs @@ -20,6 +20,7 @@ pub mod frame_system; pub mod pallet_bags_list; pub mod pallet_balances; pub mod pallet_election_provider_multi_phase; +pub mod pallet_fast_unstake; pub mod pallet_identity; pub mod pallet_im_online; pub mod pallet_indices; diff --git a/runtime/westend/src/weights/pallet_fast_unstake.rs b/runtime/westend/src/weights/pallet_fast_unstake.rs new file mode 100644 index 000000000000..1fc7a2580978 --- /dev/null +++ b/runtime/westend/src/weights/pallet_fast_unstake.rs @@ -0,0 +1,116 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_fast_unstake` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_fast_unstake +// --chain=westend-dev +// --header=./file_header.txt +// --output=./runtime/westend/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_fast_unstake`. +pub struct WeightInfo(PhantomData); +impl pallet_fast_unstake::WeightInfo for WeightInfo { + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking ValidatorCount (r:1 w:0) + // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) + // Storage: FastUnstake Head (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking SlashingSpans (r:1 w:0) + // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Validators (r:1 w:0) + // Storage: Staking Nominators (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: Staking Ledger (r:0 w:1) + // Storage: Staking Payee (r:0 w:1) + fn on_idle_unstake() -> Weight { + Weight::from_ref_time(71_751_000 as u64) + .saturating_add(T::DbWeight::get().reads(11 as u64)) + .saturating_add(T::DbWeight::get().writes(6 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking ValidatorCount (r:1 w:0) + // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) + // Storage: FastUnstake Head (r:1 w:1) + // Storage: FastUnstake Queue (r:2 w:1) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Staking ErasStakers (r:4 w:0) + /// The range of component `x` is `[2, 256]`. + fn on_idle_check(x: u32, ) -> Weight { + Weight::from_ref_time(68_336_000 as u64) + // Standard Error: 9_399 + .saturating_add(Weight::from_ref_time(13_544_336 as u64).saturating_mul(x as u64)) + .saturating_add(T::DbWeight::get().reads(12 as u64)) + .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64))) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) + // Storage: FastUnstake Queue (r:1 w:1) + // Storage: FastUnstake Head (r:1 w:0) + // Storage: Staking Validators (r:1 w:0) + // Storage: Staking Nominators (r:1 w:1) + // Storage: Staking CounterForNominators (r:1 w:1) + // Storage: VoterList ListNodes (r:1 w:1) + // Storage: VoterList ListBags (r:1 w:1) + // Storage: VoterList CounterForListNodes (r:1 w:1) + // Storage: Staking CurrentEra (r:1 w:0) + // Storage: Balances Locks (r:1 w:1) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + fn register_fast_unstake() -> Weight { + Weight::from_ref_time(93_252_000 as u64) + .saturating_add(T::DbWeight::get().reads(13 as u64)) + .saturating_add(T::DbWeight::get().writes(9 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) + // Storage: Staking Ledger (r:1 w:0) + // Storage: FastUnstake Queue (r:1 w:1) + // Storage: FastUnstake Head (r:1 w:0) + // Storage: FastUnstake CounterForQueue (r:1 w:1) + fn deregister() -> Weight { + Weight::from_ref_time(40_994_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1) + fn control() -> Weight { + Weight::from_ref_time(4_420_000 as u64) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } +} From 816cb64ea16102c6c79f6be2a917d832d98df757 Mon Sep 17 00:00:00 2001 From: Nikos Kontakis Date: Thu, 29 Sep 2022 10:22:15 +0300 Subject: [PATCH 020/211] Rename zombienet extension (#6073) * Rename extension files and respective entries from '.feature' to '.zndsl' * Rename zombienet extension for 0001-dispute-valid-block test --- node/malus/README.md | 6 ++--- ...feature => 0001-dispute-valid-block.zndsl} | 0 scripts/ci/gitlab/pipeline/zombienet.yml | 22 +++++++++---------- zombienet_tests/README.md | 5 +++-- ...-pvf.feature => 0001-parachains-pvf.zndsl} | 0 ...feature => 0002-parachains-disputes.zndsl} | 0 ...d-mmr.feature => 0003-beefy-and-mmr.zndsl} | 0 ...> 0003-parachains-garbage-candidate.zndsl} | 0 ...1-paritydb.feature => 0001-paritydb.zndsl} | 0 .../misc/0002-download-polkadot-from-pr.sh | 2 +- ...e-node.feature => 0002-upgrade-node.zndsl} | 0 ...ature => 0001-parachains-smoke-test.zndsl} | 0 ... 0002-parachains-upgrade-smoke-test.zndsl} | 0 ...deregister-register-validator-smoke.zndsl} | 0 14 files changed, 18 insertions(+), 17 deletions(-) rename node/malus/integrationtests/{0001-dispute-valid-block.feature => 0001-dispute-valid-block.zndsl} (100%) rename zombienet_tests/functional/{0001-parachains-pvf.feature => 0001-parachains-pvf.zndsl} (100%) rename zombienet_tests/functional/{0002-parachains-disputes.feature => 0002-parachains-disputes.zndsl} (100%) rename zombienet_tests/functional/{0003-beefy-and-mmr.feature => 0003-beefy-and-mmr.zndsl} (100%) rename zombienet_tests/functional/{0003-parachains-garbage-candidate.feature => 0003-parachains-garbage-candidate.zndsl} (100%) rename zombienet_tests/misc/{0001-paritydb.feature => 0001-paritydb.zndsl} (100%) rename zombienet_tests/misc/{0002-upgrade-node.feature => 0002-upgrade-node.zndsl} (100%) rename zombienet_tests/smoke/{0001-parachains-smoke-test.feature => 0001-parachains-smoke-test.zndsl} (100%) rename zombienet_tests/smoke/{0002-parachains-upgrade-smoke-test.feature => 0002-parachains-upgrade-smoke-test.zndsl} (100%) rename zombienet_tests/smoke/{0003-deregister-register-validator-smoke.feature => 0003-deregister-register-validator-smoke.zndsl} (100%) diff --git a/node/malus/README.md b/node/malus/README.md index 4f71016d77ba..fb4bb0cd272f 100644 --- a/node/malus/README.md +++ b/node/malus/README.md @@ -13,8 +13,8 @@ The first argument determines the behavior strain. The currently supported are: To define integration tests create file in the toml format as used with [zombienet][zombienet] under `./integrationtests` describing the network to spawn and -also the `feature` file (with `.feature` extension ) using the format -defined in the [DSL doc](https://github.com/paritytech/zombienet/blob/main/docs/testing-dsl-definition.md). +also the `zndsl` file (with `.zndsl` extension ) using the format +defined in the [(DSL[(**D**omain **S**pecific **L**anguage)]) doc](https://paritytech.github.io/zombienet/cli/test-dsl-definition-spec.html). ## Usage @@ -37,7 +37,7 @@ gcloud container clusters get-credentials "parity-zombienet" --zone "europe-west # launching the actual test cd zombienet npm run build -node dist/cli.js test /node/malus/integrationtests/0001-dispute-valid-block.feature +node dist/cli.js test /node/malus/integrationtests/0001-dispute-valid-block.zndsl # Access logs (in google cloud storage) gsutil ls gs://zombienet-logs/zombie-/logs/ diff --git a/node/malus/integrationtests/0001-dispute-valid-block.feature b/node/malus/integrationtests/0001-dispute-valid-block.zndsl similarity index 100% rename from node/malus/integrationtests/0001-dispute-valid-block.feature rename to node/malus/integrationtests/0001-dispute-valid-block.zndsl diff --git a/scripts/ci/gitlab/pipeline/zombienet.yml b/scripts/ci/gitlab/pipeline/zombienet.yml index 8f7c5ef38a43..5c6215aad2c4 100644 --- a/scripts/ci/gitlab/pipeline/zombienet.yml +++ b/scripts/ci/gitlab/pipeline/zombienet.yml @@ -26,7 +26,7 @@ zombienet-tests-parachains-smoke-test: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0001-parachains-smoke-test.feature" + --test="0001-parachains-smoke-test.zndsl" allow_failure: false retry: 2 tags: @@ -56,7 +56,7 @@ zombienet-tests-parachains-pvf: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0001-parachains-pvf.feature" + --test="0001-parachains-pvf.zndsl" allow_failure: false retry: 2 tags: @@ -87,7 +87,7 @@ zombienet-tests-parachains-disputes: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0002-parachains-disputes.feature" + --test="0002-parachains-disputes.zndsl" allow_failure: false retry: 2 tags: @@ -118,7 +118,7 @@ zombienet-tests-parachains-disputes-garbage-candidate: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0003-parachains-garbage-candidate.feature" + --test="0003-parachains-garbage-candidate.zndsl" allow_failure: false retry: 2 tags: @@ -148,7 +148,7 @@ zombienet-test-parachains-upgrade-smoke-test: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0002-parachains-upgrade-smoke-test.feature" + --test="0002-parachains-upgrade-smoke-test.zndsl" allow_failure: true retry: 2 tags: @@ -177,7 +177,7 @@ zombienet-tests-misc-paritydb: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0001-paritydb.feature" + --test="0001-paritydb.zndsl" allow_failure: false retry: 2 tags: @@ -210,7 +210,7 @@ zombienet-tests-misc-upgrade-node: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0002-upgrade-node.feature" + --test="0002-upgrade-node.zndsl" allow_failure: false retry: 2 tags: @@ -241,7 +241,7 @@ zombienet-tests-malus-dispute-valid: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0001-dispute-valid-block.feature" + --test="0001-dispute-valid-block.zndsl" allow_failure: false retry: 2 tags: @@ -269,7 +269,7 @@ zombienet-tests-deregister-register-validator: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0003-deregister-register-validator-smoke.feature" + --test="0003-deregister-register-validator-smoke.zndsl" allow_failure: false retry: 2 tags: @@ -295,8 +295,8 @@ zombienet-tests-beefy-and-mmr: script: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" - --test="0003-beefy-and-mmr.feature" + --test="0003-beefy-and-mmr.zndsl" allow_failure: true retry: 2 tags: - - zombienet-polkadot-integration-test \ No newline at end of file + - zombienet-polkadot-integration-test diff --git a/zombienet_tests/README.md b/zombienet_tests/README.md index 2c732a6801d9..5760e203d958 100644 --- a/zombienet_tests/README.md +++ b/zombienet_tests/README.md @@ -7,10 +7,11 @@ _The content of this directory is meant to be used by Parity's private CI/CD inf `parachains` At the moment this directory only have one test related to parachains: `/parachains-smoke-test`, that check the parachain registration and the block height. -## Resources (private) +## Resources * [zombienet repo](https://github.com/paritytech/zombienet) +* [zombienet book](https://paritytech.github.io/zombienet/) ## Questions / permissions -Ping in element [Javier](@javier:matrix.parity.io) to ask questions or grant permission to run the test from your local setup. +Ping in element Javier (@javier:matrix.parity.io) to ask questions or grant permission to run the test from your local setup. diff --git a/zombienet_tests/functional/0001-parachains-pvf.feature b/zombienet_tests/functional/0001-parachains-pvf.zndsl similarity index 100% rename from zombienet_tests/functional/0001-parachains-pvf.feature rename to zombienet_tests/functional/0001-parachains-pvf.zndsl diff --git a/zombienet_tests/functional/0002-parachains-disputes.feature b/zombienet_tests/functional/0002-parachains-disputes.zndsl similarity index 100% rename from zombienet_tests/functional/0002-parachains-disputes.feature rename to zombienet_tests/functional/0002-parachains-disputes.zndsl diff --git a/zombienet_tests/functional/0003-beefy-and-mmr.feature b/zombienet_tests/functional/0003-beefy-and-mmr.zndsl similarity index 100% rename from zombienet_tests/functional/0003-beefy-and-mmr.feature rename to zombienet_tests/functional/0003-beefy-and-mmr.zndsl diff --git a/zombienet_tests/functional/0003-parachains-garbage-candidate.feature b/zombienet_tests/functional/0003-parachains-garbage-candidate.zndsl similarity index 100% rename from zombienet_tests/functional/0003-parachains-garbage-candidate.feature rename to zombienet_tests/functional/0003-parachains-garbage-candidate.zndsl diff --git a/zombienet_tests/misc/0001-paritydb.feature b/zombienet_tests/misc/0001-paritydb.zndsl similarity index 100% rename from zombienet_tests/misc/0001-paritydb.feature rename to zombienet_tests/misc/0001-paritydb.zndsl diff --git a/zombienet_tests/misc/0002-download-polkadot-from-pr.sh b/zombienet_tests/misc/0002-download-polkadot-from-pr.sh index 332435aaeebb..7ff323d9c41f 100644 --- a/zombienet_tests/misc/0002-download-polkadot-from-pr.sh +++ b/zombienet_tests/misc/0002-download-polkadot-from-pr.sh @@ -11,7 +11,7 @@ mkdir -p $CFG_DIR export PATH=$CFG_DIR:$PATH cd $CFG_DIR -# see 0002-upgrade-node.feature to view the args. +# see 0002-upgrade-node.zndsl to view the args. curl -L -O $1 chmod +x $CFG_DIR/polkadot echo $(polkadot --version) diff --git a/zombienet_tests/misc/0002-upgrade-node.feature b/zombienet_tests/misc/0002-upgrade-node.zndsl similarity index 100% rename from zombienet_tests/misc/0002-upgrade-node.feature rename to zombienet_tests/misc/0002-upgrade-node.zndsl diff --git a/zombienet_tests/smoke/0001-parachains-smoke-test.feature b/zombienet_tests/smoke/0001-parachains-smoke-test.zndsl similarity index 100% rename from zombienet_tests/smoke/0001-parachains-smoke-test.feature rename to zombienet_tests/smoke/0001-parachains-smoke-test.zndsl diff --git a/zombienet_tests/smoke/0002-parachains-upgrade-smoke-test.feature b/zombienet_tests/smoke/0002-parachains-upgrade-smoke-test.zndsl similarity index 100% rename from zombienet_tests/smoke/0002-parachains-upgrade-smoke-test.feature rename to zombienet_tests/smoke/0002-parachains-upgrade-smoke-test.zndsl diff --git a/zombienet_tests/smoke/0003-deregister-register-validator-smoke.feature b/zombienet_tests/smoke/0003-deregister-register-validator-smoke.zndsl similarity index 100% rename from zombienet_tests/smoke/0003-deregister-register-validator-smoke.feature rename to zombienet_tests/smoke/0003-deregister-register-validator-smoke.zndsl From cea8893b1ed24b6b27c41f4411e2bbcece73b2d1 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Thu, 29 Sep 2022 14:16:12 +0200 Subject: [PATCH 021/211] Validate chunks from disk in availability-recovery (#6078) * Don't use corrupted chunks from disk. Otherwise we would be going to dispute the candidate and get slashed. * Add tests --- node/network/availability-recovery/src/lib.rs | 95 +++++++++++-------- .../availability-recovery/src/tests.rs | 89 +++++++++++++++++ 2 files changed, 143 insertions(+), 41 deletions(-) diff --git a/node/network/availability-recovery/src/lib.rs b/node/network/availability-recovery/src/lib.rs index 92eefeaaeb79..62401e3ad615 100644 --- a/node/network/availability-recovery/src/lib.rs +++ b/node/network/availability-recovery/src/lib.rs @@ -376,49 +376,20 @@ impl RequestChunksFromValidators { self.total_received_responses += 1; match request_result { - Ok(Some(chunk)) => { - // Check merkle proofs of any received chunks. - - let validator_index = chunk.index; - - if let Ok(anticipated_hash) = - branch_hash(¶ms.erasure_root, chunk.proof(), chunk.index.0 as usize) - { - let erasure_chunk_hash = BlakeTwo256::hash(&chunk.chunk); - - if erasure_chunk_hash != anticipated_hash { - metrics.on_chunk_request_invalid(); - self.error_count += 1; - - gum::debug!( - target: LOG_TARGET, - candidate_hash = ?params.candidate_hash, - ?validator_index, - "Merkle proof mismatch", - ); - } else { - metrics.on_chunk_request_succeeded(); - - gum::trace!( - target: LOG_TARGET, - candidate_hash = ?params.candidate_hash, - ?validator_index, - "Received valid chunk.", - ); - self.received_chunks.insert(validator_index, chunk); - } - } else { - metrics.on_chunk_request_invalid(); - self.error_count += 1; - - gum::debug!( + Ok(Some(chunk)) => + if is_chunk_valid(params, &chunk) { + metrics.on_chunk_request_succeeded(); + gum::trace!( target: LOG_TARGET, candidate_hash = ?params.candidate_hash, - ?validator_index, - "Invalid Merkle proof", + validator_index = ?chunk.index, + "Received valid chunk", ); - } - }, + self.received_chunks.insert(chunk.index, chunk); + } else { + metrics.on_chunk_request_invalid(); + self.error_count += 1; + }, Ok(None) => { metrics.on_chunk_request_no_such_chunk(); self.error_count += 1; @@ -507,7 +478,20 @@ impl RequestChunksFromValidators { self.shuffling.retain(|i| !chunk_indices.contains(i)); for chunk in chunks { - self.received_chunks.insert(chunk.index, chunk); + if is_chunk_valid(params, &chunk) { + gum::trace!( + target: LOG_TARGET, + candidate_hash = ?params.candidate_hash, + validator_index = ?chunk.index, + "Found valid chunk on disk" + ); + self.received_chunks.insert(chunk.index, chunk); + } else { + gum::error!( + target: LOG_TARGET, + "Loaded invalid chunk from disk! Disk/Db corruption _very_ likely - please fix ASAP!" + ); + }; } }, Err(oneshot::Canceled) => { @@ -609,6 +593,35 @@ const fn is_unavailable( received_chunks + requesting_chunks + unrequested_validators < threshold } +/// Check validity of a chunk. +fn is_chunk_valid(params: &RecoveryParams, chunk: &ErasureChunk) -> bool { + let anticipated_hash = + match branch_hash(¶ms.erasure_root, chunk.proof(), chunk.index.0 as usize) { + Ok(hash) => hash, + Err(e) => { + gum::debug!( + target: LOG_TARGET, + candidate_hash = ?params.candidate_hash, + validator_index = ?chunk.index, + error = ?e, + "Invalid Merkle proof", + ); + return false + }, + }; + let erasure_chunk_hash = BlakeTwo256::hash(&chunk.chunk); + if anticipated_hash != erasure_chunk_hash { + gum::debug!( + target: LOG_TARGET, + candidate_hash = ?params.candidate_hash, + validator_index = ?chunk.index, + "Merkle proof mismatch" + ); + return false + } + true +} + /// Re-encode the data into erasure chunks in order to verify /// the root hash of the provided Merkle tree, which is built /// on-top of the encoded chunks. diff --git a/node/network/availability-recovery/src/tests.rs b/node/network/availability-recovery/src/tests.rs index 2cfed743bc5e..8a5191e70b26 100644 --- a/node/network/availability-recovery/src/tests.rs +++ b/node/network/availability-recovery/src/tests.rs @@ -189,6 +189,7 @@ struct TestState { available_data: AvailableData, chunks: Vec, + invalid_chunks: Vec, } impl TestState { @@ -273,6 +274,26 @@ impl TestState { ) } + async fn respond_to_query_all_request_invalid( + &self, + virtual_overseer: &mut VirtualOverseer, + send_chunk: impl Fn(usize) -> bool, + ) { + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::AvailabilityStore( + AvailabilityStoreMessage::QueryAllChunks(_, tx) + ) => { + let v = self.invalid_chunks.iter() + .filter(|c| send_chunk(c.index.0 as usize)) + .cloned() + .collect(); + + let _ = tx.send(v); + } + ) + } + async fn test_chunk_requests( &self, candidate_hash: CandidateHash, @@ -454,6 +475,22 @@ impl Default for TestState { &available_data, |_, _| {}, ); + // Mess around: + let invalid_chunks = chunks + .iter() + .cloned() + .map(|mut chunk| { + if chunk.chunk.len() >= 2 && chunk.chunk[0] != chunk.chunk[1] { + chunk.chunk[0] = chunk.chunk[1]; + } else if chunk.chunk.len() >= 1 { + chunk.chunk[0] = !chunk.chunk[0]; + } else { + chunk.proof = Proof::dummy_proof(); + } + chunk + }) + .collect(); + debug_assert_ne!(chunks, invalid_chunks); candidate.descriptor.erasure_root = erasure_root; candidate.descriptor.relay_parent = Hash::repeat_byte(10); @@ -468,6 +505,7 @@ impl Default for TestState { persisted_validation_data, available_data, chunks, + invalid_chunks, } } } @@ -1284,6 +1322,57 @@ fn does_not_query_local_validator() { }); } +#[test] +fn invalid_local_chunk_is_ignored() { + let test_state = TestState::default(); + + test_harness_chunks_only(|mut virtual_overseer, req_cfg| async move { + overseer_signal( + &mut virtual_overseer, + OverseerSignal::ActiveLeaves(ActiveLeavesUpdate::start_work(ActivatedLeaf { + hash: test_state.current.clone(), + number: 1, + status: LeafStatus::Fresh, + span: Arc::new(jaeger::Span::Disabled), + })), + ) + .await; + + let (tx, rx) = oneshot::channel(); + + overseer_send( + &mut virtual_overseer, + AvailabilityRecoveryMessage::RecoverAvailableData( + test_state.candidate.clone(), + test_state.session_index, + None, + tx, + ), + ) + .await; + + test_state.test_runtime_api(&mut virtual_overseer).await; + test_state.respond_to_available_data_query(&mut virtual_overseer, false).await; + test_state + .respond_to_query_all_request_invalid(&mut virtual_overseer, |i| i == 0) + .await; + + let candidate_hash = test_state.candidate.hash(); + + test_state + .test_chunk_requests( + candidate_hash, + &mut virtual_overseer, + test_state.threshold() - 1, + |i| if i == 0 { panic!("requested from local validator") } else { Has::Yes }, + ) + .await; + + assert_eq!(rx.await.unwrap().unwrap(), test_state.available_data); + (virtual_overseer, req_cfg) + }); +} + #[test] fn parallel_request_calculation_works_as_expected() { let num_validators = 100; From 89990bd0dbed5b0fdf4d365cbc0ffe60eb309133 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Thu, 29 Sep 2022 15:19:19 +0200 Subject: [PATCH 022/211] Demote warning (#6080) This can happen under heavy load - no value in warning here. Scenario this happens: - New slot - We get asked about what fork to build on - We start building (create inherent gets called) - We learn about a better fork (but Babe does not care as it already has a fork) - 6 seconds passed - New slot - Babe asks about what for to build on - we answer with the best block we learned about 6 seconds ago (slightly after we got asked the last time) - We start building (on that old block) - Milliseconds later we learn about a new block (the one from the slot we are actually in now) - We kick the old leaf -> create inherent fails Full discussion: https://github.com/paritytech/substrate/issues/12375 --- node/core/provisioner/src/lib.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/node/core/provisioner/src/lib.rs b/node/core/provisioner/src/lib.rs index 301aec32c15b..f669f9ddae2c 100644 --- a/node/core/provisioner/src/lib.rs +++ b/node/core/provisioner/src/lib.rs @@ -271,7 +271,15 @@ async fn send_inherent_data_bg( match send_result.await { Err(err) => { - gum::warn!(target: LOG_TARGET, err = ?err, "failed to assemble or send inherent data"); + if let Error::CanceledBackedCandidates(_) = err { + gum::debug!( + target: LOG_TARGET, + err = ?err, + "Failed to assemble or send inherent data - block got likely obsoleted already." + ); + } else { + gum::warn!(target: LOG_TARGET, err = ?err, "failed to assemble or send inherent data"); + } metrics.on_inherent_data_request(Err(())); }, Ok(()) => { From 702d4fc7d502ae7cbfa0a4011101129c5bb5fff6 Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Fri, 30 Sep 2022 11:56:45 +0300 Subject: [PATCH 023/211] add para_id to fetch_pov logging (#6084) Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- node/core/backing/src/lib.rs | 13 +++++++++++-- node/network/availability-distribution/src/lib.rs | 2 ++ .../src/pov_requester/mod.rs | 15 +++++++++++---- node/subsystem-types/src/messages.rs | 4 ++++ 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/node/core/backing/src/lib.rs b/node/core/backing/src/lib.rs index dbc6e3f81903..a9ae518e3103 100644 --- a/node/core/backing/src/lib.rs +++ b/node/core/backing/src/lib.rs @@ -621,6 +621,7 @@ async fn request_pov( sender: &mut impl overseer::CandidateBackingSenderTrait, relay_parent: Hash, from_validator: ValidatorIndex, + para_id: ParaId, candidate_hash: CandidateHash, pov_hash: Hash, ) -> Result, Error> { @@ -629,6 +630,7 @@ async fn request_pov( .send_message(AvailabilityDistributionMessage::FetchPoV { relay_parent, from_validator, + para_id, candidate_hash, pov_hash, tx, @@ -697,8 +699,15 @@ async fn validate_and_make_available( PoVData::Ready(pov) => pov, PoVData::FetchFromValidator { from_validator, candidate_hash, pov_hash } => { let _span = span.as_ref().map(|s| s.child("request-pov")); - match request_pov(&mut sender, relay_parent, from_validator, candidate_hash, pov_hash) - .await + match request_pov( + &mut sender, + relay_parent, + from_validator, + candidate.descriptor.para_id, + candidate_hash, + pov_hash, + ) + .await { Err(Error::FetchPoV) => { tx_command diff --git a/node/network/availability-distribution/src/lib.rs b/node/network/availability-distribution/src/lib.rs index 3faaa80ce835..7dceb5f80e6c 100644 --- a/node/network/availability-distribution/src/lib.rs +++ b/node/network/availability-distribution/src/lib.rs @@ -150,6 +150,7 @@ impl AvailabilityDistributionSubsystem { AvailabilityDistributionMessage::FetchPoV { relay_parent, from_validator, + para_id, candidate_hash, pov_hash, tx, @@ -161,6 +162,7 @@ impl AvailabilityDistributionSubsystem { &mut runtime, relay_parent, from_validator, + para_id, candidate_hash, pov_hash, tx, diff --git a/node/network/availability-distribution/src/pov_requester/mod.rs b/node/network/availability-distribution/src/pov_requester/mod.rs index 195c1748793c..f32a4bd4821d 100644 --- a/node/network/availability-distribution/src/pov_requester/mod.rs +++ b/node/network/availability-distribution/src/pov_requester/mod.rs @@ -30,7 +30,9 @@ use polkadot_node_subsystem::{ overseer, }; use polkadot_node_subsystem_util::runtime::RuntimeInfo; -use polkadot_primitives::v2::{AuthorityDiscoveryId, CandidateHash, Hash, ValidatorIndex}; +use polkadot_primitives::v2::{ + AuthorityDiscoveryId, CandidateHash, Hash, Id as ParaId, ValidatorIndex, +}; use crate::{ error::{Error, FatalError, JfyiError, Result}, @@ -45,6 +47,7 @@ pub async fn fetch_pov( runtime: &mut RuntimeInfo, parent: Hash, from_validator: ValidatorIndex, + para_id: ParaId, candidate_hash: CandidateHash, pov_hash: Hash, tx: oneshot::Sender, @@ -70,10 +73,12 @@ pub async fn fetch_pov( let span = jaeger::Span::new(candidate_hash, "fetch-pov") .with_validator_index(from_validator) - .with_relay_parent(parent); + .with_relay_parent(parent) + .with_para_id(para_id); ctx.spawn( "pov-fetcher", - fetch_pov_job(pov_hash, authority_id, pending_response.boxed(), span, tx, metrics).boxed(), + fetch_pov_job(para_id, pov_hash, authority_id, pending_response.boxed(), span, tx, metrics) + .boxed(), ) .map_err(|e| FatalError::SpawnTask(e))?; Ok(()) @@ -81,6 +86,7 @@ pub async fn fetch_pov( /// Future to be spawned for taking care of handling reception and sending of PoV. async fn fetch_pov_job( + para_id: ParaId, pov_hash: Hash, authority_id: AuthorityDiscoveryId, pending_response: BoxFuture<'static, std::result::Result>, @@ -89,7 +95,7 @@ async fn fetch_pov_job( metrics: Metrics, ) { if let Err(err) = do_fetch_pov(pov_hash, pending_response, span, tx, metrics).await { - gum::warn!(target: LOG_TARGET, ?err, ?pov_hash, ?authority_id, "fetch_pov_job"); + gum::warn!(target: LOG_TARGET, ?err, ?para_id, ?pov_hash, ?authority_id, "fetch_pov_job"); } } @@ -171,6 +177,7 @@ mod tests { &mut runtime, Hash::default(), ValidatorIndex(0), + ParaId::default(), CandidateHash::default(), pov_hash, tx, diff --git a/node/subsystem-types/src/messages.rs b/node/subsystem-types/src/messages.rs index 17b47e507c27..a1520a9aeba8 100644 --- a/node/subsystem-types/src/messages.rs +++ b/node/subsystem-types/src/messages.rs @@ -430,6 +430,10 @@ pub enum AvailabilityDistributionMessage { relay_parent: Hash, /// Validator to fetch the PoV from. from_validator: ValidatorIndex, + /// The id of the parachain that produced this PoV. + /// This field is only used to provide more context when logging errors + /// from the `AvailabilityDistribution` subsystem. + para_id: ParaId, /// Candidate hash to fetch the PoV for. candidate_hash: CandidateHash, /// Expected hash of the PoV, a PoV not matching this hash will be rejected. From 980e7a76b8bdf412b9841290bdf27ff29404ef7b Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Sat, 1 Oct 2022 08:16:32 +0200 Subject: [PATCH 024/211] Fix: minor typo (#6088) Fix: minor typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7679ebec5984..55b66f6ea619 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ dnf install polkadot Make sure you have the support software installed from the **Build from Source** section below this section. -If you want to install Polkadot in your PATH, you can do so with with: +If you want to install Polkadot in your PATH, you can do so with: ```bash cargo install --git https://github.com/paritytech/polkadot --tag polkadot --locked From 3dbe51576a82c1297be7b43601dd97bc57693316 Mon Sep 17 00:00:00 2001 From: Serban Iorga Date: Sun, 2 Oct 2022 12:42:24 +0300 Subject: [PATCH 025/211] Companion for pallet-mmr: generate historical proofs (#6061) * BEEFY: generate historical proofs Signed-off-by: Serban Iorga * cargo update -p sp-io * Properly set max proof size for runtimes * Properly set max proof size for mocks * cargo fmt * Set appropriate UMP service total proof size weight * Disable zombienet-tests-parachains-disputes CI * Add comment explaining weight math * Use MAX_POV_SIZE for max proof size * Cast to u64 * Remove comment Signed-off-by: Serban Iorga Co-authored-by: Keith Yeung --- Cargo.lock | 348 +++++++++--------- node/service/src/chain_spec.rs | 3 +- runtime/common/src/impls.rs | 2 +- runtime/common/src/integration_tests.rs | 4 +- runtime/common/src/lib.rs | 7 +- runtime/common/src/paras_registrar.rs | 4 +- runtime/kusama/src/lib.rs | 9 +- runtime/parachains/src/mock.rs | 4 +- runtime/parachains/src/ump.rs | 5 +- runtime/parachains/src/ump/benchmarking.rs | 2 +- runtime/parachains/src/ump/tests.rs | 16 +- runtime/polkadot/src/lib.rs | 9 +- runtime/rococo/src/lib.rs | 17 + runtime/test-runtime/src/lib.rs | 7 + runtime/westend/src/lib.rs | 6 + scripts/ci/gitlab/pipeline/zombienet.yml | 2 +- .../src/fungible/mock.rs | 4 +- xcm/pallet-xcm-benchmarks/src/generic/mock.rs | 4 +- 18 files changed, 256 insertions(+), 197 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 85627e65e292..3bb5a38a9429 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "beefy-primitives", "sp-api", @@ -501,7 +501,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -1998,7 +1998,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", ] @@ -2016,7 +2016,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -2039,7 +2039,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "Inflector", "array-bytes", @@ -2090,7 +2090,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "bitflags", "frame-metadata", @@ -2178,7 +2178,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "Inflector", "cfg-expr", @@ -2192,7 +2192,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro2", "quote", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2237,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "log", @@ -2266,7 +2266,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "sp-api", @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "parity-scale-codec", @@ -2473,7 +2473,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "chrono", "frame-election-provider-support", @@ -4832,7 +4832,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4846,7 +4846,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -4877,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4901,7 +4901,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4940,7 +4940,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4955,7 +4955,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "beefy-primitives", "frame-support", @@ -4971,7 +4971,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4994,7 +4994,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +5012,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5031,7 +5031,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5048,7 +5048,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5101,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5119,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5194,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5231,7 +5231,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5266,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5281,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -5313,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5333,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "sp-api", @@ -5343,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5383,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5399,7 +5399,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5429,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5445,7 +5445,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -5466,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -5496,7 +5496,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5519,7 +5519,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5530,7 +5530,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "sp-arithmetic", @@ -5539,7 +5539,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -5553,7 +5553,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5571,7 +5571,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5590,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-support", "frame-system", @@ -5606,7 +5606,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5621,7 +5621,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5632,7 +5632,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5649,7 +5649,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5665,7 +5665,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-benchmarking", "frame-support", @@ -8197,7 +8197,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "sp-core", @@ -8556,7 +8556,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "futures", @@ -8583,7 +8583,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "futures-timer", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8622,7 +8622,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8639,7 +8639,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8650,7 +8650,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "chrono", @@ -8690,7 +8690,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "fnv", "futures", @@ -8718,7 +8718,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "hash-db", "kvdb", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "futures", @@ -8767,7 +8767,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "fork-tree", @@ -8809,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "jsonrpsee", @@ -8831,7 +8831,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8844,7 +8844,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "futures", @@ -8868,7 +8868,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8895,7 +8895,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "environmental", "parity-scale-codec", @@ -8911,7 +8911,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "parity-scale-codec", @@ -8926,7 +8926,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8946,7 +8946,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "ahash", "array-bytes", @@ -8987,7 +8987,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "finality-grandpa", "futures", @@ -9008,7 +9008,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "ansi_term", "futures", @@ -9025,7 +9025,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "async-trait", @@ -9040,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "async-trait", @@ -9087,7 +9087,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "cid", "futures", @@ -9107,7 +9107,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "bitflags", @@ -9133,7 +9133,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "ahash", "futures", @@ -9151,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "futures", @@ -9172,7 +9172,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "fork-tree", @@ -9200,7 +9200,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "futures", @@ -9219,7 +9219,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "bytes", @@ -9249,7 +9249,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "libp2p", @@ -9262,7 +9262,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9271,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "hash-db", @@ -9301,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "jsonrpsee", @@ -9324,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "jsonrpsee", @@ -9337,7 +9337,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "directories", @@ -9407,7 +9407,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "parity-scale-codec", @@ -9421,7 +9421,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9440,7 +9440,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "libc", @@ -9459,7 +9459,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "chrono", "futures", @@ -9477,7 +9477,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "ansi_term", "atty", @@ -9508,7 +9508,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9519,7 +9519,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "futures-timer", @@ -9545,7 +9545,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "log", @@ -9558,7 +9558,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "futures-timer", @@ -10044,7 +10044,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "hash-db", "log", @@ -10062,7 +10062,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "blake2", "proc-macro-crate", @@ -10074,7 +10074,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10087,7 +10087,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "integer-sqrt", "num-traits", @@ -10102,7 +10102,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "parity-scale-codec", @@ -10127,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "sp-api", @@ -10139,7 +10139,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "log", @@ -10157,7 +10157,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "futures", @@ -10176,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "merlin", @@ -10199,7 +10199,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10213,7 +10213,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10226,7 +10226,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "base58", @@ -10272,7 +10272,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "blake2", "byteorder", @@ -10286,7 +10286,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro2", "quote", @@ -10297,7 +10297,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10306,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro2", "quote", @@ -10316,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "environmental", "parity-scale-codec", @@ -10327,7 +10327,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "finality-grandpa", "log", @@ -10345,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10359,7 +10359,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "bytes", "futures", @@ -10385,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "lazy_static", "sp-core", @@ -10396,7 +10396,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "futures", @@ -10413,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "thiserror", "zstd", @@ -10422,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "parity-scale-codec", @@ -10437,7 +10437,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10451,7 +10451,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "sp-api", "sp-core", @@ -10461,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "backtrace", "lazy_static", @@ -10471,7 +10471,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "rustc-hash", "serde", @@ -10481,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "either", "hash256-std-hasher", @@ -10504,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10522,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "Inflector", "proc-macro-crate", @@ -10534,7 +10534,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "parity-scale-codec", @@ -10548,7 +10548,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10562,7 +10562,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10573,7 +10573,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "hash-db", "log", @@ -10595,12 +10595,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10613,7 +10613,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "log", "sp-core", @@ -10626,7 +10626,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "futures-timer", @@ -10642,7 +10642,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "sp-std", @@ -10654,7 +10654,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "sp-api", "sp-runtime", @@ -10663,7 +10663,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "async-trait", "log", @@ -10679,7 +10679,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "ahash", "hash-db", @@ -10702,7 +10702,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10719,7 +10719,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10730,7 +10730,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "impl-trait-for-tuples", "log", @@ -10743,7 +10743,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10958,7 +10958,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "platforms", ] @@ -10966,7 +10966,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10987,7 +10987,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures-util", "hyper", @@ -11000,7 +11000,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "jsonrpsee", "log", @@ -11021,7 +11021,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "array-bytes", "async-trait", @@ -11047,7 +11047,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11057,7 +11057,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11068,7 +11068,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "ansi_term", "build-helper", @@ -11782,7 +11782,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2ee4cb47fa01ad6c7d6c94acf3370fd26470b388" +source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index 9f16feeff8ea..e2c0a7bfdf94 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -190,7 +190,8 @@ fn default_parachains_host_configuration( max_upward_queue_count: 8, max_upward_queue_size: 1024 * 1024, max_downward_message_size: 1024 * 1024, - ump_service_total_weight: Weight::from_ref_time(100_000_000_000), + ump_service_total_weight: Weight::from_ref_time(100_000_000_000) + .set_proof_size(MAX_POV_SIZE as u64), max_upward_message_size: 50 * 1024, max_upward_message_num_per_candidate: 5, hrmp_sender_deposit: 0, diff --git a/runtime/common/src/impls.rs b/runtime/common/src/impls.rs index 4c09397e0451..939b753092f5 100644 --- a/runtime/common/src/impls.rs +++ b/runtime/common/src/impls.rs @@ -97,7 +97,7 @@ mod tests { weight.base_extrinsic = Weight::from_ref_time(100); }) .for_class(DispatchClass::non_mandatory(), |weight| { - weight.max_total = Some(Weight::from_ref_time(1024)); + weight.max_total = Some(Weight::from_ref_time(1024).set_proof_size(u64::MAX)); }) .build_or_panic(); pub BlockLength: limits::BlockLength = limits::BlockLength::max(2 * 1024); diff --git a/runtime/common/src/integration_tests.rs b/runtime/common/src/integration_tests.rs index 15a39ff5a2f4..eb9c4496e59a 100644 --- a/runtime/common/src/integration_tests.rs +++ b/runtime/common/src/integration_tests.rs @@ -104,7 +104,9 @@ use crate::{auctions::Error as AuctionsError, crowdloan::Error as CrowdloanError parameter_types! { pub const BlockHashCount: u32 = 250; pub BlockWeights: frame_system::limits::BlockWeights = - frame_system::limits::BlockWeights::simple_max(Weight::from_ref_time(4 * 1024 * 1024)); + frame_system::limits::BlockWeights::simple_max( + Weight::from_ref_time(4 * 1024 * 1024).set_proof_size(u64::MAX), + ); } impl frame_system::Config for Test { diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 06f76fbfbff1..936feedde1c3 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -43,7 +43,7 @@ use frame_support::{ weights::{constants::WEIGHT_PER_SECOND, Weight}, }; use frame_system::limits; -use primitives::v2::{AssignmentId, Balance, BlockNumber, ValidatorId}; +use primitives::v2::{AssignmentId, Balance, BlockNumber, ValidatorId, MAX_POV_SIZE}; use sp_runtime::{FixedPointNumber, Perbill, Perquintill}; use static_assertions::const_assert; @@ -68,8 +68,9 @@ pub const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(1); /// We allow `Normal` extrinsics to fill up the block up to 75%, the rest can be used /// by Operational extrinsics. pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); -/// We allow for 2 seconds of compute with a 6 second average block time. -pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.saturating_mul(2); +/// The storage proof size is not limited so far. +pub const MAXIMUM_BLOCK_WEIGHT: Weight = + WEIGHT_PER_SECOND.saturating_mul(2).set_proof_size(MAX_POV_SIZE as u64); const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct()); diff --git a/runtime/common/src/paras_registrar.rs b/runtime/common/src/paras_registrar.rs index 90493c9077b9..d5bc59599715 100644 --- a/runtime/common/src/paras_registrar.rs +++ b/runtime/common/src/paras_registrar.rs @@ -642,7 +642,9 @@ mod tests { parameter_types! { pub const BlockHashCount: u32 = 250; pub BlockWeights: limits::BlockWeights = - frame_system::limits::BlockWeights::simple_max(Weight::from_ref_time(1024)); + frame_system::limits::BlockWeights::simple_max( + Weight::from_ref_time(1024).set_proof_size(u64::MAX), + ); pub BlockLength: limits::BlockLength = limits::BlockLength::max_with_normal_ratio(4 * 1024 * 1024, NORMAL_RATIO); } diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index bbd221749c75..1a68b4d1e819 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1740,6 +1740,13 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } + fn generate_historical_batch_proof( + _leaf_indices: Vec, + _leaves_count: u64, + ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + Err(mmr::Error::PalletNotIncluded) + } + fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) -> Result<(), mmr::Error> { @@ -2101,7 +2108,7 @@ mod multiplier_tests { BlockWeights::get().get(DispatchClass::Normal).max_total.unwrap(); // if the min is too small, then this will not change, and we are doomed forever. // the weight is 1/100th bigger than target. - run_with_system_weight(target * 101 / 100, || { + run_with_system_weight(target.saturating_mul(101) / 100, || { let next = SlowAdjustingFeeUpdate::::convert(minimum_multiplier); assert!(next > minimum_multiplier, "{:?} !>= {:?}", next, minimum_multiplier); }) diff --git a/runtime/parachains/src/mock.rs b/runtime/parachains/src/mock.rs index 05c17b00150b..bc576fa9d4a6 100644 --- a/runtime/parachains/src/mock.rs +++ b/runtime/parachains/src/mock.rs @@ -82,7 +82,9 @@ where parameter_types! { pub const BlockHashCount: u32 = 250; pub BlockWeights: frame_system::limits::BlockWeights = - frame_system::limits::BlockWeights::simple_max(Weight::from_ref_time(4 * 1024 * 1024)); + frame_system::limits::BlockWeights::simple_max( + Weight::from_ref_time(4 * 1024 * 1024).set_proof_size(u64::MAX), + ); } pub type AccountId = u64; diff --git a/runtime/parachains/src/ump.rs b/runtime/parachains/src/ump.rs index 92cce87f85a7..5aa7b17d923c 100644 --- a/runtime/parachains/src/ump.rs +++ b/runtime/parachains/src/ump.rs @@ -524,7 +524,10 @@ impl Pallet { let max_weight = if weight_used == Weight::zero() { // we increase the amount of weight that we're allowed to use on the first message to try to prevent // the possibility of blockage of the queue. - config.ump_service_total_weight * T::FirstMessageFactorPercent::get() / 100 + config + .ump_service_total_weight + .saturating_mul(T::FirstMessageFactorPercent::get()) / + 100 } else { config.ump_service_total_weight - weight_used }; diff --git a/runtime/parachains/src/ump/benchmarking.rs b/runtime/parachains/src/ump/benchmarking.rs index c415526da7c5..a257da79b373 100644 --- a/runtime/parachains/src/ump/benchmarking.rs +++ b/runtime/parachains/src/ump/benchmarking.rs @@ -117,7 +117,7 @@ frame_benchmarking::benchmarks! { let msg = create_message_overweight::(); // This just makes sure that 0 is not a valid index and we can use it later on. - let _ = Ump::::service_overweight(RawOrigin::Root.into(), 0, Weight::from_ref_time(1000)); + let _ = Ump::::service_overweight(RawOrigin::Root.into(), 0, Weight::from_ref_time(1000).set_proof_size(u64::MAX)); // Start with the block number 1. This is needed because should an event be // emitted during the genesis block they will be implicitly wiped. frame_system::Pallet::::set_block_number(1u32.into()); diff --git a/runtime/parachains/src/ump/tests.rs b/runtime/parachains/src/ump/tests.rs index c0ffbdc8256c..23c5159eab0f 100644 --- a/runtime/parachains/src/ump/tests.rs +++ b/runtime/parachains/src/ump/tests.rs @@ -38,8 +38,8 @@ impl Default for GenesisConfigBuilder { max_upward_message_num_per_candidate: 2, max_upward_queue_count: 4, max_upward_queue_size: 64, - ump_service_total_weight: Weight::from_ref_time(1000), - ump_max_individual_weight: Weight::from_ref_time(100), + ump_service_total_weight: Weight::from_ref_time(1000).set_proof_size(1000), + ump_max_individual_weight: Weight::from_ref_time(100).set_proof_size(100), } } } @@ -156,7 +156,7 @@ fn dispatch_resume_after_exceeding_dispatch_stage_weight() { new_test_ext( GenesisConfigBuilder { - ump_service_total_weight: Weight::from_ref_time(500), + ump_service_total_weight: Weight::from_ref_time(500).set_proof_size(500), ..Default::default() } .build(), @@ -203,8 +203,8 @@ fn dispatch_keeps_message_after_weight_exhausted() { new_test_ext( GenesisConfigBuilder { - ump_service_total_weight: Weight::from_ref_time(500), - ump_max_individual_weight: Weight::from_ref_time(300), + ump_service_total_weight: Weight::from_ref_time(500).set_proof_size(500), + ump_max_individual_weight: Weight::from_ref_time(300).set_proof_size(300), ..Default::default() } .build(), @@ -243,7 +243,7 @@ fn dispatch_correctly_handle_remove_of_latest() { new_test_ext( GenesisConfigBuilder { - ump_service_total_weight: Weight::from_ref_time(900), + ump_service_total_weight: Weight::from_ref_time(900).set_proof_size(900), ..Default::default() } .build(), @@ -312,8 +312,8 @@ fn overweight_queue_works() { new_test_ext( GenesisConfigBuilder { - ump_service_total_weight: Weight::from_ref_time(900), - ump_max_individual_weight: Weight::from_ref_time(300), + ump_service_total_weight: Weight::from_ref_time(900).set_proof_size(900), + ump_max_individual_weight: Weight::from_ref_time(300).set_proof_size(300), ..Default::default() } .build(), diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 6abf57de9edf..96a557712a76 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1827,6 +1827,13 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } + fn generate_historical_batch_proof( + _leaf_indices: Vec, + _leaves_count: u64, + ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + Err(mmr::Error::PalletNotIncluded) + } + fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) -> Result<(), mmr::Error> { @@ -2284,7 +2291,7 @@ mod multiplier_tests { BlockWeights::get().get(DispatchClass::Normal).max_total.unwrap(); // if the min is too small, then this will not change, and we are doomed forever. // the weight is 1/100th bigger than target. - run_with_system_weight(target * 101 / 100, || { + run_with_system_weight(target.saturating_mul(101) / 100, || { let next = SlowAdjustingFeeUpdate::::convert(minimum_multiplier); assert!(next > minimum_multiplier, "{:?} !>= {:?}", next, minimum_multiplier); }) diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index f27905b66e29..94677cc07290 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1723,6 +1723,23 @@ sp_api::impl_runtime_apis! { .map(|(leaves, proof)| (leaves.into_iter().map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf)).collect(), proof)) } + fn generate_historical_batch_proof( + leaf_indices: Vec, + leaves_count: mmr::LeafIndex, + ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + Mmr::generate_historical_batch_proof(leaf_indices, leaves_count).map( + |(leaves, proof)| { + ( + leaves + .into_iter() + .map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf)) + .collect(), + proof, + ) + }, + ) + } + fn verify_batch_proof(leaves: Vec, proof: mmr::BatchProof) -> Result<(), mmr::Error> { diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 311ff132b54f..2eade55e3877 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -947,6 +947,13 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } + fn generate_historical_batch_proof( + _leaf_indices: Vec, + _leaves_count: u64, + ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + Err(mmr::Error::PalletNotIncluded) + } + fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) -> Result<(), mmr::Error> { diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 62993cc24fd7..6aef1be3a267 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1473,7 +1473,13 @@ sp_api::impl_runtime_apis! { fn generate_batch_proof(_leaf_indices: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + Err(mmr::Error::PalletNotIncluded) + } + fn generate_historical_batch_proof( + _leaf_indices: Vec, + _leaves_count: u64, + ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/scripts/ci/gitlab/pipeline/zombienet.yml b/scripts/ci/gitlab/pipeline/zombienet.yml index 5c6215aad2c4..8b8bc3abe0ae 100644 --- a/scripts/ci/gitlab/pipeline/zombienet.yml +++ b/scripts/ci/gitlab/pipeline/zombienet.yml @@ -88,7 +88,7 @@ zombienet-tests-parachains-disputes: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" --test="0002-parachains-disputes.zndsl" - allow_failure: false + allow_failure: true retry: 2 tags: - zombienet-polkadot-integration-test diff --git a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs index 3cc67971e667..3722c7602a84 100644 --- a/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/fungible/mock.rs @@ -47,7 +47,9 @@ frame_support::construct_runtime!( parameter_types! { pub const BlockHashCount: u64 = 250; pub BlockWeights: frame_system::limits::BlockWeights = - frame_system::limits::BlockWeights::simple_max(Weight::from_ref_time(1024)); + frame_system::limits::BlockWeights::simple_max( + Weight::from_ref_time(1024).set_proof_size(u64::MAX), + ); } impl frame_system::Config for Test { type BaseCallFilter = Everything; diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs index ea7899afceb9..1aeec6c317fe 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mock.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mock.rs @@ -52,7 +52,9 @@ frame_support::construct_runtime!( parameter_types! { pub const BlockHashCount: u64 = 250; pub BlockWeights: frame_system::limits::BlockWeights = - frame_system::limits::BlockWeights::simple_max(Weight::from_ref_time(1024)); + frame_system::limits::BlockWeights::simple_max( + Weight::from_ref_time(1024).set_proof_size(u64::MAX), + ); } impl frame_system::Config for Test { From be4639ba2a7ad20c1a39a4061eb20936a6d65666 Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Mon, 3 Oct 2022 13:26:23 +0300 Subject: [PATCH 026/211] Remove orchestra and metered channel (#6086) * Use orchestra and metered channel from repo Signed-off-by: Andrei Sandu * Update node/subsystem-util/Cargo.toml Co-authored-by: Andronik * Update node/subsystem-types/Cargo.toml Co-authored-by: Andronik * Update node/metrics/Cargo.toml Co-authored-by: Andronik * Update node/overseer/Cargo.toml Co-authored-by: Andronik * Update node/overseer/Cargo.toml Co-authored-by: Andronik * update cargo lock Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu Co-authored-by: Andronik --- Cargo.lock | 20 +- Cargo.toml | 3 - node/metered-channel/Cargo.toml | 25 - node/metered-channel/src/bounded.rs | 195 ----- node/metered-channel/src/lib.rs | 166 ---- node/metered-channel/src/oneshot.rs | 419 ---------- node/metered-channel/src/tests.rs | 150 ---- node/metered-channel/src/unbounded.rs | 166 ---- node/metrics/Cargo.toml | 2 +- node/orchestra/Cargo.toml | 37 - node/orchestra/README.md | 99 --- node/orchestra/adr/01-adr.md | 21 - node/orchestra/examples/duo.rs | 106 --- node/orchestra/examples/misc.rs | 84 -- node/orchestra/examples/solo.rs | 74 -- node/orchestra/proc-macro/Cargo.toml | 38 - node/orchestra/proc-macro/build.rs | 3 - node/orchestra/proc-macro/src/graph.rs | 432 ---------- node/orchestra/proc-macro/src/impl_builder.rs | 759 ------------------ .../proc-macro/src/impl_channels_out.rs | 142 ---- .../proc-macro/src/impl_message_wrapper.rs | 85 -- .../proc-macro/src/impl_orchestra.rs | 265 ------ .../src/impl_subsystem_ctx_sender.rs | 654 --------------- node/orchestra/proc-macro/src/lib.rs | 89 -- node/orchestra/proc-macro/src/orchestra.rs | 66 -- node/orchestra/proc-macro/src/parse/mod.rs | 38 - .../src/parse/parse_orchestra_attr.rs | 190 ----- .../src/parse/parse_orchestra_struct.rs | 601 -------------- .../src/parse/parse_subsystem_attr.rs | 143 ---- node/orchestra/proc-macro/src/parse/tests.rs | 294 ------- node/orchestra/proc-macro/src/subsystem.rs | 309 ------- node/orchestra/proc-macro/src/tests.rs | 116 --- node/orchestra/src/lib.rs | 549 ------------- node/orchestra/src/tests.rs | 38 - .../tests/ui/err-01-duplicate-consumer.rs | 38 - .../tests/ui/err-01-duplicate-consumer.stderr | 21 - node/orchestra/tests/ui/err-02-enum.rs | 32 - node/orchestra/tests/ui/err-02-enum.stderr | 11 - .../orchestra/tests/ui/err-03-subsys-twice.rs | 39 - .../tests/ui/err-03-subsys-twice.stderr | 17 - .../tests/ui/err-04-missing-error.rs | 36 - .../tests/ui/err-04-missing-error.stderr | 13 - .../tests/ui/err-05-missing-field.rs | 61 -- .../tests/ui/err-05-missing-field.stderr | 11 - .../tests/ui/err-06-missing-subsystem.rs | 61 -- .../tests/ui/err-06-missing-subsystem.stderr | 11 - .../tests/ui/err-07-missing-spawner.rs | 61 -- .../tests/ui/err-07-missing-spawner.stderr | 11 - .../tests/ui/err-08-duplicate-subsystem.rs | 62 -- .../ui/err-08-duplicate-subsystem.stderr | 10 - .../tests/ui/err-09-uninit_generic_baggage.rs | 61 -- .../ui/err-09-uninit_generic_baggage.stderr | 11 - node/orchestra/tests/ui/ok-01-wip.rs | 74 -- node/overseer/Cargo.toml | 5 +- node/subsystem-types/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- 56 files changed, 14 insertions(+), 7014 deletions(-) delete mode 100644 node/metered-channel/Cargo.toml delete mode 100644 node/metered-channel/src/bounded.rs delete mode 100644 node/metered-channel/src/lib.rs delete mode 100644 node/metered-channel/src/oneshot.rs delete mode 100644 node/metered-channel/src/tests.rs delete mode 100644 node/metered-channel/src/unbounded.rs delete mode 100644 node/orchestra/Cargo.toml delete mode 100644 node/orchestra/README.md delete mode 100644 node/orchestra/adr/01-adr.md delete mode 100644 node/orchestra/examples/duo.rs delete mode 100644 node/orchestra/examples/misc.rs delete mode 100644 node/orchestra/examples/solo.rs delete mode 100644 node/orchestra/proc-macro/Cargo.toml delete mode 100644 node/orchestra/proc-macro/build.rs delete mode 100644 node/orchestra/proc-macro/src/graph.rs delete mode 100644 node/orchestra/proc-macro/src/impl_builder.rs delete mode 100644 node/orchestra/proc-macro/src/impl_channels_out.rs delete mode 100644 node/orchestra/proc-macro/src/impl_message_wrapper.rs delete mode 100644 node/orchestra/proc-macro/src/impl_orchestra.rs delete mode 100644 node/orchestra/proc-macro/src/impl_subsystem_ctx_sender.rs delete mode 100644 node/orchestra/proc-macro/src/lib.rs delete mode 100644 node/orchestra/proc-macro/src/orchestra.rs delete mode 100644 node/orchestra/proc-macro/src/parse/mod.rs delete mode 100644 node/orchestra/proc-macro/src/parse/parse_orchestra_attr.rs delete mode 100644 node/orchestra/proc-macro/src/parse/parse_orchestra_struct.rs delete mode 100644 node/orchestra/proc-macro/src/parse/parse_subsystem_attr.rs delete mode 100644 node/orchestra/proc-macro/src/parse/tests.rs delete mode 100644 node/orchestra/proc-macro/src/subsystem.rs delete mode 100644 node/orchestra/proc-macro/src/tests.rs delete mode 100644 node/orchestra/src/lib.rs delete mode 100644 node/orchestra/src/tests.rs delete mode 100644 node/orchestra/tests/ui/err-01-duplicate-consumer.rs delete mode 100644 node/orchestra/tests/ui/err-01-duplicate-consumer.stderr delete mode 100644 node/orchestra/tests/ui/err-02-enum.rs delete mode 100644 node/orchestra/tests/ui/err-02-enum.stderr delete mode 100644 node/orchestra/tests/ui/err-03-subsys-twice.rs delete mode 100644 node/orchestra/tests/ui/err-03-subsys-twice.stderr delete mode 100644 node/orchestra/tests/ui/err-04-missing-error.rs delete mode 100644 node/orchestra/tests/ui/err-04-missing-error.stderr delete mode 100644 node/orchestra/tests/ui/err-05-missing-field.rs delete mode 100644 node/orchestra/tests/ui/err-05-missing-field.stderr delete mode 100644 node/orchestra/tests/ui/err-06-missing-subsystem.rs delete mode 100644 node/orchestra/tests/ui/err-06-missing-subsystem.stderr delete mode 100644 node/orchestra/tests/ui/err-07-missing-spawner.rs delete mode 100644 node/orchestra/tests/ui/err-07-missing-spawner.stderr delete mode 100644 node/orchestra/tests/ui/err-08-duplicate-subsystem.rs delete mode 100644 node/orchestra/tests/ui/err-08-duplicate-subsystem.stderr delete mode 100644 node/orchestra/tests/ui/err-09-uninit_generic_baggage.rs delete mode 100644 node/orchestra/tests/ui/err-09-uninit_generic_baggage.stderr delete mode 100644 node/orchestra/tests/ui/ok-01-wip.rs diff --git a/Cargo.lock b/Cargo.lock index 3bb5a38a9429..864b1fad8044 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4758,7 +4758,9 @@ dependencies = [ [[package]] name = "orchestra" -version = "0.0.1" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0aab54694ddaa8a9b703724c6ef04272b2d27bc32d2c855aae5cdd1857216b43" dependencies = [ "async-trait", "dyn-clonable", @@ -4767,27 +4769,23 @@ dependencies = [ "orchestra-proc-macro", "pin-project", "prioritized-metered-channel", - "rustversion", "thiserror", "tracing", - "trybuild", ] [[package]] name = "orchestra-proc-macro" -version = "0.0.1" +version = "0.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a702b2f6bf592b3eb06c00d80d05afaf7a8eff6b41bb361e397d799acc21b45a" dependencies = [ - "assert_matches", "expander 0.0.6", "itertools", - "orchestra", "petgraph", "proc-macro-crate", "proc-macro2", "quote", "syn", - "thiserror", - "tracing", ] [[package]] @@ -7668,15 +7666,14 @@ dependencies = [ [[package]] name = "prioritized-metered-channel" version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "382698e48a268c832d0b181ed438374a6bb708a82a8ca273bb0f61c74cf209c4" dependencies = [ - "assert_matches", "coarsetime", "crossbeam-queue", "derive_more", - "env_logger 0.9.0", "futures", "futures-timer", - "log", "nanorand", "thiserror", "tracing", @@ -11587,7 +11584,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160" dependencies = [ "cfg-if 1.0.0", - "log", "pin-project-lite 0.2.7", "tracing-attributes", "tracing-core", diff --git a/Cargo.toml b/Cargo.toml index be2e04291370..ee886dafdc8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -83,8 +83,6 @@ members = [ "node/network/gossip-support", "node/network/dispute-distribution", "node/overseer", - "node/orchestra", - "node/orchestra/proc-macro", "node/malus", "node/primitives", "node/service", @@ -96,7 +94,6 @@ members = [ "node/gum", "node/gum/proc-macro", "node/metrics", - "node/metered-channel", "node/test/client", "node/test/performance-test", "node/test/service", diff --git a/node/metered-channel/Cargo.toml b/node/metered-channel/Cargo.toml deleted file mode 100644 index da95d0db8d6c..000000000000 --- a/node/metered-channel/Cargo.toml +++ /dev/null @@ -1,25 +0,0 @@ -[package] -name = "prioritized-metered-channel" -version = "0.2.0" -authors = ["Parity Technologies "] -edition = "2021" -description = "Channels with built-in observability and message priorizitazion (coming soon™)" -repository = "https://github.com/paritytech/polkadot.git" -license = "MIT OR Apache-2.0" - -[dependencies] -futures = "0.3.21" -futures-timer = "3.0.2" -derive_more = "0.99" -tracing = "0.1.35" -thiserror = "1.0.31" -crossbeam-queue = "0.3.5" -nanorand = { version = "0.7.0", default-features = false, features = ["wyrand"] } -coarsetime = "^0.1.22" - -[dev-dependencies] -futures = { version = "0.3.21", features = ["thread-pool"] } -assert_matches = "1.5" -env_logger = "0.9" -log = "0.4" -tracing = { version = "0.1.35", features = ["log"] } diff --git a/node/metered-channel/src/bounded.rs b/node/metered-channel/src/bounded.rs deleted file mode 100644 index 4d3abffe729e..000000000000 --- a/node/metered-channel/src/bounded.rs +++ /dev/null @@ -1,195 +0,0 @@ -// Copyright 2017-2021 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . - -//! Metered variant of bounded mpsc channels to be able to extract metrics. - -use futures::{ - channel::mpsc, - sink::SinkExt, - stream::Stream, - task::{Context, Poll}, -}; - -use std::{pin::Pin, result}; - -use super::{measure_tof_check, CoarseInstant, MaybeTimeOfFlight, Meter}; - -/// Create a wrapped `mpsc::channel` pair of `MeteredSender` and `MeteredReceiver`. -pub fn channel(capacity: usize) -> (MeteredSender, MeteredReceiver) { - let (tx, rx) = mpsc::channel::>(capacity); - let shared_meter = Meter::default(); - let tx = MeteredSender { meter: shared_meter.clone(), inner: tx }; - let rx = MeteredReceiver { meter: shared_meter, inner: rx }; - (tx, rx) -} - -/// A receiver tracking the messages consumed by itself. -#[derive(Debug)] -pub struct MeteredReceiver { - // count currently contained messages - meter: Meter, - inner: mpsc::Receiver>, -} - -impl std::ops::Deref for MeteredReceiver { - type Target = mpsc::Receiver>; - fn deref(&self) -> &Self::Target { - &self.inner - } -} - -impl std::ops::DerefMut for MeteredReceiver { - fn deref_mut(&mut self) -> &mut Self::Target { - &mut self.inner - } -} - -impl Stream for MeteredReceiver { - type Item = T; - fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { - match mpsc::Receiver::poll_next(Pin::new(&mut self.inner), cx) { - Poll::Ready(maybe_value) => Poll::Ready(self.maybe_meter_tof(maybe_value)), - Poll::Pending => Poll::Pending, - } - } - - /// Don't rely on the unreliable size hint. - fn size_hint(&self) -> (usize, Option) { - self.inner.size_hint() - } -} - -impl MeteredReceiver { - fn maybe_meter_tof(&mut self, maybe_value: Option>) -> Option { - self.meter.note_received(); - maybe_value.map(|value| { - match value { - MaybeTimeOfFlight::::WithTimeOfFlight(value, tof_start) => { - // do not use `.elapsed()` of `std::time`, it may panic - // `coarsetime` does a saturating sub for all `CoarseInstant` substractions - let duration = tof_start.elapsed(); - self.meter.note_time_of_flight(duration); - value - }, - MaybeTimeOfFlight::::Bare(value) => value, - } - .into() - }) - } - - /// Get an updated accessor object for all metrics collected. - pub fn meter(&self) -> &Meter { - &self.meter - } - - /// Attempt to receive the next item. - pub fn try_next(&mut self) -> Result, mpsc::TryRecvError> { - match self.inner.try_next()? { - Some(value) => Ok(self.maybe_meter_tof(Some(value))), - None => Ok(None), - } - } -} - -impl futures::stream::FusedStream for MeteredReceiver { - fn is_terminated(&self) -> bool { - self.inner.is_terminated() - } -} - -/// The sender component, tracking the number of items -/// sent across it. -#[derive(Debug)] -pub struct MeteredSender { - meter: Meter, - inner: mpsc::Sender>, -} - -impl Clone for MeteredSender { - fn clone(&self) -> Self { - Self { meter: self.meter.clone(), inner: self.inner.clone() } - } -} - -impl std::ops::Deref for MeteredSender { - type Target = mpsc::Sender>; - fn deref(&self) -> &Self::Target { - &self.inner - } -} - -impl std::ops::DerefMut for MeteredSender { - fn deref_mut(&mut self) -> &mut Self::Target { - &mut self.inner - } -} - -impl MeteredSender { - fn prepare_with_tof(&self, item: T) -> MaybeTimeOfFlight { - let previous = self.meter.note_sent(); - let item = if measure_tof_check(previous) { - MaybeTimeOfFlight::WithTimeOfFlight(item, CoarseInstant::now()) - } else { - MaybeTimeOfFlight::Bare(item) - }; - item - } - - /// Get an updated accessor object for all metrics collected. - pub fn meter(&self) -> &Meter { - &self.meter - } - - /// Send message, wait until capacity is available. - pub async fn send(&mut self, msg: T) -> result::Result<(), mpsc::SendError> - where - Self: Unpin, - { - match self.try_send(msg) { - Err(send_err) => { - if !send_err.is_full() { - return Err(send_err.into_send_error()) - } - - let msg = send_err.into_inner(); - self.meter.note_sent(); - let fut = self.inner.send(msg); - futures::pin_mut!(fut); - fut.await.map_err(|e| { - self.meter.retract_sent(); - e - }) - }, - _ => Ok(()), - } - } - - /// Attempt to send message or fail immediately. - pub fn try_send( - &mut self, - msg: T, - ) -> result::Result<(), mpsc::TrySendError>> { - let msg = self.prepare_with_tof(msg); - self.inner.try_send(msg).map_err(|e| { - if e.is_full() { - // Count bounded channel sends that block. - self.meter.note_blocked(); - } - self.meter.retract_sent(); - e - }) - } -} diff --git a/node/metered-channel/src/lib.rs b/node/metered-channel/src/lib.rs deleted file mode 100644 index 726d7163270c..000000000000 --- a/node/metered-channel/src/lib.rs +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2017-2021 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . - -//! Metered variant of mpsc channels to be able to extract metrics. - -use std::sync::{ - atomic::{AtomicUsize, Ordering}, - Arc, -}; - -use derive_more::Display; - -mod bounded; -pub mod oneshot; -mod unbounded; - -pub use self::{bounded::*, unbounded::*}; - -pub use coarsetime::Duration as CoarseDuration; -use coarsetime::Instant as CoarseInstant; - -#[cfg(test)] -mod tests; - -/// A peek into the inner state of a meter. -#[derive(Debug, Clone)] -pub struct Meter { - // Number of sends on this channel. - sent: Arc, - // Number of receives on this channel. - received: Arc, - // Number of times senders blocked while sending messages to a subsystem. - blocked: Arc, - // Atomic ringbuffer of the last 50 time of flight values - tof: Arc>, -} - -impl std::default::Default for Meter { - fn default() -> Self { - Self { - sent: Arc::new(AtomicUsize::new(0)), - received: Arc::new(AtomicUsize::new(0)), - blocked: Arc::new(AtomicUsize::new(0)), - tof: Arc::new(crossbeam_queue::ArrayQueue::new(100)), - } - } -} - -/// A readout of sizes from the meter. Note that it is possible, due to asynchrony, for received -/// to be slightly higher than sent. -#[derive(Debug, Display, Clone, Default, PartialEq)] -#[display(fmt = "(sent={} received={})", sent, received)] -pub struct Readout { - /// The amount of messages sent on the channel, in aggregate. - pub sent: usize, - /// The amount of messages received on the channel, in aggregate. - pub received: usize, - /// How many times the caller blocked when sending messages. - pub blocked: usize, - /// Time of flight in micro seconds (us) - pub tof: Vec, -} - -impl Meter { - /// Count the number of items queued up inside the channel. - pub fn read(&self) -> Readout { - // when obtaining we don't care much about off by one - // accuracy - Readout { - sent: self.sent.load(Ordering::Relaxed), - received: self.received.load(Ordering::Relaxed), - blocked: self.blocked.load(Ordering::Relaxed), - tof: { - let mut acc = Vec::with_capacity(self.tof.len()); - while let Some(value) = self.tof.pop() { - acc.push(value) - } - acc - }, - } - } - - fn note_sent(&self) -> usize { - self.sent.fetch_add(1, Ordering::Relaxed) - } - - fn retract_sent(&self) { - self.sent.fetch_sub(1, Ordering::Relaxed); - } - - fn note_received(&self) { - self.received.fetch_add(1, Ordering::Relaxed); - } - - fn note_blocked(&self) { - self.blocked.fetch_add(1, Ordering::Relaxed); - } - - fn note_time_of_flight(&self, tof: CoarseDuration) { - let _ = self.tof.force_push(tof); - } -} - -/// Determine if this instance shall be measured -#[inline(always)] -fn measure_tof_check(nth: usize) -> bool { - if cfg!(test) { - // for tests, be deterministic and pick every second - nth & 0x01 == 0 - } else { - use nanorand::Rng; - let mut rng = nanorand::WyRand::new_seed(nth as u64); - let pick = rng.generate_range(1_usize..=1000); - // measure 5.3% - pick <= 53 - } -} - -/// Measure the time of flight between insertion and removal -/// of a single type `T` - -#[derive(Debug)] -pub enum MaybeTimeOfFlight { - Bare(T), - WithTimeOfFlight(T, CoarseInstant), -} - -impl From for MaybeTimeOfFlight { - fn from(value: T) -> Self { - Self::Bare(value) - } -} - -// Has some unexplicable conflict with a wildcard impl of std -impl MaybeTimeOfFlight { - /// Extract the inner `T` value. - pub fn into(self) -> T { - match self { - Self::Bare(value) => value, - Self::WithTimeOfFlight(value, _tof_start) => value, - } - } -} - -impl std::ops::Deref for MaybeTimeOfFlight { - type Target = T; - fn deref(&self) -> &Self::Target { - match self { - Self::Bare(ref value) => value, - Self::WithTimeOfFlight(ref value, _tof_start) => value, - } - } -} diff --git a/node/metered-channel/src/oneshot.rs b/node/metered-channel/src/oneshot.rs deleted file mode 100644 index 23cb548747b2..000000000000 --- a/node/metered-channel/src/oneshot.rs +++ /dev/null @@ -1,419 +0,0 @@ -// Copyright 2021 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . - -//! Metered variant of oneshot channels to be able to extract delays caused by delayed responses. - -use std::{ - ops::Deref, - pin::Pin, - task::{Context, Poll}, -}; - -use futures::{ - channel::oneshot::{self, Canceled, Cancellation}, - future::{Fuse, FusedFuture}, - prelude::*, -}; -use futures_timer::Delay; - -use crate::{CoarseDuration, CoarseInstant}; - -/// Provides the reason for termination. -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -#[repr(u8)] -pub enum Reason { - Completion = 1, - Cancellation = 2, - HardTimeout = 3, -} - -/// Obtained measurements by the `Receiver` side of the `MeteredOneshot`. -#[derive(Debug, Clone, PartialEq, Eq)] -pub struct Measurements { - /// Duration between first poll and polling termination. - first_poll_till_end: CoarseDuration, - /// Duration starting with creation until polling termination. - creation_till_end: CoarseDuration, - /// Reason for resolving the future. - reason: Reason, -} - -impl Measurements { - /// Obtain the duration of a finished or canceled - /// `oneshot` channel. - pub fn duration_since_first_poll(&self) -> &CoarseDuration { - &self.first_poll_till_end - } - - /// Obtain the duration of a finished or canceled - /// `oneshot` channel. - pub fn duration_since_creation(&self) -> &CoarseDuration { - &self.creation_till_end - } - - /// Obtain the reason to the channel termination. - pub fn reason(&self) -> &Reason { - &self.reason - } -} - -/// Create a new pair of `OneshotMetered{Sender,Receiver}`. -pub fn channel( - name: &'static str, - soft_timeout: CoarseDuration, - hard_timeout: CoarseDuration, -) -> (MeteredSender, MeteredReceiver) { - let (tx, rx) = oneshot::channel(); - - ( - MeteredSender { inner: tx }, - MeteredReceiver { - name, - inner: rx, - soft_timeout, - hard_timeout, - soft_timeout_fut: None, - hard_timeout_fut: None, - first_poll_timestamp: None, - creation_timestamp: CoarseInstant::now(), - }, - ) -} - -#[allow(missing_docs)] -#[derive(thiserror::Error, Debug)] -pub enum Error { - #[error("Oneshot was canceled.")] - Canceled(#[source] Canceled, Measurements), - #[error("Oneshot did not receive a response within {}", CoarseDuration::as_f64(.0))] - HardTimeout(CoarseDuration, Measurements), -} - -impl Measurable for Error { - fn measurements(&self) -> Measurements { - match self { - Self::Canceled(_, measurements) => measurements.clone(), - Self::HardTimeout(_, measurements) => measurements.clone(), - } - } -} - -/// Oneshot sender, created by [`channel`]. -#[derive(Debug)] -pub struct MeteredSender { - inner: oneshot::Sender<(CoarseInstant, T)>, -} - -impl MeteredSender { - /// Send a value. - pub fn send(self, t: T) -> Result<(), T> { - let Self { inner } = self; - inner.send((CoarseInstant::now(), t)).map_err(|(_, t)| t) - } - - /// Poll if the thing is already canceled. - pub fn poll_canceled(&mut self, ctx: &mut Context<'_>) -> Poll<()> { - self.inner.poll_canceled(ctx) - } - - /// Access the cancellation object. - pub fn cancellation(&mut self) -> Cancellation<'_, (CoarseInstant, T)> { - self.inner.cancellation() - } - - /// Check the cancellation state. - pub fn is_canceled(&self) -> bool { - self.inner.is_canceled() - } - - /// Verify if the `receiver` is connected to the `sender` [`Self`]. - pub fn is_connected_to(&self, receiver: &MeteredReceiver) -> bool { - self.inner.is_connected_to(&receiver.inner) - } -} - -/// Oneshot receiver, created by [`channel`]. -#[derive(Debug)] -pub struct MeteredReceiver { - name: &'static str, - inner: oneshot::Receiver<(CoarseInstant, T)>, - /// Soft timeout, on expire a warning is printed. - soft_timeout_fut: Option>, - soft_timeout: CoarseDuration, - /// Hard timeout, terminating the sender. - hard_timeout_fut: Option, - hard_timeout: CoarseDuration, - /// The first time the receiver was polled. - first_poll_timestamp: Option, - creation_timestamp: CoarseInstant, -} - -impl MeteredReceiver { - pub fn close(&mut self) { - self.inner.close() - } - - /// Attempts to receive a message outside of the context of a task. - /// - /// A return value of `None` must be considered immediately stale (out of - /// date) unless [`close`](MeteredReceiver::close) has been called first. - /// - /// Returns an error if the sender was dropped. - pub fn try_recv(&mut self) -> Result>, Error> { - match self.inner.try_recv() { - Ok(Some((when, value))) => { - let measurements = self.create_measurement(when, Reason::Completion); - Ok(Some(OutputWithMeasurements { value, measurements })) - }, - Err(e) => { - let measurements = self.create_measurement( - self.first_poll_timestamp.unwrap_or_else(|| CoarseInstant::now()), - Reason::Cancellation, - ); - Err(Error::Canceled(e, measurements)) - }, - Ok(None) => Ok(None), - } - } - - /// Helper to create a measurement. - /// - /// `start` determines the first possible time where poll can resolve with `Ready`. - fn create_measurement(&self, start: CoarseInstant, reason: Reason) -> Measurements { - let end = CoarseInstant::now(); - Measurements { - // negative values are ok, if `send` was called before we poll for the first time. - first_poll_till_end: end - start, - creation_till_end: end - self.creation_timestamp, - reason, - } - } -} - -impl FusedFuture for MeteredReceiver { - fn is_terminated(&self) -> bool { - self.inner.is_terminated() - } -} - -impl Future for MeteredReceiver { - type Output = Result, Error>; - - fn poll( - mut self: Pin<&mut Self>, - ctx: &mut Context<'_>, - ) -> Poll, Error>> { - let first_poll_timestamp = - self.first_poll_timestamp.get_or_insert_with(|| CoarseInstant::now()).clone(); - - let soft_timeout = self.soft_timeout.clone().into(); - let soft_timeout = self - .soft_timeout_fut - .get_or_insert_with(move || Delay::new(soft_timeout).fuse()); - - if Pin::new(soft_timeout).poll(ctx).is_ready() { - tracing::warn!(target: "oneshot", "Oneshot `{name}` exceeded the soft threshold", name = &self.name); - } - - let hard_timeout = self.hard_timeout.clone().into(); - let hard_timeout = - self.hard_timeout_fut.get_or_insert_with(move || Delay::new(hard_timeout)); - - if Pin::new(hard_timeout).poll(ctx).is_ready() { - let measurements = self.create_measurement(first_poll_timestamp, Reason::HardTimeout); - return Poll::Ready(Err(Error::HardTimeout(self.hard_timeout.clone(), measurements))) - } - - match Pin::new(&mut self.inner).poll(ctx) { - Poll::Pending => Poll::Pending, - Poll::Ready(Err(e)) => { - let measurements = - self.create_measurement(first_poll_timestamp, Reason::Cancellation); - Poll::Ready(Err(Error::Canceled(e, measurements))) - }, - Poll::Ready(Ok((ref sent_at_timestamp, value))) => { - let measurements = - self.create_measurement(sent_at_timestamp.clone(), Reason::Completion); - Poll::Ready(Ok(OutputWithMeasurements:: { value, measurements })) - }, - } - } -} - -/// A dummy trait that allows implementing `measurements` for `Result<_,_>`. -pub trait Measurable { - /// Obtain a set of measurements represented by the `Measurements` type. - fn measurements(&self) -> Measurements; -} - -impl Measurable for Result, Error> { - fn measurements(&self) -> Measurements { - match self { - Err(err) => err.measurements(), - Ok(val) => val.measurements(), - } - } -} - -/// A wrapping type for the actual type `T` that is sent with the -/// oneshot yet allow to attach `Measurements` to it. -/// -/// Implements `AsRef` besides others for easier access to the inner, -/// wrapped type. -#[derive(Clone, Debug)] -pub struct OutputWithMeasurements { - value: T, - measurements: Measurements, -} - -impl Measurable for OutputWithMeasurements { - fn measurements(&self) -> Measurements { - self.measurements.clone() - } -} - -impl OutputWithMeasurements { - /// Converts the wrapper type into it's inner value. - /// - /// `trait Into` cannot be implemented due to conflicts. - pub fn into(self) -> T { - self.value - } -} - -impl AsRef for OutputWithMeasurements { - fn as_ref(&self) -> &T { - &self.value - } -} - -impl Deref for OutputWithMeasurements { - type Target = T; - - fn deref(&self) -> &Self::Target { - &self.value - } -} - -#[cfg(test)] -mod tests { - use assert_matches::assert_matches; - use futures::{executor::ThreadPool, task::SpawnExt}; - use std::time::Duration; - - use super::*; - - #[derive(Clone, PartialEq, Eq, Debug)] - struct DummyItem { - vals: [u8; 256], - } - - impl Default for DummyItem { - fn default() -> Self { - Self { vals: [0u8; 256] } - } - } - - fn test_launch(name: &'static str, gen_sender_test: S, gen_receiver_test: R) - where - S: Fn(MeteredSender) -> FS, - R: Fn(MeteredReceiver) -> FR, - FS: Future + Send + 'static, - FR: Future + Send + 'static, - { - let _ = env_logger::builder().is_test(true).filter_level(LevelFilter::Trace).try_init(); - - let pool = ThreadPool::new().unwrap(); - let (tx, rx) = channel(name, CoarseDuration::from_secs(1), CoarseDuration::from_secs(3)); - futures::executor::block_on(async move { - let handle_receiver = pool.spawn_with_handle(gen_receiver_test(rx)).unwrap(); - let handle_sender = pool.spawn_with_handle(gen_sender_test(tx)).unwrap(); - futures::future::select( - futures::future::join(handle_sender, handle_receiver), - Delay::new(Duration::from_secs(5)), - ) - .await; - }); - } - - use log::LevelFilter; - - #[test] - fn easy() { - test_launch( - "easy", - |tx| async move { - tx.send(DummyItem::default()).unwrap(); - }, - |rx| async move { - let x = rx.await.unwrap(); - let measurements = x.measurements(); - assert_eq!(x.as_ref(), &DummyItem::default()); - dbg!(measurements); - }, - ); - } - - #[test] - fn cancel_by_drop() { - test_launch( - "cancel_by_drop", - |tx| async move { - Delay::new(Duration::from_secs(2)).await; - drop(tx); - }, - |rx| async move { - let result = rx.await; - assert_matches!(result, Err(Error::Canceled(_, _))); - dbg!(result.measurements()); - }, - ); - } - - #[test] - fn starve_till_hard_timeout() { - test_launch( - "starve_till_timeout", - |tx| async move { - Delay::new(Duration::from_secs(4)).await; - let _ = tx.send(DummyItem::default()); - }, - |rx| async move { - let result = rx.await; - assert_matches!(&result, e @ &Err(Error::HardTimeout(_, _)) => { - println!("{:?}", e); - }); - dbg!(result.measurements()); - }, - ); - } - - #[test] - fn starve_till_soft_timeout_then_food() { - test_launch( - "starve_till_soft_timeout_then_food", - |tx| async move { - Delay::new(Duration::from_secs(2)).await; - let _ = tx.send(DummyItem::default()); - }, - |rx| async move { - let result = rx.await; - assert_matches!(result, Ok(_)); - dbg!(result.measurements()); - }, - ); - } -} diff --git a/node/metered-channel/src/tests.rs b/node/metered-channel/src/tests.rs deleted file mode 100644 index 6ea947eaa5be..000000000000 --- a/node/metered-channel/src/tests.rs +++ /dev/null @@ -1,150 +0,0 @@ -// Copyright 2021 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . - -use super::*; -use assert_matches::assert_matches; -use futures::{executor::block_on, StreamExt}; - -#[derive(Clone, Copy, Debug, Default)] -struct Msg { - val: u8, -} - -#[test] -fn try_send_try_next() { - block_on(async move { - let (mut tx, mut rx) = channel::(5); - let msg = Msg::default(); - assert_matches!(rx.meter().read(), Readout { sent: 0, received: 0, .. }); - tx.try_send(msg).unwrap(); - assert_matches!(tx.meter().read(), Readout { sent: 1, received: 0, .. }); - tx.try_send(msg).unwrap(); - tx.try_send(msg).unwrap(); - tx.try_send(msg).unwrap(); - assert_matches!(tx.meter().read(), Readout { sent: 4, received: 0, .. }); - rx.try_next().unwrap(); - assert_matches!(rx.meter().read(), Readout { sent: 4, received: 1, .. }); - rx.try_next().unwrap(); - rx.try_next().unwrap(); - assert_matches!(tx.meter().read(), Readout { sent: 4, received: 3, blocked: 0, tof } => { - // every second in test, consumed before - assert_eq!(dbg!(tof).len(), 1); - }); - rx.try_next().unwrap(); - assert_matches!(rx.meter().read(), Readout { sent: 4, received: 4, blocked: 0, tof } => { - // every second in test, consumed before - assert_eq!(dbg!(tof).len(), 0); - }); - assert!(rx.try_next().is_err()); - }); -} - -#[test] -fn with_tasks() { - let (ready, go) = futures::channel::oneshot::channel(); - - let (mut tx, mut rx) = channel::(5); - block_on(async move { - futures::join!( - async move { - let msg = Msg::default(); - assert_matches!(tx.meter().read(), Readout { sent: 0, received: 0, .. }); - tx.try_send(msg).unwrap(); - assert_matches!(tx.meter().read(), Readout { sent: 1, received: 0, .. }); - tx.try_send(msg).unwrap(); - tx.try_send(msg).unwrap(); - tx.try_send(msg).unwrap(); - ready.send(()).expect("Helper oneshot channel must work. qed"); - }, - async move { - go.await.expect("Helper oneshot channel must work. qed"); - assert_matches!(rx.meter().read(), Readout { sent: 4, received: 0, .. }); - rx.try_next().unwrap(); - assert_matches!(rx.meter().read(), Readout { sent: 4, received: 1, .. }); - rx.try_next().unwrap(); - rx.try_next().unwrap(); - assert_matches!(rx.meter().read(), Readout { sent: 4, received: 3, .. }); - rx.try_next().unwrap(); - assert_matches!(dbg!(rx.meter().read()), Readout { sent: 4, received: 4, .. }); - } - ) - }); -} - -use futures_timer::Delay; -use std::time::Duration; - -#[test] -fn stream_and_sink() { - let (mut tx, mut rx) = channel::(5); - - block_on(async move { - futures::join!( - async move { - for i in 0..15 { - println!("Sent #{} with a backlog of {} items", i + 1, tx.meter().read()); - let msg = Msg { val: i as u8 + 1u8 }; - tx.send(msg).await.unwrap(); - assert!(tx.meter().read().sent > 0usize); - Delay::new(Duration::from_millis(20)).await; - } - () - }, - async move { - while let Some(msg) = rx.next().await { - println!("rx'd one {} with {} backlogged", msg.val, rx.meter().read()); - Delay::new(Duration::from_millis(29)).await; - } - } - ) - }); -} - -#[test] -fn failed_send_does_not_inc_sent() { - let (mut bounded, _) = channel::(5); - let (unbounded, _) = unbounded::(); - - block_on(async move { - assert!(bounded.send(Msg::default()).await.is_err()); - assert!(bounded.try_send(Msg::default()).is_err()); - assert_matches!(bounded.meter().read(), Readout { sent: 0, received: 0, .. }); - - assert!(unbounded.unbounded_send(Msg::default()).is_err()); - assert_matches!(unbounded.meter().read(), Readout { sent: 0, received: 0, .. }); - }); -} - -#[test] -fn blocked_send_is_metered() { - let (mut bounded_sender, mut bounded_receiver) = channel::(1); - - block_on(async move { - assert!(bounded_sender.send(Msg::default()).await.is_ok()); - assert!(bounded_sender.send(Msg::default()).await.is_ok()); - assert!(bounded_sender.try_send(Msg::default()).is_err()); - - assert_matches!( - bounded_sender.meter().read(), - Readout { sent: 2, received: 0, blocked: 1, .. } - ); - bounded_receiver.try_next().unwrap(); - assert_matches!( - bounded_receiver.meter().read(), - Readout { sent: 2, received: 1, blocked: 1, .. } - ); - }); -} diff --git a/node/metered-channel/src/unbounded.rs b/node/metered-channel/src/unbounded.rs deleted file mode 100644 index 8ade941d6831..000000000000 --- a/node/metered-channel/src/unbounded.rs +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright 2017-2021 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . - -//! Metered variant of unbounded mpsc channels to be able to extract metrics. - -use futures::{ - channel::mpsc, - stream::Stream, - task::{Context, Poll}, -}; - -use std::{pin::Pin, result}; - -use super::{measure_tof_check, CoarseInstant, MaybeTimeOfFlight, Meter}; - -/// Create a wrapped `mpsc::channel` pair of `MeteredSender` and `MeteredReceiver`. -pub fn unbounded() -> (UnboundedMeteredSender, UnboundedMeteredReceiver) { - let (tx, rx) = mpsc::unbounded::>(); - let shared_meter = Meter::default(); - let tx = UnboundedMeteredSender { meter: shared_meter.clone(), inner: tx }; - let rx = UnboundedMeteredReceiver { meter: shared_meter, inner: rx }; - (tx, rx) -} - -/// A receiver tracking the messages consumed by itself. -#[derive(Debug)] -pub struct UnboundedMeteredReceiver { - // count currently contained messages - meter: Meter, - inner: mpsc::UnboundedReceiver>, -} - -impl std::ops::Deref for UnboundedMeteredReceiver { - type Target = mpsc::UnboundedReceiver>; - fn deref(&self) -> &Self::Target { - &self.inner - } -} - -impl std::ops::DerefMut for UnboundedMeteredReceiver { - fn deref_mut(&mut self) -> &mut Self::Target { - &mut self.inner - } -} - -impl Stream for UnboundedMeteredReceiver { - type Item = T; - fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { - match mpsc::UnboundedReceiver::poll_next(Pin::new(&mut self.inner), cx) { - Poll::Ready(maybe_value) => Poll::Ready(self.maybe_meter_tof(maybe_value)), - Poll::Pending => Poll::Pending, - } - } - - /// Don't rely on the unreliable size hint. - fn size_hint(&self) -> (usize, Option) { - self.inner.size_hint() - } -} - -impl UnboundedMeteredReceiver { - fn maybe_meter_tof(&mut self, maybe_value: Option>) -> Option { - self.meter.note_received(); - maybe_value.map(|value| { - match value { - MaybeTimeOfFlight::::WithTimeOfFlight(value, tof_start) => { - // do not use `.elapsed()` of `std::time`, it may panic - // `coarsetime` does a saturating substractio for all `CoarseInstant`s - let duration = tof_start.elapsed(); - self.meter.note_time_of_flight(duration); - value - }, - MaybeTimeOfFlight::::Bare(value) => value, - } - .into() - }) - } - - /// Get an updated accessor object for all metrics collected. - pub fn meter(&self) -> &Meter { - &self.meter - } - - /// Attempt to receive the next item. - pub fn try_next(&mut self) -> Result, mpsc::TryRecvError> { - match self.inner.try_next()? { - Some(value) => Ok(self.maybe_meter_tof(Some(value))), - None => Ok(None), - } - } -} - -impl futures::stream::FusedStream for UnboundedMeteredReceiver { - fn is_terminated(&self) -> bool { - self.inner.is_terminated() - } -} - -/// The sender component, tracking the number of items -/// sent across it. -#[derive(Debug)] -pub struct UnboundedMeteredSender { - meter: Meter, - inner: mpsc::UnboundedSender>, -} - -impl Clone for UnboundedMeteredSender { - fn clone(&self) -> Self { - Self { meter: self.meter.clone(), inner: self.inner.clone() } - } -} - -impl std::ops::Deref for UnboundedMeteredSender { - type Target = mpsc::UnboundedSender>; - fn deref(&self) -> &Self::Target { - &self.inner - } -} - -impl std::ops::DerefMut for UnboundedMeteredSender { - fn deref_mut(&mut self) -> &mut Self::Target { - &mut self.inner - } -} - -impl UnboundedMeteredSender { - fn prepare_with_tof(&self, item: T) -> MaybeTimeOfFlight { - let previous = self.meter.note_sent(); - let item = if measure_tof_check(previous) { - MaybeTimeOfFlight::WithTimeOfFlight(item, CoarseInstant::now()) - } else { - MaybeTimeOfFlight::Bare(item) - }; - item - } - - /// Get an updated accessor object for all metrics collected. - pub fn meter(&self) -> &Meter { - &self.meter - } - - /// Attempt to send message or fail immediately. - pub fn unbounded_send( - &self, - msg: T, - ) -> result::Result<(), mpsc::TrySendError>> { - let msg = self.prepare_with_tof(msg); - self.inner.unbounded_send(msg).map_err(|e| { - self.meter.retract_sent(); - e - }) - } -} diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index a5221a05dbd8..ba9843d24031 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -10,7 +10,7 @@ futures = "0.3.21" futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../gum" } -metered = { package = "prioritized-metered-channel", path = "../metered-channel" , "version" = "0.2.0" } +metered = { package = "prioritized-metered-channel", version = "0.2.0" } # Both `sc-service` and `sc-cli` are required by runtime metrics `logger_hook()`. sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/orchestra/Cargo.toml b/node/orchestra/Cargo.toml deleted file mode 100644 index 8686003f475b..000000000000 --- a/node/orchestra/Cargo.toml +++ /dev/null @@ -1,37 +0,0 @@ -[package] -name = "orchestra" -version = "0.0.1" -authors = ["Parity Technologies "] -edition = "2021" -description = "Generate an orchestra of subsystems from a single struct." -repository = "https://github.com/paritytech/polkadot" -license = "MIT OR Apache-2.0" -autoexamples = false - -[dependencies] -tracing = "0.1.35" -futures = "0.3" -async-trait = "0.1" -thiserror = "1" -metered = { package = "prioritized-metered-channel", version = "0.2.0", path = "../metered-channel" } -orchestra-proc-macro = { version = "0.0.1", path = "./proc-macro" } -futures-timer = "3.0.2" -pin-project = "1.0" -dyn-clonable = "0.9" - -[dev-dependencies] -trybuild = "1.0.61" -rustversion = "1.0.6" - - -[[example]] -name = "duo" -crate-type = ["bin"] - -[[example]] -name = "solo" -crate-type = ["bin"] - -[features] -default = [] -expand = ["orchestra-proc-macro/expand"] diff --git a/node/orchestra/README.md b/node/orchestra/README.md deleted file mode 100644 index 2cfe4bb0a884..000000000000 --- a/node/orchestra/README.md +++ /dev/null @@ -1,99 +0,0 @@ -# orchestra - -The orchestra pattern is a partial actor pattern, with a global orchestrator regarding -relevant work items. - -## proc-macro - -The proc macro provides a convenience generator with a builder pattern, -where at it's core it creates and spawns a set of subsystems, which are purely -declarative. - -```rust - #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] - pub struct Opera { - #[subsystem(MsgA, sends: [MsgB])] - sub_a: AwesomeSubSysA, - - #[subsystem(MsgB, sends: [MsgA])] - sub_b: AwesomeSubSysB, - } -``` - -* Each subsystem is annotated with `#[subsystem(_)]` where `MsgA` respectively `MsgB` are the messages -being consumed by that particular subsystem. Each of those subsystems is required to implement the subsystem -trait with the correct trait bounds. Commonly this is achieved -by using `#[subsystem]` and `#[contextbounds]` macro. - * `#[contextbounds(Foo, error=Yikes, prefix=wherethetraitsat)]` can applied to `impl`-blocks and `fn`-blocks. It will add additional trait bounds for the generic `Context` with `Context: FooContextTrait` for `::Sender: FooSenderTrait` besides a few more. Note that `Foo` here references the name of the subsystem as declared in `#[orchestra(..)]` macro. - * `#[subsystem(Foo, error=Yikes, prefix=wherethetraitsat)]` is a extension to the above, implementing `trait Subsystem`. -* `error=` tells the orchestra to use the user provided -error type, if not provided a builtin one is used. Note that this is the one error type used throughout all calls, so make sure it does impl `From` for all other error types `E` that are relevant to your application. -* `event=` declares an external event type, that injects certain events -into the orchestra, without participating in the subsystem pattern. -* `signal=` defines a signal type to be used for the orchestra. This is a shared "tick" or "clock" for all subsystems. -* `gen=` defines a wrapping `enum` type that is used to wrap all messages that can be consumed by _any_ subsystem. - -```rust - /// Execution context, always required. - pub struct DummyCtx; - - /// Task spawner, always required - /// and must implement `trait orchestra::Spawner`. - pub struct DummySpawner; - - fn main() { - let _orchestra = Opera::builder() - .sub_a(AwesomeSubSysA::default()) - .sub_b(AwesomeSubSysB::default()) - .spawner(DummySpawner) - .build(); - } -``` - -In the shown `main`, the orchestra is created by means of a generated, compile time erroring -builder pattern. - -The builder requires all subsystems, baggage fields (additional struct data) and spawner to be -set via the according setter method before `build` method could even be called. Failure to do -such an initialization will lead to a compile error. This is implemented by encoding each -builder field in a set of so called `state generics`, meaning that each field can be either -`Init` or `Missing`, so each setter translates a state from `Missing` to `Init` state -for the specific struct field. Therefore, if you see a compile time error that blames about -`Missing` where `Init` is expected it usually means that some subsystems or baggage fields were -not set prior to the `build` call. - -To exclude subsystems from such a check, one can set `wip` attribute on some subsystem that -is not ready to be included in the Orchestra: - -```rust - #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] - pub struct Opera { - #[subsystem(MsgA, sends: MsgB)] - sub_a: AwesomeSubSysA, - - #[subsystem(MsgB, sends: MsgA), wip] - sub_b: AwesomeSubSysB, // This subsystem will not be required nor allowed to be set - } -``` - -Baggage fields can be initialized more than one time, however, it is not true for subsystems: -subsystems must be initialized only once (another compile time check) or be _replaced_ by -a special setter like method `replace_`. - -A task spawner and subsystem context are required to be defined with `Spawner` and respectively `SubsystemContext` implemented. - -## Debugging - -As always, debugging is notoriously annoying with bugged proc-macros. - -Therefore [`expander`](https://github.com/drahnr/expander) is employed to yield better -error messages. Enable with `--feature=orchestra/expand`. - -## License - -Licensed under either of - -* Apache License, Version 2.0, (LICENSE-APACHE or ) -* MIT license (LICENSE-MIT or ) - -at your option. diff --git a/node/orchestra/adr/01-adr.md b/node/orchestra/adr/01-adr.md deleted file mode 100644 index 3b1cb57eb322..000000000000 --- a/node/orchestra/adr/01-adr.md +++ /dev/null @@ -1,21 +0,0 @@ -# Limit outgoing messages - -## Status - -Accepted + implemented. - -## Context - -Previously, there was no way to limit and hence reason about a subset of subsystems, and if they form a cycle. Limiting the outgoing message types is a first step to create respective graphs and use classic graph algorithms to detect those and leave it to the user to resolve these. - -## Decision - -Annotate the `#[orchestra]` inner `#[subsystem(..)]` annotation -with an aditional set of outgoing messages and enforce this via more fine grained trait bounds on the `Sender` and `::Sender` bounds. - -## Consequences - -* A graph will be spawn for every compilation under the `OUT_DIR` of the crate where `#[orchestra]` is specified. -* Each subsystem has a consuming message which is often referred to as generic `M` (no change on that, is as before), but now we have trait `AssociateOutgoing { type OutgoingMessages = ..; }` which defines an outgoing helper `enum` that is generated with an ident constructed as `${Subsystem}OutgoingMessages` where `${Subsystem}` is the subsystem identifier as used in the orchestra declaration. `${Subsystem}OutgoingMessages` is used throughout everywhere to constrain the outgoing messages (commonly referred to as `OutgoingMessage` generic bounded by `${Subsystem}OutgoingMessages: From` or `::OutgoingMessages: From`. It's what allows the construction of the graph and compile time verification. -* `${Subsystem}SenderTrait` and `${Subsystem}ContextTrait` are accumulation traits or wrapper traits, that combine over all annotated M or `OutgoingMessages` from the orchestra declaration or their respective outgoing types. It is usage convenience and assures consistency within a subsystem while also maintaining a single source of truth for which messages can be sent by a particular subsystem. Note that this is sidestepped for the test subsystem, which may consume `gen=AllMessages`, the global message wrapper type. -* `Job`-based subsystems, being on their way out, are patched, but they now are generic over the `Sender` type, leaking that type. diff --git a/node/orchestra/examples/duo.rs b/node/orchestra/examples/duo.rs deleted file mode 100644 index 7fd465981273..000000000000 --- a/node/orchestra/examples/duo.rs +++ /dev/null @@ -1,106 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#![allow(dead_code)] // orchestra events are not used - -//! A dummy to be used with cargo expand - -use orchestra::{self as orchestra, Spawner, *}; -use std::{collections::HashMap, sync::Arc}; -mod misc; - -pub use self::misc::*; - -/// Concrete subsystem implementation for `MsgStrukt` msg type. -#[derive(Default)] -pub struct AwesomeSubSys; - -#[orchestra::subsystem(Awesome, error=Yikes)] -impl AwesomeSubSys { - fn start(self, mut ctx: Context) -> SpawnedSubsystem { - let mut sender = ctx.sender().clone(); - ctx.spawn( - "AwesomeSubsys", - Box::pin(async move { - sender.send_message(Plinko).await; - }), - ) - .unwrap(); - unimplemented!("starting yay!") - } -} - -#[derive(Default)] -pub struct Fortified; - -#[orchestra::subsystem(GoblinTower, error=Yikes)] -impl Fortified { - fn start(self, mut ctx: Context) -> SpawnedSubsystem { - let mut sender = ctx.sender().clone(); - ctx.spawn( - "GoblinTower", - Box::pin(async move { - sender.send_message(MsgStrukt(8u8)).await; - }), - ) - .unwrap(); - unimplemented!("welcum") - } -} - -#[orchestra(signal=SigSigSig, event=EvX, error=Yikes, gen=AllMessages)] -struct Duo { - #[subsystem(consumes: MsgStrukt, sends: [Plinko])] - sub0: Awesome, - - #[subsystem(blocking, consumes: Plinko, sends: [MsgStrukt])] - plinkos: GoblinTower, - - i_like_pi: f64, - i_like_tuple: (f64, f64), - i_like_generic: Arc, - i_like_hash: HashMap<(U, V), Arc>, -} - -fn main() { - use futures::{executor, pin_mut}; - - executor::block_on(async move { - let (orchestra, _handle): (Duo<_, f64, u32, f32, f64>, _) = Duo::builder() - .sub0(AwesomeSubSys::default()) - .plinkos(Fortified::default()) - .i_like_pi(::std::f64::consts::PI) - .i_like_tuple((::std::f64::consts::PI, ::std::f64::consts::PI)) - .i_like_generic(Arc::new(42.0)) - .i_like_hash(HashMap::new()) - .spawner(DummySpawner) - .build() - .unwrap(); - - assert_eq!(orchestra.i_like_pi.floor() as i8, 3); - assert_eq!(orchestra.i_like_generic.floor() as i8, 42); - assert_eq!(orchestra.i_like_hash.len() as i8, 0); - - let orchestra_fut = orchestra - .running_subsystems - .into_future() - .timeout(std::time::Duration::from_millis(300)) - .fuse(); - - pin_mut!(orchestra_fut); - - orchestra_fut.await - }); -} diff --git a/node/orchestra/examples/misc.rs b/node/orchestra/examples/misc.rs deleted file mode 100644 index ffd5001d07bd..000000000000 --- a/node/orchestra/examples/misc.rs +++ /dev/null @@ -1,84 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use orchestra::{Spawner, *}; - -#[derive(Debug, Clone, Copy)] -pub enum SigSigSig { - Conclude, - Foo, -} - -#[derive(Debug, Clone)] -pub struct DummySpawner; - -impl Spawner for DummySpawner { - fn spawn_blocking( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn blocking {} {}", task_name, subsystem_name.unwrap_or("default")) - } - - fn spawn( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn {} {}", task_name, subsystem_name.unwrap_or("default")) - } -} - -/// The external event. -#[derive(Debug, Clone)] -pub struct EvX; - -impl EvX { - pub fn focus<'a, T>(&'a self) -> Result { - unimplemented!("focus") - } -} - -#[derive(Debug, Clone, Copy)] -pub struct Yikes; - -impl std::fmt::Display for Yikes { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { - writeln!(f, "yikes!") - } -} - -impl std::error::Error for Yikes {} - -impl From for Yikes { - fn from(_: orchestra::OrchestraError) -> Yikes { - Yikes - } -} - -impl From for Yikes { - fn from(_: orchestra::mpsc::SendError) -> Yikes { - Yikes - } -} - -#[derive(Debug, Clone)] -pub struct MsgStrukt(pub u8); - -#[derive(Debug, Clone, Copy)] -pub struct Plinko; diff --git a/node/orchestra/examples/solo.rs b/node/orchestra/examples/solo.rs deleted file mode 100644 index cc82656759cd..000000000000 --- a/node/orchestra/examples/solo.rs +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#![allow(dead_code)] // orchestra events are not used - -//! A minimal demo to be used with cargo expand. - -use orchestra::{self as orchestra, Spawner, *}; -mod misc; - -pub use self::misc::*; - -#[orchestra(signal=SigSigSig, event=EvX, error=Yikes, gen=AllMessages)] -struct Solo { - #[subsystem(consumes: Plinko, sends: [MsgStrukt])] - goblin_tower: GoblinTower, -} - -#[derive(Default)] -pub struct Fortified; - -#[orchestra::subsystem(GoblinTower, error=Yikes)] -impl Fortified { - fn start(self, mut ctx: Context) -> SpawnedSubsystem { - let mut sender = ctx.sender().clone(); - ctx.spawn( - "GoblinTower", - Box::pin(async move { - sender.send_message(MsgStrukt(8u8)).await; - }), - ) - .unwrap(); - unimplemented!("welcum") - } -} - -async fn setup() { - let builder = Solo::builder(); - - let builder = builder.goblin_tower(Fortified::default()); - - let builder = builder.spawner(DummySpawner); - let (orchestra, _handle): (Solo<_>, _) = builder.build().unwrap(); - - let orchestra_fut = orchestra - .running_subsystems - .into_future() - .timeout(std::time::Duration::from_millis(300)) - .fuse(); - - futures::pin_mut!(orchestra_fut); - - orchestra_fut.await; -} - -fn assert_t_impl_trait_send(_: &T) {} - -fn main() { - let x = setup(); - assert_t_impl_trait_send(&x); - futures::executor::block_on(x); -} diff --git a/node/orchestra/proc-macro/Cargo.toml b/node/orchestra/proc-macro/Cargo.toml deleted file mode 100644 index bd0551e2e005..000000000000 --- a/node/orchestra/proc-macro/Cargo.toml +++ /dev/null @@ -1,38 +0,0 @@ -[package] -name = "orchestra-proc-macro" -version = "0.0.1" -authors = ["Parity Technologies "] -edition = "2021" -description = "Generate an orchestra of subsystems from a single annotated struct definition." -repository = "https://github.com/paritytech/polkadot" -license = "MIT OR Apache-2.0" - -[package.metadata.docs.rs] -targets = ["x86_64-unknown-linux-gnu"] - -[lib] -proc-macro = true - -[dependencies] -syn = { version = "1.0.95", features = ["full", "extra-traits"] } -quote = "1.0.20" -proc-macro2 = "1.0.43" -proc-macro-crate = "1.1.3" -expander = { version = "0.0.6", default-features = false } -petgraph = "0.6.0" -itertools = { version = "0.10.3" } - -[dev-dependencies] -assert_matches = "1.5" -orchestra = { path = "../" } -thiserror = "1" -tracing = "0.1" - -[features] -default = [] # enable "graph" by default, blocked by -# write the expanded version to a `orchestra-expansion.[a-f0-9]{10}.rs` -# in the `OUT_DIR` as defined by `cargo` for the `expander` crate. -expand = [] -# Create directional message consuming / outgoing graph. -# Generates: `${OUT_DIR}/${orchestra|lowercase}-subsystem-messaging.dot` -graph = [] diff --git a/node/orchestra/proc-macro/build.rs b/node/orchestra/proc-macro/build.rs deleted file mode 100644 index 24bd09048397..000000000000 --- a/node/orchestra/proc-macro/build.rs +++ /dev/null @@ -1,3 +0,0 @@ -fn main() { - // populate OUT_DIR -} diff --git a/node/orchestra/proc-macro/src/graph.rs b/node/orchestra/proc-macro/src/graph.rs deleted file mode 100644 index 13406efaf06a..000000000000 --- a/node/orchestra/proc-macro/src/graph.rs +++ /dev/null @@ -1,432 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use quote::ToTokens; -use syn::{Ident, Path}; - -use petgraph::{graph::NodeIndex, Graph}; -use std::collections::{hash_map::RandomState, HashMap, HashSet}; - -use super::*; - -/// Representation of all subsystem connections -pub(crate) struct ConnectionGraph<'a> { - /// Graph of connected subsystems - /// - /// The graph represents a subsystem as a node or `NodeIndex` - /// and edges are messages sent, directed from the sender to - /// the receiver of the message. - pub(crate) graph: Graph, - /// Cycles within the graph - #[cfg_attr(not(feature = "graph"), allow(dead_code))] - pub(crate) sccs: Vec>, - /// Messages that are never being sent (and by which subsystem), but are consumed - /// Maps the message `Path` to the subsystem `Ident` represented by `NodeIndex`. - #[cfg_attr(not(feature = "graph"), allow(dead_code))] - pub(crate) unsent_messages: HashMap<&'a Path, (&'a Ident, NodeIndex)>, - /// Messages being sent (and by which subsystem), but not consumed by any subsystem - /// Maps the message `Path` to the subsystem `Ident` represented by `NodeIndex`. - #[cfg_attr(not(feature = "graph"), allow(dead_code))] - pub(crate) unconsumed_messages: HashMap<&'a Path, Vec<(&'a Ident, NodeIndex)>>, -} - -impl<'a> ConnectionGraph<'a> { - /// Generates all subsystem types and related accumulation traits. - pub(crate) fn construct(ssfs: &'a [SubSysField]) -> Self { - // create a directed graph with all the subsystems as nodes and the messages as edges - // key is always the message path, values are node indices in the graph and the subsystem generic identifier - // store the message path and the source sender, both in the graph as well as identifier - let mut outgoing_lut = HashMap::<&Path, Vec<(&Ident, NodeIndex)>>::with_capacity(128); - // same for consuming the incoming messages - let mut consuming_lut = HashMap::<&Path, (&Ident, NodeIndex)>::with_capacity(128); - - let mut graph = Graph::::new(); - - // prepare the full index of outgoing and source subsystems - for ssf in ssfs { - let node_index = graph.add_node(ssf.generic.clone()); - for outgoing in ssf.messages_to_send.iter() { - outgoing_lut.entry(outgoing).or_default().push((&ssf.generic, node_index)); - } - if let Some(_first_consument) = - consuming_lut.insert(&ssf.message_to_consume, (&ssf.generic, node_index)) - { - // bail, two subsystems consuming the same message - } - } - - for (message_ty, (_consuming_subsystem_ident, consuming_node_index)) in consuming_lut.iter() - { - // match the outgoing ones that were registered above with the consumed message - if let Some(origin_subsystems) = outgoing_lut.get(message_ty) { - for (_origin_subsystem_ident, sending_node_index) in origin_subsystems.iter() { - graph.add_edge( - *sending_node_index, - *consuming_node_index, - (*message_ty).clone(), - ); - } - } - } - - // extract unsent and unreceived messages - let outgoing_set = HashSet::<_, RandomState>::from_iter(outgoing_lut.keys().cloned()); - let consuming_set = HashSet::<_, RandomState>::from_iter(consuming_lut.keys().cloned()); - - let mut unsent_messages = consuming_lut; - unsent_messages.retain(|k, _v| !outgoing_set.contains(k)); - - let mut unconsumed_messages = outgoing_lut; - unconsumed_messages.retain(|k, _v| !consuming_set.contains(k)); - - let scc = Self::extract_scc(&graph); - - Self { graph, sccs: scc, unsent_messages, unconsumed_messages } - } - - /// Extract the strongly connected components (`scc`) which each - /// includes at least one cycle each. - fn extract_scc(graph: &Graph) -> Vec> { - use petgraph::visit::EdgeRef; - - // there is no guarantee regarding the node indices in the individual sccs - let sccs = petgraph::algo::kosaraju_scc(&graph); - let sccs = Vec::from_iter(sccs.into_iter().filter(|scc| { - match scc.len() { - 1 => { - // contains sccs of length one, - // which do not exists, might be an upstream bug? - let node_idx = scc[0]; - graph - .edges_directed(node_idx, petgraph::Direction::Outgoing) - .find(|edge| edge.target() == node_idx) - .is_some() - }, - 0 => false, - _n => true, - } - })); - match sccs.len() { - 0 => eprintln!("✅ Found no strongly connected components, hence no cycles exist"), - 1 => eprintln!( - "⚡ Found 1 strongly connected component which includes at least one cycle" - ), - n => eprintln!( - "⚡ Found {n} strongly connected components which includes at least one cycle each" - ), - } - - let greek_alphabet = greek_alphabet(); - - for (scc_idx, scc) in sccs.iter().enumerate() { - let scc_tag = greek_alphabet.get(scc_idx).copied().unwrap_or('_'); - let mut acc = Vec::with_capacity(scc.len()); - assert!(scc.len() > 0); - let mut node_idx = scc[0].clone(); - let print_idx = scc_idx + 1; - // track which ones were visited and which step - // the step is required to truncate the output - // which is required to greedily find a cycle in the strongly connected component - let mut visited = HashMap::new(); - for step in 0..scc.len() { - if let Some(edge) = - graph.edges_directed(node_idx, petgraph::Direction::Outgoing).find(|edge| { - scc.iter().find(|&scc_node_idx| *scc_node_idx == edge.target()).is_some() - }) { - let next = edge.target(); - visited.insert(node_idx, step); - - let subsystem_name = &graph[node_idx].to_string(); - let message_name = &graph[edge.id()].to_token_stream().to_string(); - acc.push(format!("{subsystem_name} ~~{{{message_name:?}}}~~> ")); - node_idx = next; - - if let Some(step) = visited.get(&next) { - // we've been there, so there is a cycle - // cut off the extra tail - assert!(acc.len() >= *step); - acc.drain(..step); - // there might be more cycles in this cluster, - // but for they are ignored, the graph shows - // the entire strongly connected component. - break - } - } else { - eprintln!("cycle({print_idx:03}) ∈ {scc_tag}: Missing connection in hypothesized cycle after {step} steps, this is a bug 🐛"); - break - } - } - let acc = String::from_iter(acc); - eprintln!("cycle({print_idx:03}) ∈ {scc_tag}: {acc} *"); - } - - sccs - } - - /// Render a graphviz (aka dot graph) to a file. - /// - /// Cycles are annotated with the lower - #[cfg(feature = "graph")] - pub(crate) fn graphviz(self, dest: &mut impl std::io::Write) -> std::io::Result<()> { - use self::graph_helpers::*; - use petgraph::{ - dot::{self, Dot}, - visit::{EdgeRef, IntoEdgeReferences, IntoNodeReferences}, - }; - - // only write the grap content, we want a custom color scheme - let config = &[ - dot::Config::GraphContentOnly, - dot::Config::EdgeNoLabel, - dot::Config::NodeNoLabel, - ][..]; - - let Self { mut graph, unsent_messages, unconsumed_messages, sccs } = self; - - // the greek alphabet, lowercase - let greek_alphabet = greek_alphabet(); - - const COLOR_SCHEME_N: usize = 10; // rdylgn10 - - // Adding more than 10, is _definitely_ too much visual clutter in the graph. - const UPPER_BOUND: usize = 10; - - assert!(UPPER_BOUND <= GREEK_ALPHABET_SIZE); - assert!(UPPER_BOUND <= COLOR_SCHEME_N); - - let n = sccs.len(); - let n = if n > UPPER_BOUND { - eprintln!("Too many ({n}) strongly connected components, only annotating the first {UPPER_BOUND}"); - UPPER_BOUND - } else { - n - }; - - // restructure for lookups - let mut scc_lut = HashMap::>::with_capacity(n); - // lookup the color index (which is equiv to the index in the cycle set vector _plus one_) - // based on the cycle_tag (the greek char) - let mut color_lut = HashMap::::with_capacity(COLOR_SCHEME_N); - for (scc_idx, scc) in sccs.into_iter().take(UPPER_BOUND).enumerate() { - for node_idx in scc { - let _ = scc_lut.entry(node_idx).or_default().insert(greek_alphabet[scc_idx]); - } - color_lut.insert(greek_alphabet[scc_idx], scc_idx + 1); - } - let color_lut = &color_lut; - - // Adding nodes is ok, the `NodeIndex` is append only as long - // there are no removals. - - // Depict sink for unconsumed messages - let unconsumed_idx = graph.add_node(quote::format_ident!("SENT_TO_NONONE")); - for (message_name, subsystems) in unconsumed_messages { - // iterate over all subsystems that send such a message - for (_sub_name, sub_node_idx) in subsystems { - graph.add_edge(sub_node_idx, unconsumed_idx, message_name.clone()); - } - } - - // depict source of unsent message, this is legit when - // integrated with an external source, and sending messages based - // on that - let unsent_idx = graph.add_node(quote::format_ident!("NEVER_SENT_ANYWHERE")); - for (message_name, (_sub_name, sub_node_idx)) in unsent_messages { - graph.add_edge(unsent_idx, sub_node_idx, message_name.clone()); - } - let unsent_node_label = r#"label="✨",fillcolor=black,shape=doublecircle,style=filled,fontname="NotoColorEmoji""#; - let unconsumed_node_label = r#"label="💀",fillcolor=black,shape=doublecircle,style=filled,fontname="NotoColorEmoji""#; - let edge_attr = |_graph: &Graph, - edge: <&Graph as IntoEdgeReferences>::EdgeRef| - -> String { - let source = edge.source(); - let sink = edge.target(); - - let message_name = - edge.weight().get_ident().expect("Must have a trailing identifier. qed"); - - // use the intersection only, that's the set of cycles the edge is part of - if let Some(edge_intersecting_scc_tags) = scc_lut.get(&source).and_then(|source_set| { - scc_lut.get(&sink).and_then(move |sink_set| { - let intersection = - HashSet::<_, RandomState>::from_iter(source_set.intersection(sink_set)); - if intersection.is_empty() { - None - } else { - Some(intersection) - } - }) - }) { - if edge_intersecting_scc_tags.len() != 1 { - unreachable!("Strongly connected components are disjunct by definition. qed"); - } - let scc_tag = edge_intersecting_scc_tags.iter().next().unwrap(); - let color = get_color_by_tag(scc_tag, color_lut); - let scc_tag_str = cycle_tags_to_annotation(edge_intersecting_scc_tags, color_lut); - format!( - r#"color="{color}",fontcolor="{color}",xlabel=<{scc_tag_str}>,label="{message_name}""#, - ) - } else { - format!(r#"label="{message_name}""#,) - } - }; - let node_attr = - |_graph: &Graph, - (node_index, subsystem_name): <&Graph as IntoNodeReferences>::NodeRef| - -> String { - if node_index == unsent_idx { - unsent_node_label.to_owned().clone() - } else if node_index == unconsumed_idx { - unconsumed_node_label.to_owned().clone() - } else if let Some(edge_intersecting_scc_tags) = scc_lut.get(&node_index) { - if edge_intersecting_scc_tags.len() != 1 { - unreachable!( - "Strongly connected components are disjunct by definition. qed" - ); - }; - let scc_tag = edge_intersecting_scc_tags.iter().next().unwrap(); - let color = get_color_by_tag(scc_tag, color_lut); - - let scc_tag_str = - cycle_tags_to_annotation(edge_intersecting_scc_tags, color_lut); - format!( - r#"color="{color}",fontcolor="{color}",xlabel=<{scc_tag_str}>,label="{subsystem_name}""#, - ) - } else { - format!(r#"label="{subsystem_name}""#) - } - }; - let dot = Dot::with_attr_getters( - &graph, config, &edge_attr, // with state, the reference is a trouble maker - &node_attr, - ); - dest.write_all( - format!( - r#"digraph {{ - node [colorscheme={}] - {:?} -}}"#, - color_scheme(), - &dot - ) - .as_bytes(), - )?; - Ok(()) - } -} - -const GREEK_ALPHABET_SIZE: usize = 24; - -fn greek_alphabet() -> [char; GREEK_ALPHABET_SIZE] { - let mut alphabet = ['\u{03B1}'; 24]; - alphabet - .iter_mut() - .enumerate() - // closure should never return `None`, - // but rather safe than sorry - .for_each(|(i, c)| { - *c = char::from_u32(*c as u32 + i as u32).unwrap(); - }); - alphabet -} - -#[cfg(feature = "graph")] -mod graph_helpers { - use super::HashMap; - - pub(crate) const fn color_scheme() -> &'static str { - "rdylgn10" - } - - pub(crate) fn get_color_by_idx(color_idx: usize) -> String { - let scheme = color_scheme(); - format!("/{scheme}/{color_idx}") - } - - pub(crate) fn get_color_by_tag(scc_tag: &char, color_lut: &HashMap) -> String { - get_color_by_idx(color_lut.get(scc_tag).copied().unwrap_or_default()) - } - - /// A node can be member of multiple cycles, - /// but only of one strongly connected component. - pub(crate) fn cycle_tags_to_annotation<'a>( - cycle_tags: impl IntoIterator, - color_lut: &HashMap, - ) -> String { - // Must use fully qualified syntax: - // - let cycle_annotation = String::from_iter(itertools::Itertools::intersperse( - cycle_tags.into_iter().map(|scc_tag| { - let color = get_color_by_tag(scc_tag, color_lut); - format!(r#"{scc_tag}"#) - }), - ",".to_owned(), - )); - cycle_annotation - } -} - -#[cfg(test)] -mod tests { - // whenever this starts working, we should consider - // replacing the all caps idents with something like - // the below. - // - // - // For now the rendering is modified, the ident is a placeholder. - #[test] - #[should_panic] - fn check_ident() { - let _ident = quote::format_ident!("x💀x"); - } - - #[test] - fn kosaraju_scc_check_nodes_cannot_be_part_of_two_clusters() { - let mut graph = petgraph::graph::DiGraph::::new(); - - let a_idx = graph.add_node('A'); - let b_idx = graph.add_node('B'); - let c_idx = graph.add_node('C'); - let d_idx = graph.add_node('D'); - let e_idx = graph.add_node('E'); - let f_idx = graph.add_node('F'); - - graph.add_edge(a_idx, b_idx, "10"); - graph.add_edge(b_idx, c_idx, "11"); - graph.add_edge(c_idx, a_idx, "12"); - - graph.add_edge(a_idx, d_idx, "20"); - graph.add_edge(d_idx, c_idx, "21"); - - graph.add_edge(b_idx, e_idx, "30"); - graph.add_edge(e_idx, c_idx, "31"); - - graph.add_edge(c_idx, f_idx, "40"); - - let mut sccs = dbg!(petgraph::algo::kosaraju_scc(&graph)); - - dbg!(graph); - - sccs.sort_by(|a, b| { - if a.len() < b.len() { - std::cmp::Ordering::Greater - } else { - std::cmp::Ordering::Less - } - }); - assert_eq!(sccs.len(), 2); // `f` and everything else - assert_eq!(sccs[0].len(), 5); // every node but `f` - } -} diff --git a/node/orchestra/proc-macro/src/impl_builder.rs b/node/orchestra/proc-macro/src/impl_builder.rs deleted file mode 100644 index 1a88dc926120..000000000000 --- a/node/orchestra/proc-macro/src/impl_builder.rs +++ /dev/null @@ -1,759 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use quote::{format_ident, quote}; -use syn::{parse_quote, Path, PathSegment, TypePath}; - -use super::*; - -fn recollect_without_idx(x: &[T], idx: usize) -> Vec { - let mut v = Vec::::with_capacity(x.len().saturating_sub(1)); - v.extend(x.iter().take(idx).cloned()); - v.extend(x.iter().skip(idx + 1).cloned()); - v -} - -/// Implement a builder pattern for the `Orchestra`-type, -/// which acts as the gateway to constructing the orchestra. -/// -/// Elements tagged with `wip` are not covered here. -pub(crate) fn impl_builder(info: &OrchestraInfo) -> proc_macro2::TokenStream { - let orchestra_name = info.orchestra_name.clone(); - let builder = format_ident!("{}Builder", orchestra_name); - let handle = format_ident!("{}Handle", orchestra_name); - let connector = format_ident!("{}Connector", orchestra_name); - let subsystem_ctx_name = format_ident!("{}SubsystemContext", orchestra_name); - - let subsystem_name = &info.subsystem_names_without_wip(); - let subsystem_generics = &info.subsystem_generic_types(); - - let consumes = &info.consumes_without_wip(); - let channel_name = &info.channel_names_without_wip(""); - let channel_name_unbounded = &info.channel_names_without_wip("_unbounded"); - - let channel_name_tx = &info.channel_names_without_wip("_tx"); - let channel_name_unbounded_tx = &info.channel_names_without_wip("_unbounded_tx"); - - let channel_name_rx = &info.channel_names_without_wip("_rx"); - let channel_name_unbounded_rx = &info.channel_names_without_wip("_unbounded_rx"); - - let baggage_name = &info.baggage_names(); - let baggage_generic_ty = &info.baggage_generic_types(); - - // State generics that are used to encode each field's status (Init/Missing) - let baggage_passthrough_state_generics = baggage_name - .iter() - .enumerate() - .map(|(idx, _)| format_ident!("InitStateBaggage{}", idx)) - .collect::>(); - let subsystem_passthrough_state_generics = subsystem_name - .iter() - .enumerate() - .map(|(idx, _)| format_ident!("InitStateSubsystem{}", idx)) - .collect::>(); - - let error_ty = &info.extern_error_ty; - - let support_crate = info.support_crate_name(); - - let blocking = &info - .subsystems() - .iter() - .map(|x| { - if x.blocking { - quote! { Blocking } - } else { - quote! { Regular } - } - }) - .collect::>(); - - // Helpers to use within quote! macros - let spawner_where_clause: syn::TypeParam = parse_quote! { - S: #support_crate ::Spawner - }; - - // Field names and real types - let field_name = subsystem_name.iter().chain(baggage_name.iter()).collect::>(); - let field_type = subsystem_generics - .iter() - .map(|ident| { - syn::Type::Path(TypePath { - qself: None, - path: Path::from(PathSegment::from(ident.clone())), - }) - }) - .chain(info.baggage().iter().map(|bag| bag.field_ty.clone())) - .collect::>(); - - // Setters logic - - // For each setter we need to leave the remaining fields untouched and - // remove the field that we are fixing in this setter - // For subsystems `*_with` and `replace_*` setters are needed. - let subsystem_specific_setters = - info.subsystems().iter().filter(|ssf| !ssf.wip).enumerate().map(|(idx, ssf)| { - let field_name = &ssf.name; - let field_type = &ssf.generic; - let subsystem_consumes = &ssf.message_to_consume; - // Remove state generic for the item to be replaced. It sufficient to know `field_type` for - // that since we always move from `Init<#field_type>` to `Init`. - let impl_subsystem_state_generics = recollect_without_idx(&subsystem_passthrough_state_generics[..], idx); - - let field_name_with = format_ident!("{}_with", field_name); - let field_name_replace = format_ident!("replace_{}", field_name); - - // In a setter we replace `Uninit` with `Init` leaving all other - // types as they are, as such they will be free generics. - let mut current_state_generics = subsystem_passthrough_state_generics - .iter() - .map(|subsystem_state_generic_ty| parse_quote!(#subsystem_state_generic_ty)) - .collect::>(); - current_state_generics[idx] = parse_quote! { Missing<#field_type> }; - - // Generics that will be present after initializing a specific `Missing<_>` field. - let mut post_setter_state_generics = current_state_generics.clone(); - post_setter_state_generics[idx] = parse_quote! { Init<#field_type> }; - - let mut post_replace_state_generics = current_state_generics.clone(); - post_replace_state_generics[idx] = parse_quote! { Init }; - - // All fields except the one we update with the new argument - // see the loop below. - let to_keep_subsystem_name = recollect_without_idx(&subsystem_name[..], idx); - - let subsystem_sender_trait = format_ident!("{}SenderTrait", field_type); - let _subsystem_ctx_trait = format_ident!("{}ContextTrait", field_type); - - let builder_where_clause = quote!{ - #field_type : #support_crate::Subsystem< #subsystem_ctx_name< #subsystem_consumes >, #error_ty>, - < #subsystem_ctx_name < #subsystem_consumes > as #support_crate :: SubsystemContext>::Sender: - #subsystem_sender_trait, - }; - - // Create the field init `fn` - quote! { - impl - #builder - where - #builder_where_clause - { - /// Specify the subsystem in the builder directly - pub fn #field_name (self, var: #field_type ) -> - #builder - { - #builder { - #field_name: Init::< #field_type >::Value(var), - #( - #to_keep_subsystem_name: self. #to_keep_subsystem_name, - )* - #( - #baggage_name: self. #baggage_name, - )* - spawner: self.spawner, - - channel_capacity: self.channel_capacity, - signal_capacity: self.signal_capacity, - } - } - /// Specify the the initialization function for a subsystem - pub fn #field_name_with<'a, F>(self, subsystem_init_fn: F ) -> - #builder - where - F: 'static + Send + FnOnce(#handle) -> - ::std::result::Result<#field_type, #error_ty>, - { - let boxed_func = Init::<#field_type>::Fn( - Box::new(subsystem_init_fn) as SubsystemInitFn<#field_type> - ); - #builder { - #field_name: boxed_func, - #( - #to_keep_subsystem_name: self. #to_keep_subsystem_name, - )* - #( - #baggage_name: self. #baggage_name, - )* - spawner: self.spawner, - - - channel_capacity: self.channel_capacity, - signal_capacity: self.signal_capacity, - } - } - } - - impl - #builder - where - #builder_where_clause - { - /// Replace a subsystem by another implementation for the - /// consumable message type. - pub fn #field_name_replace(self, gen_replacement_fn: F) - -> #builder - where - #field_type: 'static, - F: 'static + Send + FnOnce(#field_type) -> NEW, - NEW: #support_crate ::Subsystem<#subsystem_ctx_name< #subsystem_consumes >, #error_ty>, - { - let replacement: Init = match self.#field_name { - Init::Fn(fx) => - Init::::Fn(Box::new(move |handle: #handle| { - let orig = fx(handle)?; - Ok(gen_replacement_fn(orig)) - })), - Init::Value(val) => - Init::Value(gen_replacement_fn(val)), - }; - #builder { - #field_name: replacement, - #( - #to_keep_subsystem_name: self. #to_keep_subsystem_name, - )* - #( - #baggage_name: self. #baggage_name, - )* - spawner: self.spawner, - - channel_capacity: self.channel_capacity, - signal_capacity: self.signal_capacity, - } - } - } - } - }); - - // Produce setters for all baggage fields as well - let baggage_specific_setters = info.baggage().iter().enumerate().map(|(idx, bag_field)| { - // Baggage fields follow subsystems - let fname = &bag_field.field_name; - let field_type = &bag_field.field_ty; - let impl_baggage_state_generics = recollect_without_idx(&baggage_passthrough_state_generics[..], idx); - let to_keep_baggage_name = recollect_without_idx(&baggage_name[..], idx); - - let mut pre_setter_generics = baggage_passthrough_state_generics - .iter() - .map(|gen_ty| parse_quote!(#gen_ty)) - .collect::>(); - pre_setter_generics[idx] = parse_quote! { Missing<#field_type> }; - - let mut post_setter_generics = pre_setter_generics.clone(); - post_setter_generics[idx] = parse_quote! { Init<#field_type> }; - - // Baggage can also be generic, so we need to include that to a signature - let preserved_baggage_generics = &bag_field.generic_types; - quote! { - impl - #builder - { - /// Specify the baggage in the builder when it was not initialized before - pub fn #fname (self, var: #field_type ) -> - #builder - { - #builder { - #fname: Init::<#field_type>::Value(var), - #( - #subsystem_name: self. #subsystem_name, - )* - #( - #to_keep_baggage_name: self. #to_keep_baggage_name, - )* - spawner: self.spawner, - - channel_capacity: self.channel_capacity, - signal_capacity: self.signal_capacity, - } - } - } - impl - #builder { - /// Specify the baggage in the builder when it has been previously initialized - pub fn #fname (self, var: #field_type ) -> - #builder - { - #builder { - #fname: Init::<#field_type>::Value(var), - #( - #subsystem_name: self. #subsystem_name, - )* - #( - #to_keep_baggage_name: self. #to_keep_baggage_name, - )* - spawner: self.spawner, - - channel_capacity: self.channel_capacity, - signal_capacity: self.signal_capacity, - } - } - } - } - }); - - let event = &info.extern_event_ty; - let initialized_builder = format_ident!("Initialized{}", builder); - // The direct generics as expected by the `Orchestra<_,_,..>`, without states - let initialized_builder_generics = quote! { - S, #( #baggage_generic_ty, )* #( #subsystem_generics, )* - }; - - let builder_where_clause = info - .subsystems() - .iter() - .map(|ssf| { - let field_type = &ssf.generic; - let consumes = &ssf.message_to_consume; - let subsystem_sender_trait = format_ident!("{}SenderTrait", ssf.generic); - let subsystem_ctx_trait = format_ident!("{}ContextTrait", ssf.generic); - quote! { - #field_type: - #support_crate::Subsystem< #subsystem_ctx_name < #consumes>, #error_ty>, - <#subsystem_ctx_name< #consumes > as #subsystem_ctx_trait>::Sender: - #subsystem_sender_trait, - #subsystem_ctx_name< #consumes >: - #subsystem_ctx_trait, - } - }) - .fold(TokenStream::new(), |mut ts, addendum| { - ts.extend(addendum); - ts - }); - - let mut ts = quote! { - /// Convenience alias. - type SubsystemInitFn = Box ::std::result::Result + Send + 'static>; - - /// Type for the initialized field of the orchestra builder - pub enum Init { - /// Defer initialization to a point where the `handle` is available. - Fn(SubsystemInitFn), - /// Directly initialize the subsystem with the given subsystem type `T`. - /// Also used for baggage fields - Value(T), - } - /// Type marker for the uninitialized field of the orchestra builder. - /// `PhantomData` is used for type hinting when creating uninitialized - /// builder, e.g. to avoid specifying the generics when instantiating - /// the `FooBuilder` when calling `Foo::builder()` - #[derive(Debug)] - pub struct Missing(::core::marker::PhantomData); - - /// Trait used to mark fields status in a builder - trait OrchestraFieldState {} - - impl OrchestraFieldState for Init {} - impl OrchestraFieldState for Missing {} - - impl ::std::default::Default for Missing { - fn default() -> Self { - Missing::(::core::marker::PhantomData::::default()) - } - } - - impl #orchestra_name - where - #spawner_where_clause, - { - /// Create a new orchestra utilizing the builder. - pub fn builder< #( #subsystem_generics),* >() -> - #builder #(, Missing< #field_type > )* > - where - #builder_where_clause - { - #builder :: new() - } - } - }; - - ts.extend(quote! { - /// Handle for an orchestra. - pub type #handle = #support_crate ::metered::MeteredSender< #event >; - - /// External connector. - pub struct #connector { - /// Publicly accessible handle, to be used for setting up - /// components that are _not_ subsystems but access is needed - /// due to other limitations. - /// - /// For subsystems, use the `_with` variants of the builder. - handle: #handle, - /// The side consumed by the `spawned` side of the orchestra pattern. - consumer: #support_crate ::metered::MeteredReceiver < #event >, - } - - impl #connector { - /// Obtain access to the orchestra handle. - pub fn as_handle_mut(&mut self) -> &mut #handle { - &mut self.handle - } - /// Obtain access to the orchestra handle. - pub fn as_handle(&self) -> &#handle { - &self.handle - } - /// Obtain a clone of the handle. - pub fn handle(&self) -> #handle { - self.handle.clone() - } - - /// Create a new connector with non-default event channel capacity. - pub fn with_event_capacity(event_channel_capacity: usize) -> Self { - let (events_tx, events_rx) = #support_crate ::metered::channel::< - #event - >(event_channel_capacity); - - Self { - handle: events_tx, - consumer: events_rx, - } - } - } - - impl ::std::default::Default for #connector { - fn default() -> Self { - Self::with_event_capacity(SIGNAL_CHANNEL_CAPACITY) - } - } - }); - - ts.extend(quote!{ - /// Builder pattern to create compile time safe construction path. - pub struct #builder - { - #( - #subsystem_name: #subsystem_passthrough_state_generics, - )* - #( - #baggage_name: #baggage_passthrough_state_generics, - )* - spawner: InitStateSpawner, - // user provided runtime overrides, - // if `None`, the `orchestra(message_capacity=123,..)` is used - // or the default value. - channel_capacity: Option, - signal_capacity: Option, - } - }); - - ts.extend(quote! { - impl<#initialized_builder_generics> #builder, #( Missing<#field_type>, )*> - { - /// Create a new builder pattern, with all fields being uninitialized. - fn new() -> Self { - // explicitly assure the required traits are implemented - fn trait_from_must_be_implemented() - where - E: ::std::error::Error + Send + Sync + 'static + From<#support_crate ::OrchestraError> - {} - - trait_from_must_be_implemented::< #error_ty >(); - - Self { - #( - #field_name: Missing::<#field_type>::default(), - )* - spawner: Missing::::default(), - - channel_capacity: None, - signal_capacity: None, - } - } - } - }); - - // Spawner setter - ts.extend(quote!{ - impl - #builder, #( #subsystem_passthrough_state_generics, )* #( #baggage_passthrough_state_generics, )*> - where - #spawner_where_clause, - { - /// The `spawner` to use for spawning tasks. - pub fn spawner(self, spawner: S) -> #builder< - Init, - #( #subsystem_passthrough_state_generics, )* - #( #baggage_passthrough_state_generics, )* - > - { - #builder { - #( - #field_name: self. #field_name, - )* - spawner: Init::::Value(spawner), - - channel_capacity: self.channel_capacity, - signal_capacity: self.signal_capacity, - } - } - } - }); - - // message and signal channel capacity - ts.extend(quote! { - impl - #builder, #( #subsystem_passthrough_state_generics, )* #( #baggage_passthrough_state_generics, )*> - where - #spawner_where_clause, - { - /// Set the interconnecting signal channel capacity. - pub fn signal_channel_capacity(mut self, capacity: usize) -> Self - { - self.signal_capacity = Some(capacity); - self - } - - /// Set the interconnecting message channel capacities. - pub fn message_channel_capacity(mut self, capacity: usize) -> Self - { - self.channel_capacity = Some(capacity); - self - } - } - }); - - // Create the string literals for spawn. - let subsystem_name_str_literal = subsystem_name - .iter() - .map(|ident| proc_macro2::Literal::string(ident.to_string().replace("_", "-").as_str())) - .collect::>(); - - ts.extend(quote! { - /// Type used to represent a builder where all fields are initialized and the orchestra could be constructed. - pub type #initialized_builder<#initialized_builder_generics> = #builder, #( Init<#field_type>, )*>; - - // A builder specialization where all fields are set - impl<#initialized_builder_generics> #initialized_builder<#initialized_builder_generics> - where - #spawner_where_clause, - #builder_where_clause - { - /// Complete the construction and create the orchestra type. - pub fn build(self) - -> ::std::result::Result<(#orchestra_name, #handle), #error_ty> { - let connector = #connector ::with_event_capacity( - self.signal_capacity.unwrap_or(SIGNAL_CHANNEL_CAPACITY) - ); - self.build_with_connector(connector) - } - - /// Complete the construction and create the orchestra type based on an existing `connector`. - pub fn build_with_connector(self, connector: #connector) - -> ::std::result::Result<(#orchestra_name, #handle), #error_ty> - { - let #connector { - handle: events_tx, - consumer: events_rx, - } = connector; - - let handle = events_tx.clone(); - - let (to_orchestra_tx, to_orchestra_rx) = #support_crate ::metered::unbounded::< - ToOrchestra - >(); - - #( - let (#channel_name_tx, #channel_name_rx) - = - #support_crate ::metered::channel::< - MessagePacket< #consumes > - >( - self.channel_capacity.unwrap_or(CHANNEL_CAPACITY) - ); - )* - - #( - let (#channel_name_unbounded_tx, #channel_name_unbounded_rx) = - #support_crate ::metered::unbounded::< - MessagePacket< #consumes > - >(); - )* - - let channels_out = - ChannelsOut { - #( - #channel_name: #channel_name_tx .clone(), - )* - #( - #channel_name_unbounded: #channel_name_unbounded_tx, - )* - }; - - let mut spawner = match self.spawner { - Init::Value(value) => value, - _ => unreachable!("Only ever init spawner as value. qed"), - }; - - let mut running_subsystems = #support_crate ::FuturesUnordered::< - BoxFuture<'static, ::std::result::Result<(), #error_ty > > - >::new(); - - #( - let #subsystem_name = match self. #subsystem_name { - Init::Fn(func) => func(handle.clone())?, - Init::Value(val) => val, - }; - - let unbounded_meter = #channel_name_unbounded_rx.meter().clone(); - // Prefer unbounded channel when selecting - let message_rx: SubsystemIncomingMessages< #consumes > = #support_crate ::select_with_strategy( - #channel_name_rx, #channel_name_unbounded_rx, - #support_crate ::select_message_channel_strategy - ); - let (signal_tx, signal_rx) = #support_crate ::metered::channel( - self.signal_capacity.unwrap_or(SIGNAL_CHANNEL_CAPACITY) - ); - - let ctx = #subsystem_ctx_name::< #consumes >::new( - signal_rx, - message_rx, - channels_out.clone(), - to_orchestra_tx.clone(), - #subsystem_name_str_literal - ); - - let #subsystem_name: OrchestratedSubsystem< #consumes > = - spawn::<_,_, #blocking, _, _, _>( - &mut spawner, - #channel_name_tx, - signal_tx, - unbounded_meter, - ctx, - #subsystem_name, - #subsystem_name_str_literal, - &mut running_subsystems, - )?; - )* - - use #support_crate ::StreamExt; - - let to_orchestra_rx = to_orchestra_rx.fuse(); - let orchestra = #orchestra_name { - #( - #subsystem_name, - )* - - #( - #baggage_name: match self. #baggage_name { - Init::Value(val) => val, - _ => panic!("unexpected baggage initialization, must be value"), - }, - )* - - spawner, - running_subsystems, - events_rx, - to_orchestra_rx, - }; - - Ok((orchestra, handle)) - } - } - }); - - ts.extend(baggage_specific_setters); - ts.extend(subsystem_specific_setters); - ts.extend(impl_task_kind(info)); - ts -} - -pub(crate) fn impl_task_kind(info: &OrchestraInfo) -> proc_macro2::TokenStream { - let signal = &info.extern_signal_ty; - let error_ty = &info.extern_error_ty; - let support_crate = info.support_crate_name(); - - let ts = quote! { - /// Task kind to launch. - pub trait TaskKind { - /// Spawn a task, it depends on the implementer if this is blocking or not. - fn launch_task(spawner: &mut S, task_name: &'static str, subsystem_name: &'static str, future: BoxFuture<'static, ()>); - } - - #[allow(missing_docs)] - struct Regular; - impl TaskKind for Regular { - fn launch_task(spawner: &mut S, task_name: &'static str, subsystem_name: &'static str, future: BoxFuture<'static, ()>) { - spawner.spawn(task_name, Some(subsystem_name), future) - } - } - - #[allow(missing_docs)] - struct Blocking; - impl TaskKind for Blocking { - fn launch_task(spawner: &mut S, task_name: &'static str, subsystem_name: &'static str, future: BoxFuture<'static, ()>) { - spawner.spawn_blocking(task_name, Some(subsystem_name), future) - } - } - - /// Spawn task of kind `self` using spawner `S`. - pub fn spawn( - spawner: &mut S, - message_tx: #support_crate ::metered::MeteredSender>, - signal_tx: #support_crate ::metered::MeteredSender< #signal >, - // meter for the unbounded channel - unbounded_meter: #support_crate ::metered::Meter, - ctx: Ctx, - s: SubSys, - subsystem_name: &'static str, - futures: &mut #support_crate ::FuturesUnordered >>, - ) -> ::std::result::Result, #error_ty > - where - S: #support_crate ::Spawner, - M: std::fmt::Debug + Send + 'static, - TK: TaskKind, - Ctx: #support_crate ::SubsystemContext, - E: ::std::error::Error + Send + Sync + 'static + ::std::convert::From<#support_crate ::OrchestraError>, - SubSys: #support_crate ::Subsystem, - { - let #support_crate ::SpawnedSubsystem:: { future, name } = s.start(ctx); - - let (tx, rx) = #support_crate ::oneshot::channel(); - - let fut = Box::pin(async move { - if let Err(e) = future.await { - #support_crate ::tracing::error!(subsystem=name, err = ?e, "subsystem exited with error"); - } else { - #support_crate ::tracing::debug!(subsystem=name, "subsystem exited without an error"); - } - let _ = tx.send(()); - }); - - ::launch_task(spawner, name, subsystem_name, fut); - - futures.push(Box::pin( - rx.map(|e| { - #support_crate ::tracing::warn!(err = ?e, "dropping error"); - Ok(()) - }) - )); - - let instance = Some(SubsystemInstance { - meters: #support_crate ::SubsystemMeters { - unbounded: unbounded_meter, - bounded: message_tx.meter().clone(), - signals: signal_tx.meter().clone(), - }, - tx_signal: signal_tx, - tx_bounded: message_tx, - signals_received: 0, - name, - }); - - Ok(OrchestratedSubsystem { - instance, - }) - } - }; - - ts -} diff --git a/node/orchestra/proc-macro/src/impl_channels_out.rs b/node/orchestra/proc-macro/src/impl_channels_out.rs deleted file mode 100644 index 5b694d15229d..000000000000 --- a/node/orchestra/proc-macro/src/impl_channels_out.rs +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use quote::quote; -use syn::Result; - -use super::*; - -/// Implement the helper type `ChannelsOut` and `MessagePacket`. -pub(crate) fn impl_channels_out_struct(info: &OrchestraInfo) -> Result { - let message_wrapper = info.message_wrapper.clone(); - - let channel_name = &info.channel_names_without_wip(""); - let channel_name_unbounded = &info.channel_names_without_wip("_unbounded"); - - let consumes = &info.consumes_without_wip(); - - let consumes_variant = &info.variant_names_without_wip(); - let unconsumes_variant = &info.variant_names_only_wip(); - - let support_crate = info.support_crate_name(); - - let ts = quote! { - /// Collection of channels to the individual subsystems. - /// - /// Naming is from the point of view of the orchestra. - #[derive(Debug, Clone)] - pub struct ChannelsOut { - #( - /// Bounded channel sender, connected to a subsystem. - pub #channel_name: - #support_crate ::metered::MeteredSender< - MessagePacket< #consumes > - >, - )* - - #( - /// Unbounded channel sender, connected to a subsystem. - pub #channel_name_unbounded: - #support_crate ::metered::UnboundedMeteredSender< - MessagePacket< #consumes > - >, - )* - } - - #[allow(unreachable_code)] - // when no defined messages in enum - impl ChannelsOut { - /// Send a message via a bounded channel. - pub async fn send_and_log_error( - &mut self, - signals_received: usize, - message: #message_wrapper, - ) { - - let res: ::std::result::Result<_, _> = match message { - #( - #message_wrapper :: #consumes_variant ( inner ) => { - self. #channel_name .send( - #support_crate ::make_packet(signals_received, inner) - ).await.map_err(|_| stringify!( #channel_name )) - } - )* - // subsystems that are wip - #( - #message_wrapper :: #unconsumes_variant ( _ ) => Ok(()), - )* - // dummy message type - #message_wrapper :: Empty => Ok(()), - - #[allow(unreachable_patterns)] - // And everything that's not WIP but no subsystem consumes it - unused_msg => { - #support_crate :: tracing :: warn!("Nothing consumes {:?}", unused_msg); - Ok(()) - } - }; - - if let Err(subsystem_name) = res { - #support_crate ::tracing::debug!( - target: LOG_TARGET, - "Failed to send (bounded) a message to {} subsystem", - subsystem_name - ); - } - } - - /// Send a message to another subsystem via an unbounded channel. - pub fn send_unbounded_and_log_error( - &self, - signals_received: usize, - message: #message_wrapper, - ) { - let res: ::std::result::Result<_, _> = match message { - #( - #message_wrapper :: #consumes_variant (inner) => { - self. #channel_name_unbounded .unbounded_send( - #support_crate ::make_packet(signals_received, inner) - ) - .map_err(|_| stringify!( #channel_name )) - }, - )* - // subsystems that are wip - #( - #message_wrapper :: #unconsumes_variant ( _ ) => Ok(()), - )* - // dummy message type - #message_wrapper :: Empty => Ok(()), - - // And everything that's not WIP but no subsystem consumes it - #[allow(unreachable_patterns)] - unused_msg => { - #support_crate :: tracing :: warn!("Nothing consumes {:?}", unused_msg); - Ok(()) - } - }; - - if let Err(subsystem_name) = res { - #support_crate ::tracing::debug!( - target: LOG_TARGET, - "Failed to send_unbounded a message to {} subsystem", - subsystem_name - ); - } - } - } - - }; - Ok(ts) -} diff --git a/node/orchestra/proc-macro/src/impl_message_wrapper.rs b/node/orchestra/proc-macro/src/impl_message_wrapper.rs deleted file mode 100644 index 3c2f99999208..000000000000 --- a/node/orchestra/proc-macro/src/impl_message_wrapper.rs +++ /dev/null @@ -1,85 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use quote::quote; -use syn::{spanned::Spanned, Result}; - -use super::*; - -/// Generates the wrapper type enum. -pub(crate) fn impl_message_wrapper_enum(info: &OrchestraInfo) -> Result { - let consumes = info.any_message(); - let consumes_variant = info.variant_names(); - - let outgoing = &info.outgoing_ty; - - let message_wrapper = &info.message_wrapper; - - let (outgoing_from_impl, outgoing_decl) = if let Some(outgoing) = outgoing { - let outgoing_variant = outgoing.get_ident().ok_or_else(|| { - syn::Error::new( - outgoing.span(), - "Missing identifier to use as enum variant for outgoing.", - ) - })?; - ( - quote! { - impl ::std::convert::From< #outgoing > for #message_wrapper { - fn from(message: #outgoing) -> Self { - #message_wrapper :: #outgoing_variant ( message ) - } - } - }, - quote! { - #outgoing_variant ( #outgoing ) , - }, - ) - } else { - (TokenStream::new(), TokenStream::new()) - }; - - let ts = quote! { - /// Generated message type wrapper over all possible messages - /// used by any subsystem. - #[allow(missing_docs)] - #[derive(Debug)] - pub enum #message_wrapper { - #( - #consumes_variant ( #consumes ), - )* - #outgoing_decl - // dummy message type - Empty, - } - - impl ::std::convert::From< () > for #message_wrapper { - fn from(_: ()) -> Self { - #message_wrapper :: Empty - } - } - - #( - impl ::std::convert::From< #consumes > for #message_wrapper { - fn from(message: #consumes) -> Self { - #message_wrapper :: #consumes_variant ( message ) - } - } - )* - - #outgoing_from_impl - }; - - Ok(ts) -} diff --git a/node/orchestra/proc-macro/src/impl_orchestra.rs b/node/orchestra/proc-macro/src/impl_orchestra.rs deleted file mode 100644 index 66ff6c60939b..000000000000 --- a/node/orchestra/proc-macro/src/impl_orchestra.rs +++ /dev/null @@ -1,265 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use quote::quote; - -use super::*; - -pub(crate) fn impl_orchestra_struct(info: &OrchestraInfo) -> proc_macro2::TokenStream { - let message_wrapper = &info.message_wrapper.clone(); - let orchestra_name = info.orchestra_name.clone(); - let subsystem_name = &info.subsystem_names_without_wip(); - let support_crate = info.support_crate_name(); - - let baggage_decl = &info.baggage_decl(); - - let baggage_generic_ty = &info.baggage_generic_types(); - - let generics = quote! { - < S, #( #baggage_generic_ty, )* > - }; - - let where_clause = quote! { - where - S: #support_crate ::Spawner, - }; - // TODO add `where ..` clauses for baggage types - // TODO - - let consumes = &info.consumes_without_wip(); - let consumes_variant = &info.variant_names_without_wip(); - let unconsumes_variant = &info.variant_names_only_wip(); - - let signal_ty = &info.extern_signal_ty; - - let error_ty = &info.extern_error_ty; - - let event_ty = &info.extern_event_ty; - - let message_channel_capacity = info.message_channel_capacity; - let signal_channel_capacity = info.signal_channel_capacity; - - let log_target = - syn::LitStr::new(orchestra_name.to_string().to_lowercase().as_str(), orchestra_name.span()); - - let ts = quote! { - /// Capacity of a bounded message channel between orchestra and subsystem - /// but also for bounded channels between two subsystems. - const CHANNEL_CAPACITY: usize = #message_channel_capacity; - - /// Capacity of a signal channel between a subsystem and the orchestra. - const SIGNAL_CHANNEL_CAPACITY: usize = #signal_channel_capacity; - - /// The log target tag. - const LOG_TARGET: &'static str = #log_target; - - /// The orchestra. - pub struct #orchestra_name #generics { - - #( - /// A subsystem instance. - #subsystem_name: OrchestratedSubsystem< #consumes >, - )* - - #( - /// A user specified addendum field. - #baggage_decl , - )* - - /// Responsible for driving the subsystem futures. - spawner: S, - - /// The set of running subsystems. - running_subsystems: #support_crate ::FuturesUnordered< - BoxFuture<'static, ::std::result::Result<(), #error_ty>> - >, - - /// Gather running subsystems' outbound streams into one. - to_orchestra_rx: #support_crate ::stream::Fuse< - #support_crate ::metered::UnboundedMeteredReceiver< #support_crate ::ToOrchestra > - >, - - /// Events that are sent to the orchestra from the outside world. - events_rx: #support_crate ::metered::MeteredReceiver< #event_ty >, - } - - impl #generics #orchestra_name #generics #where_clause { - /// Send the given signal, a termination signal, to all subsystems - /// and wait for all subsystems to go down. - /// - /// The definition of a termination signal is up to the user and - /// implementation specific. - pub async fn wait_terminate(&mut self, signal: #signal_ty, timeout: ::std::time::Duration) -> ::std::result::Result<(), #error_ty > { - #( - ::std::mem::drop(self. #subsystem_name .send_signal(signal.clone()).await); - )* - let _ = signal; - - let mut timeout_fut = #support_crate ::Delay::new( - timeout - ).fuse(); - - loop { - #support_crate ::futures::select! { - _ = self.running_subsystems.next() => - if self.running_subsystems.is_empty() { - break; - }, - _ = timeout_fut => break, - complete => break, - } - } - - Ok(()) - } - - /// Broadcast a signal to all subsystems. - pub async fn broadcast_signal(&mut self, signal: #signal_ty) -> ::std::result::Result<(), #error_ty > { - #( - let _ = self. #subsystem_name .send_signal(signal.clone()).await; - )* - let _ = signal; - - Ok(()) - } - - /// Route a particular message to a subsystem that consumes the message. - pub async fn route_message(&mut self, message: #message_wrapper, origin: &'static str) -> ::std::result::Result<(), #error_ty > { - match message { - #( - #message_wrapper :: #consumes_variant ( inner ) => - OrchestratedSubsystem::< #consumes >::send_message2(&mut self. #subsystem_name, inner, origin ).await?, - )* - // subsystems that are still work in progress - #( - #message_wrapper :: #unconsumes_variant ( _ ) => {} - )* - #message_wrapper :: Empty => {} - - // And everything that's not WIP but no subsystem consumes it - #[allow(unreachable_patterns)] - unused_msg => { - #support_crate :: tracing :: warn!("Nothing consumes {:?}", unused_msg); - } - } - Ok(()) - } - - /// Extract information from each subsystem. - pub fn map_subsystems<'a, Mapper, Output>(&'a self, mapper: Mapper) - -> Vec - where - #( - Mapper: MapSubsystem<&'a OrchestratedSubsystem< #consumes >, Output=Output>, - )* - { - vec![ - #( - mapper.map_subsystem( & self. #subsystem_name ), - )* - ] - } - - /// Get access to internal task spawner. - pub fn spawner<'a> (&'a mut self) -> &'a mut S { - &mut self.spawner - } - } - - }; - - ts -} - -pub(crate) fn impl_orchestrated_subsystem(info: &OrchestraInfo) -> proc_macro2::TokenStream { - let signal = &info.extern_signal_ty; - let error_ty = &info.extern_error_ty; - let support_crate = info.support_crate_name(); - - let ts = quote::quote! { - /// A subsystem that the orchestrator orchestrates. - /// - /// Ties together the [`Subsystem`] itself and it's running instance - /// (which may be missing if the [`Subsystem`] is not running at the moment - /// for whatever reason). - /// - /// [`Subsystem`]: trait.Subsystem.html - pub struct OrchestratedSubsystem { - /// The instance. - pub instance: std::option::Option< - #support_crate ::SubsystemInstance - >, - } - - impl OrchestratedSubsystem { - /// Send a message to the wrapped subsystem. - /// - /// If the inner `instance` is `None`, nothing is happening. - pub async fn send_message2(&mut self, message: M, origin: &'static str) -> ::std::result::Result<(), #error_ty > { - const MESSAGE_TIMEOUT: Duration = Duration::from_secs(10); - - if let Some(ref mut instance) = self.instance { - match instance.tx_bounded.send(MessagePacket { - signals_received: instance.signals_received, - message: message.into(), - }).timeout(MESSAGE_TIMEOUT).await - { - None => { - #support_crate ::tracing::error!( - target: LOG_TARGET, - %origin, - "Subsystem {} appears unresponsive.", - instance.name, - ); - Err(#error_ty :: from( - #support_crate ::OrchestraError::SubsystemStalled(instance.name) - )) - } - Some(res) => res.map_err(Into::into), - } - } else { - Ok(()) - } - } - - /// Send a signal to the wrapped subsystem. - /// - /// If the inner `instance` is `None`, nothing is happening. - pub async fn send_signal(&mut self, signal: #signal) -> ::std::result::Result<(), #error_ty > { - const SIGNAL_TIMEOUT: ::std::time::Duration = ::std::time::Duration::from_secs(10); - - if let Some(ref mut instance) = self.instance { - match instance.tx_signal.send(signal).timeout(SIGNAL_TIMEOUT).await { - None => { - Err(#error_ty :: from( - #support_crate ::OrchestraError::SubsystemStalled(instance.name) - )) - } - Some(res) => { - let res = res.map_err(Into::into); - if res.is_ok() { - instance.signals_received += 1; - } - res - } - } - } else { - Ok(()) - } - } - } - }; - ts -} diff --git a/node/orchestra/proc-macro/src/impl_subsystem_ctx_sender.rs b/node/orchestra/proc-macro/src/impl_subsystem_ctx_sender.rs deleted file mode 100644 index 58e95ca72890..000000000000 --- a/node/orchestra/proc-macro/src/impl_subsystem_ctx_sender.rs +++ /dev/null @@ -1,654 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use proc_macro2::TokenStream; -use quote::quote; -use syn::{Ident, Path, Result, Type}; - -use petgraph::{visit::EdgeRef, Direction}; - -use super::*; - -/// Generates all subsystem types and related accumulation traits. -pub(crate) fn impl_subsystem_types_all(info: &OrchestraInfo) -> Result { - let mut ts = TokenStream::new(); - - let orchestra_name = &info.orchestra_name; - let span = orchestra_name.span(); - let all_messages_wrapper = &info.message_wrapper; - let support_crate = info.support_crate_name(); - let signal_ty = &info.extern_signal_ty; - let error_ty = &info.extern_error_ty; - - let cg = graph::ConnectionGraph::construct(info.subsystems()); - let graph = &cg.graph; - - // All outgoing edges are now usable to derive everything we need - for node_index in graph.node_indices() { - let subsystem_name = graph[node_index].to_string(); - let outgoing_wrapper = Ident::new(&(subsystem_name + "OutgoingMessages"), span); - - // cannot be a hashmap, duplicate keys and sorting required - // maps outgoing messages to the subsystem that consumes it - let outgoing_to_consumer = graph - .edges_directed(node_index, Direction::Outgoing) - .map(|edge| { - let message_ty = edge.weight(); - let subsystem_generic_consumer = graph[edge.target()].clone(); - Ok((to_variant(message_ty, span.clone())?, subsystem_generic_consumer)) - }) - .collect::>>()?; - - // Split it for usage with quote - let outgoing_variant = outgoing_to_consumer.iter().map(|x| x.0.clone()).collect::>(); - let subsystem_generic = outgoing_to_consumer.into_iter().map(|x| x.1).collect::>(); - - ts.extend(quote! { - impl ::std::convert::From< #outgoing_wrapper > for #all_messages_wrapper { - fn from(message: #outgoing_wrapper) -> Self { - match message { - #( - #outgoing_wrapper :: #outgoing_variant ( msg ) => #all_messages_wrapper :: #subsystem_generic ( msg ), - )* - #outgoing_wrapper :: Empty => #all_messages_wrapper :: Empty, - // And everything that's not WIP but no subsystem consumes it - #[allow(unreachable_patterns)] - unused_msg => { - #support_crate :: tracing :: warn!("Nothing consumes {:?}", unused_msg); - #all_messages_wrapper :: Empty - } - } - } - } - }) - } - - // Dump the graph to file. - #[cfg(feature = "graph")] - { - let path = std::path::PathBuf::from(env!("OUT_DIR")) - .join(orchestra_name.to_string().to_lowercase() + "-subsystem-messaging.dot"); - if let Err(e) = std::fs::OpenOptions::new() - .truncate(true) - .create(true) - .write(true) - .open(&path) - .and_then(|mut f| cg.graphviz(&mut f)) - { - eprintln!("Failed to write dot graph to {}: {:?}", path.display(), e); - } else { - println!("Wrote dot graph to {}", path.display()); - } - } - - let subsystem_sender_name = &Ident::new(&(orchestra_name.to_string() + "Sender"), span); - let subsystem_ctx_name = &Ident::new(&(orchestra_name.to_string() + "SubsystemContext"), span); - ts.extend(impl_subsystem_context(info, &subsystem_sender_name, &subsystem_ctx_name)); - - ts.extend(impl_associate_outgoing_messages_trait(&all_messages_wrapper)); - - ts.extend(impl_subsystem_sender( - support_crate, - info.subsystems().iter().map(|ssf| { - let outgoing_wrapper = - Ident::new(&(ssf.generic.to_string() + "OutgoingMessages"), span); - outgoing_wrapper - }), - &all_messages_wrapper, - &subsystem_sender_name, - )); - - // Create all subsystem specific types, one by one - for ssf in info.subsystems() { - let subsystem_name = ssf.generic.to_string(); - let outgoing_wrapper = &Ident::new(&(subsystem_name.clone() + "OutgoingMessages"), span); - - let subsystem_ctx_trait = &Ident::new(&(subsystem_name.clone() + "ContextTrait"), span); - let subsystem_sender_trait = &Ident::new(&(subsystem_name.clone() + "SenderTrait"), span); - - ts.extend(impl_per_subsystem_helper_traits( - info, - subsystem_ctx_name, - subsystem_ctx_trait, - subsystem_sender_name, - subsystem_sender_trait, - &ssf.message_to_consume, - &ssf.messages_to_send, - outgoing_wrapper, - )); - - ts.extend(impl_associate_outgoing_messages(&ssf.message_to_consume, &outgoing_wrapper)); - - ts.extend(impl_wrapper_enum(&outgoing_wrapper, ssf.messages_to_send.as_slice())?); - } - - // impl the emtpy tuple handling for tests - let empty_tuple: Type = parse_quote! { () }; - ts.extend(impl_subsystem_context_trait_for( - empty_tuple.clone(), - &[], - empty_tuple, - all_messages_wrapper, - subsystem_ctx_name, - subsystem_sender_name, - support_crate, - signal_ty, - error_ty, - )); - - Ok(ts) -} - -/// Extract the final component of the message type path as used in the `#[subsystem(consumes: path::to::Foo)]` annotation. -fn to_variant(path: &Path, span: Span) -> Result { - let ident = path - .segments - .last() - .ok_or_else(|| syn::Error::new(span, "Path is empty, but it must end with an identifier")) - .map(|segment| segment.ident.clone())?; - Ok(ident) -} - -/// Converts the outgoing message types to variants. -/// -/// Note: Commonly this is `${X}Message` becomes `${X}OutgoingMessages::${X}Message` -/// where for `AllMessages` it would be `AllMessages::${X}`. -fn to_variants(message_types: &[Path], span: Span) -> Result> { - let variants: Vec<_> = - Result::from_iter(message_types.into_iter().map(|path| to_variant(path, span.clone())))?; - Ok(variants) -} - -/// Generates the wrapper type enum, no bells or whistles. -pub(crate) fn impl_wrapper_enum(wrapper: &Ident, message_types: &[Path]) -> Result { - // The message types are path based, each of them must finish with a type - // and as such we do this upfront. - let variants = to_variants(message_types, wrapper.span())?; - - let ts = quote! { - #[allow(missing_docs)] - #[derive(Debug)] - pub enum #wrapper { - #( - #variants ( #message_types ), - )* - Empty, - } - - #( - impl ::std::convert::From< #message_types > for #wrapper { - fn from(message: #message_types) -> Self { - #wrapper :: #variants ( message ) - } - } - )* - - // Useful for unit and integration tests: - impl ::std::convert::From< () > for #wrapper { - fn from(_message: ()) -> Self { - #wrapper :: Empty - } - } - }; - Ok(ts) -} - -/// Create the subsystem sender type and implements `trait SubsystemSender` -/// for the `#outgoing_wrappers: From` with the proper associated types. -pub(crate) fn impl_subsystem_sender( - support_crate: &Path, - outgoing_wrappers: impl IntoIterator, - all_messages_wrapper: &Ident, - subsystem_sender_name: &Ident, -) -> TokenStream { - let mut ts = quote! { - /// Connector to send messages towards all subsystems, - /// while tracking the which signals where already received. - #[derive(Debug)] - pub struct #subsystem_sender_name < OutgoingWrapper > { - /// Collection of channels to all subsystems. - channels: ChannelsOut, - /// Systemwide tick for which signals were received by all subsystems. - signals_received: SignalsReceived, - /// Keep that marker around. - _phantom: ::core::marker::PhantomData< OutgoingWrapper >, - } - - // can't derive due to `PhantomData` and `OutgoingWrapper` not being - // bounded by `Clone`. - impl std::clone::Clone for #subsystem_sender_name < OutgoingWrapper > { - fn clone(&self) -> Self { - Self { - channels: self.channels.clone(), - signals_received: self.signals_received.clone(), - _phantom: ::core::marker::PhantomData::default(), - } - } - } - }; - - // Create the same for a wrapping enum: - // - // 1. subsystem specific `*OutgoingMessages`-type - // 2. orchestra-global-`AllMessages`-type - let wrapped = |outgoing_wrapper: &TokenStream| { - quote! { - #[#support_crate ::async_trait] - impl SubsystemSender< OutgoingMessage > for #subsystem_sender_name < #outgoing_wrapper > - where - OutgoingMessage: Send + 'static, - #outgoing_wrapper: ::std::convert::From + Send, - #all_messages_wrapper: ::std::convert::From< #outgoing_wrapper > + Send, - { - async fn send_message(&mut self, msg: OutgoingMessage) - { - self.channels.send_and_log_error( - self.signals_received.load(), - <#all_messages_wrapper as ::std::convert::From<_>> ::from ( - <#outgoing_wrapper as ::std::convert::From<_>> :: from ( msg ) - ) - ).await; - } - - async fn send_messages(&mut self, msgs: I) - where - I: IntoIterator + Send, - I::IntoIter: Iterator + Send, - { - for msg in msgs { - self.send_message( msg ).await; - } - } - - fn send_unbounded_message(&mut self, msg: OutgoingMessage) - { - self.channels.send_unbounded_and_log_error( - self.signals_received.load(), - <#all_messages_wrapper as ::std::convert::From<_>> ::from ( - <#outgoing_wrapper as ::std::convert::From<_>> :: from ( msg ) - ) - ); - } - } - } - }; - - for outgoing_wrapper in outgoing_wrappers { - ts.extend(wrapped("e! { - #outgoing_wrapper - })); - } - - ts.extend(wrapped("e! { - () - })); - - ts -} - -/// Define the `trait AssociateOutgoing` and implement it for `#all_messages_wrapper` and `()`. -pub(crate) fn impl_associate_outgoing_messages_trait(all_messages_wrapper: &Ident) -> TokenStream { - quote! { - /// Binds a generated type covering all declared outgoing messages, - /// which implements `#generated_outgoing: From` for all annotated types - /// of a particular subsystem. - /// - /// Note: This works because there is a 1?:1 relation between consumed messages and subsystems. - pub trait AssociateOutgoing: ::std::fmt::Debug + Send { - /// The associated _outgoing_ messages for a subsystem that _consumes_ the message `Self`. - type OutgoingMessages: Into< #all_messages_wrapper > + ::std::fmt::Debug + Send; - } - - // Helper for tests, where nothing is ever sent. - impl AssociateOutgoing for () { - type OutgoingMessages = (); - } - - // Helper for tests, allows sending of arbitrary messages give - // an test context. - impl AssociateOutgoing for #all_messages_wrapper { - type OutgoingMessages = #all_messages_wrapper ; - } - } -} - -/// Implement `AssociateOutgoing` for `#consumes` being handled by a particular subsystem. -/// -/// Binds the outgoing messages to the inbound message. -/// -/// Note: Works, since there is a 1:1 relation between inbound message type and subsystem declarations. -/// Note: A workaround until default associated types work in `rustc`. -pub(crate) fn impl_associate_outgoing_messages( - consumes: &Path, - outgoing_wrapper: &Ident, -) -> TokenStream { - quote! { - impl AssociateOutgoing for #outgoing_wrapper { - type OutgoingMessages = #outgoing_wrapper; - } - - impl AssociateOutgoing for #consumes { - type OutgoingMessages = #outgoing_wrapper; - } - } -} - -/// Implement `trait SubsystemContext` for a particular subsystem context, -/// that is generated by the proc-macro too. -pub(crate) fn impl_subsystem_context_trait_for( - consumes: Type, - outgoing: &[Type], - outgoing_wrapper: Type, - all_messages_wrapper: &Ident, - subsystem_ctx_name: &Ident, - subsystem_sender_name: &Ident, - support_crate: &Path, - signal: &Path, - error_ty: &Path, -) -> TokenStream { - // impl the subsystem context trait - let where_clause = quote! { - #consumes: AssociateOutgoing + ::std::fmt::Debug + Send + 'static, - #all_messages_wrapper: From< #outgoing_wrapper >, - #all_messages_wrapper: From< #consumes >, - #outgoing_wrapper: #( From< #outgoing > )+*, - }; - - quote! { - #[#support_crate ::async_trait] - impl #support_crate ::SubsystemContext for #subsystem_ctx_name < #consumes > - where - #where_clause - { - type Message = #consumes; - type Signal = #signal; - type OutgoingMessages = #outgoing_wrapper; - type Sender = #subsystem_sender_name < #outgoing_wrapper >; - type Error = #error_ty; - - async fn try_recv(&mut self) -> ::std::result::Result>, ()> { - match #support_crate ::poll!(self.recv()) { - #support_crate ::Poll::Ready(msg) => Ok(Some(msg.map_err(|_| ())?)), - #support_crate ::Poll::Pending => Ok(None), - } - } - - async fn recv(&mut self) -> ::std::result::Result, #error_ty> { - loop { - // If we have a message pending an orchestra signal, we only poll for signals - // in the meantime. - if let Some((needs_signals_received, msg)) = self.pending_incoming.take() { - if needs_signals_received <= self.signals_received.load() { - return Ok( #support_crate ::FromOrchestra::Communication { msg }); - } else { - self.pending_incoming = Some((needs_signals_received, msg)); - - // wait for next signal. - let signal = self.signals.next().await - .ok_or(#support_crate ::OrchestraError::Context( - "Signal channel is terminated and empty." - .to_owned() - ))?; - - self.signals_received.inc(); - return Ok( #support_crate ::FromOrchestra::Signal(signal)) - } - } - - let mut await_message = self.messages.next().fuse(); - let mut await_signal = self.signals.next().fuse(); - let signals_received = self.signals_received.load(); - let pending_incoming = &mut self.pending_incoming; - - // Otherwise, wait for the next signal or incoming message. - let from_orchestra = #support_crate ::futures::select_biased! { - signal = await_signal => { - let signal = signal - .ok_or( #support_crate ::OrchestraError::Context( - "Signal channel is terminated and empty." - .to_owned() - ))?; - - #support_crate ::FromOrchestra::Signal(signal) - } - msg = await_message => { - let packet = msg - .ok_or( #support_crate ::OrchestraError::Context( - "Message channel is terminated and empty." - .to_owned() - ))?; - - if packet.signals_received > signals_received { - // wait until we've received enough signals to return this message. - *pending_incoming = Some((packet.signals_received, packet.message)); - continue; - } else { - // we know enough to return this message. - #support_crate ::FromOrchestra::Communication { msg: packet.message} - } - } - }; - - if let #support_crate ::FromOrchestra::Signal(_) = from_orchestra { - self.signals_received.inc(); - } - - return Ok(from_orchestra); - } - } - - fn sender(&mut self) -> &mut Self::Sender { - &mut self.to_subsystems - } - - fn spawn(&mut self, name: &'static str, s: Pin + Send>>) - -> ::std::result::Result<(), #error_ty> - { - self.to_orchestra.unbounded_send(#support_crate ::ToOrchestra::SpawnJob { - name, - subsystem: Some(self.name()), - s, - }).map_err(|_| #support_crate ::OrchestraError::TaskSpawn(name))?; - Ok(()) - } - - fn spawn_blocking(&mut self, name: &'static str, s: Pin + Send>>) - -> ::std::result::Result<(), #error_ty> - { - self.to_orchestra.unbounded_send(#support_crate ::ToOrchestra::SpawnBlockingJob { - name, - subsystem: Some(self.name()), - s, - }).map_err(|_| #support_crate ::OrchestraError::TaskSpawn(name))?; - Ok(()) - } - } - } -} - -/// Implement the additional subsystem accumulation traits, for simplified usage, -/// i.e. `${Subsystem}SenderTrait` and `${Subsystem}ContextTrait`. -pub(crate) fn impl_per_subsystem_helper_traits( - info: &OrchestraInfo, - subsystem_ctx_name: &Ident, - subsystem_ctx_trait: &Ident, - subsystem_sender_name: &Ident, - subsystem_sender_trait: &Ident, - consumes: &Path, - outgoing: &[Path], - outgoing_wrapper: &Ident, -) -> TokenStream { - let all_messages_wrapper = &info.message_wrapper; - let signal_ty = &info.extern_signal_ty; - let error_ty = &info.extern_error_ty; - let support_crate = info.support_crate_name(); - - let mut ts = TokenStream::new(); - - // Create a helper trait bound of all outgoing messages, and the generated wrapper type - // for ease of use within subsystems: - let acc_sender_trait_bounds = quote! { - #support_crate ::SubsystemSender< #outgoing_wrapper > - #( - + #support_crate ::SubsystemSender< #outgoing > - )* - + #support_crate ::SubsystemSender< () > - + Send - + 'static - }; - - ts.extend(quote! { - /// A abstracting trait for usage with subsystems. - pub trait #subsystem_sender_trait : #acc_sender_trait_bounds - {} - - impl #subsystem_sender_trait for T - where - T: #acc_sender_trait_bounds - {} - }); - - // Create a helper accumulated per subsystem trait bound: - let where_clause = quote! { - #consumes: AssociateOutgoing + ::std::fmt::Debug + Send + 'static, - #all_messages_wrapper: From< #outgoing_wrapper >, - #all_messages_wrapper: From< #consumes >, - #all_messages_wrapper: From< () >, - #outgoing_wrapper: #( From< #outgoing > )+*, - #outgoing_wrapper: From< () >, - }; - - ts.extend(quote! { - /// Accumulative trait for a particular subsystem wrapper. - pub trait #subsystem_ctx_trait : SubsystemContext < - Message = #consumes, - Signal = #signal_ty, - OutgoingMessages = #outgoing_wrapper, - // Sender, - Error = #error_ty, - > - where - #where_clause - ::Sender: - #subsystem_sender_trait - + #acc_sender_trait_bounds, - { - /// Sender. - type Sender: #subsystem_sender_trait; - } - - impl #subsystem_ctx_trait for T - where - T: SubsystemContext < - Message = #consumes, - Signal = #signal_ty, - OutgoingMessages = #outgoing_wrapper, - // Sender - Error = #error_ty, - >, - #where_clause - ::Sender: - #subsystem_sender_trait - + #acc_sender_trait_bounds, - { - type Sender = ::Sender; - } - }); - - ts.extend(impl_subsystem_context_trait_for( - parse_quote! { #consumes }, - &Vec::from_iter(outgoing.iter().map(|path| { - parse_quote! { #path } - })), - parse_quote! { #outgoing_wrapper }, - all_messages_wrapper, - subsystem_ctx_name, - subsystem_sender_name, - support_crate, - signal_ty, - error_ty, - )); - ts -} - -/// Generate the subsystem context type and provide `fn new` on it. -/// -/// Note: The generated `fn new` is used by the [builder pattern](../impl_builder.rs). -pub(crate) fn impl_subsystem_context( - info: &OrchestraInfo, - subsystem_sender_name: &Ident, - subsystem_ctx_name: &Ident, -) -> TokenStream { - let signal_ty = &info.extern_signal_ty; - let support_crate = info.support_crate_name(); - - let ts = quote! { - /// A context type that is given to the [`Subsystem`] upon spawning. - /// It can be used by [`Subsystem`] to communicate with other [`Subsystem`]s - /// or to spawn it's [`SubsystemJob`]s. - /// - /// [`Orchestra`]: struct.Orchestra.html - /// [`Subsystem`]: trait.Subsystem.html - /// [`SubsystemJob`]: trait.SubsystemJob.html - #[derive(Debug)] - #[allow(missing_docs)] - pub struct #subsystem_ctx_name { - signals: #support_crate ::metered::MeteredReceiver< #signal_ty >, - messages: SubsystemIncomingMessages< M >, - to_subsystems: #subsystem_sender_name < ::OutgoingMessages >, - to_orchestra: #support_crate ::metered::UnboundedMeteredSender< - #support_crate ::ToOrchestra - >, - signals_received: SignalsReceived, - pending_incoming: Option<(usize, M)>, - name: &'static str - } - - impl #subsystem_ctx_name - where - M: AssociateOutgoing + Send + 'static, - { - /// Create a new context. - fn new( - signals: #support_crate ::metered::MeteredReceiver< #signal_ty >, - messages: SubsystemIncomingMessages< M >, - to_subsystems: ChannelsOut, - to_orchestra: #support_crate ::metered::UnboundedMeteredSender<#support_crate:: ToOrchestra>, - name: &'static str - ) -> Self { - let signals_received = SignalsReceived::default(); - #subsystem_ctx_name :: { - signals, - messages, - to_subsystems: #subsystem_sender_name :: < ::OutgoingMessages > { - channels: to_subsystems, - signals_received: signals_received.clone(), - _phantom: ::core::marker::PhantomData::default(), - }, - to_orchestra, - signals_received, - pending_incoming: None, - name - } - } - - fn name(&self) -> &'static str { - self.name - } - } - }; - - ts -} diff --git a/node/orchestra/proc-macro/src/lib.rs b/node/orchestra/proc-macro/src/lib.rs deleted file mode 100644 index df3f216afdf6..000000000000 --- a/node/orchestra/proc-macro/src/lib.rs +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use proc_macro2::{Ident, Span, TokenStream}; -use syn::{parse_quote, spanned::Spanned, Path}; - -mod graph; -mod impl_builder; -mod impl_channels_out; -mod impl_message_wrapper; -mod impl_orchestra; -mod impl_subsystem_ctx_sender; -mod orchestra; -mod parse; -mod subsystem; - -#[cfg(test)] -mod tests; - -use impl_builder::*; -use impl_channels_out::*; -use impl_message_wrapper::*; -use impl_orchestra::*; -use impl_subsystem_ctx_sender::*; -use parse::*; - -use self::{orchestra::*, subsystem::*}; - -/// Obtain the support crate `Path` as `TokenStream`. -pub(crate) fn support_crate() -> Result { - Ok(if cfg!(test) { - parse_quote! {crate} - } else { - use proc_macro_crate::{crate_name, FoundCrate}; - let crate_name = crate_name("orchestra")?; - match crate_name { - FoundCrate::Itself => parse_quote! {crate}, - FoundCrate::Name(name) => Ident::new(&name, Span::call_site()).into(), - } - }) -} - -#[proc_macro_attribute] -pub fn orchestra( - attr: proc_macro::TokenStream, - item: proc_macro::TokenStream, -) -> proc_macro::TokenStream { - let attr: TokenStream = attr.into(); - let item: TokenStream = item.into(); - impl_orchestra_gen(attr, item) - .unwrap_or_else(|err| err.to_compile_error()) - .into() -} - -#[proc_macro_attribute] -pub fn subsystem( - attr: proc_macro::TokenStream, - item: proc_macro::TokenStream, -) -> proc_macro::TokenStream { - let attr: TokenStream = attr.into(); - let item: TokenStream = item.into(); - impl_subsystem_context_trait_bounds(attr, item, MakeSubsystem::ImplSubsystemTrait) - .unwrap_or_else(|err| err.to_compile_error()) - .into() -} - -#[proc_macro_attribute] -pub fn contextbounds( - attr: proc_macro::TokenStream, - item: proc_macro::TokenStream, -) -> proc_macro::TokenStream { - let attr: TokenStream = attr.into(); - let item: TokenStream = item.into(); - impl_subsystem_context_trait_bounds(attr, item, MakeSubsystem::AddContextTraitBounds) - .unwrap_or_else(|err| err.to_compile_error()) - .into() -} diff --git a/node/orchestra/proc-macro/src/orchestra.rs b/node/orchestra/proc-macro/src/orchestra.rs deleted file mode 100644 index ab1f9af3082f..000000000000 --- a/node/orchestra/proc-macro/src/orchestra.rs +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use proc_macro2::TokenStream; -use syn::{parse2, Result}; - -use super::{parse::*, *}; - -pub(crate) fn impl_orchestra_gen( - attr: TokenStream, - orig: TokenStream, -) -> Result { - let args: OrchestraAttrArgs = parse2(attr)?; - let message_wrapper = args.message_wrapper; - - let of: OrchestraGuts = parse2(orig)?; - - let support_crate = support_crate().expect("The crate this macro is run for, includes the proc-macro support as dependency, otherwise it could not be run in the first place. qed"); - let info = OrchestraInfo { - support_crate, - subsystems: of.subsystems, - baggage: of.baggage, - orchestra_name: of.name, - message_wrapper, - message_channel_capacity: args.message_channel_capacity, - signal_channel_capacity: args.signal_channel_capacity, - extern_event_ty: args.extern_event_ty, - extern_signal_ty: args.extern_signal_ty, - extern_error_ty: args.extern_error_ty, - outgoing_ty: args.outgoing_ty, - }; - - let mut additive = impl_orchestra_struct(&info); - additive.extend(impl_builder(&info)); - - additive.extend(impl_orchestrated_subsystem(&info)); - additive.extend(impl_channels_out_struct(&info)); - additive.extend(impl_subsystem_types_all(&info)?); - - additive.extend(impl_message_wrapper_enum(&info)?); - - let ts = expander::Expander::new("orchestra-expansion") - .add_comment("Generated orchestra code by `#[orchestra(..)]`".to_owned()) - .dry(!cfg!(feature = "expand")) - .verbose(true) - // once all our needed format options are available on stable - // we should enabled this again, until then too many warnings - // are generated - // .fmt(expander::Edition::_2021) - .write_to_out_dir(additive) - .expect("Expander does not fail due to IO in OUT_DIR. qed"); - - Ok(ts) -} diff --git a/node/orchestra/proc-macro/src/parse/mod.rs b/node/orchestra/proc-macro/src/parse/mod.rs deleted file mode 100644 index 05d6cc2efcd7..000000000000 --- a/node/orchestra/proc-macro/src/parse/mod.rs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -mod kw { - syn::custom_keyword!(event); - syn::custom_keyword!(signal); - syn::custom_keyword!(error); - syn::custom_keyword!(outgoing); - syn::custom_keyword!(gen); - syn::custom_keyword!(signal_capacity); - syn::custom_keyword!(message_capacity); - syn::custom_keyword!(subsystem); - syn::custom_keyword!(prefix); -} - -mod parse_orchestra_attr; -mod parse_orchestra_struct; - -mod parse_subsystem_attr; - -#[cfg(test)] -mod tests; - -pub(crate) use self::{parse_orchestra_attr::*, parse_orchestra_struct::*}; - -pub(crate) use self::parse_subsystem_attr::*; diff --git a/node/orchestra/proc-macro/src/parse/parse_orchestra_attr.rs b/node/orchestra/proc-macro/src/parse/parse_orchestra_attr.rs deleted file mode 100644 index 27486b5697a2..000000000000 --- a/node/orchestra/proc-macro/src/parse/parse_orchestra_attr.rs +++ /dev/null @@ -1,190 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use super::kw; -use proc_macro2::Span; -use quote::{quote, ToTokens}; -use std::collections::{hash_map::RandomState, HashMap}; -use syn::{ - parse::{Parse, ParseBuffer}, - punctuated::Punctuated, - spanned::Spanned, - Error, Ident, LitInt, Path, Result, Token, -}; - -#[derive(Clone, Debug)] -enum OrchestraAttrItem { - ExternEventType { tag: kw::event, eq_token: Token![=], value: Path }, - ExternOrchestraSignalType { tag: kw::signal, eq_token: Token![=], value: Path }, - ExternErrorType { tag: kw::error, eq_token: Token![=], value: Path }, - OutgoingType { tag: kw::outgoing, eq_token: Token![=], value: Path }, - MessageWrapperName { tag: kw::gen, eq_token: Token![=], value: Ident }, - SignalChannelCapacity { tag: kw::signal_capacity, eq_token: Token![=], value: usize }, - MessageChannelCapacity { tag: kw::message_capacity, eq_token: Token![=], value: usize }, -} - -impl ToTokens for OrchestraAttrItem { - fn to_tokens(&self, tokens: &mut proc_macro2::TokenStream) { - let ts = match self { - Self::ExternEventType { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::ExternOrchestraSignalType { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::ExternErrorType { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::OutgoingType { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::MessageWrapperName { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::SignalChannelCapacity { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::MessageChannelCapacity { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - }; - tokens.extend(ts.into_iter()); - } -} - -impl Parse for OrchestraAttrItem { - fn parse(input: &ParseBuffer) -> Result { - let lookahead = input.lookahead1(); - if lookahead.peek(kw::event) { - Ok(OrchestraAttrItem::ExternEventType { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse()?, - }) - } else if lookahead.peek(kw::signal) { - Ok(OrchestraAttrItem::ExternOrchestraSignalType { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse()?, - }) - } else if lookahead.peek(kw::error) { - Ok(OrchestraAttrItem::ExternErrorType { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse()?, - }) - } else if lookahead.peek(kw::outgoing) { - Ok(OrchestraAttrItem::OutgoingType { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse()?, - }) - } else if lookahead.peek(kw::gen) { - Ok(OrchestraAttrItem::MessageWrapperName { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse()?, - }) - } else if lookahead.peek(kw::signal_capacity) { - Ok(OrchestraAttrItem::SignalChannelCapacity { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse::()?.base10_parse::()?, - }) - } else if lookahead.peek(kw::message_capacity) { - Ok(OrchestraAttrItem::MessageChannelCapacity { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse::()?.base10_parse::()?, - }) - } else { - Err(lookahead.error()) - } - } -} - -/// Attribute arguments -#[derive(Clone, Debug)] -pub(crate) struct OrchestraAttrArgs { - pub(crate) message_wrapper: Ident, - pub(crate) extern_event_ty: Path, - pub(crate) extern_signal_ty: Path, - pub(crate) extern_error_ty: Path, - pub(crate) outgoing_ty: Option, - pub(crate) signal_channel_capacity: usize, - pub(crate) message_channel_capacity: usize, -} - -macro_rules! extract_variant { - ($unique:expr, $variant:ident ; default = $fallback:expr) => { - extract_variant!($unique, $variant).unwrap_or_else(|| $fallback) - }; - ($unique:expr, $variant:ident ; err = $err:expr) => { - extract_variant!($unique, $variant).ok_or_else(|| Error::new(Span::call_site(), $err)) - }; - ($unique:expr, $variant:ident) => { - $unique.values().find_map(|item| { - if let OrchestraAttrItem::$variant { value, .. } = item { - Some(value.clone()) - } else { - None - } - }) - }; -} - -impl Parse for OrchestraAttrArgs { - fn parse(input: &ParseBuffer) -> Result { - let items: Punctuated = - input.parse_terminated(OrchestraAttrItem::parse)?; - - let mut unique = HashMap::< - std::mem::Discriminant, - OrchestraAttrItem, - RandomState, - >::default(); - for item in items { - if let Some(first) = unique.insert(std::mem::discriminant(&item), item.clone()) { - let mut e = Error::new( - item.span(), - format!("Duplicate definition of orchestra generation type found"), - ); - e.combine(Error::new(first.span(), "previously defined here.")); - return Err(e) - } - } - - let signal_channel_capacity = - extract_variant!(unique, SignalChannelCapacity; default = 64_usize); - let message_channel_capacity = - extract_variant!(unique, MessageChannelCapacity; default = 1024_usize); - - let error = extract_variant!(unique, ExternErrorType; err = "Must declare the orchestra error type via `error=..`.")?; - let event = extract_variant!(unique, ExternEventType; err = "Must declare the orchestra event type via `event=..`.")?; - let signal = extract_variant!(unique, ExternOrchestraSignalType; err = "Must declare the orchestra signal type via `signal=..`.")?; - let message_wrapper = extract_variant!(unique, MessageWrapperName; err = "Must declare the orchestra generated wrapping message type via `gen=..`.")?; - let outgoing = extract_variant!(unique, OutgoingType); - - Ok(OrchestraAttrArgs { - signal_channel_capacity, - message_channel_capacity, - extern_event_ty: event, - extern_signal_ty: signal, - extern_error_ty: error, - outgoing_ty: outgoing, - message_wrapper, - }) - } -} diff --git a/node/orchestra/proc-macro/src/parse/parse_orchestra_struct.rs b/node/orchestra/proc-macro/src/parse/parse_orchestra_struct.rs deleted file mode 100644 index e8ab449af632..000000000000 --- a/node/orchestra/proc-macro/src/parse/parse_orchestra_struct.rs +++ /dev/null @@ -1,601 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use itertools::Itertools; -use proc_macro2::{Span, TokenStream}; -use std::collections::{hash_map::RandomState, HashMap, HashSet}; -use syn::{ - parenthesized, - parse::{Parse, ParseStream}, - punctuated::Punctuated, - spanned::Spanned, - token::Bracket, - AttrStyle, Error, Field, FieldsNamed, GenericParam, Ident, ItemStruct, Path, PathSegment, - Result, Token, Type, Visibility, -}; - -use quote::{quote, ToTokens}; - -mod kw { - syn::custom_keyword!(wip); - syn::custom_keyword!(blocking); - syn::custom_keyword!(consumes); - syn::custom_keyword!(sends); -} - -#[derive(Clone, Debug)] -pub(crate) enum SubSysAttrItem { - /// The subsystem is still a work in progress - /// and should not be communicated with. - Wip(kw::wip), - /// The subsystem is blocking and requires to be - /// spawned on an exclusive thread. - Blocking(kw::blocking), - /// Message to be sent by this subsystem. - Sends(Sends), - /// Message to be consumed by this subsystem. - Consumes(Consumes), -} - -impl Parse for SubSysAttrItem { - fn parse(input: ParseStream) -> Result { - let lookahead = input.lookahead1(); - Ok(if lookahead.peek(kw::wip) { - Self::Wip(input.parse::()?) - } else if lookahead.peek(kw::blocking) { - Self::Blocking(input.parse::()?) - } else if lookahead.peek(kw::sends) { - Self::Sends(input.parse::()?) - } else { - Self::Consumes(input.parse::()?) - }) - } -} - -impl ToTokens for SubSysAttrItem { - fn to_tokens(&self, tokens: &mut proc_macro2::TokenStream) { - let ts = match self { - Self::Wip(wip) => { - quote! { #wip } - }, - Self::Blocking(blocking) => { - quote! { #blocking } - }, - Self::Sends(_) => { - quote! {} - }, - Self::Consumes(_) => { - quote! {} - }, - }; - tokens.extend(ts.into_iter()); - } -} - -/// A field of the struct annotated with -/// `#[subsystem(A, B, C)]` -#[derive(Clone, Debug)] -pub(crate) struct SubSysField { - /// Name of the field. - pub(crate) name: Ident, - /// Generate generic type name for the `AllSubsystems` type - /// which is also used `#wrapper_message :: #variant` variant - /// part. - pub(crate) generic: Ident, - /// Type of message to be consumed by the subsystem. - pub(crate) message_to_consume: Path, - /// Types of messages to be sent by the subsystem. - pub(crate) messages_to_send: Vec, - /// If the subsystem implementation is blocking execution and hence - /// has to be spawned on a separate thread or thread pool. - pub(crate) blocking: bool, - /// The subsystem is a work in progress. - /// Avoids dispatching `Wrapper` type messages, but generates the variants. - /// Does not require the subsystem to be instantiated with the builder pattern. - pub(crate) wip: bool, -} - -// Converts a type enum to a path if this type is a TypePath -fn try_type_to_path(ty: &Type, span: Span) -> Result { - match ty { - Type::Path(path) => Ok(path.path.clone()), - _ => Err(Error::new(span, "Type must be a path expression.")), - } -} - -// Converts a Rust type to a list of idents recursively checking the possible values -fn flatten_type(ty: &Type, span: Span) -> Result> { - match ty { - syn::Type::Array(ar) => flatten_type(&ar.elem, span), - syn::Type::Paren(par) => flatten_type(&par.elem, span), - syn::Type::Path(type_path) => type_path - .path - .segments - .iter() - .map(|seg| flatten_path_segments(seg, span.clone())) - .flatten_ok() - .collect::>>(), - syn::Type::Tuple(tup) => tup - .elems - .iter() - .map(|element| flatten_type(element, span.clone())) - .flatten_ok() - .collect::>>(), - _ => Err(Error::new(span, format!("Unsupported type: {:?}", ty))), - } -} - -// Flatten segments of some path to a list of idents used in these segments -fn flatten_path_segments(path_segment: &PathSegment, span: Span) -> Result> { - let mut result = vec![path_segment.ident.clone()]; - - match &path_segment.arguments { - syn::PathArguments::AngleBracketed(args) => { - let mut recursive_idents = args - .args - .iter() - .map(|generic_argument| match generic_argument { - syn::GenericArgument::Type(ty) => flatten_type(ty, span.clone()), - _ => Err(Error::new( - span, - format!( - "Field has a generic with an unsupported parameter {:?}", - generic_argument - ), - )), - }) - .flatten_ok() - .collect::>>()?; - result.append(&mut recursive_idents); - }, - syn::PathArguments::None => {}, - _ => - return Err(Error::new( - span, - format!( - "Field has a generic with an unsupported path {:?}", - path_segment.arguments - ), - )), - } - - Ok(result) -} - -macro_rules! extract_variant { - ($unique:expr, $variant:ident ; default = $fallback:expr) => { - extract_variant!($unique, $variant).unwrap_or_else(|| $fallback) - }; - ($unique:expr, $variant:ident ; err = $err:expr) => { - extract_variant!($unique, $variant).ok_or_else(|| Error::new(Span::call_site(), $err)) - }; - ($unique:expr, $variant:ident take) => { - $unique.values().find_map(|item| { - if let SubSysAttrItem::$variant(value) = item { - Some(value.clone()) - } else { - None - } - }) - }; - ($unique:expr, $variant:ident) => { - $unique.values().find_map(|item| { - if let SubSysAttrItem::$variant(_) = item { - Some(true) - } else { - None - } - }) - }; -} - -#[derive(Debug, Clone)] -pub(crate) struct Sends { - #[allow(dead_code)] - pub(crate) keyword_sends: kw::sends, - #[allow(dead_code)] - pub(crate) colon: Token![:], - #[allow(dead_code)] - pub(crate) bracket: Option, - pub(crate) sends: Punctuated, -} - -impl Parse for Sends { - fn parse(input: syn::parse::ParseStream) -> Result { - let content; - let keyword_sends = input.parse()?; - let colon = input.parse()?; - let (bracket, sends) = if !input.peek(syn::token::Bracket) { - let mut sends = Punctuated::new(); - sends.push_value(input.parse::()?); - (None, sends) - } else { - let bracket = Some(syn::bracketed!(content in input)); - let sends = Punctuated::parse_terminated(&content)?; - (bracket, sends) - }; - Ok(Self { keyword_sends, colon, bracket, sends }) - } -} - -#[derive(Debug, Clone)] -pub(crate) struct Consumes { - #[allow(dead_code)] - pub(crate) keyword_consumes: Option, - #[allow(dead_code)] - pub(crate) colon: Option, - pub(crate) consumes: Path, -} - -impl Parse for Consumes { - fn parse(input: syn::parse::ParseStream) -> Result { - let lookahead = input.lookahead1(); - Ok(if lookahead.peek(kw::consumes) { - Self { - keyword_consumes: Some(input.parse()?), - colon: input.parse()?, - consumes: input.parse()?, - } - } else { - Self { keyword_consumes: None, colon: None, consumes: input.parse()? } - }) - } -} - -/// Parses `(Foo, sends = [Bar, Baz])` -/// including the `(` and `)`. -#[derive(Debug, Clone)] -pub(crate) struct SubSystemAttrItems { - /// The subsystem is in progress, only generate the `Wrapper` variant, but do not forward messages - /// and also not include the subsystem in the list of subsystems. - pub(crate) wip: bool, - /// If there are blocking components in the subsystem and hence it should be - /// spawned on a dedicated thread pool for such subssytems. - pub(crate) blocking: bool, - /// The message type being consumed by the subsystem. - pub(crate) consumes: Option, - pub(crate) sends: Option, -} - -impl Parse for SubSystemAttrItems { - fn parse(input: syn::parse::ParseStream) -> Result { - let span = input.span(); - - let content; - let _paren_token = parenthesized!(content in input); - - let items = content.call(Punctuated::::parse_terminated)?; - - let mut unique = HashMap::< - std::mem::Discriminant, - SubSysAttrItem, - RandomState, - >::default(); - - for item in items { - if let Some(first) = unique.insert(std::mem::discriminant(&item), item.clone()) { - let mut e = - Error::new(item.span(), "Duplicate definition of subsystem attribute found"); - e.combine(Error::new(first.span(), "previously defined here.")); - return Err(e) - } - } - - // A subsystem makes no sense if not one of them is provided - let sends = extract_variant!(unique, Sends take); - let consumes = extract_variant!(unique, Consumes take); - if sends.as_ref().map(|sends| sends.sends.is_empty()).unwrap_or(true) && consumes.is_none() - { - return Err(Error::new( - span, - "Must have at least one of `consumes: [..]` and `sends: [..]`.", - )) - } - - let blocking = extract_variant!(unique, Blocking; default = false); - let wip = extract_variant!(unique, Wip; default = false); - - Ok(Self { blocking, wip, sends, consumes }) - } -} - -/// Fields that are _not_ subsystems. -#[derive(Debug, Clone)] -pub(crate) struct BaggageField { - pub(crate) field_name: Ident, - pub(crate) field_ty: Type, - pub(crate) generic_types: Vec, - pub(crate) vis: Visibility, -} - -#[derive(Clone, Debug)] -pub(crate) struct OrchestraInfo { - /// Where the support crate `::orchestra` lives. - pub(crate) support_crate: Path, - - /// Fields annotated with `#[subsystem(..)]`. - pub(crate) subsystems: Vec, - /// Fields that do not define a subsystem, - /// but are mere baggage. - pub(crate) baggage: Vec, - /// Name of the wrapping enum for all messages, defaults to `AllMessages`. - pub(crate) message_wrapper: Ident, - /// Name of the orchestra struct, used as a prefix for - /// almost all generated types. - pub(crate) orchestra_name: Ident, - - /// Size of the bounded channel. - pub(crate) message_channel_capacity: usize, - /// Size of the bounded signal channel. - pub(crate) signal_channel_capacity: usize, - - /// Signals to be sent, sparse information that is used intermittently. - pub(crate) extern_signal_ty: Path, - - /// Incoming event type from the outer world, usually an external framework of some sort. - pub(crate) extern_event_ty: Path, - - /// Type of messages that are sent to an external subsystem. - /// Merely here to be included during generation of `#message_wrapper` type. - pub(crate) outgoing_ty: Option, - - /// Incoming event type from the outer world, commonly from the network. - pub(crate) extern_error_ty: Path, -} - -impl OrchestraInfo { - pub(crate) fn support_crate_name(&self) -> &Path { - &self.support_crate - } - - pub(crate) fn variant_names(&self) -> Vec { - self.subsystems.iter().map(|ssf| ssf.generic.clone()).collect::>() - } - - pub(crate) fn variant_names_without_wip(&self) -> Vec { - self.subsystems - .iter() - .filter(|ssf| !ssf.wip) - .map(|ssf| ssf.generic.clone()) - .collect::>() - } - - pub(crate) fn variant_names_only_wip(&self) -> Vec { - self.subsystems - .iter() - .filter(|ssf| ssf.wip) - .map(|ssf| ssf.generic.clone()) - .collect::>() - } - - pub(crate) fn subsystems(&self) -> &[SubSysField] { - self.subsystems.as_slice() - } - - pub(crate) fn subsystem_names_without_wip(&self) -> Vec { - self.subsystems - .iter() - .filter(|ssf| !ssf.wip) - .map(|ssf| ssf.name.clone()) - .collect::>() - } - - pub(crate) fn subsystem_generic_types(&self) -> Vec { - self.subsystems - .iter() - .filter(|ssf| !ssf.wip) - .map(|sff| sff.generic.clone()) - .collect::>() - } - - pub(crate) fn baggage(&self) -> &[BaggageField] { - self.baggage.as_slice() - } - - pub(crate) fn baggage_names(&self) -> Vec { - self.baggage.iter().map(|bag| bag.field_name.clone()).collect::>() - } - pub(crate) fn baggage_decl(&self) -> Vec { - self.baggage - .iter() - .map(|bag| { - let BaggageField { vis, field_ty, field_name, .. } = bag; - quote! { #vis #field_name: #field_ty } - }) - .collect::>() - } - - pub(crate) fn baggage_generic_types(&self) -> Vec { - self.baggage - .iter() - .flat_map(|bag| bag.generic_types.clone()) - .collect::>() - } - - pub(crate) fn any_message(&self) -> Vec { - self.subsystems - .iter() - .map(|ssf| ssf.message_to_consume.clone()) - .collect::>() - } - - pub(crate) fn channel_names_without_wip(&self, suffix: &'static str) -> Vec { - self.subsystems - .iter() - .filter(|ssf| !ssf.wip) - .map(|ssf| Ident::new(&(ssf.name.to_string() + suffix), ssf.name.span())) - .collect::>() - } - - pub(crate) fn consumes_without_wip(&self) -> Vec { - self.subsystems - .iter() - .filter(|ssf| !ssf.wip) - .map(|ssf| ssf.message_to_consume.clone()) - .collect::>() - } -} - -/// Internals of the orchestra. -#[derive(Debug, Clone)] -pub(crate) struct OrchestraGuts { - pub(crate) name: Ident, - pub(crate) subsystems: Vec, - pub(crate) baggage: Vec, -} - -impl OrchestraGuts { - pub(crate) fn parse_fields( - name: Ident, - baggage_generics: HashSet, - fields: FieldsNamed, - ) -> Result { - let n = fields.named.len(); - let mut subsystems = Vec::with_capacity(n); - let mut baggage = Vec::with_capacity(n); - - // The types of `#[subsystem(..)]` annotated fields - // have to be unique, since they are used as generics - // for the builder pattern besides other places. - let mut unique_subsystem_idents = HashSet::::new(); - for Field { attrs, vis, ident, ty, .. } in fields.named.into_iter() { - // collect all subsystem annotations per field - let mut subsystem_attr = - attrs.iter().filter(|attr| attr.style == AttrStyle::Outer).filter_map(|attr| { - let span = attr.path.span(); - attr.path.get_ident().filter(|ident| *ident == "subsystem").map(move |_ident| { - let attr_tokens = attr.tokens.clone(); - (attr_tokens, span) - }) - }); - let ident = ident.ok_or_else(|| { - Error::new( - ty.span(), - "Missing identifier for field, only named fields are expected.", - ) - })?; - - // a `#[subsystem(..)]` annotation exists - if let Some((attr_tokens, span)) = subsystem_attr.next() { - if let Some((_attr_tokens2, span2)) = subsystem_attr.next() { - return Err({ - let mut err = Error::new(span, "The first subsystem annotation is at"); - err.combine(Error::new(span2, "but another here for the same field.")); - err - }) - } - - let span = attr_tokens.span(); - - let attr_tokens = attr_tokens.clone(); - let subsystem_attrs: SubSystemAttrItems = syn::parse2(attr_tokens.clone())?; - - let field_ty = try_type_to_path(&ty, span)?; - let generic = field_ty - .get_ident() - .ok_or_else(|| { - Error::new( - field_ty.span(), - "Must be an identifier, not a path. It will be used as a generic.", - ) - })? - .clone(); - // check for unique subsystem name, otherwise we'd create invalid code: - if let Some(previous) = unique_subsystem_idents.get(&generic) { - let mut e = Error::new(generic.span(), "Duplicate subsystem names"); - e.combine(Error::new(previous.span(), "previously defined here.")); - return Err(e) - } - unique_subsystem_idents.insert(generic.clone()); - - let SubSystemAttrItems { wip, blocking, consumes, sends, .. } = subsystem_attrs; - - // messages to be sent - let sends = if let Some(sends) = sends { - Vec::from_iter(sends.sends.iter().cloned()) - } else { - vec![] - }; - // messages deemed for consumption - let consumes = if let Some(consumes) = consumes { - consumes.consumes - } else { - return Err(Error::new(span, "Must provide exactly one consuming message type")) - }; - - subsystems.push(SubSysField { - name: ident, - generic, - message_to_consume: consumes, - messages_to_send: sends, - wip, - blocking, - }); - } else { - let flattened = flatten_type(&ty, ident.span())?; - let generic_types = flattened - .iter() - .filter(|flat_ident| baggage_generics.contains(flat_ident)) - .cloned() - .collect::>(); - baggage.push(BaggageField { field_name: ident, generic_types, field_ty: ty, vis }); - } - } - Ok(Self { name, subsystems, baggage }) - } -} - -impl Parse for OrchestraGuts { - fn parse(input: ParseStream) -> Result { - let ds: ItemStruct = input.parse()?; - match ds.fields { - syn::Fields::Named(named) => { - let name = ds.ident.clone(); - - // collect the independent subsystem generics - // which need to be carried along, there are the non-generated ones - let mut orig_generics = ds.generics; - - // remove defaults from types - let mut baggage_generic_idents = HashSet::with_capacity(orig_generics.params.len()); - orig_generics.params = orig_generics - .params - .into_iter() - .map(|mut generic| { - match generic { - GenericParam::Type(ref mut param) => { - baggage_generic_idents.insert(param.ident.clone()); - param.eq_token = None; - param.default = None; - }, - _ => {}, - } - generic - }) - .collect(); - - Self::parse_fields(name, baggage_generic_idents, named) - }, - syn::Fields::Unit => Err(Error::new( - ds.fields.span(), - "Must be a struct with named fields. Not an unit struct.", - )), - syn::Fields::Unnamed(unnamed) => Err(Error::new( - unnamed.span(), - "Must be a struct with named fields. Not an unnamed fields struct.", - )), - } - } -} diff --git a/node/orchestra/proc-macro/src/parse/parse_subsystem_attr.rs b/node/orchestra/proc-macro/src/parse/parse_subsystem_attr.rs deleted file mode 100644 index 6df4a4c8e292..000000000000 --- a/node/orchestra/proc-macro/src/parse/parse_subsystem_attr.rs +++ /dev/null @@ -1,143 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use super::kw; -use proc_macro2::Span; -use quote::{quote, ToTokens}; -use std::collections::{hash_map::RandomState, HashMap}; -use syn::{ - parse::{Parse, ParseBuffer}, - punctuated::Punctuated, - spanned::Spanned, - Error, Ident, Path, Result, Token, -}; - -#[derive(Clone, Debug)] -enum SubsystemAttrItem { - /// Error type provided by the user. - Error { tag: kw::error, eq_token: Token![=], value: Path }, - /// For which slot in the orchestra this should be plugged. - /// - /// The subsystem implementation can and should have a different name - /// from the declared parameter type in the orchestra. - Subsystem { tag: Option, eq_token: Option, value: Ident }, - /// The prefix to apply when a subsystem is implemented in a different file/crate - /// than the orchestra itself. - /// - /// Important for `#[subsystem(..)]` to reference the traits correctly. - TraitPrefix { tag: kw::prefix, eq_token: Token![=], value: Path }, -} - -impl ToTokens for SubsystemAttrItem { - fn to_tokens(&self, tokens: &mut proc_macro2::TokenStream) { - let ts = match self { - Self::TraitPrefix { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::Error { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - Self::Subsystem { tag, eq_token, value } => { - quote! { #tag #eq_token, #value } - }, - }; - tokens.extend(ts.into_iter()); - } -} - -impl Parse for SubsystemAttrItem { - fn parse(input: &ParseBuffer) -> Result { - let lookahead = input.lookahead1(); - if lookahead.peek(kw::error) { - Ok(SubsystemAttrItem::Error { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse()?, - }) - } else if lookahead.peek(kw::prefix) { - Ok(SubsystemAttrItem::TraitPrefix { - tag: input.parse::()?, - eq_token: input.parse()?, - value: input.parse()?, - }) - } else if lookahead.peek(kw::subsystem) { - Ok(SubsystemAttrItem::Subsystem { - tag: Some(input.parse::()?), - eq_token: Some(input.parse()?), - value: input.parse()?, - }) - } else { - Ok(SubsystemAttrItem::Subsystem { tag: None, eq_token: None, value: input.parse()? }) - } - } -} - -/// Attribute arguments `$args` in `#[subsystem( $args )]`. -#[derive(Clone, Debug)] -pub(crate) struct SubsystemAttrArgs { - span: Span, - pub(crate) error_path: Option, - pub(crate) subsystem_ident: Ident, - pub(crate) trait_prefix_path: Option, -} - -impl Spanned for SubsystemAttrArgs { - fn span(&self) -> Span { - self.span.clone() - } -} - -macro_rules! extract_variant { - ($unique:expr, $variant:ident ; default = $fallback:expr) => { - extract_variant!($unique, $variant).unwrap_or_else(|| $fallback) - }; - ($unique:expr, $variant:ident ; err = $err:expr) => { - extract_variant!($unique, $variant).ok_or_else(|| Error::new(Span::call_site(), $err)) - }; - ($unique:expr, $variant:ident) => { - $unique.values().find_map(|item| match item { - SubsystemAttrItem::$variant { value, .. } => Some(value.clone()), - _ => None, - }) - }; -} - -impl Parse for SubsystemAttrArgs { - fn parse(input: &ParseBuffer) -> Result { - let span = input.span(); - let items: Punctuated = - input.parse_terminated(SubsystemAttrItem::parse)?; - - let mut unique = HashMap::< - std::mem::Discriminant, - SubsystemAttrItem, - RandomState, - >::default(); - for item in items { - if let Some(first) = unique.insert(std::mem::discriminant(&item), item.clone()) { - let mut e = Error::new( - item.span(), - format!("Duplicate definition of subsystem generation type found"), - ); - e.combine(Error::new(first.span(), "previously defined here.")); - return Err(e) - } - } - let error_path = extract_variant!(unique, Error); - let subsystem_ident = extract_variant!(unique, Subsystem; err = "Must annotate the identical orchestra error type via `subsystem=..` or plainly as `Subsystem` as specified in the orchestra declaration.")?; - let trait_prefix_path = extract_variant!(unique, TraitPrefix); - Ok(SubsystemAttrArgs { span, error_path, subsystem_ident, trait_prefix_path }) - } -} diff --git a/node/orchestra/proc-macro/src/parse/tests.rs b/node/orchestra/proc-macro/src/parse/tests.rs deleted file mode 100644 index 3bcfda45db80..000000000000 --- a/node/orchestra/proc-macro/src/parse/tests.rs +++ /dev/null @@ -1,294 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use super::*; -use crate::{SubSysAttrItem, SubSystemAttrItems}; -use assert_matches::assert_matches; -use quote::quote; -use syn::parse_quote; - -mod attr { - use super::*; - - #[test] - fn attr_full_works() { - let attr: OrchestraAttrArgs = parse_quote! { - gen=AllMessage, event=::some::why::ExternEvent, signal=SigSigSig, signal_capacity=111, message_capacity=222, - error=OrchestraError, - }; - assert_matches!(attr, OrchestraAttrArgs { - message_channel_capacity, - signal_channel_capacity, - .. - } => { - assert_eq!(message_channel_capacity, 222); - assert_eq!(signal_channel_capacity, 111); - }); - } - - #[test] - fn attr_partial_works() { - let attr: OrchestraAttrArgs = parse_quote! { - gen=AllMessage, event=::some::why::ExternEvent, signal=::foo::SigSigSig, - error=OrchestraError, - }; - assert_matches!(attr, OrchestraAttrArgs { - message_channel_capacity: _, - signal_channel_capacity: _, - .. - } => { - }); - } -} - -mod strukt { - - use super::*; - - #[test] - fn parse_subsystem_attr_item_works_00_wip() { - assert_matches!( - syn::parse2::(quote! { - wip - }), Ok(SubSysAttrItem::Wip(_)) => { - }); - } - - #[test] - fn parse_subsystem_attr_item_works_02_sends() { - assert_matches!( - syn::parse2::(quote! { - sends: [A, B, C] - }), Ok(SubSysAttrItem::Sends(sends)) => { - assert_eq!(sends.sends.len(), 3); - }); - } - - #[test] - fn parse_subsystem_attr_item_works_03_sends() { - assert_matches!( - syn::parse2::(quote! { - sends: [A] - }), Ok(SubSysAttrItem::Sends(sends)) => { - assert_eq!(sends.sends.len(), 1); - }); - } - - #[test] - fn parse_subsystem_attr_item_works_04_sends() { - assert_matches!( - syn::parse2::(quote! { - sends: [A,] - }), Ok(SubSysAttrItem::Sends(sends)) => { - assert_eq!(sends.sends.len(), 1); - }); - } - - #[test] - fn parse_subsystem_attr_item_works_05_sends() { - assert_matches!( - syn::parse2::(quote! { - sends: [] - }), Ok(SubSysAttrItem::Sends(sends)) => { - assert_eq!(sends.sends.len(), 0); - }); - } - - #[test] - fn parse_subsystem_attr_item_works_06_consumes() { - assert_matches!( - syn::parse2::(quote! { - consumes: Foo - }), Ok(SubSysAttrItem::Consumes(_consumes)) => { - }); - } - - #[test] - fn parse_subsystem_attr_item_works_07_consumes() { - assert_matches!( - syn::parse2::(quote! { - Foo - }), Ok(SubSysAttrItem::Consumes(_consumes)) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_00() { - syn::parse2::(quote! { - (wip, blocking, consumes: Foo, sends: []) - }) - .unwrap(); - } - - #[test] - fn parse_subsystem_attributes_works_01() { - assert_matches!( - syn::parse2::(quote! { - (blocking, Foo, sends: []) - }), Ok(_) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_02() { - assert_matches!( - syn::parse2::(quote! { - (consumes: Foo, sends: [Bar]) - }), Ok(_) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_03() { - assert_matches!( - syn::parse2::(quote! { - (blocking, consumes: Foo, sends: [Bar]) - }), Ok(_) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_04() { - assert_matches!( - syn::parse2::(quote! { - (wip, consumes: Foo, sends: [Bar]) - }), Ok(_) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_05() { - assert_matches!( - syn::parse2::(quote! { - (consumes: Foo) - }), Ok(_) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_06() { - assert_matches!( - syn::parse2::(quote! { - (sends: [Foo], consumes: Bar) - }), Ok(_) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_07_duplicate_send() { - assert_matches!( - syn::parse2::(quote! { - (sends: [Foo], Bar, Y) - }), Err(e) => { - dbg!(e) - }); - } - - #[test] - fn parse_subsystem_attributes_works_08() { - assert_matches!( - syn::parse2::(quote! { - (sends: [Foo], consumes: Bar) - }), Ok(_) => { - }); - } - - #[test] - fn parse_subsystem_attributes_works_09_neither_consumes_nor_sends() { - assert_matches!( - syn::parse2::(quote! { - (sends: []) - }), Err(e) => { - // must either consume smth or sends smth, neither is NOK - dbg!(e) - }); - } - - #[test] - fn parse_subsystem_attributes_works_10_empty_with_braces() { - assert_matches!( - syn::parse2::(quote! { - () - }), Err(e) => { - dbg!(e) - }); - } - - #[test] - fn parse_subsystem_attributes_works_11_empty() { - assert_matches!( - syn::parse2::(quote! { - - }), Err(e) => { - dbg!(e) - }); - } - - #[test] - fn parse_subsystem_attributes_works_12_duplicate_consumes_different_fmt() { - assert_matches!( - syn::parse2::(quote! { - (Foo, consumes = Foo) - }), Err(e) => { - dbg!(e) - }); - } - - #[test] - fn struct_parse_baggage() { - let item: OrchestraGuts = parse_quote! { - pub struct Ooooh where X: Secrit { - #[subsystem(consumes: Foo, sends: [])] - sub0: FooSubsystem, - - metrics: Metrics, - } - }; - let _ = dbg!(item); - } - - #[test] - fn struct_parse_full() { - let item: OrchestraGuts = parse_quote! { - pub struct Ooooh where X: Secrit { - #[subsystem(consumes: Foo, sends: [])] - sub0: FooSubsystem, - - #[subsystem(blocking, consumes: Bar, sends: [])] - yyy: BaersBuyBilliardBalls, - - #[subsystem(blocking, consumes: Twain, sends: [])] - fff: Beeeeep, - - #[subsystem(consumes: Rope)] - mc: MountainCave, - - metrics: Metrics, - } - }; - let _ = dbg!(item); - } - - #[test] - fn struct_parse_basic() { - let item: OrchestraGuts = parse_quote! { - pub struct Ooooh { - #[subsystem(consumes: Foo, sends: [])] - sub0: FooSubsystem, - } - }; - let _ = dbg!(item); - } -} diff --git a/node/orchestra/proc-macro/src/subsystem.rs b/node/orchestra/proc-macro/src/subsystem.rs deleted file mode 100644 index 27f50704bb94..000000000000 --- a/node/orchestra/proc-macro/src/subsystem.rs +++ /dev/null @@ -1,309 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//! Generates the bounds for a particular subsystem `Context` and associate `type Sender`. -//! -//! -//! ## Implement `trait Subsystem` via `subsystem` -//! -//! ```ignore -//! # use orchestra_proc_macro::subsystem; -//! # mod somewhere { -//! # use orchestra_proc_macro::orchestra; -//! # pub use orchestra::*; -//! # -//! # #[derive(Debug, thiserror::Error)] -//! # #[error("Yikes!")] -//! # pub struct Yikes; -//! # impl From for Yikes { -//! # fn from(_: OrchestraError) -> Yikes { Yikes } -//! # } -//! # impl From for Yikes { -//! # fn from(_: mpsc::SendError) -> Yikes { Yikes } -//! # } -//! # -//! # #[derive(Debug)] -//! # pub struct Eve; -//! # -//! # #[derive(Debug, Clone)] -//! # pub struct Sig; -//! # -//! # #[derive(Debug, Clone, Copy)] -//! # pub struct A; -//! # #[derive(Debug, Clone, Copy)] -//! # pub struct B; -//! # -//! # #[orchestra(signal=Sig, gen=AllOfThem, event=Eve, error=Yikes)] -//! # pub struct Wonderland { -//! # #[subsystem(A, sends: [B])] -//! # foo: Foo, -//! # #[subsystem(B, sends: [A])] -//! # bar: Bar, -//! # } -//! # } -//! # use somewhere::{Yikes, SpawnedSubsystem}; -//! # -//! # struct FooSubsystem; -//! # -//! #[subsystem(Foo, error = Yikes, prefix = somewhere)] -//! impl FooSubsystem { -//! fn start(self, context: Context) -> SpawnedSubsystem { -//! // .. -//! # let _ = context; -//! # unimplemented!() -//! } -//! } -//! ``` -//! -//! expands to -//! -//! ```ignore -//! # use orchestra_proc_macro::subsystem; -//! # mod somewhere { -//! # use orchestra_proc_macro::orchestra; -//! # pub use orchestra::*; -//! # -//! # #[derive(Debug, thiserror::Error)] -//! # #[error("Yikes!")] -//! # pub struct Yikes; -//! # impl From for Yikes { -//! # fn from(_: OrchestraError) -> Yikes { Yikes } -//! # } -//! # impl From for Yikes { -//! # fn from(_: mpsc::SendError) -> Yikes { Yikes } -//! # } -//! # -//! # #[derive(Debug)] -//! # pub struct Eve; -//! # -//! # #[derive(Debug, Clone)] -//! # pub struct Sig; -//! # -//! # #[derive(Debug, Clone, Copy)] -//! # pub struct A; -//! # #[derive(Debug, Clone, Copy)] -//! # pub struct B; -//! # -//! # #[orchestra(signal=Sig, gen=AllOfThem, event=Eve, error=Yikes)] -//! # pub struct Wonderland { -//! # #[subsystem(A, sends: [B])] -//! # foo: Foo, -//! # #[subsystem(B, sends: [A])] -//! # bar: Bar, -//! # } -//! # } -//! # use somewhere::{Yikes, SpawnedSubsystem}; -//! # use orchestra as support_crate; -//! # -//! # struct FooSubsystem; -//! # -//! impl support_crate::Subsystem for FooSubsystem -//! where -//! Context: somewhere::FooContextTrait, -//! Context: support_crate::SubsystemContext, -//! ::Sender: somewhere::FooSenderTrait, -//! ::Sender: somewhere::FooSenderTrait, -//! { -//! fn start(self, context: Context) -> SpawnedSubsystem { -//! // .. -//! # let _ = context; -//! # unimplemented!() -//! } -//! } -//! ``` -//! -//! where `support_crate` is either equivalent to `somewhere` or derived from the cargo manifest. -//! -//! -//! ## Add additional trait bounds for a generic `Context` via `contextbounds` -//! -//! ### To an `ImplItem` -//! -//! ```ignore -//! #[contextbounds(Foo, prefix = somewhere)] -//! impl X { -//! .. -//! } -//! ``` -//! -//! expands to -//! -//! ```ignore -//! impl X -//! where -//! Context: somewhere::FooSubsystemTrait, -//! Context: support_crate::SubsystemContext, -//! ::Sender: somewhere::FooSenderTrait, -//! ::Sender: somewhere::FooSenderTrait, -//! { -//! } -//! ``` -//! -//! ### To a free standing `Fn` (not a method, that's covered by the above) -//! -//! ```ignore -//! #[contextbounds(Foo, prefix = somewhere)] -//! fn do_smth(context: &mut Context) { -//! .. -//! } -//! ``` -//! -//! expands to -//! -//! ```ignore -//! fn do_smth(context: &mut Context) -//! where -//! Context: somewhere::FooSubsystemTrait, -//! Context: support_crate::SubsystemContext, -//! ::Sender: somewhere::FooSenderTrait, -//! ::Sender: somewhere::FooSenderTrait, -//! { -//! } -//! ``` -use proc_macro2::TokenStream; -use quote::{format_ident, ToTokens}; -use syn::{parse2, parse_quote, punctuated::Punctuated, Result}; - -use super::{parse::*, *}; - -#[derive(Debug, Clone, Copy, PartialEq, Eq)] -pub(crate) enum MakeSubsystem { - /// Implements `trait Subsystem` and apply the trait bounds to the `Context` generic. - /// - /// Relevant to `impl Item` only. - ImplSubsystemTrait, - /// Only apply the trait bounds to the context. - AddContextTraitBounds, -} - -pub(crate) fn impl_subsystem_context_trait_bounds( - attr: TokenStream, - orig: TokenStream, - make_subsystem: MakeSubsystem, -) -> Result { - let args = parse2::(attr.clone())?; - let span = args.span(); - let SubsystemAttrArgs { error_path, subsystem_ident, trait_prefix_path, .. } = args; - - let mut item = parse2::(orig)?; - - // always prefer the direct usage, if it's not there, let's see if there is - // a `prefix=*` provided. Either is ok. - - // Technically this is two different things: - // The place where the `#[orchestra]` is annotated is where all `trait *SenderTrait` and - // `trait *ContextTrait` types exist. - // The other usage is the true support crate `orchestra`, where the static ones - // are declared. - // Right now, if the `support_crate` is not included, it falls back silently to the `trait_prefix_path`. - let support_crate = support_crate() - .or_else(|_e| { - trait_prefix_path.clone().ok_or_else(|| { - syn::Error::new(attr.span(), "Couldn't find `orchestra` in manifest, but also missing a `prefix=` to help trait bound resolution") - }) - })?; - - let trait_prefix_path = trait_prefix_path.unwrap_or_else(|| parse_quote! { self }); - if trait_prefix_path.segments.trailing_punct() { - return Err(syn::Error::new(trait_prefix_path.span(), "Must not end with `::`")) - } - - let subsystem_ctx_trait = format_ident!("{}ContextTrait", subsystem_ident); - let subsystem_sender_trait = format_ident!("{}SenderTrait", subsystem_ident); - - let extra_where_predicates: Punctuated = parse_quote! { - Context: #trait_prefix_path::#subsystem_ctx_trait, - Context: #support_crate::SubsystemContext, - ::Sender: #trait_prefix_path::#subsystem_sender_trait, - ::Sender: #trait_prefix_path::#subsystem_sender_trait, - }; - - let apply_ctx_bound_if_present = move |generics: &mut syn::Generics| -> bool { - if generics - .params - .iter() - .find(|generic| match generic { - syn::GenericParam::Type(ty) if ty.ident == "Context" => true, - _ => false, - }) - .is_some() - { - let where_clause = generics.make_where_clause(); - where_clause.predicates.extend(extra_where_predicates.clone()); - true - } else { - false - } - }; - - match item { - syn::Item::Impl(ref mut struktured_impl) => { - if make_subsystem == MakeSubsystem::ImplSubsystemTrait { - let error_path = error_path.ok_or_else(|| { - syn::Error::new( - span, - "Must annotate the identical orchestra error type via `error=..`.", - ) - })?; - // Only replace the subsystem trait if it's desired. - struktured_impl.trait_.replace(( - None, - parse_quote! { - #support_crate::Subsystem - }, - syn::token::For::default(), - )); - } - - apply_ctx_bound_if_present(&mut struktured_impl.generics); - for item in struktured_impl.items.iter_mut() { - match item { - syn::ImplItem::Method(method) => { - apply_ctx_bound_if_present(&mut method.sig.generics); - }, - _others => { - // don't error, just nop - }, - } - } - }, - syn::Item::Fn(ref mut struktured_fn) => { - if make_subsystem == MakeSubsystem::ImplSubsystemTrait { - return Err(syn::Error::new(struktured_fn.span(), "Cannot make a free function a subsystem, did you mean to apply `contextbound` instead?")) - } - apply_ctx_bound_if_present(&mut struktured_fn.sig.generics); - }, - other => - return Err(syn::Error::new( - other.span(), - "Macro can only be annotated on functions or struct implementations", - )), - }; - - Ok(item.to_token_stream()) -} - -#[cfg(test)] -mod tests { - use super::*; - - #[test] - fn is_path() { - let _p: Path = parse_quote! { self }; - let _p: Path = parse_quote! { crate }; - let _p: Path = parse_quote! { ::foo }; - let _p: Path = parse_quote! { bar }; - } -} diff --git a/node/orchestra/proc-macro/src/tests.rs b/node/orchestra/proc-macro/src/tests.rs deleted file mode 100644 index 2b19b5f29a56..000000000000 --- a/node/orchestra/proc-macro/src/tests.rs +++ /dev/null @@ -1,116 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -use super::*; -use assert_matches::assert_matches; -use quote::quote; -use syn::parse_quote; - -#[test] -fn print() { - let attr = quote! { - gen=AllMessage, - event=::some::why::ExternEvent, - signal=SigSigSig, - signal_capacity=111, - message_capacity=222, - error=OrchestraError, - }; - - let item = quote! { - pub struct Ooooh where X: Secrit { - #[subsystem(Foo)] - sub0: FooSubsystem, - - #[subsystem(blocking, Bar)] - yyy: BaersBuyBilliardBalls, - - #[subsystem(blocking, Twain)] - fff: Beeeeep, - - #[subsystem(Rope)] - mc: MountainCave, - - metrics: Metrics, - } - }; - - let output = impl_orchestra_gen(attr, item).expect("Simple example always works. qed"); - println!("//generated:"); - println!("{}", output); -} - -#[test] -fn struct_parse_full() { - let item: OrchestraGuts = parse_quote! { - pub struct Ooooh where X: Secrit { - #[subsystem(Foo)] - sub0: FooSubsystem, - - #[subsystem(blocking, Bar)] - yyy: BaersBuyBilliardBalls, - - #[subsystem(blocking, Twain)] - fff: Beeeeep, - - #[subsystem(Rope)] - mc: MountainCave, - - metrics: Metrics, - } - }; - let _ = dbg!(item); -} - -#[test] -fn struct_parse_basic() { - let item: OrchestraGuts = parse_quote! { - pub struct Ooooh { - #[subsystem(Foo)] - sub0: FooSubsystem, - } - }; - let _ = dbg!(item); -} - -#[test] -fn attr_full() { - let attr: OrchestraAttrArgs = parse_quote! { - gen=AllMessage, event=::some::why::ExternEvent, signal=SigSigSig, signal_capacity=111, message_capacity=222, - error=OrchestraError, - }; - assert_matches!(attr, OrchestraAttrArgs { - message_channel_capacity, - signal_channel_capacity, - .. - } => { - assert_eq!(message_channel_capacity, 222); - assert_eq!(signal_channel_capacity, 111); - }); -} - -#[test] -fn attr_partial() { - let attr: OrchestraAttrArgs = parse_quote! { - gen=AllMessage, event=::some::why::ExternEvent, signal=::foo::SigSigSig, - error=OrchestraError, - }; - assert_matches!(attr, OrchestraAttrArgs { - message_channel_capacity: _, - signal_channel_capacity: _, - .. - } => { - }); -} diff --git a/node/orchestra/src/lib.rs b/node/orchestra/src/lib.rs deleted file mode 100644 index 15bd661e7200..000000000000 --- a/node/orchestra/src/lib.rs +++ /dev/null @@ -1,549 +0,0 @@ -// Copyright (C) 2021 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -//! # Orchestra -//! -//! `orchestra` provides a global information flow of what a token of information. -//! The token is arbitrary, but is used to notify all `Subsystem`s of what is relevant -//! and what is not. -//! -//! For the motivations behind implementing the orchestra itself you should -//! check out that guide, documentation in this crate will focus and be of -//! technical nature. -//! -//! An `Orchestra` is something that allows spawning/stopping and orchestrating -//! asynchronous tasks as well as establishing a well-defined and easy to use -//! protocol that the tasks can use to communicate with each other. It is desired -//! that this protocol is the only way tasks communicate with each other, however -//! at this moment there are no foolproof guards against other ways of communication. -//! -//! The `Orchestra` is instantiated with a pre-defined set of `Subsystems` that -//! share the same behavior from `Orchestra`'s point of view. -//! -//! ```text -//! +-----------------------------+ -//! | Orchesta | -//! +-----------------------------+ -//! -//! ................| Orchestra "holds" these and uses |............. -//! . them to (re)start things . -//! . . -//! . +-------------------+ +---------------------+ . -//! . | Subsystem1 | | Subsystem2 | . -//! . +-------------------+ +---------------------+ . -//! . | | . -//! .................................................................. -//! | | -//! start() start() -//! V V -//! ..................| Orchestra "runs" these |....................... -//! . +--------------------+ +---------------------+ . -//! . | SubsystemInstance1 | <-- bidir --> | SubsystemInstance2 | . -//! . +--------------------+ +---------------------+ . -//! .................................................................. -//! ``` - -// #![deny(unused_results)] -// unused dependencies can not work for test and examples at the same time -// yielding false positives -#![deny(missing_docs)] -#![deny(unused_crate_dependencies)] - -pub use orchestra_proc_macro::{contextbounds, orchestra, subsystem}; - -#[doc(hidden)] -pub use metered; -#[doc(hidden)] -pub use tracing; - -#[doc(hidden)] -pub use async_trait::async_trait; -#[doc(hidden)] -pub use futures::{ - self, - channel::{mpsc, oneshot}, - future::{BoxFuture, Fuse, Future}, - poll, select, - stream::{self, select, select_with_strategy, FuturesUnordered, PollNext}, - task::{Context, Poll}, - FutureExt, StreamExt, -}; -#[doc(hidden)] -pub use std::pin::Pin; - -use std::sync::{ - atomic::{self, AtomicUsize}, - Arc, -}; -#[doc(hidden)] -pub use std::time::Duration; - -#[doc(hidden)] -pub use futures_timer::Delay; - -use std::fmt; - -#[cfg(test)] -mod tests; - -/// A spawner -#[dyn_clonable::clonable] -pub trait Spawner: Clone + Send + Sync { - /// Spawn the given blocking future. - /// - /// The given `group` and `name` is used to identify the future in tracing. - fn spawn_blocking( - &self, - name: &'static str, - group: Option<&'static str>, - future: futures::future::BoxFuture<'static, ()>, - ); - /// Spawn the given non-blocking future. - /// - /// The given `group` and `name` is used to identify the future in tracing. - fn spawn( - &self, - name: &'static str, - group: Option<&'static str>, - future: futures::future::BoxFuture<'static, ()>, - ); -} - -/// A type of messages that are sent from a [`Subsystem`] to the declared orchestra. -/// -/// Used to launch jobs. -pub enum ToOrchestra { - /// A message that wraps something the `Subsystem` is desiring to - /// spawn on the orchestra and a `oneshot::Sender` to signal the result - /// of the spawn. - SpawnJob { - /// Name of the task to spawn which be shown in jaeger and tracing logs. - name: &'static str, - /// Subsystem of the task to spawn which be shown in jaeger and tracing logs. - subsystem: Option<&'static str>, - /// The future to execute. - s: BoxFuture<'static, ()>, - }, - - /// Same as `SpawnJob` but for blocking tasks to be executed on a - /// dedicated thread pool. - SpawnBlockingJob { - /// Name of the task to spawn which be shown in jaeger and tracing logs. - name: &'static str, - /// Subsystem of the task to spawn which be shown in jaeger and tracing logs. - subsystem: Option<&'static str>, - /// The future to execute. - s: BoxFuture<'static, ()>, - }, -} - -impl fmt::Debug for ToOrchestra { - fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - match self { - Self::SpawnJob { name, subsystem, .. } => { - writeln!(f, "SpawnJob{{ {}, {} ..}}", name, subsystem.unwrap_or("default")) - }, - Self::SpawnBlockingJob { name, subsystem, .. } => { - writeln!(f, "SpawnBlockingJob{{ {}, {} ..}}", name, subsystem.unwrap_or("default")) - }, - } - } -} - -/// A helper trait to map a subsystem to smth. else. -pub trait MapSubsystem { - /// The output type of the mapping. - type Output; - - /// Consumes a `T` per subsystem, and maps it to `Self::Output`. - fn map_subsystem(&self, sub: T) -> Self::Output; -} - -impl MapSubsystem for F -where - F: Fn(T) -> U, -{ - type Output = U; - - fn map_subsystem(&self, sub: T) -> U { - (self)(sub) - } -} - -/// A wrapping type for messages. -/// -/// Includes a counter to synchronize signals with messages, -/// such that no inconsistent message sequences are prevented. -#[derive(Debug)] -pub struct MessagePacket { - /// Signal level at the point of reception. - /// - /// Required to assure signals were consumed _before_ - /// consuming messages that are based on the assumption - /// that a certain signal was assumed. - pub signals_received: usize, - /// The message to be sent/consumed. - pub message: T, -} - -/// Create a packet from its parts. -pub fn make_packet(signals_received: usize, message: T) -> MessagePacket { - MessagePacket { signals_received, message } -} - -/// A functor to specify strategy of the channels selection in the `SubsystemIncomingMessages` -pub fn select_message_channel_strategy(_: &mut ()) -> PollNext { - PollNext::Right -} - -/// Incoming messages from both the bounded and unbounded channel. -pub type SubsystemIncomingMessages = self::stream::SelectWithStrategy< - self::metered::MeteredReceiver>, - self::metered::UnboundedMeteredReceiver>, - fn(&mut ()) -> self::stream::PollNext, - (), ->; - -/// Watermark to track the received signals. -#[derive(Debug, Default, Clone)] -pub struct SignalsReceived(Arc); - -impl SignalsReceived { - /// Load the current value of received signals. - pub fn load(&self) -> usize { - // It's imperative that we prevent reading a stale value from memory because of reordering. - // Memory barrier to ensure that no reads or writes in the current thread before this load are reordered. - // All writes in other threads using release semantics become visible to the current thread. - self.0.load(atomic::Ordering::Acquire) - } - - /// Increase the number of signals by one. - pub fn inc(&self) { - self.0.fetch_add(1, atomic::Ordering::AcqRel); - } -} - -/// A trait to support the origin annotation -/// such that errors across subsystems can be easier tracked. -pub trait AnnotateErrorOrigin: 'static + Send + Sync + std::error::Error { - /// Annotate the error with a origin `str`. - /// - /// Commonly this is used to create nested enum variants. - /// - /// ```rust,ignore - /// E::WithOrigin("I am originally from Cowtown.", E::Variant) - /// ``` - fn with_origin(self, origin: &'static str) -> Self; -} - -/// An asynchronous subsystem task.. -/// -/// In essence it's just a new type wrapping a `BoxFuture`. -pub struct SpawnedSubsystem -where - E: std::error::Error + Send + Sync + 'static + From, -{ - /// Name of the subsystem being spawned. - pub name: &'static str, - /// The task of the subsystem being spawned. - pub future: BoxFuture<'static, Result<(), E>>, -} - -/// An error type that describes faults that may happen -/// -/// These are: -/// * Channels being closed -/// * Subsystems dying when they are not expected to -/// * Subsystems not dying when they are told to die -/// * etc. -#[derive(thiserror::Error, Debug)] -#[allow(missing_docs)] -pub enum OrchestraError { - #[error(transparent)] - NotifyCancellation(#[from] oneshot::Canceled), - - #[error(transparent)] - QueueError(#[from] mpsc::SendError), - - #[error("Failed to spawn task {0}")] - TaskSpawn(&'static str), - - #[error(transparent)] - Infallible(#[from] std::convert::Infallible), - - #[error("Failed to {0}")] - Context(String), - - #[error("Subsystem stalled: {0}")] - SubsystemStalled(&'static str), - - /// Per origin (or subsystem) annotations to wrap an error. - #[error("Error originated in {origin}")] - FromOrigin { - /// An additional annotation tag for the origin of `source`. - origin: &'static str, - /// The wrapped error. Marked as source for tracking the error chain. - #[source] - source: Box, - }, -} - -/// Alias for a result with error type `OrchestraError`. -pub type OrchestraResult = std::result::Result; - -/// Collection of meters related to a subsystem. -#[derive(Clone)] -pub struct SubsystemMeters { - #[allow(missing_docs)] - pub bounded: metered::Meter, - #[allow(missing_docs)] - pub unbounded: metered::Meter, - #[allow(missing_docs)] - pub signals: metered::Meter, -} - -impl SubsystemMeters { - /// Read the values of all subsystem `Meter`s. - pub fn read(&self) -> SubsystemMeterReadouts { - SubsystemMeterReadouts { - bounded: self.bounded.read(), - unbounded: self.unbounded.read(), - signals: self.signals.read(), - } - } -} - -/// Set of readouts of the `Meter`s of a subsystem. -pub struct SubsystemMeterReadouts { - #[allow(missing_docs)] - pub bounded: metered::Readout, - #[allow(missing_docs)] - pub unbounded: metered::Readout, - #[allow(missing_docs)] - pub signals: metered::Readout, -} - -/// A running instance of some [`Subsystem`]. -/// -/// [`Subsystem`]: trait.Subsystem.html -/// -/// `M` here is the inner message type, and _not_ the generated `enum AllMessages` or `#message_wrapper` type. -pub struct SubsystemInstance { - /// Send sink for `Signal`s to be sent to a subsystem. - pub tx_signal: crate::metered::MeteredSender, - /// Send sink for `Message`s to be sent to a subsystem. - pub tx_bounded: crate::metered::MeteredSender>, - /// All meters of the particular subsystem instance. - pub meters: SubsystemMeters, - /// The number of signals already received. - /// Required to assure messages and signals - /// are processed correctly. - pub signals_received: usize, - /// Name of the subsystem instance. - pub name: &'static str, -} - -/// A message type that a subsystem receives from an orchestra. -/// It wraps signals from an orchestra and messages that are circulating -/// between subsystems. -/// -/// It is generic over over the message type `M` that a particular `Subsystem` may use. -#[derive(Debug)] -pub enum FromOrchestra { - /// Signal from the `Orchestra`. - Signal(Signal), - - /// Some other `Subsystem`'s message. - Communication { - /// Contained message - msg: Message, - }, -} - -impl From for FromOrchestra { - fn from(signal: Signal) -> Self { - Self::Signal(signal) - } -} - -/// A context type that is given to the [`Subsystem`] upon spawning. -/// It can be used by [`Subsystem`] to communicate with other [`Subsystem`]s -/// or spawn jobs. -/// -/// [`Orchestra`]: struct.Orchestra.html -/// [`SubsystemJob`]: trait.SubsystemJob.html -#[async_trait::async_trait] -pub trait SubsystemContext: Send + 'static { - /// The message type of this context. Subsystems launched with this context will expect - /// to receive messages of this type. Commonly uses the wrapping `enum` commonly called - /// `AllMessages`. - type Message: ::std::fmt::Debug + Send + 'static; - /// And the same for signals. - type Signal: ::std::fmt::Debug + Send + 'static; - /// The overarching messages `enum` for this particular subsystem. - type OutgoingMessages: ::std::fmt::Debug + Send + 'static; - - // The overarching messages `enum` for this particular subsystem. - // type AllMessages: From + From + std::fmt::Debug + Send + 'static; - - /// The sender type as provided by `sender()` and underlying. - type Sender: Clone + Send + 'static + SubsystemSender; - /// The error type. - type Error: ::std::error::Error + ::std::convert::From + Sync + Send + 'static; - - /// Try to asynchronously receive a message. - /// - /// Has to be used with caution, if you loop over this without - /// using `pending!()` macro you will end up with a busy loop! - async fn try_recv(&mut self) -> Result>, ()>; - - /// Receive a message. - async fn recv(&mut self) -> Result, Self::Error>; - - /// Spawn a child task on the executor. - fn spawn( - &mut self, - name: &'static str, - s: ::std::pin::Pin + Send>>, - ) -> Result<(), Self::Error>; - - /// Spawn a blocking child task on the executor's dedicated thread pool. - fn spawn_blocking( - &mut self, - name: &'static str, - s: ::std::pin::Pin + Send>>, - ) -> Result<(), Self::Error>; - - /// Send a direct message to some other `Subsystem`, routed based on message type. - // #[deprecated(note = "Use `self.sender().send_message(msg) instead, avoid passing around the full context.")] - async fn send_message(&mut self, msg: T) - where - Self::OutgoingMessages: From + Send, - T: Send, - { - self.sender().send_message(::from(msg)).await - } - - /// Send multiple direct messages to other `Subsystem`s, routed based on message type. - // #[deprecated(note = "Use `self.sender().send_message(msg) instead, avoid passing around the full context.")] - async fn send_messages(&mut self, msgs: I) - where - Self::OutgoingMessages: From + Send, - I: IntoIterator + Send, - I::IntoIter: Send, - T: Send, - { - self.sender() - .send_messages(msgs.into_iter().map(::from)) - .await - } - - /// Send a message using the unbounded connection. - // #[deprecated(note = "Use `self.sender().send_unbounded_message(msg) instead, avoid passing around the full context.")] - fn send_unbounded_message(&mut self, msg: X) - where - Self::OutgoingMessages: From + Send, - X: Send, - { - self.sender().send_unbounded_message(::from(msg)) - } - - /// Obtain the sender. - fn sender(&mut self) -> &mut Self::Sender; -} - -/// A trait that describes the [`Subsystem`]s that can run on the [`Orchestra`]. -/// -/// It is generic over the message type circulating in the system. -/// The idea that we want some type containing persistent state that -/// can spawn actually running subsystems when asked. -/// -/// [`Orchestra`]: struct.Orchestra.html -/// [`Subsystem`]: trait.Subsystem.html -pub trait Subsystem -where - Ctx: SubsystemContext, - E: std::error::Error + Send + Sync + 'static + From, -{ - /// Start this `Subsystem` and return `SpawnedSubsystem`. - fn start(self, ctx: Ctx) -> SpawnedSubsystem; -} - -/// Sender end of a channel to interface with a subsystem. -#[async_trait::async_trait] -pub trait SubsystemSender: Clone + Send + 'static -where - OutgoingMessage: Send, -{ - /// Send a direct message to some other `Subsystem`, routed based on message type. - async fn send_message(&mut self, msg: OutgoingMessage); - - /// Send multiple direct messages to other `Subsystem`s, routed based on message type. - async fn send_messages(&mut self, msgs: I) - where - I: IntoIterator + Send, - I::IntoIter: Send; - - /// Send a message onto the unbounded queue of some other `Subsystem`, routed based on message - /// type. - /// - /// This function should be used only when there is some other bounding factor on the messages - /// sent with it. Otherwise, it risks a memory leak. - fn send_unbounded_message(&mut self, msg: OutgoingMessage); -} - -/// A future that wraps another future with a `Delay` allowing for time-limited futures. -#[pin_project::pin_project] -pub struct Timeout { - #[pin] - future: F, - #[pin] - delay: Delay, -} - -/// Extends `Future` to allow time-limited futures. -pub trait TimeoutExt: Future { - /// Adds a timeout of `duration` to the given `Future`. - /// Returns a new `Future`. - fn timeout(self, duration: Duration) -> Timeout - where - Self: Sized, - { - Timeout { future: self, delay: Delay::new(duration) } - } -} - -impl TimeoutExt for F where F: Future {} - -impl Future for Timeout -where - F: Future, -{ - type Output = Option; - - fn poll(self: Pin<&mut Self>, ctx: &mut Context) -> Poll { - let this = self.project(); - - if this.delay.poll(ctx).is_ready() { - return Poll::Ready(None) - } - - if let Poll::Ready(output) = this.future.poll(ctx) { - return Poll::Ready(Some(output)) - } - - Poll::Pending - } -} diff --git a/node/orchestra/src/tests.rs b/node/orchestra/src/tests.rs deleted file mode 100644 index 4b622faf889f..000000000000 --- a/node/orchestra/src/tests.rs +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -#[test] -#[rustversion::attr(not(stable), ignore)] -fn ui_compile_fail() { - // Only run the ui tests when `RUN_UI_TESTS` is set. - if std::env::var("RUN_UI_TESTS").is_err() { - return - } - - let t = trybuild::TestCases::new(); - t.compile_fail("tests/ui/err-*.rs"); -} - -#[test] -#[rustversion::attr(not(stable), ignore)] -fn ui_pass() { - // Only run the ui tests when `RUN_UI_TESTS` is set. - if std::env::var("RUN_UI_TESTS").is_err() { - return - } - - let t = trybuild::TestCases::new(); - t.pass("tests/ui/ok-*.rs"); -} diff --git a/node/orchestra/tests/ui/err-01-duplicate-consumer.rs b/node/orchestra/tests/ui/err-01-duplicate-consumer.rs deleted file mode 100644 index 589bcede9963..000000000000 --- a/node/orchestra/tests/ui/err-01-duplicate-consumer.rs +++ /dev/null @@ -1,38 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -#[derive(Default)] -struct AwesomeSubSys2; - -#[derive(Clone, Debug)] -struct SigSigSig; - -struct Event; - -#[derive(Clone)] -struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - - #[subsystem(MsgStrukt)] - sub1: AwesomeSubSys2, -} - -#[derive(Debug, Clone)] -struct DummySpawner; - -struct DummyCtx; - -fn main() { - let orchestra = Orchestra::<_,_>::builder() - .sub0(AwesomeSubSys::default()) - .spawner(DummySpawner) - .build(|| -> DummyCtx { DummyCtx } ); -} diff --git a/node/orchestra/tests/ui/err-01-duplicate-consumer.stderr b/node/orchestra/tests/ui/err-01-duplicate-consumer.stderr deleted file mode 100644 index af27b95a2ea0..000000000000 --- a/node/orchestra/tests/ui/err-01-duplicate-consumer.stderr +++ /dev/null @@ -1,21 +0,0 @@ -error[E0119]: conflicting implementations of trait `std::convert::From` for type `AllMessages` - --> tests/ui/err-01-duplicate-consumer.rs:19:1 - | -19 | #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | | - | first implementation here - | conflicting implementation for `AllMessages` - | - = note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info) - -error[E0119]: conflicting implementations of trait `AssociateOutgoing` for type `MsgStrukt` - --> tests/ui/err-01-duplicate-consumer.rs:19:1 - | -19 | #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | | - | first implementation here - | conflicting implementation for `MsgStrukt` - | - = note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/node/orchestra/tests/ui/err-02-enum.rs b/node/orchestra/tests/ui/err-02-enum.rs deleted file mode 100644 index 8d1ddeac6dda..000000000000 --- a/node/orchestra/tests/ui/err-02-enum.rs +++ /dev/null @@ -1,32 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -struct SigSigSig; - -struct Event; - -#[derive(Clone, Debug)] -struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] -enum Orchestra { - #[subsystem(MsgStrukt)] - Sub0(AwesomeSubSys), -} - -#[derive(Debug, Clone)] -struct DummySpawner; - -struct DummyCtx; - -fn main() { - let orchestra = Orchestra::<_,_>::builder() - .sub0(AwesomeSubSys::default()) - .i_like_pie(std::f64::consts::PI) - .spawner(DummySpawner) - .build(|| -> DummyCtx { DummyCtx } ); -} diff --git a/node/orchestra/tests/ui/err-02-enum.stderr b/node/orchestra/tests/ui/err-02-enum.stderr deleted file mode 100644 index 4694f5db9730..000000000000 --- a/node/orchestra/tests/ui/err-02-enum.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error: expected `struct` - --> tests/ui/err-02-enum.rs:16:1 - | -16 | enum Orchestra { - | ^^^^ - -error[E0433]: failed to resolve: use of undeclared type `Orchestra` - --> tests/ui/err-02-enum.rs:27:18 - | -27 | let orchestra = Orchestra::<_,_>::builder() - | ^^^^^^^^^ use of undeclared type `Orchestra` diff --git a/node/orchestra/tests/ui/err-03-subsys-twice.rs b/node/orchestra/tests/ui/err-03-subsys-twice.rs deleted file mode 100644 index 187d9e1e7a5b..000000000000 --- a/node/orchestra/tests/ui/err-03-subsys-twice.rs +++ /dev/null @@ -1,39 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -#[derive(Clone, Debug)] -struct SigSigSig; - -struct Event; - -#[derive(Clone, Debug)] -struct MsgStrukt(u8); - -#[derive(Clone, Debug)] -struct MsgStrukt2(f64); - -#[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - - #[subsystem(MsgStrukt2)] - sub1: AwesomeSubSys, -} - -#[derive(Debug, Clone)] -struct DummySpawner; - -struct DummyCtx; - -fn main() { - let orchestra = Orchestra::<_,_>::builder() - .sub0(AwesomeSubSys::default()) - .i_like_pie(std::f64::consts::PI) - .spawner(DummySpawner) - .build(|| -> DummyCtx { DummyCtx } ); -} diff --git a/node/orchestra/tests/ui/err-03-subsys-twice.stderr b/node/orchestra/tests/ui/err-03-subsys-twice.stderr deleted file mode 100644 index de69031b248b..000000000000 --- a/node/orchestra/tests/ui/err-03-subsys-twice.stderr +++ /dev/null @@ -1,17 +0,0 @@ -error: Duplicate subsystem names - --> tests/ui/err-03-subsys-twice.rs:25:8 - | -25 | sub1: AwesomeSubSys, - | ^^^^^^^^^^^^^ - -error: previously defined here. - --> tests/ui/err-03-subsys-twice.rs:22:8 - | -22 | sub0: AwesomeSubSys, - | ^^^^^^^^^^^^^ - -error[E0433]: failed to resolve: use of undeclared type `Orchestra` - --> tests/ui/err-03-subsys-twice.rs:34:18 - | -34 | let orchestra = Orchestra::<_,_>::builder() - | ^^^^^^^^^ use of undeclared type `Orchestra` diff --git a/node/orchestra/tests/ui/err-04-missing-error.rs b/node/orchestra/tests/ui/err-04-missing-error.rs deleted file mode 100644 index 74672a4549a4..000000000000 --- a/node/orchestra/tests/ui/err-04-missing-error.rs +++ /dev/null @@ -1,36 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -#[derive(Clone, Debug)] -struct SigSigSig; - -struct Event; - -#[derive(Clone)] -struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, event=Event, gen=AllMessages)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - - i_like_pie: f64, -} - -#[derive(Debug, Clone)] -struct DummySpawner; - -struct DummyCtx; - -fn main() { - let _ = Orchestra::builder() - .sub0(AwesomeSubSys::default()) - .i_like_pie(std::f64::consts::PI) - .spawner(DummySpawner) - .build() - .unwrap(); -} diff --git a/node/orchestra/tests/ui/err-04-missing-error.stderr b/node/orchestra/tests/ui/err-04-missing-error.stderr deleted file mode 100644 index 70c3e790eafc..000000000000 --- a/node/orchestra/tests/ui/err-04-missing-error.stderr +++ /dev/null @@ -1,13 +0,0 @@ -error: Must declare the orchestra error type via `error=..`. - --> tests/ui/err-04-missing-error.rs:16:1 - | -16 | #[orchestra(signal=SigSigSig, event=Event, gen=AllMessages)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: this error originates in the attribute macro `orchestra` (in Nightly builds, run with -Z macro-backtrace for more info) - -error[E0433]: failed to resolve: use of undeclared type `Orchestra` - --> tests/ui/err-04-missing-error.rs:30:10 - | -30 | let _ = Orchestra::builder() - | ^^^^^^^^^ use of undeclared type `Orchestra` diff --git a/node/orchestra/tests/ui/err-05-missing-field.rs b/node/orchestra/tests/ui/err-05-missing-field.rs deleted file mode 100644 index f351724072b6..000000000000 --- a/node/orchestra/tests/ui/err-05-missing-field.rs +++ /dev/null @@ -1,61 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -impl ::orchestra::Subsystem, OrchestraError> for AwesomeSubSys { - fn start(self, _ctx: OrchestraSubsystemContext) -> SpawnedSubsystem { - unimplemented!("starting yay!") - } -} - -#[derive(Clone, Debug)] -pub struct SigSigSig; - -pub struct Event; - -#[derive(Clone, Debug)] -pub struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - i_like_pie: f64, -} - -#[derive(Debug, Clone)] -pub struct DummySpawner; - -impl Spawner for DummySpawner { - fn spawn_blocking( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn blocking {} {}", task_name, subsystem_name.unwrap_or("default")) - } - - fn spawn( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn {} {}", task_name, subsystem_name.unwrap_or("default")) - } -} - -struct DummyCtx; - -fn main() { - let _ = Orchestra::builder() - .sub0(AwesomeSubSys::default()) - //.i_like_pie(std::f64::consts::PI) // The filed is not initialised - .spawner(DummySpawner) - .build() - .unwrap(); -} diff --git a/node/orchestra/tests/ui/err-05-missing-field.stderr b/node/orchestra/tests/ui/err-05-missing-field.stderr deleted file mode 100644 index 84778a427552..000000000000 --- a/node/orchestra/tests/ui/err-05-missing-field.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0599]: no method named `build` found for struct `OrchestraBuilder, Init, Missing>` in the current scope - --> tests/ui/err-05-missing-field.rs:59:4 - | -22 | #[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] - | ---------------------------------------------------------------------------------- method `build` not found for this struct -... -59 | .build() - | ^^^^^ method not found in `OrchestraBuilder, Init, Missing>` - | - = note: the method was found for - - `OrchestraBuilder, Init, Init>` diff --git a/node/orchestra/tests/ui/err-06-missing-subsystem.rs b/node/orchestra/tests/ui/err-06-missing-subsystem.rs deleted file mode 100644 index 85b1b2f618fe..000000000000 --- a/node/orchestra/tests/ui/err-06-missing-subsystem.rs +++ /dev/null @@ -1,61 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -impl ::orchestra::Subsystem, OrchestraError> for AwesomeSubSys { - fn start(self, _ctx: OrchestraSubsystemContext) -> SpawnedSubsystem { - unimplemented!("starting yay!") - } -} - -#[derive(Clone, Debug)] -pub struct SigSigSig; - -pub struct Event; - -#[derive(Clone, Debug)] -pub struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - i_like_pie: f64, -} - -#[derive(Debug, Clone)] -pub struct DummySpawner; - -impl Spawner for DummySpawner { - fn spawn_blocking( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn blocking {} {}", task_name, subsystem_name.unwrap_or("default")) - } - - fn spawn( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn {} {}", task_name, subsystem_name.unwrap_or("default")) - } -} - -struct DummyCtx; - -fn main() { - let _ = Orchestra::builder() - //.sub0(AwesomeSubSys::default()) // Subsystem is uninitialized - .i_like_pie(std::f64::consts::PI) - .spawner(DummySpawner) - .build() - .unwrap(); -} diff --git a/node/orchestra/tests/ui/err-06-missing-subsystem.stderr b/node/orchestra/tests/ui/err-06-missing-subsystem.stderr deleted file mode 100644 index 767d7feae398..000000000000 --- a/node/orchestra/tests/ui/err-06-missing-subsystem.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0599]: no method named `build` found for struct `OrchestraBuilder, Missing<_>, Init>` in the current scope - --> tests/ui/err-06-missing-subsystem.rs:59:4 - | -22 | #[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] - | ---------------------------------------------------------------------------------- method `build` not found for this struct -... -59 | .build() - | ^^^^^ method not found in `OrchestraBuilder, Missing<_>, Init>` - | - = note: the method was found for - - `OrchestraBuilder, Init, Init>` diff --git a/node/orchestra/tests/ui/err-07-missing-spawner.rs b/node/orchestra/tests/ui/err-07-missing-spawner.rs deleted file mode 100644 index 45f0af1c6e50..000000000000 --- a/node/orchestra/tests/ui/err-07-missing-spawner.rs +++ /dev/null @@ -1,61 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -impl ::orchestra::Subsystem, OrchestraError> for AwesomeSubSys { - fn start(self, _ctx: OrchestraSubsystemContext) -> SpawnedSubsystem { - unimplemented!("starting yay!") - } -} - -#[derive(Clone, Debug)] -pub struct SigSigSig; - -pub struct Event; - -#[derive(Clone, Debug)] -pub struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - i_like_pie: f64, -} - -#[derive(Debug, Clone)] -pub struct DummySpawner; - -impl Spawner for DummySpawner { - fn spawn_blocking( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn blocking {} {}", task_name, subsystem_name.unwrap_or("default")) - } - - fn spawn( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn {} {}", task_name, subsystem_name.unwrap_or("default")) - } -} - -struct DummyCtx; - -fn main() { - let _ = Orchestra::builder() - .sub0(AwesomeSubSys::default()) - .i_like_pie(std::f64::consts::PI) - //.spawner(DummySpawner) // Spawner is missing - .build() - .unwrap(); -} diff --git a/node/orchestra/tests/ui/err-07-missing-spawner.stderr b/node/orchestra/tests/ui/err-07-missing-spawner.stderr deleted file mode 100644 index 1b5fb5413ced..000000000000 --- a/node/orchestra/tests/ui/err-07-missing-spawner.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0599]: no method named `build` found for struct `OrchestraBuilder, Init, Init>` in the current scope - --> tests/ui/err-07-missing-spawner.rs:59:4 - | -22 | #[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] - | ---------------------------------------------------------------------------------- method `build` not found for this struct -... -59 | .build() - | ^^^^^ method not found in `OrchestraBuilder, Init, Init>` - | - = note: the method was found for - - `OrchestraBuilder, Init, Init>` diff --git a/node/orchestra/tests/ui/err-08-duplicate-subsystem.rs b/node/orchestra/tests/ui/err-08-duplicate-subsystem.rs deleted file mode 100644 index 8a3eab1ee726..000000000000 --- a/node/orchestra/tests/ui/err-08-duplicate-subsystem.rs +++ /dev/null @@ -1,62 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -impl ::orchestra::Subsystem, OrchestraError> for AwesomeSubSys { - fn start(self, _ctx: OrchestraSubsystemContext) -> SpawnedSubsystem { - unimplemented!("starting yay!") - } -} - -#[derive(Clone, Debug)] -pub struct SigSigSig; - -pub struct Event; - -#[derive(Clone, Debug)] -pub struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - i_like_pie: f64, -} - -#[derive(Debug, Clone)] -pub struct DummySpawner; - -impl Spawner for DummySpawner { - fn spawn_blocking( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn blocking {} {}", task_name, subsystem_name.unwrap_or("default")) - } - - fn spawn( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn {} {}", task_name, subsystem_name.unwrap_or("default")) - } -} - -struct DummyCtx; - -fn main() { - let _ = Orchestra::builder() - .sub0(AwesomeSubSys::default()) - .sub0(AwesomeSubSys::default()) // Duplicate subsystem - .i_like_pie(std::f64::consts::PI) - .spawner(DummySpawner) - .build() - .unwrap(); -} diff --git a/node/orchestra/tests/ui/err-08-duplicate-subsystem.stderr b/node/orchestra/tests/ui/err-08-duplicate-subsystem.stderr deleted file mode 100644 index b95c0d0a7daf..000000000000 --- a/node/orchestra/tests/ui/err-08-duplicate-subsystem.stderr +++ /dev/null @@ -1,10 +0,0 @@ -error[E0599]: no method named `sub0` found for struct `OrchestraBuilder, Init, Missing>` in the current scope - --> tests/ui/err-08-duplicate-subsystem.rs:57:4 - | -22 | #[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] - | ---------------------------------------------------------------------------------- method `sub0` not found for this struct -... -57 | .sub0(AwesomeSubSys::default()) // Duplicate subsystem - | ^^^^-------------------------- help: remove the arguments - | | - | field, not a method diff --git a/node/orchestra/tests/ui/err-09-uninit_generic_baggage.rs b/node/orchestra/tests/ui/err-09-uninit_generic_baggage.rs deleted file mode 100644 index c90979c4e4e8..000000000000 --- a/node/orchestra/tests/ui/err-09-uninit_generic_baggage.rs +++ /dev/null @@ -1,61 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSys; - -impl ::orchestra::Subsystem, OrchestraError> for AwesomeSubSys { - fn start(self, _ctx: OrchestraSubsystemContext) -> SpawnedSubsystem { - unimplemented!("starting yay!") - } -} - -#[derive(Clone, Debug)] -pub struct SigSigSig; - -pub struct Event; - -#[derive(Clone, Debug)] -pub struct MsgStrukt(u8); - -#[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] -struct Orchestra { - #[subsystem(MsgStrukt)] - sub0: AwesomeSubSys, - i_like_pie: T, -} - -#[derive(Debug, Clone)] -pub struct DummySpawner; - -impl Spawner for DummySpawner { - fn spawn_blocking( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn blocking {} {}", task_name, subsystem_name.unwrap_or("default")) - } - - fn spawn( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - unimplemented!("spawn {} {}", task_name, subsystem_name.unwrap_or("default")) - } -} - -struct DummyCtx; - -fn main() { - let (_, _): (Orchestra<_, f64>, _) = Orchestra::builder() - .sub0(AwesomeSubSys::default()) - //.i_like_pie(std::f64::consts::PI) // The filed is not initialised - .spawner(DummySpawner) - .build() - .unwrap(); -} diff --git a/node/orchestra/tests/ui/err-09-uninit_generic_baggage.stderr b/node/orchestra/tests/ui/err-09-uninit_generic_baggage.stderr deleted file mode 100644 index ef9743fcdf22..000000000000 --- a/node/orchestra/tests/ui/err-09-uninit_generic_baggage.stderr +++ /dev/null @@ -1,11 +0,0 @@ -error[E0599]: no method named `build` found for struct `OrchestraBuilder, Init, Missing<_>>` in the current scope - --> tests/ui/err-09-uninit_generic_baggage.rs:59:4 - | -22 | #[orchestra(signal=SigSigSig, error=OrchestraError, event=Event, gen=AllMessages)] - | ---------------------------------------------------------------------------------- method `build` not found for this struct -... -59 | .build() - | ^^^^^ method not found in `OrchestraBuilder, Init, Missing<_>>` - | - = note: the method was found for - - `OrchestraBuilder, Init, Init>` diff --git a/node/orchestra/tests/ui/ok-01-wip.rs b/node/orchestra/tests/ui/ok-01-wip.rs deleted file mode 100644 index 5a2fad40540e..000000000000 --- a/node/orchestra/tests/ui/ok-01-wip.rs +++ /dev/null @@ -1,74 +0,0 @@ -#![allow(dead_code)] - -use orchestra::*; - -#[derive(Default)] -struct AwesomeSubSysA; - -impl ::orchestra::Subsystem, OrchestraError> for AwesomeSubSysA { - fn start(self, _ctx: OrchestraSubsystemContext) -> SpawnedSubsystem { - SpawnedSubsystem { name: "sub A", future: Box::pin(async move { Ok(()) }) } - } -} -impl ::orchestra::Subsystem, OrchestraError> for AwesomeSubSysB { - fn start(self, _ctx: OrchestraSubsystemContext) -> SpawnedSubsystem { - SpawnedSubsystem { name: "sub B", future: Box::pin(async move { Ok(()) }) } - } -} - -#[derive(Debug, Clone)] -pub struct DummySpawner; - -impl Spawner for DummySpawner { - fn spawn_blocking( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - println!("spawn blocking {} {}", task_name, subsystem_name.unwrap_or("default")) - } - - fn spawn( - &self, - task_name: &'static str, - subsystem_name: Option<&'static str>, - _future: futures::future::BoxFuture<'static, ()>, - ) { - println!("spawn {} {}", task_name, subsystem_name.unwrap_or("default")) - } -} - -#[derive(Default)] -pub struct AwesomeSubSysB; - -#[derive(Clone, Debug)] -pub struct SigSigSig; - -pub struct Event; - -#[derive(Clone, Debug)] -pub struct MsgA(u8); - -#[derive(Clone, Debug)] -pub struct MsgB(u8); - -#[orchestra(signal=SigSigSig, event=Event, gen=AllMessages, error=OrchestraError)] -pub struct Orchestra { - #[subsystem(MsgA)] - sub_a: AwesomeSubSysA, - - #[subsystem(wip, MsgB)] - sub_b: AwesomeSubSysB, -} - -pub struct DummyCtx; - -fn main() { - let _orchestra_builder = Orchestra::builder() - .sub_a(AwesomeSubSysA::default()) - // b is tagged as `wip` - // .sub_b(AwesomeSubSysB::default()) - .spawner(DummySpawner) - .build(); -} diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index d25639084eb5..0db382e4e783 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -15,7 +15,7 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-subsystem-types = { path = "../subsystem-types" } polkadot-node-metrics = { path = "../metrics" } polkadot-primitives = { path = "../../primitives" } -orchestra = { path = "../orchestra" } +orchestra = "0.0.2" gum = { package = "tracing-gum", path = "../gum" } lru = "0.7" parity-util-mem = { version = "0.11.0", default-features = false } @@ -23,7 +23,8 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } async-trait = "0.1.57" [dev-dependencies] -metered = { package = "prioritized-metered-channel", path = "../metered-channel" } +metered = { package = "prioritized-metered-channel", version = "0.2.0" } + sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } futures = { version = "0.3.21", features = ["thread-pool"] } femme = "2.2.1" diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index 24274dd22608..2b997128b8e2 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -13,7 +13,7 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-network-protocol = { path = "../network/protocol" } polkadot-statement-table = { path = "../../statement-table" } polkadot-node-jaeger = { path = "../jaeger" } -orchestra = { path = "../orchestra" } +orchestra = "0.0.2" sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index d515be37fe3e..a3985a898849 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -26,7 +26,7 @@ polkadot-node-network-protocol = { path = "../network/protocol" } polkadot-primitives = { path = "../../primitives" } polkadot-node-primitives = { path = "../primitives" } polkadot-overseer = { path = "../overseer" } -metered = { package = "prioritized-metered-channel", path = "../metered-channel" , "version" = "0.2.0" } +metered = { package = "prioritized-metered-channel", version = "0.2.0" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } From 9f656191ab24e0e79e6386c65e413d478a207185 Mon Sep 17 00:00:00 2001 From: Adrian Catangiu Date: Mon, 3 Oct 2022 17:32:27 +0300 Subject: [PATCH 027/211] Companion for substrate#12124: add BEEFY request response protocol (#6035) * service: add BEEFY request response proto * update lockfile for {"substrate"} * update lockfile for substrate --- Cargo.lock | 348 ++++++++++++++++++++-------------------- node/service/src/lib.rs | 28 +++- rpc/src/lib.rs | 4 +- 3 files changed, 200 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 864b1fad8044..eb8189958d4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "beefy-primitives", "sp-api", @@ -501,7 +501,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -1998,7 +1998,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", ] @@ -2016,7 +2016,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -2039,7 +2039,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "Inflector", "array-bytes", @@ -2090,7 +2090,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2101,7 +2101,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "bitflags", "frame-metadata", @@ -2178,7 +2178,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "Inflector", "cfg-expr", @@ -2192,7 +2192,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro2", "quote", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2237,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "log", @@ -2266,7 +2266,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "parity-scale-codec", @@ -2473,7 +2473,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "chrono", "frame-election-provider-support", @@ -4830,7 +4830,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -4860,7 +4860,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -4875,7 +4875,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4919,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4938,7 +4938,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "beefy-primitives", "frame-support", @@ -4969,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4992,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5086,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5138,7 +5138,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5153,7 +5153,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5192,7 +5192,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5246,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5264,7 +5264,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5279,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5294,7 +5294,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -5311,7 +5311,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5331,7 +5331,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "sp-api", @@ -5341,7 +5341,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -5358,7 +5358,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5381,7 +5381,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5397,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5412,7 +5412,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5427,7 +5427,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5443,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -5464,7 +5464,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5480,7 +5480,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -5494,7 +5494,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5517,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5528,7 +5528,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "sp-arithmetic", @@ -5537,7 +5537,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -5551,7 +5551,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5569,7 +5569,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5588,7 +5588,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-support", "frame-system", @@ -5604,7 +5604,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5619,7 +5619,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5630,7 +5630,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5647,7 +5647,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5663,7 +5663,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8194,7 +8194,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8542,7 +8542,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "sp-core", @@ -8553,7 +8553,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "futures", @@ -8580,7 +8580,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "futures-timer", @@ -8603,7 +8603,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8619,7 +8619,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8636,7 +8636,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8647,7 +8647,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "chrono", @@ -8687,7 +8687,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "fnv", "futures", @@ -8715,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "hash-db", "kvdb", @@ -8740,7 +8740,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "futures", @@ -8764,7 +8764,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "fork-tree", @@ -8806,7 +8806,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "jsonrpsee", @@ -8828,7 +8828,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8841,7 +8841,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "futures", @@ -8865,7 +8865,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8892,7 +8892,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "environmental", "parity-scale-codec", @@ -8908,7 +8908,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "parity-scale-codec", @@ -8923,7 +8923,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8943,7 +8943,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "ahash", "array-bytes", @@ -8984,7 +8984,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "finality-grandpa", "futures", @@ -9005,7 +9005,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "ansi_term", "futures", @@ -9022,7 +9022,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "async-trait", @@ -9037,7 +9037,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "async-trait", @@ -9084,7 +9084,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "cid", "futures", @@ -9104,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "bitflags", @@ -9130,7 +9130,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "ahash", "futures", @@ -9148,7 +9148,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "futures", @@ -9169,7 +9169,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "fork-tree", @@ -9197,7 +9197,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "futures", @@ -9216,7 +9216,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "bytes", @@ -9246,7 +9246,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "libp2p", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9268,7 +9268,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "hash-db", @@ -9298,7 +9298,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "jsonrpsee", @@ -9321,7 +9321,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "jsonrpsee", @@ -9334,7 +9334,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "directories", @@ -9404,7 +9404,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "parity-scale-codec", @@ -9418,7 +9418,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9437,7 +9437,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "libc", @@ -9456,7 +9456,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "chrono", "futures", @@ -9474,7 +9474,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "ansi_term", "atty", @@ -9505,7 +9505,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9516,7 +9516,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "futures-timer", @@ -9542,7 +9542,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "log", @@ -9555,7 +9555,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "futures-timer", @@ -10041,7 +10041,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "hash-db", "log", @@ -10059,7 +10059,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "blake2", "proc-macro-crate", @@ -10071,7 +10071,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10084,7 +10084,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "integer-sqrt", "num-traits", @@ -10099,7 +10099,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10112,7 +10112,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "parity-scale-codec", @@ -10124,7 +10124,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "sp-api", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "log", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "futures", @@ -10173,7 +10173,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "merlin", @@ -10196,7 +10196,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10210,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10223,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "base58", @@ -10269,7 +10269,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "blake2", "byteorder", @@ -10283,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro2", "quote", @@ -10294,7 +10294,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10303,7 +10303,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro2", "quote", @@ -10313,7 +10313,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "environmental", "parity-scale-codec", @@ -10324,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "finality-grandpa", "log", @@ -10342,7 +10342,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10356,7 +10356,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "bytes", "futures", @@ -10382,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "lazy_static", "sp-core", @@ -10393,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "futures", @@ -10410,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "thiserror", "zstd", @@ -10419,7 +10419,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "parity-scale-codec", @@ -10434,7 +10434,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10448,7 +10448,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "sp-api", "sp-core", @@ -10458,7 +10458,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "backtrace", "lazy_static", @@ -10468,7 +10468,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "rustc-hash", "serde", @@ -10478,7 +10478,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "either", "hash256-std-hasher", @@ -10501,7 +10501,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10519,7 +10519,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "Inflector", "proc-macro-crate", @@ -10531,7 +10531,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "parity-scale-codec", @@ -10545,7 +10545,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10559,7 +10559,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10570,7 +10570,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "hash-db", "log", @@ -10592,12 +10592,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10610,7 +10610,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "log", "sp-core", @@ -10623,7 +10623,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "futures-timer", @@ -10639,7 +10639,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "sp-std", @@ -10651,7 +10651,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "sp-api", "sp-runtime", @@ -10660,7 +10660,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "async-trait", "log", @@ -10676,7 +10676,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "ahash", "hash-db", @@ -10699,7 +10699,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10716,7 +10716,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10727,7 +10727,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "impl-trait-for-tuples", "log", @@ -10740,7 +10740,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10955,7 +10955,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "platforms", ] @@ -10963,7 +10963,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10984,7 +10984,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures-util", "hyper", @@ -10997,7 +10997,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "jsonrpsee", "log", @@ -11018,7 +11018,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "array-bytes", "async-trait", @@ -11044,7 +11044,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11054,7 +11054,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11065,7 +11065,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "ansi_term", "build-helper", @@ -11778,7 +11778,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#952030cfa6f11be6aef938e5359064c4cf6b30a9" +source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 3ae207be8e13..6425ee7a7536 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -849,13 +849,24 @@ where .extra_sets .push(grandpa::grandpa_peers_set_config(grandpa_protocol_name.clone())); - let beefy_protocol_name = - beefy_gadget::protocol_standard_name(&genesis_hash, &config.chain_spec); + let beefy_gossip_proto_name = + beefy_gadget::gossip_protocol_name(&genesis_hash, config.chain_spec.fork_id()); + // `beefy_on_demand_justifications_handler` is given to `beefy-gadget` task to be run, + // while `beefy_req_resp_cfg` is added to `config.network.request_response_protocols`. + let (beefy_on_demand_justifications_handler, beefy_req_resp_cfg) = + beefy_gadget::communication::request_response::BeefyJustifsRequestHandler::new( + &genesis_hash, + config.chain_spec.fork_id(), + client.clone(), + ); if enable_beefy { config .network .extra_sets - .push(beefy_gadget::beefy_peers_set_config(beefy_protocol_name.clone())); + .push(beefy_gadget::communication::beefy_peers_set_config( + beefy_gossip_proto_name.clone(), + )); + config.network.request_response_protocols.push(beefy_req_resp_cfg); } let peerset_protocol_names = @@ -1174,16 +1185,23 @@ where if role.is_authority() { Some(keystore_container.sync_keystore()) } else { None }; if enable_beefy { + let justifications_protocol_name = beefy_on_demand_justifications_handler.protocol_name(); + let network_params = beefy_gadget::BeefyNetworkParams { + network: network.clone(), + gossip_protocol_name: beefy_gossip_proto_name, + justifications_protocol_name, + _phantom: core::marker::PhantomData::, + }; let beefy_params = beefy_gadget::BeefyParams { client: client.clone(), backend: backend.clone(), runtime: client.clone(), key_store: keystore_opt.clone(), - network: network.clone(), + network_params, min_block_delta: if chain_spec.is_wococo() { 4 } else { 8 }, prometheus_registry: prometheus_registry.clone(), - protocol_name: beefy_protocol_name, links: beefy_links, + on_demand_justifications_handler: beefy_on_demand_justifications_handler, }; let gadget = beefy_gadget::start_beefy_gadget::<_, _, _, _, _>(beefy_params); diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index d05388ea5441..fa2c61f17c25 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -61,7 +61,9 @@ pub struct GrandpaDeps { pub finality_provider: Arc>, } -use beefy_gadget::notification::{BeefyBestBlockStream, BeefyVersionedFinalityProofStream}; +use beefy_gadget::communication::notification::{ + BeefyBestBlockStream, BeefyVersionedFinalityProofStream, +}; /// Dependencies for BEEFY pub struct BeefyDeps { /// Receives notifications about finality proof events from BEEFY. From 3fbf6e4698e6abcc621095c8bbeefe37f70568be Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Mon, 3 Oct 2022 17:33:46 +0100 Subject: [PATCH 028/211] Governance v2 (Kusama only) (#5205) * First bits * Create new origins * Repot governance configs * Tests for treasury spends * Integrate treasury spend threshold origins * Bump deps * Add whitelist, configure treasury spend origins * Add governance curves * Enable curve's ceil to be configured * Make compile * Rest of new governance params * Build fixes * Fixes * Fix warning * Use new EnsureOrigin::try_successful_origin * Some repotting * Add files * Ready for initial review * Fixes * Formatting * Bump * rename * Derive MEL for Origin enum Signed-off-by: Oliver Tale-Yazdi * Add benchmarks Signed-off-by: Oliver Tale-Yazdi * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting * Update Cargo.lock * Update runtime/kusama/src/governance/origins.rs Co-authored-by: Xiliang Chen * allow root to demote and promote, fixing benchmarks * fix whitelist origin benchmarks * typo * cargo update -p sp-io * add second referenda instance to benchmarks * allow root to act as a 9th dan in track * feature flag it * cargo update -p sp-io * fix merge * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting * allow root to create auction * Update mod.rs * more origin fixes * root isnt needed actually * cargo update -p sp-io * allow root to cancel slash * initial stuff * make copy data from kusama * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda * Update Cargo.lock * commit new weight files * more files * use weight files * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda * Update Cargo.lock * Update to latest master * Formatting * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_ranked_collective * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_conviction_voting * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_whitelist * Rename Origin -> RuntimeOrigin This was done in Substrate and is now needed here as well. Signed-off-by: Oliver Tale-Yazdi * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi * Tech Committee can promote to VI Dan * Update runtime/kusama/src/governance/mod.rs Co-authored-by: Amar Singh * Formatting * Update runtime/kusama/src/governance/fellowship.rs Co-authored-by: Amar Singh * Fixes * Avoid updating extraneous deps * Fix broken stuff * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_referenda * Update runtime/kusama/src/governance/fellowship.rs * Reorder EitherOf origins Zero logic change to make the benchmarking work. It uses the first successful origin which can only promote to rank 6. By swapping the order we use Root which can always promote. Signed-off-by: Oliver Tale-Yazdi * Revert param change and update doc Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi Co-authored-by: command-bot <> Co-authored-by: Shawn Tabrizi Co-authored-by: Xiliang Chen Co-authored-by: Keith Yeung Co-authored-by: Amar Singh --- Cargo.lock | 72 ++++ runtime/kusama/Cargo.toml | 16 + runtime/kusama/constants/src/lib.rs | 3 +- runtime/kusama/src/governance/fellowship.rs | 368 ++++++++++++++++++ runtime/kusama/src/governance/mod.rs | 76 +++- runtime/kusama/src/governance/old.rs | 10 +- runtime/kusama/src/governance/origins.rs | 192 +++++++++ runtime/kusama/src/governance/tracks.rs | 320 +++++++++++++++ runtime/kusama/src/lib.rs | 108 +++-- runtime/kusama/src/weights/mod.rs | 5 + .../src/weights/pallet_collective_council.rs | 1 - .../pallet_collective_technical_committee.rs | 1 - .../src/weights/pallet_conviction_voting.rs | 119 ++++++ .../src/weights/pallet_ranked_collective.rs | 116 ++++++ .../pallet_referenda_fellowship_referenda.rs | 264 +++++++++++++ .../src/weights/pallet_referenda_referenda.rs | 251 ++++++++++++ .../kusama/src/weights/pallet_whitelist.rs | 82 ++++ xcm/pallet-xcm-benchmarks/Cargo.toml | 6 +- xcm/pallet-xcm-benchmarks/src/fungible/mod.rs | 1 + xcm/pallet-xcm-benchmarks/src/generic/mod.rs | 1 + 20 files changed, 1946 insertions(+), 66 deletions(-) create mode 100644 runtime/kusama/src/governance/fellowship.rs create mode 100644 runtime/kusama/src/governance/origins.rs create mode 100644 runtime/kusama/src/governance/tracks.rs create mode 100644 runtime/kusama/src/weights/pallet_conviction_voting.rs create mode 100644 runtime/kusama/src/weights/pallet_ranked_collective.rs create mode 100644 runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs create mode 100644 runtime/kusama/src/weights/pallet_referenda_referenda.rs create mode 100644 runtime/kusama/src/weights/pallet_whitelist.rs diff --git a/Cargo.lock b/Cargo.lock index eb8189958d4b..498c9120c0f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3224,6 +3224,7 @@ dependencies = [ "pallet-bounties", "pallet-child-bounties", "pallet-collective", + "pallet-conviction-voting", "pallet-democracy", "pallet-election-provider-multi-phase", "pallet-election-provider-support-benchmarking", @@ -3243,7 +3244,9 @@ dependencies = [ "pallet-offences-benchmarking", "pallet-preimage", "pallet-proxy", + "pallet-ranked-collective", "pallet-recovery", + "pallet-referenda", "pallet-scheduler", "pallet-session", "pallet-session-benchmarking", @@ -3257,6 +3260,7 @@ dependencies = [ "pallet-treasury", "pallet-utility", "pallet-vesting", + "pallet-whitelist", "pallet-xcm", "pallet-xcm-benchmarks", "parity-scale-codec", @@ -5043,6 +5047,23 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-conviction-voting" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +dependencies = [ + "assert_matches", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-democracy" version = "4.0.0-dev" @@ -5409,6 +5430,24 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-ranked-collective" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-recovery" version = "4.0.0-dev" @@ -5424,6 +5463,24 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-referenda" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +dependencies = [ + "assert_matches", + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "serde", + "sp-arithmetic", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-scheduler" version = "4.0.0-dev" @@ -5675,6 +5732,21 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-whitelist" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-api", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-xcm" version = "0.9.29" diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 9eddf926cde0..ee9d859b84b3 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -47,6 +47,7 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-nomination-pools-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-conviction-voting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -63,7 +64,9 @@ pallet-nomination-pools = { git = "https://github.com/paritytech/substrate", bra pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-ranked-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-recovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-referenda = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-scheduler = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -77,6 +80,7 @@ pallet-tips = { git = "https://github.com/paritytech/substrate", branch = "maste pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-utility = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-whitelist = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-features = false, optional = true } frame-election-provider-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -142,6 +146,7 @@ std = [ "pallet-transaction-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-collective/std", + "pallet-conviction-voting/std", "pallet-elections-phragmen/std", "pallet-election-provider-multi-phase/std", "pallet-fast-unstake/std", @@ -158,7 +163,9 @@ std = [ "pallet-offences/std", "pallet-preimage/std", "pallet-proxy/std", + "pallet-ranked-collective/std", "pallet-recovery/std", + "pallet-referenda/std", "pallet-scheduler/std", "pallet-session/std", "pallet-society/std", @@ -169,6 +176,7 @@ std = [ "pallet-treasury/std", "pallet-utility/std", "pallet-vesting/std", + "pallet-whitelist/std", "pallet-babe/std", "pallet-xcm/std", "sp-mmr-primitives/std", @@ -204,6 +212,7 @@ runtime-benchmarks = [ "pallet-bounties/runtime-benchmarks", "pallet-child-bounties/runtime-benchmarks", "pallet-collective/runtime-benchmarks", + "pallet-conviction-voting/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", "pallet-election-provider-multi-phase/runtime-benchmarks", @@ -220,6 +229,8 @@ runtime-benchmarks = [ "pallet-nomination-pools-benchmarking/runtime-benchmarks", "pallet-preimage/runtime-benchmarks", "pallet-proxy/runtime-benchmarks", + "pallet-ranked-collective/runtime-benchmarks", + "pallet-referenda/runtime-benchmarks", "pallet-scheduler/runtime-benchmarks", "pallet-society/runtime-benchmarks", "pallet-recovery/runtime-benchmarks", @@ -231,6 +242,7 @@ runtime-benchmarks = [ "pallet-vesting/runtime-benchmarks", "pallet-offences-benchmarking/runtime-benchmarks", "pallet-session-benchmarking/runtime-benchmarks", + "pallet-whitelist/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", "hex-literal", @@ -252,6 +264,7 @@ try-runtime = [ "pallet-child-bounties/try-runtime", "pallet-transaction-payment/try-runtime", "pallet-collective/try-runtime", + "pallet-conviction-voting/try-runtime", "pallet-elections-phragmen/try-runtime", "pallet-election-provider-multi-phase/try-runtime", "pallet-fast-unstake/try-runtime", @@ -267,7 +280,9 @@ try-runtime = [ "pallet-offences/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", + "pallet-ranked-collective/try-runtime", "pallet-recovery/try-runtime", + "pallet-referenda/try-runtime", "pallet-scheduler/try-runtime", "pallet-session/try-runtime", "pallet-society/try-runtime", @@ -277,6 +292,7 @@ try-runtime = [ "pallet-treasury/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", + "pallet-whitelist/try-runtime", "pallet-babe/try-runtime", "pallet-xcm/try-runtime", "runtime-common/try-runtime", diff --git a/runtime/kusama/constants/src/lib.rs b/runtime/kusama/constants/src/lib.rs index 719f42c235c2..a8d047241b24 100644 --- a/runtime/kusama/constants/src/lib.rs +++ b/runtime/kusama/constants/src/lib.rs @@ -27,7 +27,8 @@ pub mod currency { pub const UNITS: Balance = 1_000_000_000_000; pub const CENTS: Balance = UNITS / 30_000; - pub const GRAND: Balance = CENTS * 100_000; + pub const QUID: Balance = CENTS * 100; + pub const GRAND: Balance = QUID * 1_000; pub const MILLICENTS: Balance = CENTS / 1_000; pub const fn deposit(items: u32, bytes: u32) -> Balance { diff --git a/runtime/kusama/src/governance/fellowship.rs b/runtime/kusama/src/governance/fellowship.rs new file mode 100644 index 000000000000..66e2f6ee6d58 --- /dev/null +++ b/runtime/kusama/src/governance/fellowship.rs @@ -0,0 +1,368 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +//! Elements of governance concerning the Polkadot Fellowship. This is only a temporary arrangement +//! since the Polkadot Fellowship belongs under the Polkadot Relay. However, that is not yet in +//! place, so until then it will need to live here. Once it is in place and there exists a bridge +//! between Polkadot/Kusama then this code can be removed. + +use frame_support::traits::{MapSuccess, TryMapSuccess}; +use sp_arithmetic::traits::CheckedSub; +use sp_runtime::{ + morph_types, + traits::{ConstU16, Replace, TypedGet}, +}; + +use super::*; +use crate::{DAYS, QUID}; + +parameter_types! { + pub const AlarmInterval: BlockNumber = 1; + pub const SubmissionDeposit: Balance = 0; + pub const UndecidingTimeout: BlockNumber = 7 * DAYS; +} + +pub struct TracksInfo; +impl pallet_referenda::TracksInfo for TracksInfo { + type Id = u16; + type RuntimeOrigin = ::PalletsOrigin; + fn tracks() -> &'static [(Self::Id, pallet_referenda::TrackInfo)] { + static DATA: [(u16, pallet_referenda::TrackInfo); 10] = [ + ( + 0u16, + pallet_referenda::TrackInfo { + name: "candidates", + max_deciding: 10, + decision_deposit: 100 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 1u16, + pallet_referenda::TrackInfo { + name: "members", + max_deciding: 10, + decision_deposit: 10 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 2u16, + pallet_referenda::TrackInfo { + name: "proficients", + max_deciding: 10, + decision_deposit: 10 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 3u16, + pallet_referenda::TrackInfo { + name: "fellows", + max_deciding: 10, + decision_deposit: 10 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 1 * MINUTES, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 4u16, + pallet_referenda::TrackInfo { + name: "senior fellows", + max_deciding: 10, + decision_deposit: 10 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 5u16, + pallet_referenda::TrackInfo { + name: "experts", + max_deciding: 10, + decision_deposit: 1 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 6u16, + pallet_referenda::TrackInfo { + name: "senior experts", + max_deciding: 10, + decision_deposit: 1 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 7u16, + pallet_referenda::TrackInfo { + name: "masters", + max_deciding: 10, + decision_deposit: 1 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 8u16, + pallet_referenda::TrackInfo { + name: "senior masters", + max_deciding: 10, + decision_deposit: 1 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ( + 9u16, + pallet_referenda::TrackInfo { + name: "grand masters", + max_deciding: 10, + decision_deposit: 1 * QUID, + prepare_period: 30 * MINUTES, + decision_period: 7 * DAYS, + confirm_period: 30 * MINUTES, + min_enactment_period: 4, + min_approval: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(50), + ceil: Perbill::from_percent(100), + }, + min_support: pallet_referenda::Curve::LinearDecreasing { + length: Perbill::from_percent(100), + floor: Perbill::from_percent(0), + ceil: Perbill::from_percent(50), + }, + }, + ), + ]; + &DATA[..] + } + fn track_for(id: &Self::RuntimeOrigin) -> Result { + use super::origins::Origin; + + #[cfg(feature = "runtime-benchmarks")] + { + // For benchmarks, we enable a root origin. + // It is important that this is not available in production! + let root: Self::RuntimeOrigin = frame_system::RawOrigin::Root.into(); + if &root == id { + return Ok(9) + } + } + + match Origin::try_from(id.clone()) { + Ok(Origin::FellowshipInitiates) => Ok(0), + Ok(Origin::Fellowship1Dan) => Ok(1), + Ok(Origin::Fellowship2Dan) => Ok(2), + Ok(Origin::Fellowship3Dan) | Ok(Origin::Fellows) => Ok(3), + Ok(Origin::Fellowship4Dan) => Ok(4), + Ok(Origin::Fellowship5Dan) | Ok(Origin::FellowshipExperts) => Ok(5), + Ok(Origin::Fellowship6Dan) => Ok(6), + Ok(Origin::Fellowship7Dan | Origin::FellowshipMasters) => Ok(7), + Ok(Origin::Fellowship8Dan) => Ok(8), + Ok(Origin::Fellowship9Dan) => Ok(9), + _ => Err(()), + } + } +} +pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); + +pub type FellowshipReferendaInstance = pallet_referenda::Instance2; + +impl pallet_referenda::Config for Runtime { + type WeightInfo = weights::pallet_referenda_fellowship_referenda::WeightInfo; + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type Scheduler = Scheduler; + type Currency = Balances; + type SubmitOrigin = + pallet_ranked_collective::EnsureMember; + type CancelOrigin = FellowshipExperts; + type KillOrigin = FellowshipMasters; + type Slash = Treasury; + type Votes = pallet_ranked_collective::Votes; + type Tally = pallet_ranked_collective::TallyOf; + type SubmissionDeposit = SubmissionDeposit; + type MaxQueued = ConstU32<100>; + type UndecidingTimeout = UndecidingTimeout; + type AlarmInterval = AlarmInterval; + type Tracks = TracksInfo; +} + +pub type FellowshipCollectiveInstance = pallet_ranked_collective::Instance1; + +morph_types! { + /// A `TryMorph` implementation to reduce a scalar by a particular amount, checking for + /// underflow. + pub type CheckedReduceBy: TryMorph = |r: N::Type| -> Result { + r.checked_sub(&N::get()).ok_or(()) + } where N::Type: CheckedSub; +} + +impl pallet_ranked_collective::Config for Runtime { + type WeightInfo = weights::pallet_ranked_collective::WeightInfo; + type RuntimeEvent = RuntimeEvent; + // Promotion is by any of: + // - Root can demote arbitrarily. + // - the FellowshipAdmin origin (i.e. token holder referendum); + // - a vote by the rank *above* the new rank. + type PromoteOrigin = EitherOf< + EitherOf< + frame_system::EnsureRootWithSuccess>, + MapSuccess< + pallet_collective::EnsureProportionAtLeast< + Self::AccountId, + super::old::TechnicalCollective, + 2, + 3, + >, + Replace>, + >, + >, + EitherOf< + MapSuccess>>, + TryMapSuccess>>, + >, + >; + // Demotion is by any of: + // - Root can demote arbitrarily. + // - the FellowshipAdmin origin (i.e. token holder referendum); + // - a vote by the rank two above the current rank. + type DemoteOrigin = EitherOf< + frame_system::EnsureRootWithSuccess>, + EitherOf< + MapSuccess>>, + TryMapSuccess>>, + >, + >; + type Polls = FellowshipReferenda; + type MinRankOfClass = sp_runtime::traits::Identity; + type VoteWeight = pallet_ranked_collective::Geometric; +} diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index 27aa07a4795b..4dbf375f67f0 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -14,7 +14,81 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Governance configurations for the Kusama runtime. +//! New governance configurations for the Kusama runtime. + +use super::*; +use frame_support::{ + parameter_types, + traits::{ConstU16, EitherOf}, +}; +use frame_system::EnsureRootWithSuccess; // Old governance configurations. pub mod old; + +mod origins; +pub use origins::{ + pallet_custom_origins, AuctionAdmin, Fellows, FellowshipAdmin, FellowshipExperts, + FellowshipInitiates, FellowshipMasters, GeneralAdmin, LeaseAdmin, ReferendumCanceller, + ReferendumKiller, Spender, StakingAdmin, WhitelistedCaller, +}; +mod tracks; +pub use tracks::TracksInfo; +mod fellowship; +pub use fellowship::{FellowshipCollectiveInstance, FellowshipReferendaInstance}; + +parameter_types! { + pub const VoteLockingPeriod: BlockNumber = 7 * DAYS; +} + +impl pallet_conviction_voting::Config for Runtime { + type WeightInfo = weights::pallet_conviction_voting::WeightInfo; + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type VoteLockingPeriod = VoteLockingPeriod; + type MaxVotes = ConstU32<512>; + type MaxTurnout = frame_support::traits::TotalIssuanceOf; + type Polls = Referenda; +} + +parameter_types! { + pub const AlarmInterval: BlockNumber = 1; + pub const SubmissionDeposit: Balance = 100 * UNITS; + pub const UndecidingTimeout: BlockNumber = 28 * DAYS; +} + +parameter_types! { + pub const MaxBalance: Balance = Balance::max_value(); +} +pub type TreasurySpender = EitherOf, Spender>; + +impl origins::pallet_custom_origins::Config for Runtime {} + +impl pallet_whitelist::Config for Runtime { + type WeightInfo = weights::pallet_whitelist::WeightInfo; + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type WhitelistOrigin = + EitherOf>, Fellows>; + type DispatchWhitelistedOrigin = EitherOf, WhitelistedCaller>; + type PreimageProvider = Preimage; +} + +impl pallet_referenda::Config for Runtime { + type WeightInfo = weights::pallet_referenda_referenda::WeightInfo; + type RuntimeCall = RuntimeCall; + type RuntimeEvent = RuntimeEvent; + type Scheduler = Scheduler; + type Currency = Balances; + type SubmitOrigin = frame_system::EnsureSigned; + type CancelOrigin = ReferendumCanceller; + type KillOrigin = ReferendumKiller; + type Slash = Treasury; + type Votes = pallet_conviction_voting::VotesOf; + type Tally = pallet_conviction_voting::TallyOf; + type SubmissionDeposit = SubmissionDeposit; + type MaxQueued = ConstU32<100>; + type UndecidingTimeout = UndecidingTimeout; + type AlarmInterval = AlarmInterval; + type Tracks = TracksInfo; +} diff --git a/runtime/kusama/src/governance/old.rs b/runtime/kusama/src/governance/old.rs index 371b88dcd443..c16ca5eddd7a 100644 --- a/runtime/kusama/src/governance/old.rs +++ b/runtime/kusama/src/governance/old.rs @@ -160,11 +160,11 @@ impl pallet_collective::Config for Runtime { impl pallet_membership::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type AddOrigin = MoreThanHalfCouncil; - type RemoveOrigin = MoreThanHalfCouncil; - type SwapOrigin = MoreThanHalfCouncil; - type ResetOrigin = MoreThanHalfCouncil; - type PrimeOrigin = MoreThanHalfCouncil; + type AddOrigin = EnsureRoot; + type RemoveOrigin = EnsureRoot; + type SwapOrigin = EnsureRoot; + type ResetOrigin = EnsureRoot; + type PrimeOrigin = EnsureRoot; type MembershipInitialized = TechnicalCommittee; type MembershipChanged = TechnicalCommittee; type MaxMembers = TechnicalMaxMembers; diff --git a/runtime/kusama/src/governance/origins.rs b/runtime/kusama/src/governance/origins.rs new file mode 100644 index 000000000000..be8c44430f46 --- /dev/null +++ b/runtime/kusama/src/governance/origins.rs @@ -0,0 +1,192 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +//! Custom origins for governance interventions. + +pub use pallet_custom_origins::*; + +#[frame_support::pallet] +pub mod pallet_custom_origins { + use crate::{Balance, GRAND, QUID}; + use frame_support::pallet_prelude::*; + + #[pallet::config] + pub trait Config: frame_system::Config {} + + #[pallet::pallet] + pub struct Pallet(_); + + #[derive(PartialEq, Eq, Clone, MaxEncodedLen, Encode, Decode, TypeInfo, RuntimeDebug)] + #[pallet::origin] + pub enum Origin { + /// Origin for cancelling slashes. + StakingAdmin, + /// Origin for spending (any amount of) funds. + Treasurer, + /// Origin for managing the composition of the fellowship. + FellowshipAdmin, + /// Origin for managing the registrar. + GeneralAdmin, + /// Origin for starting auctions. + AuctionAdmin, + /// Origin able to force slot leases. + LeaseAdmin, + /// Origin able to cancel referenda. + ReferendumCanceller, + /// Origin able to kill referenda. + ReferendumKiller, + /// Origin able to spend up to 1 KSM from the treasury at once. + SmallTipper, + /// Origin able to spend up to 5 KSM from the treasury at once. + BigTipper, + /// Origin able to spend up to 50 KSM from the treasury at once. + SmallSpender, + /// Origin able to spend up to 500 KSM from the treasury at once. + MediumSpender, + /// Origin able to spend up to 5,000 KSM from the treasury at once. + BigSpender, + /// Origin able to dispatch a whitelisted call. + WhitelistedCaller, + /// Origin commanded by any members of the Polkadot Fellowship (no Dan grade needed). + FellowshipInitiates, + /// Origin commanded by Polkadot Fellows (3rd Dan fellows or greater). + Fellows, + /// Origin commanded by Polkadot Experts (5th Dan fellows or greater). + FellowshipExperts, + /// Origin commanded by Polkadot Masters (7th Dan fellows of greater). + FellowshipMasters, + /// Origin commanded by rank 1 of the Polkadot Fellowship and with a success of 1. + Fellowship1Dan, + /// Origin commanded by rank 2 of the Polkadot Fellowship and with a success of 2. + Fellowship2Dan, + /// Origin commanded by rank 3 of the Polkadot Fellowship and with a success of 3. + Fellowship3Dan, + /// Origin commanded by rank 4 of the Polkadot Fellowship and with a success of 4. + Fellowship4Dan, + /// Origin commanded by rank 5 of the Polkadot Fellowship and with a success of 5. + Fellowship5Dan, + /// Origin commanded by rank 6 of the Polkadot Fellowship and with a success of 6. + Fellowship6Dan, + /// Origin commanded by rank 7 of the Polkadot Fellowship and with a success of 7. + Fellowship7Dan, + /// Origin commanded by rank 8 of the Polkadot Fellowship and with a success of 8. + Fellowship8Dan, + /// Origin commanded by rank 9 of the Polkadot Fellowship and with a success of 9. + Fellowship9Dan, + } + + macro_rules! decl_unit_ensures { + ( $name:ident: $success_type:ty = $success:expr ) => { + pub struct $name; + impl> + From> + EnsureOrigin for $name + { + type Success = $success_type; + fn try_origin(o: O) -> Result { + o.into().and_then(|o| match o { + Origin::$name => Ok($success), + r => Err(O::from(r)), + }) + } + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin() -> Result { + Ok(O::from(Origin::$name)) + } + } + }; + ( $name:ident ) => { decl_unit_ensures! { $name : () = () } }; + ( $name:ident: $success_type:ty = $success:expr, $( $rest:tt )* ) => { + decl_unit_ensures! { $name: $success_type = $success } + decl_unit_ensures! { $( $rest )* } + }; + ( $name:ident, $( $rest:tt )* ) => { + decl_unit_ensures! { $name } + decl_unit_ensures! { $( $rest )* } + }; + () => {} + } + decl_unit_ensures!( + StakingAdmin, + FellowshipAdmin, + GeneralAdmin, + AuctionAdmin, + LeaseAdmin, + ReferendumCanceller, + ReferendumKiller, + WhitelistedCaller, + FellowshipInitiates: u16 = 0, + Fellows: u16 = 3, + FellowshipExperts: u16 = 5, + FellowshipMasters: u16 = 7, + ); + + macro_rules! decl_ensure { + ( + $vis:vis type $name:ident: EnsureOrigin { + $( $item:ident = $success:expr, )* + } + ) => { + $vis struct $name; + impl> + From> + EnsureOrigin for $name + { + type Success = $success_type; + fn try_origin(o: O) -> Result { + o.into().and_then(|o| match o { + $( + Origin::$item => Ok($success), + )* + r => Err(O::from(r)), + }) + } + #[cfg(feature = "runtime-benchmarks")] + fn try_successful_origin() -> Result { + // By convention the more privileged origins go later, so for greatest chance + // of success, we want the last one. + let _result: Result = Err(()); + $( + let _result: Result = Ok(O::from(Origin::$item)); + )* + _result + } + } + } + } + + decl_ensure! { + pub type Spender: EnsureOrigin { + SmallTipper = 250 * QUID, + BigTipper = 1 * GRAND, + SmallSpender = 10 * GRAND, + MediumSpender = 100 * GRAND, + BigSpender = 1_000 * GRAND, + } + } + + decl_ensure! { + pub type EnsureFellowship: EnsureOrigin { + Fellowship1Dan = 1, + Fellowship2Dan = 2, + Fellowship3Dan = 3, + Fellowship4Dan = 4, + Fellowship5Dan = 5, + Fellowship6Dan = 6, + Fellowship7Dan = 7, + Fellowship8Dan = 8, + Fellowship9Dan = 9, + } + } +} diff --git a/runtime/kusama/src/governance/tracks.rs b/runtime/kusama/src/governance/tracks.rs new file mode 100644 index 000000000000..fd1c94118507 --- /dev/null +++ b/runtime/kusama/src/governance/tracks.rs @@ -0,0 +1,320 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +//! Track configurations for governance. + +use super::*; + +const fn percent(x: i32) -> sp_arithmetic::FixedI64 { + sp_arithmetic::FixedI64::from_rational(x as u128, 100) +} +use pallet_referenda::Curve; +const APP_ROOT: Curve = Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_ROOT: Curve = Curve::make_linear(28, 28, percent(0), percent(50)); +const APP_STAKING_ADMIN: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_STAKING_ADMIN: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_TREASURER: Curve = Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_TREASURER: Curve = Curve::make_linear(28, 28, percent(0), percent(50)); +const APP_FELLOWSHIP_ADMIN: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_FELLOWSHIP_ADMIN: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_GENERAL_ADMIN: Curve = + Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_GENERAL_ADMIN: Curve = + Curve::make_reciprocal(7, 28, percent(10), percent(0), percent(50)); +const APP_AUCTION_ADMIN: Curve = + Curve::make_reciprocal(4, 28, percent(80), percent(50), percent(100)); +const SUP_AUCTION_ADMIN: Curve = + Curve::make_reciprocal(7, 28, percent(10), percent(0), percent(50)); +const APP_LEASE_ADMIN: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_LEASE_ADMIN: Curve = Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_REFERENDUM_CANCELLER: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_REFERENDUM_CANCELLER: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_REFERENDUM_KILLER: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_REFERENDUM_KILLER: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_SMALL_TIPPER: Curve = Curve::make_linear(10, 28, percent(50), percent(100)); +const SUP_SMALL_TIPPER: Curve = Curve::make_reciprocal(1, 28, percent(4), percent(0), percent(50)); +const APP_BIG_TIPPER: Curve = Curve::make_linear(10, 28, percent(50), percent(100)); +const SUP_BIG_TIPPER: Curve = Curve::make_reciprocal(8, 28, percent(1), percent(0), percent(50)); +const APP_SMALL_SPENDER: Curve = Curve::make_linear(17, 28, percent(50), percent(100)); +const SUP_SMALL_SPENDER: Curve = + Curve::make_reciprocal(12, 28, percent(1), percent(0), percent(50)); +const APP_MEDIUM_SPENDER: Curve = Curve::make_linear(23, 28, percent(50), percent(100)); +const SUP_MEDIUM_SPENDER: Curve = + Curve::make_reciprocal(16, 28, percent(1), percent(0), percent(50)); +const APP_BIG_SPENDER: Curve = Curve::make_linear(28, 28, percent(50), percent(100)); +const SUP_BIG_SPENDER: Curve = Curve::make_reciprocal(20, 28, percent(1), percent(0), percent(50)); +const APP_WHITELISTED_CALLER: Curve = + Curve::make_reciprocal(16, 28 * 24, percent(96), percent(50), percent(100)); +const SUP_WHITELISTED_CALLER: Curve = + Curve::make_reciprocal(1, 28, percent(20), percent(10), percent(50)); + +const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15] = [ + ( + 0, + pallet_referenda::TrackInfo { + name: "root", + max_deciding: 1, + decision_deposit: 1_000 * GRAND, + prepare_period: 3 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 3 * HOURS, + min_approval: APP_ROOT, + min_support: SUP_ROOT, + }, + ), + ( + 1, + pallet_referenda::TrackInfo { + name: "whitelisted_caller", + max_deciding: 10, + decision_deposit: 10_000 * GRAND, + prepare_period: 3 * HOURS, + decision_period: 28 * DAYS, + confirm_period: 10 * MINUTES, + min_enactment_period: 30 * MINUTES, + min_approval: APP_WHITELISTED_CALLER, + min_support: SUP_WHITELISTED_CALLER, + }, + ), + ( + 10, + pallet_referenda::TrackInfo { + name: "staking_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 2 * DAYS, + min_approval: APP_STAKING_ADMIN, + min_support: SUP_STAKING_ADMIN, + }, + ), + ( + 11, + pallet_referenda::TrackInfo { + name: "treasurer", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 2 * DAYS, + min_approval: APP_TREASURER, + min_support: SUP_TREASURER, + }, + ), + ( + 12, + pallet_referenda::TrackInfo { + name: "lease_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 2 * DAYS, + min_approval: APP_LEASE_ADMIN, + min_support: SUP_LEASE_ADMIN, + }, + ), + ( + 13, + pallet_referenda::TrackInfo { + name: "fellowship_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 2 * DAYS, + min_approval: APP_FELLOWSHIP_ADMIN, + min_support: SUP_FELLOWSHIP_ADMIN, + }, + ), + ( + 14, + pallet_referenda::TrackInfo { + name: "general_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 2 * DAYS, + min_approval: APP_GENERAL_ADMIN, + min_support: SUP_GENERAL_ADMIN, + }, + ), + ( + 15, + pallet_referenda::TrackInfo { + name: "auction_admin", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 2 * DAYS, + min_approval: APP_AUCTION_ADMIN, + min_support: SUP_AUCTION_ADMIN, + }, + ), + ( + 20, + pallet_referenda::TrackInfo { + name: "referendum_canceller", + max_deciding: 1_000, + decision_deposit: 50 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_REFERENDUM_CANCELLER, + min_support: SUP_REFERENDUM_CANCELLER, + }, + ), + ( + 21, + pallet_referenda::TrackInfo { + name: "referendum_killer", + max_deciding: 1_000, + decision_deposit: 50 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 10 * MINUTES, + min_approval: APP_REFERENDUM_KILLER, + min_support: SUP_REFERENDUM_KILLER, + }, + ), + ( + 30, + pallet_referenda::TrackInfo { + name: "small_tipper", + max_deciding: 200, + decision_deposit: 5 * QUID, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 3 * HOURS, + min_enactment_period: 28 * DAYS, + min_approval: APP_SMALL_TIPPER, + min_support: SUP_SMALL_TIPPER, + }, + ), + ( + 31, + pallet_referenda::TrackInfo { + name: "big_tipper", + max_deciding: 100, + decision_deposit: 50 * QUID, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 6 * HOURS, + min_enactment_period: 28 * DAYS, + min_approval: APP_BIG_TIPPER, + min_support: SUP_BIG_TIPPER, + }, + ), + ( + 32, + pallet_referenda::TrackInfo { + name: "small_spender", + max_deciding: 50, + decision_deposit: 500 * QUID, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 12 * HOURS, + min_enactment_period: 28 * DAYS, + min_approval: APP_SMALL_SPENDER, + min_support: SUP_SMALL_SPENDER, + }, + ), + ( + 33, + pallet_referenda::TrackInfo { + name: "medium_spender", + max_deciding: 20, + decision_deposit: 1_500 * QUID, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 24 * HOURS, + min_enactment_period: 28 * DAYS, + min_approval: APP_MEDIUM_SPENDER, + min_support: SUP_MEDIUM_SPENDER, + }, + ), + ( + 34, + pallet_referenda::TrackInfo { + name: "big_spender", + max_deciding: 10, + decision_deposit: 5 * GRAND, + prepare_period: 4, + decision_period: 28 * DAYS, + confirm_period: 48 * HOURS, + min_enactment_period: 28 * DAYS, + min_approval: APP_BIG_SPENDER, + min_support: SUP_BIG_SPENDER, + }, + ), +]; + +pub struct TracksInfo; +impl pallet_referenda::TracksInfo for TracksInfo { + type Id = u16; + type RuntimeOrigin = ::PalletsOrigin; + fn tracks() -> &'static [(Self::Id, pallet_referenda::TrackInfo)] { + &TRACKS_DATA[..] + } + fn track_for(id: &Self::RuntimeOrigin) -> Result { + if let Ok(system_origin) = frame_system::RawOrigin::try_from(id.clone()) { + match system_origin { + frame_system::RawOrigin::Root => Ok(0), + _ => Err(()), + } + } else if let Ok(custom_origin) = origins::Origin::try_from(id.clone()) { + match custom_origin { + origins::Origin::WhitelistedCaller => Ok(1), + // General admin + origins::Origin::StakingAdmin => Ok(10), + origins::Origin::Treasurer => Ok(11), + origins::Origin::LeaseAdmin => Ok(12), + origins::Origin::FellowshipAdmin => Ok(13), + origins::Origin::GeneralAdmin => Ok(14), + origins::Origin::AuctionAdmin => Ok(15), + // Referendum admins + origins::Origin::ReferendumCanceller => Ok(20), + origins::Origin::ReferendumKiller => Ok(21), + // Limited treasury spenders + origins::Origin::SmallTipper => Ok(30), + origins::Origin::BigTipper => Ok(31), + origins::Origin::SmallSpender => Ok(32), + origins::Origin::MediumSpender => Ok(33), + origins::Origin::BigSpender => Ok(34), + _ => Err(()), + } + } else { + Err(()) + } + } +} +pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber); diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 1a68b4d1e819..48762d5e67ec 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -51,8 +51,8 @@ use frame_election_provider_support::{ use frame_support::{ construct_runtime, parameter_types, traits::{ - ConstU32, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, - PrivilegeCmp, + ConstU32, Contains, EitherOf, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, + LockIdentifier, PrivilegeCmp, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -103,7 +103,10 @@ pub mod xcm_config; // Governance configurations. pub mod governance; -use governance::old::CouncilCollective; +use governance::{ + old::CouncilCollective, pallet_custom_origins, AuctionAdmin, GeneralAdmin, LeaseAdmin, + StakingAdmin, TreasurySpender, +}; #[cfg(test)] mod tests; @@ -143,10 +146,13 @@ pub fn native_version() -> NativeVersion { NativeVersion { runtime_version: VERSION, can_author_with: Default::default() } } -type MoreThanHalfCouncil = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionMoreThan, ->; +/// We currently allow all calls. +pub struct BaseFilter; +impl Contains for BaseFilter { + fn contains(_c: &RuntimeCall) -> bool { + true + } +} parameter_types! { pub const Version: RuntimeVersion = VERSION; @@ -181,17 +187,11 @@ impl frame_system::Config for Runtime { } parameter_types! { - pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * - BlockWeights::get().max_block; + pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * BlockWeights::get().max_block; pub const MaxScheduledPerBlock: u32 = 50; pub const NoPreimagePostponement: Option = Some(10); } -type ScheduleOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - /// Used the compare the privilege of an origin inside the scheduler. pub struct OriginPrivilegeCmp; @@ -221,7 +221,7 @@ impl pallet_scheduler::Config for Runtime { type PalletsOrigin = OriginCaller; type RuntimeCall = RuntimeCall; type MaximumWeight = MaximumSchedulerWeight; - type ScheduleOrigin = ScheduleOrigin; + type ScheduleOrigin = EnsureRoot; type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; @@ -239,7 +239,7 @@ impl pallet_preimage::Config for Runtime { type WeightInfo = weights::pallet_preimage::WeightInfo; type RuntimeEvent = RuntimeEvent; type Currency = Balances; - type ManagerOrigin = EnsureRoot; + type ManagerOrigin = EnsureRoot; // This might be too strong a requirenent? type MaxSize = PreimageMaxSize; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; @@ -488,10 +488,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { (), >; type BenchmarkingConfig = runtime_common::elections::BenchmarkConfig; - type ForceOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, - >; + type ForceOrigin = StakingAdmin; type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo; type MaxElectingVoters = MaxElectingVoters; type MaxElectableTargets = MaxElectableTargets; @@ -585,11 +582,6 @@ parameter_types! { pub const MaxNominations: u32 = ::LIMIT as u32; } -type SlashCancelOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - impl pallet_staking::Config for Runtime { type MaxNominations = MaxNominations; type Currency = Balances; @@ -605,8 +597,8 @@ impl pallet_staking::Config for Runtime { type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; - // A majority of the council or root can cancel the slash. - type SlashCancelOrigin = SlashCancelOrigin; + // The staking admin or root can cancel the slash. + type SlashCancelOrigin = EitherOf, StakingAdmin>; type SessionInterface = Self; type EraPayout = EraPayout; type NextNewSession = Session; @@ -651,16 +643,11 @@ parameter_types! { pub const MaxPeerDataEncodingSize: u32 = 1_000; } -type ApproveOrigin = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - impl pallet_treasury::Config for Runtime { type PalletId = TreasuryPalletId; type Currency = Balances; - type ApproveOrigin = ApproveOrigin; - type RejectOrigin = MoreThanHalfCouncil; + type ApproveOrigin = EnsureRoot; + type RejectOrigin = EnsureRoot; type RuntimeEvent = RuntimeEvent; type OnSlash = Treasury; type ProposalBond = ProposalBond; @@ -672,7 +659,7 @@ impl pallet_treasury::Config for Runtime { type MaxApprovals = MaxApprovals; type WeightInfo = weights::pallet_treasury::WeightInfo; type SpendFunds = Bounties; - type SpendOrigin = frame_support::traits::NeverEnsureOrigin; + type SpendOrigin = TreasurySpender; } parameter_types! { @@ -843,8 +830,7 @@ impl claims::Config for Runtime { type RuntimeEvent = RuntimeEvent; type VestingSchedule = Vesting; type Prefix = Prefix; - type MoveClaimOrigin = - pallet_collective::EnsureProportionMoreThan; + type MoveClaimOrigin = EnsureRoot; type WeightInfo = weights::runtime_common_claims::WeightInfo; } @@ -868,8 +854,8 @@ impl pallet_identity::Config for Runtime { type MaxAdditionalFields = MaxAdditionalFields; type MaxRegistrars = MaxRegistrars; type Slashed = Treasury; - type ForceOrigin = MoreThanHalfCouncil; - type RegistrarOrigin = MoreThanHalfCouncil; + type ForceOrigin = GeneralAdmin; + type RegistrarOrigin = GeneralAdmin; type WeightInfo = weights::pallet_identity::WeightInfo; } @@ -917,11 +903,11 @@ impl pallet_recovery::Config for Runtime { } parameter_types! { - pub const CandidateDeposit: Balance = 1000 * CENTS; - pub const WrongSideDeduction: Balance = 200 * CENTS; + pub const CandidateDeposit: Balance = 10 * QUID; + pub const WrongSideDeduction: Balance = 2 * QUID; pub const MaxStrikes: u32 = 10; pub const RotationPeriod: BlockNumber = 7 * DAYS; - pub const PeriodSpend: Balance = 50000 * CENTS; + pub const PeriodSpend: Balance = 500 * QUID; pub const MaxLockDuration: BlockNumber = 36 * 30 * DAYS; pub const ChallengePeriod: BlockNumber = 7 * DAYS; pub const MaxCandidateIntake: u32 = 1; @@ -939,8 +925,7 @@ impl pallet_society::Config for Runtime { type MembershipChanged = (); type RotationPeriod = RotationPeriod; type MaxLockDuration = MaxLockDuration; - type FounderSetOrigin = - pallet_collective::EnsureProportionMoreThan; + type FounderSetOrigin = EnsureRoot; type SuspensionJudgementOrigin = pallet_society::EnsureFounder; type ChallengePeriod = ChallengePeriod; type MaxCandidateIntake = MaxCandidateIntake; @@ -1217,13 +1202,13 @@ impl slots::Config for Runtime { type Registrar = Registrar; type LeasePeriod = LeasePeriod; type LeaseOffset = (); - type ForceOrigin = MoreThanHalfCouncil; + type ForceOrigin = LeaseAdmin; type WeightInfo = weights::runtime_common_slots::WeightInfo; } parameter_types! { pub const CrowdloanId: PalletId = PalletId(*b"py/cfund"); - pub const SubmissionDeposit: Balance = 3 * GRAND; // ~ 10 KSM + pub const OldSubmissionDeposit: Balance = 3 * GRAND; // ~ 10 KSM pub const MinContribution: Balance = 3_000 * CENTS; // ~ .1 KSM pub const RemoveKeysLimit: u32 = 1000; // Allow 32 bytes for an additional memo to a crowdloan. @@ -1233,7 +1218,7 @@ parameter_types! { impl crowdloan::Config for Runtime { type RuntimeEvent = RuntimeEvent; type PalletId = CrowdloanId; - type SubmissionDeposit = SubmissionDeposit; + type SubmissionDeposit = OldSubmissionDeposit; type MinContribution = MinContribution; type RemoveKeysLimit = RemoveKeysLimit; type Registrar = Registrar; @@ -1250,11 +1235,6 @@ parameter_types! { pub const SampleLength: BlockNumber = 2 * MINUTES; } -type AuctionInitiate = EitherOfDiverse< - EnsureRoot, - pallet_collective::EnsureProportionAtLeast, ->; - impl auctions::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Leaser = Slots; @@ -1262,7 +1242,7 @@ impl auctions::Config for Runtime { type EndingPeriod = EndingPeriod; type SampleLength = SampleLength; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; - type InitiateOrigin = AuctionInitiate; + type InitiateOrigin = AuctionAdmin; type WeightInfo = weights::runtime_common_auctions::WeightInfo; } @@ -1281,7 +1261,7 @@ impl pallet_gilt::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type CurrencyBalance = Balance; - type AdminOrigin = MoreThanHalfCouncil; + type AdminOrigin = EnsureRoot; type Deficit = (); // Mint type Surplus = (); // Burn type IgnoredIssuance = IgnoredIssuance; @@ -1346,7 +1326,7 @@ construct_runtime! { ImOnline: pallet_im_online::{Pallet, Call, Storage, Event, ValidateUnsigned, Config} = 11, AuthorityDiscovery: pallet_authority_discovery::{Pallet, Config} = 12, - // Governance stuff; uncallable initially. + // Governance stuff. Democracy: pallet_democracy::{Pallet, Call, Storage, Config, Event} = 13, Council: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 14, TechnicalCommittee: pallet_collective::::{Pallet, Call, Storage, Origin, Event, Config} = 15, @@ -1354,6 +1334,19 @@ construct_runtime! { TechnicalMembership: pallet_membership::::{Pallet, Call, Storage, Event, Config} = 17, Treasury: pallet_treasury::{Pallet, Call, Storage, Config, Event} = 18, + ConvictionVoting: pallet_conviction_voting::{Pallet, Call, Storage, Event} = 20, + Referenda: pallet_referenda::{Pallet, Call, Storage, Event} = 21, +// pub type FellowshipCollectiveInstance = pallet_ranked_collective::Instance1; + FellowshipCollective: pallet_ranked_collective::::{ + Pallet, Call, Storage, Event + } = 22, +// pub type FellowshipReferendaInstance = pallet_referenda::Instance2; + FellowshipReferenda: pallet_referenda::::{ + Pallet, Call, Storage, Event + } = 23, + Origins: pallet_custom_origins::{Origin} = 43, + Whitelist: pallet_whitelist::{Pallet, Call, Storage, Event} = 44, + // Claims. Usable initially. Claims: claims::{Pallet, Call, Storage, Event, Config, ValidateUnsigned} = 19, @@ -1513,6 +1506,7 @@ mod benches { [pallet_child_bounties, ChildBounties] [pallet_collective, Council] [pallet_collective, TechnicalCommittee] + [pallet_conviction_voting, ConvictionVoting] [pallet_democracy, Democracy] [pallet_elections_phragmen, PhragmenElection] [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] @@ -1528,7 +1522,10 @@ mod benches { [pallet_offences, OffencesBench::] [pallet_preimage, Preimage] [pallet_proxy, Proxy] + [pallet_ranked_collective, FellowshipCollective] [pallet_recovery, Recovery] + [pallet_referenda, Referenda] + [pallet_referenda, FellowshipReferenda] [pallet_scheduler, Scheduler] [pallet_session, SessionBench::] [pallet_staking, Staking] @@ -1538,6 +1535,7 @@ mod benches { [pallet_treasury, Treasury] [pallet_utility, Utility] [pallet_vesting, Vesting] + [pallet_whitelist, Whitelist] // XCM [pallet_xcm_benchmarks::fungible, pallet_xcm_benchmarks::fungible::Pallet::] [pallet_xcm_benchmarks::generic, pallet_xcm_benchmarks::generic::Pallet::] diff --git a/runtime/kusama/src/weights/mod.rs b/runtime/kusama/src/weights/mod.rs index 4f8eb7d453d2..2f9e2d35c211 100644 --- a/runtime/kusama/src/weights/mod.rs +++ b/runtime/kusama/src/weights/mod.rs @@ -23,6 +23,7 @@ pub mod pallet_bounties; pub mod pallet_child_bounties; pub mod pallet_collective_council; pub mod pallet_collective_technical_committee; +pub mod pallet_conviction_voting; pub mod pallet_democracy; pub mod pallet_election_provider_multi_phase; pub mod pallet_elections_phragmen; @@ -36,6 +37,9 @@ pub mod pallet_multisig; pub mod pallet_nomination_pools; pub mod pallet_preimage; pub mod pallet_proxy; +pub mod pallet_ranked_collective; +pub mod pallet_referenda_fellowship_referenda; +pub mod pallet_referenda_referenda; pub mod pallet_scheduler; pub mod pallet_session; pub mod pallet_staking; @@ -44,6 +48,7 @@ pub mod pallet_tips; pub mod pallet_treasury; pub mod pallet_utility; pub mod pallet_vesting; +pub mod pallet_whitelist; pub mod runtime_common_auctions; pub mod runtime_common_claims; pub mod runtime_common_crowdloan; diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index b59c6ff54ceb..8fe7d12e04b5 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -27,7 +27,6 @@ // --chain=kusama-dev // --steps=50 // --repeat=20 -// --pallet=pallet_collective // --extrinsic=* // --execution=wasm // --wasm-execution=compiled diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index 6ec788ec0fd5..149a26d54b0e 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -27,7 +27,6 @@ // --chain=kusama-dev // --steps=50 // --repeat=20 -// --pallet=pallet_collective // --extrinsic=* // --execution=wasm // --wasm-execution=compiled diff --git a/runtime/kusama/src/weights/pallet_conviction_voting.rs b/runtime/kusama/src/weights/pallet_conviction_voting.rs new file mode 100644 index 000000000000..fbbb0d6529b5 --- /dev/null +++ b/runtime/kusama/src/weights/pallet_conviction_voting.rs @@ -0,0 +1,119 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_conviction_voting` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_conviction_voting +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_conviction_voting`. +pub struct WeightInfo(PhantomData); +impl pallet_conviction_voting::WeightInfo for WeightInfo { + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: ConvictionVoting VotingFor (r:1 w:1) + // Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn vote_new() -> Weight { + Weight::from_ref_time(5_652_326_000 as u64) + .saturating_add(T::DbWeight::get().reads(6 as u64)) + .saturating_add(T::DbWeight::get().writes(6 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: ConvictionVoting VotingFor (r:1 w:1) + // Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn vote_existing() -> Weight { + Weight::from_ref_time(509_859_000 as u64) + .saturating_add(T::DbWeight::get().reads(6 as u64)) + .saturating_add(T::DbWeight::get().writes(6 as u64)) + } + // Storage: ConvictionVoting VotingFor (r:1 w:1) + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn remove_vote() -> Weight { + Weight::from_ref_time(486_638_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: ConvictionVoting VotingFor (r:1 w:1) + // Storage: Referenda ReferendumInfoFor (r:1 w:0) + fn remove_other_vote() -> Weight { + Weight::from_ref_time(74_517_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + // Storage: ConvictionVoting VotingFor (r:2 w:2) + // Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + // Storage: Referenda ReferendumInfoFor (r:10 w:10) + // Storage: Scheduler Agenda (r:2 w:2) + /// The range of component `r` is `[0, 512]`. + fn delegate(r: u32, ) -> Weight { + Weight::from_ref_time(78_376_000 as u64) + // Standard Error: 2_253_708 + .saturating_add(Weight::from_ref_time(221_428_037 as u64).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) + } + // Storage: ConvictionVoting VotingFor (r:2 w:2) + // Storage: Referenda ReferendumInfoFor (r:10 w:10) + // Storage: Scheduler Agenda (r:2 w:2) + /// The range of component `r` is `[0, 512]`. + fn undelegate(r: u32, ) -> Weight { + Weight::from_ref_time(55_946_000 as u64) + // Standard Error: 2_268_396 + .saturating_add(Weight::from_ref_time(221_648_859 as u64).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) + } + // Storage: ConvictionVoting VotingFor (r:1 w:1) + // Storage: ConvictionVoting ClassLocksFor (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + fn unlock() -> Weight { + Weight::from_ref_time(93_068_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } +} diff --git a/runtime/kusama/src/weights/pallet_ranked_collective.rs b/runtime/kusama/src/weights/pallet_ranked_collective.rs new file mode 100644 index 000000000000..33b62a7db764 --- /dev/null +++ b/runtime/kusama/src/weights/pallet_ranked_collective.rs @@ -0,0 +1,116 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_ranked_collective` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_ranked_collective +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_ranked_collective`. +pub struct WeightInfo(PhantomData); +impl pallet_ranked_collective::WeightInfo for WeightInfo { + // Storage: FellowshipCollective Members (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:1) + // Storage: FellowshipCollective IndexToId (r:0 w:1) + // Storage: FellowshipCollective IdToIndex (r:0 w:1) + fn add_member() -> Weight { + Weight::from_ref_time(20_797_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: FellowshipCollective Members (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:1) + // Storage: FellowshipCollective IdToIndex (r:1 w:1) + // Storage: FellowshipCollective IndexToId (r:1 w:1) + /// The range of component `r` is `[0, 10]`. + fn remove_member(r: u32, ) -> Weight { + Weight::from_ref_time(30_196_000 as u64) + // Standard Error: 10_539 + .saturating_add(Weight::from_ref_time(9_633_382 as u64).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64))) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(r as u64))) + } + // Storage: FellowshipCollective Members (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:1) + // Storage: FellowshipCollective IndexToId (r:0 w:1) + // Storage: FellowshipCollective IdToIndex (r:0 w:1) + /// The range of component `r` is `[0, 10]`. + fn promote_member(r: u32, ) -> Weight { + Weight::from_ref_time(21_958_000 as u64) + // Standard Error: 3_398 + .saturating_add(Weight::from_ref_time(527_087 as u64).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: FellowshipCollective Members (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:1) + // Storage: FellowshipCollective IdToIndex (r:1 w:1) + // Storage: FellowshipCollective IndexToId (r:1 w:1) + /// The range of component `r` is `[0, 10]`. + fn demote_member(r: u32, ) -> Weight { + Weight::from_ref_time(29_934_000 as u64) + // Standard Error: 11_453 + .saturating_add(Weight::from_ref_time(884_044 as u64).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: FellowshipCollective Members (r:1 w:0) + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective Voting (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn vote() -> Weight { + Weight::from_ref_time(45_989_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0) + // Storage: FellowshipCollective VotingCleanup (r:1 w:0) + // Storage: FellowshipCollective Voting (r:0 w:1) + /// The range of component `n` is `[1, 100]`. + fn cleanup_poll(n: u32, ) -> Weight { + Weight::from_ref_time(17_842_000 as u64) + // Standard Error: 733 + .saturating_add(Weight::from_ref_time(892_322 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) + } +} diff --git a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs new file mode 100644 index 000000000000..ca52d8044bbf --- /dev/null +++ b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs @@ -0,0 +1,264 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_referenda` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_referenda +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_referenda`. +pub struct WeightInfo(PhantomData); +impl pallet_referenda::WeightInfo for WeightInfo { + // Storage: FellowshipCollective Members (r:1 w:0) + // Storage: FellowshipReferenda ReferendumCount (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + // Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1) + fn submit() -> Weight { + Weight::from_ref_time(32_438_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn place_decision_deposit_preparing() -> Weight { + Weight::from_ref_time(48_476_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:0) + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + fn place_decision_deposit_queued() -> Weight { + Weight::from_ref_time(94_751_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:0) + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + fn place_decision_deposit_not_queued() -> Weight { + Weight::from_ref_time(94_975_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:2 w:2) + fn place_decision_deposit_passing() -> Weight { + Weight::from_ref_time(194_931_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + fn place_decision_deposit_failing() -> Weight { + Weight::from_ref_time(42_888_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + fn refund_decision_deposit() -> Weight { + Weight::from_ref_time(30_949_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn cancel() -> Weight { + Weight::from_ref_time(38_960_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn kill() -> Weight { + Weight::from_ref_time(67_836_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda TrackQueue (r:1 w:0) + // Storage: FellowshipReferenda DecidingCount (r:1 w:1) + fn one_fewer_deciding_queue_empty() -> Weight { + Weight::from_ref_time(11_204_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:2 w:2) + fn one_fewer_deciding_failing() -> Weight { + Weight::from_ref_time(224_465_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:2 w:2) + fn one_fewer_deciding_passing() -> Weight { + Weight::from_ref_time(224_764_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_requeued_insertion() -> Weight { + Weight::from_ref_time(91_727_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_requeued_slide() -> Weight { + Weight::from_ref_time(91_868_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:0) + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_queued() -> Weight { + Weight::from_ref_time(94_520_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:0) + // Storage: FellowshipReferenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_not_queued() -> Weight { + Weight::from_ref_time(93_483_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_no_deposit() -> Weight { + Weight::from_ref_time(29_294_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_preparing() -> Weight { + Weight::from_ref_time(30_363_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + fn nudge_referendum_timed_out() -> Weight { + Weight::from_ref_time(22_703_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_begin_deciding_failing() -> Weight { + Weight::from_ref_time(40_760_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipReferenda DecidingCount (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_begin_deciding_passing() -> Weight { + Weight::from_ref_time(91_300_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_begin_confirming() -> Weight { + Weight::from_ref_time(165_577_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_end_confirming() -> Weight { + Weight::from_ref_time(166_188_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_continue_not_confirming() -> Weight { + Weight::from_ref_time(159_324_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_continue_confirming() -> Weight { + Weight::from_ref_time(82_615_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:2 w:2) + // Storage: Scheduler Lookup (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + fn nudge_referendum_approved() -> Weight { + Weight::from_ref_time(185_354_000 as u64) + .saturating_add(T::DbWeight::get().reads(6 as u64)) + .saturating_add(T::DbWeight::get().writes(5 as u64)) + } + // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) + // Storage: FellowshipCollective MemberCount (r:1 w:0) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_rejected() -> Weight { + Weight::from_ref_time(165_963_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } +} diff --git a/runtime/kusama/src/weights/pallet_referenda_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_referenda.rs new file mode 100644 index 000000000000..8d8fc6ecbd61 --- /dev/null +++ b/runtime/kusama/src/weights/pallet_referenda_referenda.rs @@ -0,0 +1,251 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_referenda` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_referenda +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_referenda`. +pub struct WeightInfo(PhantomData); +impl pallet_referenda::WeightInfo for WeightInfo { + // Storage: Referenda ReferendumCount (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Referenda ReferendumInfoFor (r:0 w:1) + fn submit() -> Weight { + Weight::from_ref_time(37_366_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn place_decision_deposit_preparing() -> Weight { + Weight::from_ref_time(47_931_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:0) + // Storage: Referenda TrackQueue (r:1 w:1) + fn place_decision_deposit_queued() -> Weight { + Weight::from_ref_time(48_799_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:0) + // Storage: Referenda TrackQueue (r:1 w:1) + fn place_decision_deposit_not_queued() -> Weight { + Weight::from_ref_time(48_899_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn place_decision_deposit_passing() -> Weight { + Weight::from_ref_time(61_981_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:1) + fn place_decision_deposit_failing() -> Weight { + Weight::from_ref_time(42_318_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + fn refund_decision_deposit() -> Weight { + Weight::from_ref_time(30_391_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn cancel() -> Weight { + Weight::from_ref_time(38_601_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn kill() -> Weight { + Weight::from_ref_time(78_111_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda TrackQueue (r:1 w:0) + // Storage: Referenda DecidingCount (r:1 w:1) + fn one_fewer_deciding_queue_empty() -> Weight { + Weight::from_ref_time(11_132_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + // Storage: Referenda TrackQueue (r:1 w:1) + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn one_fewer_deciding_failing() -> Weight { + Weight::from_ref_time(161_624_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: Referenda TrackQueue (r:1 w:1) + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + fn one_fewer_deciding_passing() -> Weight { + Weight::from_ref_time(167_193_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_requeued_insertion() -> Weight { + Weight::from_ref_time(44_257_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_requeued_slide() -> Weight { + Weight::from_ref_time(43_981_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:0) + // Storage: Referenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_queued() -> Weight { + Weight::from_ref_time(45_931_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:0) + // Storage: Referenda TrackQueue (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_not_queued() -> Weight { + Weight::from_ref_time(45_854_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_no_deposit() -> Weight { + Weight::from_ref_time(28_641_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_preparing() -> Weight { + Weight::from_ref_time(29_629_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + fn nudge_referendum_timed_out() -> Weight { + Weight::from_ref_time(21_852_000 as u64) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_begin_deciding_failing() -> Weight { + Weight::from_ref_time(41_478_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Referenda DecidingCount (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_begin_deciding_passing() -> Weight { + Weight::from_ref_time(44_198_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_begin_confirming() -> Weight { + Weight::from_ref_time(38_978_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_end_confirming() -> Weight { + Weight::from_ref_time(40_123_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_continue_not_confirming() -> Weight { + Weight::from_ref_time(36_868_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_continue_confirming() -> Weight { + Weight::from_ref_time(36_835_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:2 w:2) + // Storage: Scheduler Lookup (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + fn nudge_referendum_approved() -> Weight { + Weight::from_ref_time(56_130_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(5 as u64)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:1) + fn nudge_referendum_rejected() -> Weight { + Weight::from_ref_time(38_997_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } +} diff --git a/runtime/kusama/src/weights/pallet_whitelist.rs b/runtime/kusama/src/weights/pallet_whitelist.rs new file mode 100644 index 000000000000..5e7dcf8f75b3 --- /dev/null +++ b/runtime/kusama/src/weights/pallet_whitelist.rs @@ -0,0 +1,82 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_whitelist` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-09-18, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --pallet=pallet_whitelist +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::{Weight}}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_whitelist`. +pub struct WeightInfo(PhantomData); +impl pallet_whitelist::WeightInfo for WeightInfo { + // Storage: Whitelist WhitelistedCall (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + fn whitelist_call() -> Weight { + Weight::from_ref_time(21_808_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) + } + // Storage: Whitelist WhitelistedCall (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) + fn remove_whitelisted_call() -> Weight { + Weight::from_ref_time(24_193_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Whitelist WhitelistedCall (r:1 w:1) + // Storage: Preimage PreimageFor (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + fn dispatch_whitelisted_call() -> Weight { + Weight::from_ref_time(7_327_364_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } + // Storage: Whitelist WhitelistedCall (r:1 w:1) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) + /// The range of component `n` is `[1, 10000]`. + fn dispatch_whitelisted_call_with_preimage(n: u32, ) -> Weight { + Weight::from_ref_time(26_992_000 as u64) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(1_621 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) + } +} diff --git a/xcm/pallet-xcm-benchmarks/Cargo.toml b/xcm/pallet-xcm-benchmarks/Cargo.toml index b14dd3301346..5c48219a6d1e 100644 --- a/xcm/pallet-xcm-benchmarks/Cargo.toml +++ b/xcm/pallet-xcm-benchmarks/Cargo.toml @@ -14,9 +14,9 @@ frame-support = { default-features = false, branch = "master", git = "https://gi frame-system = { default-features = false, branch = "master", git = "https://github.com/paritytech/substrate" } sp-runtime = { default-features = false, branch = "master", git = "https://github.com/paritytech/substrate" } sp-std = { default-features = false, branch = "master", git = "https://github.com/paritytech/substrate" } -xcm-executor = { path = "../xcm-executor", default-features = false, features = ["runtime-benchmarks"] } +xcm-executor = { path = "../xcm-executor", default-features = false } frame-benchmarking = { default-features = false, branch = "master", git = "https://github.com/paritytech/substrate" } -xcm = { path = "..", default-features = false, features = ["runtime-benchmarks"] } +xcm = { path = "..", default-features = false } log = "0.4.17" [dev-dependencies] @@ -44,6 +44,8 @@ std = [ "sp-std/std" ] runtime-benchmarks = [ + "xcm/runtime-benchmarks", + "xcm-executor/runtime-benchmarks", "frame-benchmarking/runtime-benchmarks", "frame-support/runtime-benchmarks", "frame-system/runtime-benchmarks", diff --git a/xcm/pallet-xcm-benchmarks/src/fungible/mod.rs b/xcm/pallet-xcm-benchmarks/src/fungible/mod.rs index 1acf61cf0010..a7fd0e99fd8e 100644 --- a/xcm/pallet-xcm-benchmarks/src/fungible/mod.rs +++ b/xcm/pallet-xcm-benchmarks/src/fungible/mod.rs @@ -18,6 +18,7 @@ pub use pallet::*; +#[cfg(feature = "runtime-benchmarks")] pub mod benchmarking; #[cfg(test)] mod mock; diff --git a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs index adf31fb207f2..de347a537be2 100644 --- a/xcm/pallet-xcm-benchmarks/src/generic/mod.rs +++ b/xcm/pallet-xcm-benchmarks/src/generic/mod.rs @@ -1,5 +1,6 @@ pub use pallet::*; +#[cfg(feature = "runtime-benchmarks")] pub mod benchmarking; #[cfg(test)] mod mock; From 789ef2fe52b8ca6b71128124b94a0f9e128ef823 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Tue, 4 Oct 2022 10:11:02 +0200 Subject: [PATCH 029/211] Use active_leaves instead of known_leaves (#6068) * Use active_leaves for synchronization. Otherwise on reverts the syncrhonization of create inherent would not work. * Add some trace logs. --- node/core/parachains-inherent/src/lib.rs | 10 ++++++++++ node/overseer/src/lib.rs | 21 ++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/node/core/parachains-inherent/src/lib.rs b/node/core/parachains-inherent/src/lib.rs index af14216749ff..e9441d21aefe 100644 --- a/node/core/parachains-inherent/src/lib.rs +++ b/node/core/parachains-inherent/src/lib.rs @@ -57,6 +57,11 @@ impl ParachainsInherentDataProvider { ) -> Result { let pid = async { let (sender, receiver) = futures::channel::oneshot::channel(); + gum::trace!( + target: LOG_TARGET, + relay_parent = ?parent, + "Inherent data requested by Babe" + ); overseer.wait_for_activation(parent, sender).await; receiver .await @@ -64,6 +69,11 @@ impl ParachainsInherentDataProvider { .map_err(|e| Error::Subsystem(e))?; let (sender, receiver) = futures::channel::oneshot::channel(); + gum::trace!( + target: LOG_TARGET, + relay_parent = ?parent, + "Requesting inherent data (after having waited for activation)" + ); overseer .send_msg( ProvisionerMessage::RequestInherentData(parent, sender), diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index 21160bddaecb..1ce6a6fdb658 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -843,6 +843,11 @@ where self.metrics.on_head_activated(); if let Some(listeners) = self.activation_external_listeners.remove(hash) { + gum::trace!( + target: LOG_TARGET, + relay_parent = ?hash, + "Leaf got activated, notifying exterinal listeners" + ); for listener in listeners { // it's fine if the listener is no longer interested let _ = listener.send(Ok(())); @@ -884,14 +889,20 @@ where fn handle_external_request(&mut self, request: ExternalRequest) { match request { ExternalRequest::WaitForActivation { hash, response_channel } => { - // We use known leaves here because the `WaitForActivation` message - // is primarily concerned about leaves which subsystems have simply - // not been made aware of yet. Anything in the known leaves set, - // even if stale, has been activated in the past. - if self.known_leaves.peek(&hash).is_some() { + if self.active_leaves.get(&hash).is_some() { + gum::trace!( + target: LOG_TARGET, + relay_parent = ?hash, + "Leaf was already ready - answering `WaitForActivation`" + ); // it's fine if the listener is no longer interested let _ = response_channel.send(Ok(())); } else { + gum::trace!( + target: LOG_TARGET, + relay_parent = ?hash, + "Leaf not yet ready - queuing `WaitForActivation` sender" + ); self.activation_external_listeners .entry(hash) .or_default() From 4ddf0ffe5b6d75149016bed74e2d587acf011cb9 Mon Sep 17 00:00:00 2001 From: Serban Iorga Date: Tue, 4 Oct 2022 12:25:48 +0300 Subject: [PATCH 030/211] Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098) * beefy-mmr: Simplify hashing * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 357 +++++++++++++++++++------------------- runtime/rococo/src/lib.rs | 2 +- 2 files changed, 180 insertions(+), 179 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 498c9120c0f1..044fb12ba4eb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,16 +492,17 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "beefy-primitives", "sp-api", + "sp-runtime", ] [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -1998,7 +1999,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", ] @@ -2016,7 +2017,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -2039,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "Inflector", "array-bytes", @@ -2090,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2101,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2118,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2147,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "bitflags", "frame-metadata", @@ -2178,7 +2179,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "Inflector", "cfg-expr", @@ -2192,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2204,7 +2205,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro2", "quote", @@ -2214,7 +2215,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2237,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -2248,7 +2249,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "log", @@ -2266,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -2281,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "sp-api", @@ -2290,7 +2291,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "parity-scale-codec", @@ -2473,7 +2474,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "chrono", "frame-election-provider-support", @@ -4834,7 +4835,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -4848,7 +4849,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -4864,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -4879,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -4903,7 +4904,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4923,7 +4924,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4942,7 +4943,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "beefy-primitives", "frame-support", @@ -4973,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4996,7 +4997,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5014,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5034,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5051,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5067,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5083,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5107,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5120,7 +5121,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5138,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5159,7 +5160,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5174,7 +5175,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5197,7 +5198,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5213,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5233,7 +5234,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5250,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5267,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5285,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5300,7 +5301,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5315,7 +5316,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -5332,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5352,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "sp-api", @@ -5362,7 +5363,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -5379,7 +5380,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5402,7 +5403,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5418,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5433,7 +5434,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5451,7 +5452,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5466,7 +5467,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5484,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5500,7 +5501,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -5521,7 +5522,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5537,7 +5538,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -5551,7 +5552,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5574,7 +5575,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5585,7 +5586,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "sp-arithmetic", @@ -5594,7 +5595,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -5608,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5627,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5645,7 +5646,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-support", "frame-system", @@ -5661,7 +5662,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5676,7 +5677,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5687,7 +5688,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5704,7 +5705,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5720,7 +5721,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -5735,7 +5736,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#dbb72f3fd98253b72c0090375b738b9d00995090" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-benchmarking", "frame-support", @@ -8266,7 +8267,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8614,7 +8615,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "sp-core", @@ -8625,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "futures", @@ -8652,7 +8653,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "futures-timer", @@ -8675,7 +8676,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8691,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8708,7 +8709,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8719,7 +8720,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "chrono", @@ -8759,7 +8760,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "fnv", "futures", @@ -8787,7 +8788,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "hash-db", "kvdb", @@ -8812,7 +8813,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "futures", @@ -8836,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "fork-tree", @@ -8878,7 +8879,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "jsonrpsee", @@ -8900,7 +8901,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8913,7 +8914,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "futures", @@ -8937,7 +8938,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8964,7 +8965,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "environmental", "parity-scale-codec", @@ -8980,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "parity-scale-codec", @@ -8995,7 +8996,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9015,7 +9016,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "ahash", "array-bytes", @@ -9056,7 +9057,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "finality-grandpa", "futures", @@ -9077,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "ansi_term", "futures", @@ -9094,7 +9095,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "async-trait", @@ -9109,7 +9110,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "async-trait", @@ -9156,7 +9157,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "cid", "futures", @@ -9176,7 +9177,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "bitflags", @@ -9202,7 +9203,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "ahash", "futures", @@ -9220,7 +9221,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "futures", @@ -9241,7 +9242,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "fork-tree", @@ -9269,7 +9270,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "futures", @@ -9288,7 +9289,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "bytes", @@ -9318,7 +9319,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "libp2p", @@ -9331,7 +9332,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9340,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "hash-db", @@ -9370,7 +9371,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "jsonrpsee", @@ -9393,7 +9394,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "jsonrpsee", @@ -9406,7 +9407,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "directories", @@ -9476,7 +9477,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "parity-scale-codec", @@ -9490,7 +9491,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9509,7 +9510,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "libc", @@ -9528,7 +9529,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "chrono", "futures", @@ -9546,7 +9547,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "ansi_term", "atty", @@ -9577,7 +9578,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9588,7 +9589,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "futures-timer", @@ -9614,7 +9615,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "log", @@ -9627,7 +9628,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "futures-timer", @@ -10113,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "hash-db", "log", @@ -10131,7 +10132,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "blake2", "proc-macro-crate", @@ -10143,7 +10144,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -10156,7 +10157,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "integer-sqrt", "num-traits", @@ -10171,7 +10172,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -10184,7 +10185,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "parity-scale-codec", @@ -10196,7 +10197,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "sp-api", @@ -10208,7 +10209,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "log", @@ -10226,7 +10227,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "futures", @@ -10245,7 +10246,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "merlin", @@ -10268,7 +10269,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -10282,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -10295,7 +10296,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "base58", @@ -10341,7 +10342,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "blake2", "byteorder", @@ -10355,7 +10356,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro2", "quote", @@ -10366,7 +10367,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10375,7 +10376,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro2", "quote", @@ -10385,7 +10386,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "environmental", "parity-scale-codec", @@ -10396,7 +10397,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "finality-grandpa", "log", @@ -10414,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10428,7 +10429,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "bytes", "futures", @@ -10454,7 +10455,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "lazy_static", "sp-core", @@ -10465,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "futures", @@ -10482,7 +10483,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "thiserror", "zstd", @@ -10491,7 +10492,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "parity-scale-codec", @@ -10506,7 +10507,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -10520,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "sp-api", "sp-core", @@ -10530,7 +10531,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "backtrace", "lazy_static", @@ -10540,7 +10541,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "rustc-hash", "serde", @@ -10550,7 +10551,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "either", "hash256-std-hasher", @@ -10573,7 +10574,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10591,7 +10592,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "Inflector", "proc-macro-crate", @@ -10603,7 +10604,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "parity-scale-codec", @@ -10617,7 +10618,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -10631,7 +10632,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "scale-info", @@ -10642,7 +10643,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "hash-db", "log", @@ -10664,12 +10665,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10682,7 +10683,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "log", "sp-core", @@ -10695,7 +10696,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "futures-timer", @@ -10711,7 +10712,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "sp-std", @@ -10723,7 +10724,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "sp-api", "sp-runtime", @@ -10732,7 +10733,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "async-trait", "log", @@ -10748,7 +10749,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "ahash", "hash-db", @@ -10771,7 +10772,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10788,7 +10789,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10799,7 +10800,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "impl-trait-for-tuples", "log", @@ -10812,7 +10813,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11027,7 +11028,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "platforms", ] @@ -11035,7 +11036,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11056,7 +11057,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures-util", "hyper", @@ -11069,7 +11070,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "jsonrpsee", "log", @@ -11090,7 +11091,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "array-bytes", "async-trait", @@ -11116,7 +11117,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11126,7 +11127,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11137,7 +11138,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "ansi_term", "build-helper", @@ -11850,7 +11851,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#25795506052363e8b5795eb3526e61ef2a27d89a" +source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 94677cc07290..c10715ee0ee1 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1257,7 +1257,7 @@ impl BeefyDataProvider for ParasProvider { .filter_map(|id| Paras::para_head(&id).map(|head| (id.into(), head.0))) .collect(); para_heads.sort(); - beefy_merkle_tree::merkle_root::, _, _>( + beefy_merkle_tree::merkle_root::<::Hashing, _>( para_heads.into_iter().map(|pair| pair.encode()), ) .into() From 60554e1f2dba9aa1c553e4bdbd15c5c99936c56a Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Tue, 4 Oct 2022 13:36:42 +0300 Subject: [PATCH 031/211] Keep sessions in window for the full unfinalized chain (#6054) * Impl dynamic window size. Keep sessions for unfinalized chain Signed-off-by: Andrei Sandu * feedback Signed-off-by: Andrei Sandu * Stretch also in contructor plus tests Signed-off-by: Andrei Sandu * review feedback Signed-off-by: Andrei Sandu * fix approval-voting tests Signed-off-by: Andrei Sandu * grunting: dispute coordinator tests Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- node/core/approval-voting/src/import.rs | 32 ++ node/core/approval-voting/src/tests.rs | 31 ++ node/core/dispute-coordinator/src/tests.rs | 41 ++- .../src/rolling_session_window.rs | 339 +++++++++++++++++- 4 files changed, 432 insertions(+), 11 deletions(-) diff --git a/node/core/approval-voting/src/import.rs b/node/core/approval-voting/src/import.rs index d43bf40546ae..5413c271e0d6 100644 --- a/node/core/approval-voting/src/import.rs +++ b/node/core/approval-voting/src/import.rs @@ -1296,6 +1296,38 @@ pub(crate) mod tests { } ); + // Caching of sesssions needs sessoion of first unfinalied block. + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(header.number)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, header.number); + let _ = s_tx.send(Ok(Some(header.hash()))); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, header.hash()); + let _ = s_tx.send(Ok(session)); + } + ); + // determine_new_blocks exits early as the parent_hash is in the DB assert_matches!( diff --git a/node/core/approval-voting/src/tests.rs b/node/core/approval-voting/src/tests.rs index 66d1402ed6dc..bdb7a8c929b3 100644 --- a/node/core/approval-voting/src/tests.rs +++ b/node/core/approval-voting/src/tests.rs @@ -807,6 +807,37 @@ async fn import_block( } ); + assert_matches!( + overseer_recv(overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(number)); + } + ); + + assert_matches!( + overseer_recv(overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, number); + let _ = s_tx.send(Ok(Some(hashes[number as usize].0))); + } + ); + + assert_matches!( + overseer_recv(overseer).await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, hashes[number as usize].0); + let _ = s_tx.send(Ok(number.into())); + } + ); + if !fork { assert_matches!( overseer_recv(overseer).await, diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index ff85319599ce..aaef00999259 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -239,13 +239,15 @@ impl TestState { ))) .await; - self.handle_sync_queries(virtual_overseer, block_hash, session).await; + self.handle_sync_queries(virtual_overseer, block_hash, block_number, session) + .await; } async fn handle_sync_queries( &mut self, virtual_overseer: &mut VirtualOverseer, block_hash: Hash, + block_number: BlockNumber, session: SessionIndex, ) { // Order of messages is not fixed (different on initializing): @@ -278,11 +280,45 @@ impl TestState { finished_steps.got_session_information = true; assert_eq!(h, block_hash); let _ = tx.send(Ok(session)); + + // Queries for fetching earliest unfinalized block session. See `RollingSessionWindow`. + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(block_number)); + } + ); + + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + number, + s_tx, + )) => { + assert_eq!(block_number, number); + let _ = s_tx.send(Ok(Some(block_hash))); + } + ); + + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, block_hash); + let _ = s_tx.send(Ok(session)); + } + ); + // No queries, if subsystem knows about this session already. if self.known_session == Some(session) { continue } self.known_session = Some(session); + loop { // answer session info queries until the current session is reached. assert_matches!( @@ -361,7 +397,8 @@ impl TestState { ))) .await; - self.handle_sync_queries(virtual_overseer, *leaf, session).await; + self.handle_sync_queries(virtual_overseer, *leaf, n as BlockNumber, session) + .await; } } diff --git a/node/subsystem-util/src/rolling_session_window.rs b/node/subsystem-util/src/rolling_session_window.rs index dd9282b50fe5..0ff2dc6deb13 100644 --- a/node/subsystem-util/src/rolling_session_window.rs +++ b/node/subsystem-util/src/rolling_session_window.rs @@ -20,15 +20,17 @@ //! care about the state of particular blocks. pub use polkadot_node_primitives::{new_session_window_size, SessionWindowSize}; -use polkadot_primitives::v2::{Hash, SessionIndex, SessionInfo}; +use polkadot_primitives::v2::{BlockNumber, Hash, SessionIndex, SessionInfo}; use futures::channel::oneshot; use polkadot_node_subsystem::{ - errors::RuntimeApiError, - messages::{RuntimeApiMessage, RuntimeApiRequest}, + errors::{ChainApiError, RuntimeApiError}, + messages::{ChainApiMessage, RuntimeApiMessage, RuntimeApiRequest}, overseer, }; +const LOG_TARGET: &str = "parachain::rolling-session-window"; + /// Sessions unavailable in state to cache. #[derive(Debug, Clone, thiserror::Error)] pub enum SessionsUnavailableReason { @@ -38,9 +40,18 @@ pub enum SessionsUnavailableReason { /// The runtime API itself returned an error. #[error(transparent)] RuntimeApi(#[from] RuntimeApiError), + /// The chain API itself returned an error. + #[error(transparent)] + ChainApi(#[from] ChainApiError), /// Missing session info from runtime API for given `SessionIndex`. #[error("Missing session index {0:?}")] Missing(SessionIndex), + /// Missing last finalized block number. + #[error("Missing last finalized block number")] + MissingLastFinalizedBlock, + /// Missing last finalized block hash. + #[error("Missing last finalized block hash")] + MissingLastFinalizedBlockHash(BlockNumber), } /// Information about the sessions being fetched. @@ -98,11 +109,18 @@ impl RollingSessionWindow { block_hash: Hash, ) -> Result where - Sender: overseer::SubsystemSender, + Sender: overseer::SubsystemSender + + overseer::SubsystemSender, { let session_index = get_session_index_for_child(&mut sender, block_hash).await?; + let earliest_non_finalized_block_session = + Self::earliest_non_finalized_block_session(&mut sender).await?; - let window_start = session_index.saturating_sub(window_size.get() - 1); + // This will increase the session window to cover the full unfinalized chain. + let window_start = std::cmp::min( + session_index.saturating_sub(window_size.get() - 1), + earliest_non_finalized_block_session, + ); match load_all_sessions(&mut sender, block_hash, window_start, session_index).await { Err(kind) => Err(SessionsUnavailable { @@ -146,6 +164,87 @@ impl RollingSessionWindow { self.earliest_session + (self.session_info.len() as SessionIndex).saturating_sub(1) } + async fn earliest_non_finalized_block_session( + sender: &mut Sender, + ) -> Result + where + Sender: overseer::SubsystemSender + + overseer::SubsystemSender, + { + let last_finalized_height = { + let (tx, rx) = oneshot::channel(); + sender.send_message(ChainApiMessage::FinalizedBlockNumber(tx)).await; + match rx.await { + Ok(Ok(number)) => number, + Ok(Err(e)) => + return Err(SessionsUnavailable { + kind: SessionsUnavailableReason::ChainApi(e), + info: None, + }), + Err(err) => { + gum::warn!( + target: LOG_TARGET, + ?err, + "Failed fetching last finalized block number" + ); + return Err(SessionsUnavailable { + kind: SessionsUnavailableReason::MissingLastFinalizedBlock, + info: None, + }) + }, + } + }; + + let (tx, rx) = oneshot::channel(); + // We want to get the session index for the child of the last finalized block. + sender + .send_message(ChainApiMessage::FinalizedBlockHash(last_finalized_height, tx)) + .await; + let last_finalized_hash_parent = match rx.await { + Ok(Ok(maybe_hash)) => maybe_hash, + Ok(Err(e)) => + return Err(SessionsUnavailable { + kind: SessionsUnavailableReason::ChainApi(e), + info: None, + }), + Err(err) => { + gum::warn!(target: LOG_TARGET, ?err, "Failed fetching last finalized block hash"); + return Err(SessionsUnavailable { + kind: SessionsUnavailableReason::MissingLastFinalizedBlockHash( + last_finalized_height, + ), + info: None, + }) + }, + }; + + // Get the session in which the last finalized block was authored. + if let Some(last_finalized_hash_parent) = last_finalized_hash_parent { + let session = + match get_session_index_for_child(sender, last_finalized_hash_parent).await { + Ok(session_index) => session_index, + Err(err) => { + gum::warn!( + target: LOG_TARGET, + ?err, + ?last_finalized_hash_parent, + "Failed fetching session index" + ); + return Err(err) + }, + }; + + Ok(session) + } else { + return Err(SessionsUnavailable { + kind: SessionsUnavailableReason::MissingLastFinalizedBlockHash( + last_finalized_height, + ), + info: None, + }) + } + } + /// When inspecting a new import notification, updates the session info cache to match /// the session of the imported block's child. /// @@ -153,12 +252,18 @@ impl RollingSessionWindow { /// not change often and import notifications are expected to be typically increasing in session number. /// /// some backwards drift in session index is acceptable. - pub async fn cache_session_info_for_head( + pub async fn cache_session_info_for_head( &mut self, - sender: &mut impl overseer::SubsystemSender, + sender: &mut Sender, block_hash: Hash, - ) -> Result { + ) -> Result + where + Sender: overseer::SubsystemSender + + overseer::SubsystemSender, + { let session_index = get_session_index_for_child(sender, block_hash).await?; + let earliest_non_finalized_block_session = + Self::earliest_non_finalized_block_session(sender).await?; let old_window_start = self.earliest_session; @@ -171,7 +276,12 @@ impl RollingSessionWindow { let old_window_end = latest; - let window_start = session_index.saturating_sub(self.window_size.get() - 1); + // Ensure we keep sessions up to last finalized block by adjusting the window start. + // This will increase the session window to cover the full unfinalized chain. + let window_start = std::cmp::min( + session_index.saturating_sub(self.window_size.get() - 1), + earliest_non_finalized_block_session, + ); // keep some of the old window, if applicable. let overlap_start = window_start.saturating_sub(old_window_start); @@ -319,6 +429,14 @@ mod tests { parent_hash: Default::default(), }; + let finalized_header = Header { + digest: Default::default(), + extrinsics_root: Default::default(), + number: 0, + state_root: Default::default(), + parent_hash: Default::default(), + }; + let pool = TaskExecutor::new(); let (mut ctx, mut handle) = make_subsystem_context::(pool.clone()); @@ -358,6 +476,37 @@ mod tests { } ); + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(finalized_header.number)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, finalized_header.number); + let _ = s_tx.send(Ok(Some(finalized_header.hash()))); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, finalized_header.hash()); + let _ = s_tx.send(Ok(session)); + } + ); + for i in expect_requests_from..=session { assert_matches!( handle.recv().await, @@ -485,6 +634,108 @@ mod tests { cache_session_info_test(0, 3, Some(window), 2); } + #[test] + fn any_session_stretch_for_unfinalized_chain() { + // Session index of the tip of our fake test chain. + let session: SessionIndex = 100; + let genesis_session: SessionIndex = 0; + + let header = Header { + digest: Default::default(), + extrinsics_root: Default::default(), + number: 5, + state_root: Default::default(), + parent_hash: Default::default(), + }; + + let finalized_header = Header { + digest: Default::default(), + extrinsics_root: Default::default(), + number: 0, + state_root: Default::default(), + parent_hash: Default::default(), + }; + + let pool = TaskExecutor::new(); + let (mut ctx, mut handle) = make_subsystem_context::<(), _>(pool.clone()); + + let hash = header.hash(); + + let test_fut = { + let sender = ctx.sender().clone(); + Box::pin(async move { + let res = RollingSessionWindow::new(sender, TEST_WINDOW_SIZE, hash).await; + assert!(res.is_err()); + }) + }; + + let aux_fut = Box::pin(async move { + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, hash); + let _ = s_tx.send(Ok(session)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(finalized_header.number)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, finalized_header.number); + let _ = s_tx.send(Ok(Some(finalized_header.hash()))); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, finalized_header.hash()); + let _ = s_tx.send(Ok(0)); + } + ); + + // Unfinalized chain starts at geneisis block, so session 0 is how far we stretch. + for i in genesis_session..=session { + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionInfo(j, s_tx), + )) => { + assert_eq!(h, hash); + assert_eq!(i, j); + + let _ = s_tx.send(Ok(if i == session { + None + } else { + Some(dummy_session_info(i)) + })); + } + ); + } + }); + + futures::executor::block_on(futures::future::join(test_fut, aux_fut)); + } + #[test] fn any_session_unavailable_for_caching_means_no_change() { let session: SessionIndex = 6; @@ -498,6 +749,14 @@ mod tests { parent_hash: Default::default(), }; + let finalized_header = Header { + digest: Default::default(), + extrinsics_root: Default::default(), + number: 0, + state_root: Default::default(), + parent_hash: Default::default(), + }; + let pool = TaskExecutor::new(); let (mut ctx, mut handle) = make_subsystem_context::<(), _>(pool.clone()); @@ -523,6 +782,37 @@ mod tests { } ); + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(finalized_header.number)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, finalized_header.number); + let _ = s_tx.send(Ok(Some(finalized_header.hash()))); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, finalized_header.hash()); + let _ = s_tx.send(Ok(session)); + } + ); + for i in start_session..=session { assert_matches!( handle.recv().await, @@ -586,6 +876,37 @@ mod tests { } ); + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(header.number)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, header.number); + let _ = s_tx.send(Ok(Some(header.hash()))); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, header.hash()); + let _ = s_tx.send(Ok(session)); + } + ); + assert_matches!( handle.recv().await, AllMessages::RuntimeApi(RuntimeApiMessage::Request( From efb82ef7b0a0f0a67b43b616471db5921f45a614 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Oct 2022 11:28:21 +0000 Subject: [PATCH 032/211] Bump lru from 0.7.8 to 0.8.0 (#6060) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump lru from 0.7.8 to 0.8.0 Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.8 to 0.8.0. - [Release notes](https://github.com/jeromefroe/lru-rs/releases) - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Change `LruCache` paramerter to `NonZeroUsize` * Change type of `session_cache_lru_size` to `NonZeroUsize` * Add expects instead of unwrap Co-authored-by: Bastian Köcher * Use match to get rid of expects Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastian Kunert Co-authored-by: Bastian Köcher --- Cargo.lock | 18 +++++++++--------- node/core/approval-voting/Cargo.toml | 2 +- node/core/approval-voting/src/lib.rs | 7 ++++++- node/core/dispute-coordinator/Cargo.toml | 2 +- .../dispute-coordinator/src/scraping/mod.rs | 10 ++++++++-- .../availability-distribution/Cargo.toml | 2 +- .../src/requester/session_cache.rs | 4 ++-- node/network/availability-recovery/Cargo.toml | 2 +- node/network/availability-recovery/src/lib.rs | 6 +++++- node/network/dispute-distribution/Cargo.toml | 2 +- node/network/dispute-distribution/src/lib.rs | 5 ++++- .../dispute-distribution/src/receiver/mod.rs | 13 ++++++++++--- node/overseer/Cargo.toml | 2 +- node/overseer/src/lib.rs | 6 +++++- node/service/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- node/subsystem-util/src/runtime/mod.rs | 11 +++++++---- 17 files changed, 64 insertions(+), 32 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 044fb12ba4eb..99033d5da5da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6167,7 +6167,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "lru 0.7.8", + "lru 0.8.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6197,7 +6197,7 @@ dependencies = [ "futures", "futures-timer", "log", - "lru 0.7.8", + "lru 0.8.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6335,7 +6335,7 @@ dependencies = [ "futures", "futures-timer", "lazy_static", - "lru 0.7.8", + "lru 0.8.0", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6455,7 +6455,7 @@ dependencies = [ "futures-timer", "kvdb", "kvdb-memorydb", - "lru 0.7.8", + "lru 0.8.0", "merlin", "parity-scale-codec", "parking_lot 0.12.1", @@ -6624,7 +6624,7 @@ dependencies = [ "futures-timer", "kvdb", "kvdb-memorydb", - "lru 0.7.8", + "lru 0.8.0", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -6911,7 +6911,7 @@ dependencies = [ "kvdb-shared-tests", "lazy_static", "log", - "lru 0.7.8", + "lru 0.8.0", "parity-db", "parity-scale-codec", "parity-util-mem", @@ -6945,7 +6945,7 @@ dependencies = [ "femme", "futures", "futures-timer", - "lru 0.7.8", + "lru 0.8.0", "orchestra", "parity-util-mem", "parking_lot 0.12.1", @@ -7302,7 +7302,7 @@ dependencies = [ "kvdb", "kvdb-rocksdb", "log", - "lru 0.7.8", + "lru 0.8.0", "pallet-babe", "pallet-im-online", "pallet-staking", @@ -11921,7 +11921,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 1.0.0", + "cfg-if 0.1.10", "digest 0.10.3", "rand 0.8.5", "static_assertions", diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index f2572cac8232..e39a589b5675 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -10,7 +10,7 @@ futures-timer = "3.0.2" parity-scale-codec = { version = "3.1.5", default-features = false, features = ["bit-vec", "derive"] } gum = { package = "tracing-gum", path = "../../gum" } bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } -lru = "0.7" +lru = "0.8" merlin = "2.0" schnorrkel = "0.9.1" kvdb = "0.11.0" diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index ac025f366ab7..467d8be612e9 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -70,6 +70,7 @@ use std::{ collections::{ btree_map::Entry as BTMEntry, hash_map::Entry as HMEntry, BTreeMap, HashMap, HashSet, }, + num::NonZeroUsize, sync::Arc, time::Duration, }; @@ -104,7 +105,11 @@ const APPROVAL_CHECKING_TIMEOUT: Duration = Duration::from_secs(120); /// Value rather arbitrarily: Should not be hit in practice, it exists to more easily diagnose dead /// lock issues for example. const WAIT_FOR_SIGS_TIMEOUT: Duration = Duration::from_millis(500); -const APPROVAL_CACHE_SIZE: usize = 1024; +const APPROVAL_CACHE_SIZE: NonZeroUsize = match NonZeroUsize::new(1024) { + Some(cap) => cap, + None => panic!("Approval cache size must be non-zero."), +}; + const TICK_TOO_FAR_IN_FUTURE: Tick = 20; // 10 seconds. const APPROVAL_DELAY: Tick = 2; const LOG_TARGET: &str = "parachain::approval-voting"; diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index bc22b40c8529..7d7bc25e91d4 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -10,7 +10,7 @@ gum = { package = "tracing-gum", path = "../../gum" } parity-scale-codec = "3.1.5" kvdb = "0.11.0" thiserror = "1.0.31" -lru = "0.7.7" +lru = "0.8.0" fatality = "0.0.6" polkadot-primitives = { path = "../../../primitives" } diff --git a/node/core/dispute-coordinator/src/scraping/mod.rs b/node/core/dispute-coordinator/src/scraping/mod.rs index b45dbfa95197..7d5d33e1ff4b 100644 --- a/node/core/dispute-coordinator/src/scraping/mod.rs +++ b/node/core/dispute-coordinator/src/scraping/mod.rs @@ -14,7 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::collections::{BTreeMap, HashSet}; +use std::{ + collections::{BTreeMap, HashSet}, + num::NonZeroUsize, +}; use futures::channel::oneshot; use lru::LruCache; @@ -44,7 +47,10 @@ mod tests; /// `last_observed_blocks` LRU. This means, this value should the very least be as large as the /// number of expected forks for keeping chain scraping efficient. Making the LRU much larger than /// that has very limited use. -const LRU_OBSERVED_BLOCKS_CAPACITY: usize = 20; +const LRU_OBSERVED_BLOCKS_CAPACITY: NonZeroUsize = match NonZeroUsize::new(20) { + Some(cap) => cap, + None => panic!("Observed blocks cache size must be non-zero"), +}; /// Chain scraper /// diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index 43d56a1ace24..3e8626c18898 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -19,7 +19,7 @@ sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "maste thiserror = "1.0.31" rand = "0.8.5" derive_more = "0.99.17" -lru = "0.7.7" +lru = "0.8.0" fatality = "0.0.6" [dev-dependencies] diff --git a/node/network/availability-distribution/src/requester/session_cache.rs b/node/network/availability-distribution/src/requester/session_cache.rs index 6d41d9301233..cf01e448b70b 100644 --- a/node/network/availability-distribution/src/requester/session_cache.rs +++ b/node/network/availability-distribution/src/requester/session_cache.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::collections::HashSet; +use std::{collections::HashSet, num::NonZeroUsize}; use lru::LruCache; use rand::{seq::SliceRandom, thread_rng}; @@ -85,7 +85,7 @@ impl SessionCache { pub fn new() -> Self { SessionCache { // We need to cache the current and the last session the most: - session_info_cache: LruCache::new(2), + session_info_cache: LruCache::new(NonZeroUsize::new(2).unwrap()), } } diff --git a/node/network/availability-recovery/Cargo.toml b/node/network/availability-recovery/Cargo.toml index fce9755a05a3..86f6237740fa 100644 --- a/node/network/availability-recovery/Cargo.toml +++ b/node/network/availability-recovery/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] futures = "0.3.21" -lru = "0.7.7" +lru = "0.8.0" rand = "0.8.5" fatality = "0.0.6" thiserror = "1.0.31" diff --git a/node/network/availability-recovery/src/lib.rs b/node/network/availability-recovery/src/lib.rs index 62401e3ad615..f2f92cc54490 100644 --- a/node/network/availability-recovery/src/lib.rs +++ b/node/network/availability-recovery/src/lib.rs @@ -20,6 +20,7 @@ use std::{ collections::{HashMap, VecDeque}, + num::NonZeroUsize, pin::Pin, time::Duration, }; @@ -77,7 +78,10 @@ const LOG_TARGET: &str = "parachain::availability-recovery"; const N_PARALLEL: usize = 50; // Size of the LRU cache where we keep recovered data. -const LRU_SIZE: usize = 16; +const LRU_SIZE: NonZeroUsize = match NonZeroUsize::new(16) { + Some(cap) => cap, + None => panic!("Availability-recovery cache size must be non-zero."), +}; const COST_INVALID_REQUEST: Rep = Rep::CostMajor("Peer sent unparsable request"); diff --git a/node/network/dispute-distribution/Cargo.toml b/node/network/dispute-distribution/Cargo.toml index f50f24bf42c8..c37f26f7bece 100644 --- a/node/network/dispute-distribution/Cargo.toml +++ b/node/network/dispute-distribution/Cargo.toml @@ -20,7 +20,7 @@ sp-application-crypto = { git = "https://github.com/paritytech/substrate", branc sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.31" fatality = "0.0.6" -lru = "0.7.7" +lru = "0.8.0" [dev-dependencies] async-trait = "0.1.57" diff --git a/node/network/dispute-distribution/src/lib.rs b/node/network/dispute-distribution/src/lib.rs index aefd66e0ae79..440b70b786d5 100644 --- a/node/network/dispute-distribution/src/lib.rs +++ b/node/network/dispute-distribution/src/lib.rs @@ -24,6 +24,8 @@ //! The sender is responsible for getting our vote out, see [`sender`]. The receiver handles //! incoming [`DisputeRequest`]s and offers spam protection, see [`receiver`]. +use std::num::NonZeroUsize; + use futures::{channel::mpsc, FutureExt, StreamExt, TryFutureExt}; use polkadot_node_network_protocol::authority_discovery::AuthorityDiscovery; @@ -145,7 +147,8 @@ where ) -> Self { let runtime = RuntimeInfo::new_with_config(runtime::Config { keystore: Some(keystore), - session_cache_lru_size: DISPUTE_WINDOW.get() as usize, + session_cache_lru_size: NonZeroUsize::new(DISPUTE_WINDOW.get() as usize) + .expect("Dispute window can not be 0; qed"), }); let (tx, sender_rx) = mpsc::channel(1); let disputes_sender = DisputeSender::new(tx, metrics.clone()); diff --git a/node/network/dispute-distribution/src/receiver/mod.rs b/node/network/dispute-distribution/src/receiver/mod.rs index 9193947e78d1..c38ca2133f54 100644 --- a/node/network/dispute-distribution/src/receiver/mod.rs +++ b/node/network/dispute-distribution/src/receiver/mod.rs @@ -16,6 +16,7 @@ use std::{ collections::HashSet, + num::NonZeroUsize, pin::Pin, task::{Context, Poll}, }; @@ -61,6 +62,11 @@ const COST_NOT_A_VALIDATOR: Rep = Rep::CostMajor("Reporting peer was not a valid /// How many statement imports we want to issue in parallel: pub const MAX_PARALLEL_IMPORTS: usize = 10; +const BANNED_PEERS_CACHE_SIZE: NonZeroUsize = match NonZeroUsize::new(MAX_PARALLEL_IMPORTS) { + Some(cap) => cap, + None => panic!("Banned peers cache size should not be 0."), +}; + /// State for handling incoming `DisputeRequest` messages. /// /// This is supposed to run as its own task in order to easily impose back pressure on the incoming @@ -146,7 +152,8 @@ where ) -> Self { let runtime = RuntimeInfo::new_with_config(runtime::Config { keystore: None, - session_cache_lru_size: DISPUTE_WINDOW.get() as usize, + session_cache_lru_size: NonZeroUsize::new(DISPUTE_WINDOW.get() as usize) + .expect("Dispute window can not be 0; qed"), }); Self { runtime, @@ -156,7 +163,7 @@ where pending_imports: PendingImports::new(), // Size of MAX_PARALLEL_IMPORTS ensures we are going to immediately get rid of any // malicious requests still pending in the incoming queue. - banned_peers: LruCache::new(MAX_PARALLEL_IMPORTS), + banned_peers: LruCache::new(BANNED_PEERS_CACHE_SIZE), metrics, } } @@ -222,7 +229,7 @@ where } // Wait for a free slot: - if self.pending_imports.len() >= MAX_PARALLEL_IMPORTS as usize { + if self.pending_imports.len() >= MAX_PARALLEL_IMPORTS { // Wait for one to finish: let r = self.pending_imports.next().await; self.ban_bad_peer(r.expect("pending_imports.len() is greater 0. qed."))?; diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 0db382e4e783..4bc360df47e3 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -17,7 +17,7 @@ polkadot-node-metrics = { path = "../metrics" } polkadot-primitives = { path = "../../primitives" } orchestra = "0.0.2" gum = { package = "tracing-gum", path = "../gum" } -lru = "0.7" +lru = "0.8" parity-util-mem = { version = "0.11.0", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } async-trait = "0.1.57" diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index 1ce6a6fdb658..70dbe92b2432 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -62,6 +62,7 @@ use std::{ collections::{hash_map, HashMap}, fmt::{self, Debug}, + num::NonZeroUsize, pin::Pin, sync::Arc, time::Duration, @@ -112,7 +113,10 @@ pub use orchestra::{ /// Store 2 days worth of blocks, not accounting for forks, /// in the LRU cache. Assumes a 6-second block time. -pub const KNOWN_LEAVES_CACHE_SIZE: usize = 2 * 24 * 3600 / 6; +pub const KNOWN_LEAVES_CACHE_SIZE: NonZeroUsize = match NonZeroUsize::new(2 * 24 * 3600 / 6) { + Some(cap) => cap, + None => panic!("Known leaves cache size must be non-zero"), +}; #[cfg(test)] mod tests; diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index a9c9484b6eba..1d2613537814 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -73,7 +73,7 @@ kvdb = "0.11.0" kvdb-rocksdb = { version = "0.15.2", optional = true } parity-db = { version = "0.3.16", optional = true } async-trait = "0.1.57" -lru = "0.7" +lru = "0.8" # Polkadot polkadot-node-core-parachains-inherent = { path = "../core/parachains-inherent" } diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index a3985a898849..6f120beec7cb 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -17,7 +17,7 @@ thiserror = "1.0.31" fatality = "0.0.6" gum = { package = "tracing-gum", path = "../gum" } derive_more = "0.99.17" -lru = "0.7.7" +lru = "0.8.0" polkadot-node-subsystem = {path = "../subsystem" } polkadot-node-jaeger = { path = "../jaeger" } diff --git a/node/subsystem-util/src/runtime/mod.rs b/node/subsystem-util/src/runtime/mod.rs index fc660a9dc6df..7fcae2c57b09 100644 --- a/node/subsystem-util/src/runtime/mod.rs +++ b/node/subsystem-util/src/runtime/mod.rs @@ -16,7 +16,7 @@ //! Convenient interface to runtime information. -use std::cmp::max; +use std::num::NonZeroUsize; use lru::LruCache; @@ -52,7 +52,7 @@ pub struct Config { pub keystore: Option, /// How many sessions should we keep in the cache? - pub session_cache_lru_size: usize, + pub session_cache_lru_size: NonZeroUsize, } /// Caching of session info. @@ -95,7 +95,7 @@ impl Default for Config { Self { keystore: None, // Usually we need to cache the current and the last session. - session_cache_lru_size: 2, + session_cache_lru_size: NonZeroUsize::new(2).expect("2 is larger than 0; qed"), } } } @@ -109,7 +109,10 @@ impl RuntimeInfo { /// Create with more elaborate configuration options. pub fn new_with_config(cfg: Config) -> Self { Self { - session_index_cache: LruCache::new(max(10, cfg.session_cache_lru_size)), + session_index_cache: LruCache::new( + cfg.session_cache_lru_size + .max(NonZeroUsize::new(10).expect("10 is larger than 0; qed")), + ), session_info_cache: LruCache::new(cfg.session_cache_lru_size), keystore: cfg.keystore, } From ce430c22560ddf76188742f870345a9a1eca65dc Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Tue, 4 Oct 2022 18:02:05 +0200 Subject: [PATCH 033/211] Batch vote import in dispute-distribution (#5894) * Start work on batching in dispute-distribution. * Guide work. * More guide changes. Still very much WIP. * Finish guide changes. * Clarification * Adjust argument about slashing. * WIP: Add constants to receiver. * Maintain order of disputes. * dispute-distribuion sender Rate limit. * Cleanup * WIP: dispute-distribution receiver. - [ ] Rate limiting - [ ] Batching * WIP: Batching. * fmt * Update `PeerQueues` to maintain more invariants. * WIP: Batching. * Small cleanup * Batching logic. * Some integration work. * Finish. Missing: Tests * Typo. * Docs. * Report missing metric. * Doc pass. * Tests for waiting_queue. * Speed up some crypto by 10x. * Fix redundant import. * Add some tracing. * Better sender rate limit * Some tests. * Tests * Add logging to rate limiter * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md Co-authored-by: Tsvetomir Dimitrov * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md Co-authored-by: Tsvetomir Dimitrov * Update node/network/dispute-distribution/src/receiver/mod.rs Co-authored-by: Tsvetomir Dimitrov * Review feedback. * Also log peer in log messages. * Fix indentation. * waker -> timer * Guide improvement. * Remove obsolete comment. * waker -> timer * Fix spell complaints. * Fix Cargo.lock Co-authored-by: Tsvetomir Dimitrov --- Cargo.lock | 1 + Cargo.toml | 7 +- node/network/dispute-distribution/Cargo.toml | 2 + node/network/dispute-distribution/src/lib.rs | 38 +- .../dispute-distribution/src/metrics.rs | 7 +- .../src/receiver/batches/batch.rs | 209 +++++++ .../src/receiver/batches/mod.rs | 170 ++++++ .../src/receiver/batches/waiting_queue.rs | 204 +++++++ .../src/receiver/error.rs | 25 +- .../dispute-distribution/src/receiver/mod.rs | 510 +++++++++++------- .../src/receiver/peer_queues.rs | 141 +++++ .../dispute-distribution/src/sender/mod.rs | 110 +++- .../src/sender/send_task.rs | 30 +- .../dispute-distribution/src/tests/mock.rs | 28 +- .../dispute-distribution/src/tests/mod.rs | 453 ++++++++++++---- .../protocol/src/request_response/mod.rs | 8 +- .../src/node/disputes/dispute-distribution.md | 309 ++++++----- 17 files changed, 1783 insertions(+), 469 deletions(-) create mode 100644 node/network/dispute-distribution/src/receiver/batches/batch.rs create mode 100644 node/network/dispute-distribution/src/receiver/batches/mod.rs create mode 100644 node/network/dispute-distribution/src/receiver/batches/waiting_queue.rs create mode 100644 node/network/dispute-distribution/src/receiver/peer_queues.rs diff --git a/Cargo.lock b/Cargo.lock index 99033d5da5da..cb59e04104f2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6334,6 +6334,7 @@ dependencies = [ "fatality", "futures", "futures-timer", + "indexmap", "lazy_static", "lru 0.8.0", "parity-scale-codec", diff --git a/Cargo.toml b/Cargo.toml index ee886dafdc8a..c7edd0621319 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -125,9 +125,9 @@ maintenance = { status = "actively-developed" } # # This list is ordered alphabetically. [profile.dev.package] -blake2b_simd = { opt-level = 3 } blake2 = { opt-level = 3 } blake2-rfc = { opt-level = 3 } +blake2b_simd = { opt-level = 3 } chacha20poly1305 = { opt-level = 3 } cranelift-codegen = { opt-level = 3 } cranelift-wasm = { opt-level = 3 } @@ -138,8 +138,8 @@ curve25519-dalek = { opt-level = 3 } ed25519-dalek = { opt-level = 3 } flate2 = { opt-level = 3 } futures-channel = { opt-level = 3 } -hashbrown = { opt-level = 3 } hash-db = { opt-level = 3 } +hashbrown = { opt-level = 3 } hmac = { opt-level = 3 } httparse = { opt-level = 3 } integer-sqrt = { opt-level = 3 } @@ -151,8 +151,8 @@ libz-sys = { opt-level = 3 } mio = { opt-level = 3 } nalgebra = { opt-level = 3 } num-bigint = { opt-level = 3 } -parking_lot_core = { opt-level = 3 } parking_lot = { opt-level = 3 } +parking_lot_core = { opt-level = 3 } percent-encoding = { opt-level = 3 } primitive-types = { opt-level = 3 } reed-solomon-novelpoly = { opt-level = 3 } @@ -162,6 +162,7 @@ sha2 = { opt-level = 3 } sha3 = { opt-level = 3 } smallvec = { opt-level = 3 } snow = { opt-level = 3 } +substrate-bip39 = {opt-level = 3} twox-hash = { opt-level = 3 } uint = { opt-level = 3 } wasmi = { opt-level = 3 } diff --git a/node/network/dispute-distribution/Cargo.toml b/node/network/dispute-distribution/Cargo.toml index c37f26f7bece..a731175f0521 100644 --- a/node/network/dispute-distribution/Cargo.toml +++ b/node/network/dispute-distribution/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [dependencies] futures = "0.3.21" +futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../../gum" } derive_more = "0.99.17" parity-scale-codec = { version = "3.1.5", features = ["std"] } @@ -21,6 +22,7 @@ sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "maste thiserror = "1.0.31" fatality = "0.0.6" lru = "0.8.0" +indexmap = "1.9.1" [dev-dependencies] async-trait = "0.1.57" diff --git a/node/network/dispute-distribution/src/lib.rs b/node/network/dispute-distribution/src/lib.rs index 440b70b786d5..f109d5e6a40e 100644 --- a/node/network/dispute-distribution/src/lib.rs +++ b/node/network/dispute-distribution/src/lib.rs @@ -24,7 +24,7 @@ //! The sender is responsible for getting our vote out, see [`sender`]. The receiver handles //! incoming [`DisputeRequest`]s and offers spam protection, see [`receiver`]. -use std::num::NonZeroUsize; +use std::{num::NonZeroUsize, time::Duration}; use futures::{channel::mpsc, FutureExt, StreamExt, TryFutureExt}; @@ -66,16 +66,19 @@ use self::sender::{DisputeSender, TaskFinish}; /// via a dedicated channel and forwarding them to the dispute coordinator via /// `DisputeCoordinatorMessage::ImportStatements`. Being the interface to the network and untrusted /// nodes, the reality is not that simple of course. Before importing statements the receiver will -/// make sure as good as it can to filter out malicious/unwanted/spammy requests. For this it does -/// the following: +/// batch up imports as well as possible for efficient imports while maintaining timely dispute +/// resolution and handling of spamming validators: /// /// - Drop all messages from non validator nodes, for this it requires the [`AuthorityDiscovery`] /// service. -/// - Drop messages from a node, if we are already importing a message from that node (flood). -/// - Drop messages from nodes, that provided us messages where the statement import failed. +/// - Drop messages from a node, if it sends at a too high rate. +/// - Filter out duplicate messages (over some period of time). /// - Drop any obviously invalid votes (invalid signatures for example). /// - Ban peers whose votes were deemed invalid. /// +/// In general dispute-distribution works on limiting the work the dispute-coordinator will have to +/// do, while at the same time making it aware of new disputes as fast as possible. +/// /// For successfully imported votes, we will confirm the receipt of the message back to the sender. /// This way a received confirmation guarantees, that the vote has been stored to disk by the /// receiver. @@ -95,6 +98,20 @@ pub use metrics::Metrics; const LOG_TARGET: &'static str = "parachain::dispute-distribution"; +/// Rate limit on the `receiver` side. +/// +/// If messages from one peer come in at a higher rate than every `RECEIVE_RATE_LIMIT` on average, we +/// start dropping messages from that peer to enforce that limit. +pub const RECEIVE_RATE_LIMIT: Duration = Duration::from_millis(100); + +/// Rate limit on the `sender` side. +/// +/// In order to not hit the `RECEIVE_RATE_LIMIT` on the receiving side, we limit out sending rate as +/// well. +/// +/// We add 50ms extra, just to have some save margin to the `RECEIVE_RATE_LIMIT`. +pub const SEND_RATE_LIMIT: Duration = RECEIVE_RATE_LIMIT.saturating_add(Duration::from_millis(50)); + /// The dispute distribution subsystem. pub struct DisputeDistributionSubsystem { /// Easy and efficient runtime access for this subsystem. @@ -175,6 +192,12 @@ where ctx.spawn("disputes-receiver", receiver.run().boxed()) .map_err(FatalError::SpawnTask)?; + // Process messages for sending side. + // + // Note: We want the sender to be rate limited and we are currently taking advantage of the + // fact that the root task of this subsystem is only concerned with sending: Functions of + // `DisputeSender` might back pressure if the rate limit is hit, which will slow down this + // loop. If this fact ever changes, we will likely need another task. loop { let message = MuxedMessage::receive(&mut ctx, &mut self.sender_rx).await; match message { @@ -250,9 +273,10 @@ impl MuxedMessage { // ends. let from_overseer = ctx.recv().fuse(); futures::pin_mut!(from_overseer, from_sender); - futures::select!( - msg = from_overseer => MuxedMessage::Subsystem(msg.map_err(FatalError::SubsystemReceive)), + // We select biased to make sure we finish up loose ends, before starting new work. + futures::select_biased!( msg = from_sender.next() => MuxedMessage::Sender(msg), + msg = from_overseer => MuxedMessage::Subsystem(msg.map_err(FatalError::SubsystemReceive)), ) } } diff --git a/node/network/dispute-distribution/src/metrics.rs b/node/network/dispute-distribution/src/metrics.rs index 3f717bd105c3..aa2feeaad3a0 100644 --- a/node/network/dispute-distribution/src/metrics.rs +++ b/node/network/dispute-distribution/src/metrics.rs @@ -72,9 +72,12 @@ impl Metrics { } /// Statements have been imported. - pub fn on_imported(&self, label: &'static str) { + pub fn on_imported(&self, label: &'static str, num_requests: usize) { if let Some(metrics) = &self.0 { - metrics.imported_requests.with_label_values(&[label]).inc() + metrics + .imported_requests + .with_label_values(&[label]) + .inc_by(num_requests as u64) } } diff --git a/node/network/dispute-distribution/src/receiver/batches/batch.rs b/node/network/dispute-distribution/src/receiver/batches/batch.rs new file mode 100644 index 000000000000..eebed25ed790 --- /dev/null +++ b/node/network/dispute-distribution/src/receiver/batches/batch.rs @@ -0,0 +1,209 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +use std::{collections::HashMap, time::Instant}; + +use gum::CandidateHash; +use polkadot_node_network_protocol::{ + request_response::{incoming::OutgoingResponseSender, v1::DisputeRequest}, + PeerId, +}; +use polkadot_node_primitives::SignedDisputeStatement; +use polkadot_primitives::v2::{CandidateReceipt, ValidatorIndex}; + +use crate::receiver::{BATCH_COLLECTING_INTERVAL, MIN_KEEP_BATCH_ALIVE_VOTES}; + +use super::MAX_BATCH_LIFETIME; + +/// A batch of votes to be imported into the `dispute-coordinator`. +/// +/// Vote imports are way more efficient when performed in batches, hence we batch together incoming +/// votes until the rate of incoming votes falls below a threshold, then we import into the dispute +/// coordinator. +/// +/// A `Batch` keeps track of the votes to be imported and the current incoming rate, on rate update +/// it will "flush" in case the incoming rate dropped too low, preparing the import. +pub struct Batch { + /// The actual candidate this batch is concerned with. + candidate_receipt: CandidateReceipt, + + /// Cache of `CandidateHash` (candidate_receipt.hash()). + candidate_hash: CandidateHash, + + /// All valid votes received in this batch so far. + /// + /// We differentiate between valid and invalid votes, so we can detect (and drop) duplicates, + /// while still allowing validators to equivocate. + /// + /// Detecting and rejecting duplicates is crucial in order to effectively enforce + /// `MIN_KEEP_BATCH_ALIVE_VOTES` per `BATCH_COLLECTING_INTERVAL`. If we would count duplicates + /// here, the mechanism would be broken. + valid_votes: HashMap, + + /// All invalid votes received in this batch so far. + invalid_votes: HashMap, + + /// How many votes have been batched since the last tick/creation. + votes_batched_since_last_tick: u32, + + /// Expiry time for the batch. + /// + /// By this time the latest this batch will get flushed. + best_before: Instant, + + /// Requesters waiting for a response. + requesters: Vec<(PeerId, OutgoingResponseSender)>, +} + +/// Result of checking a batch every `BATCH_COLLECTING_INTERVAL`. +pub(super) enum TickResult { + /// Batch is still alive, please call `tick` again at the given `Instant`. + Alive(Batch, Instant), + /// Batch is done, ready for import! + Done(PreparedImport), +} + +/// Ready for import. +pub struct PreparedImport { + pub candidate_receipt: CandidateReceipt, + pub statements: Vec<(SignedDisputeStatement, ValidatorIndex)>, + /// Information about original requesters. + pub requesters: Vec<(PeerId, OutgoingResponseSender)>, +} + +impl From for PreparedImport { + fn from(batch: Batch) -> Self { + let Batch { + candidate_receipt, + valid_votes, + invalid_votes, + requesters: pending_responses, + .. + } = batch; + + let statements = valid_votes + .into_iter() + .chain(invalid_votes.into_iter()) + .map(|(index, statement)| (statement, index)) + .collect(); + + Self { candidate_receipt, statements, requesters: pending_responses } + } +} + +impl Batch { + /// Create a new empty batch based on the given `CandidateReceipt`. + /// + /// To create a `Batch` use Batches::find_batch`. + /// + /// Arguments: + /// + /// * `candidate_receipt` - The candidate this batch is meant to track votes for. + /// * `now` - current time stamp for calculating the first tick. + /// + /// Returns: A batch and the first `Instant` you are supposed to call `tick`. + pub(super) fn new(candidate_receipt: CandidateReceipt, now: Instant) -> (Self, Instant) { + let s = Self { + candidate_hash: candidate_receipt.hash(), + candidate_receipt, + valid_votes: HashMap::new(), + invalid_votes: HashMap::new(), + votes_batched_since_last_tick: 0, + best_before: Instant::now() + MAX_BATCH_LIFETIME, + requesters: Vec::new(), + }; + let next_tick = s.calculate_next_tick(now); + (s, next_tick) + } + + /// Receipt of the candidate this batch is batching votes for. + pub fn candidate_receipt(&self) -> &CandidateReceipt { + &self.candidate_receipt + } + + /// Add votes from a validator into the batch. + /// + /// The statements are supposed to be the valid and invalid statements received in a + /// `DisputeRequest`. + /// + /// The given `pending_response` is the corresponding response sender for responding to `peer`. + /// If at least one of the votes is new as far as this batch is concerned we record the + /// pending_response, for later use. In case both votes are known already, we return the + /// response sender as an `Err` value. + pub fn add_votes( + &mut self, + valid_vote: (SignedDisputeStatement, ValidatorIndex), + invalid_vote: (SignedDisputeStatement, ValidatorIndex), + peer: PeerId, + pending_response: OutgoingResponseSender, + ) -> Result<(), OutgoingResponseSender> { + debug_assert!(valid_vote.0.candidate_hash() == invalid_vote.0.candidate_hash()); + debug_assert!(valid_vote.0.candidate_hash() == &self.candidate_hash); + + let mut duplicate = true; + + if self.valid_votes.insert(valid_vote.1, valid_vote.0).is_none() { + self.votes_batched_since_last_tick += 1; + duplicate = false; + } + if self.invalid_votes.insert(invalid_vote.1, invalid_vote.0).is_none() { + self.votes_batched_since_last_tick += 1; + duplicate = false; + } + + if duplicate { + Err(pending_response) + } else { + self.requesters.push((peer, pending_response)); + Ok(()) + } + } + + /// Check batch for liveness. + /// + /// This function is supposed to be called at instants given at construction and as returned as + /// part of `TickResult`. + pub(super) fn tick(mut self, now: Instant) -> TickResult { + if self.votes_batched_since_last_tick >= MIN_KEEP_BATCH_ALIVE_VOTES && + now < self.best_before + { + // Still good: + let next_tick = self.calculate_next_tick(now); + // Reset counter: + self.votes_batched_since_last_tick = 0; + TickResult::Alive(self, next_tick) + } else { + TickResult::Done(PreparedImport::from(self)) + } + } + + /// Calculate when the next tick should happen. + /// + /// This will usually return `now + BATCH_COLLECTING_INTERVAL`, except if the lifetime of this batch + /// would exceed `MAX_BATCH_LIFETIME`. + /// + /// # Arguments + /// + /// * `now` - The current time. + fn calculate_next_tick(&self, now: Instant) -> Instant { + let next_tick = now + BATCH_COLLECTING_INTERVAL; + if next_tick < self.best_before { + next_tick + } else { + self.best_before + } + } +} diff --git a/node/network/dispute-distribution/src/receiver/batches/mod.rs b/node/network/dispute-distribution/src/receiver/batches/mod.rs new file mode 100644 index 000000000000..b343b55e0b04 --- /dev/null +++ b/node/network/dispute-distribution/src/receiver/batches/mod.rs @@ -0,0 +1,170 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +use std::{ + collections::{hash_map, HashMap}, + time::{Duration, Instant}, +}; + +use futures::future::pending; + +use polkadot_node_network_protocol::request_response::DISPUTE_REQUEST_TIMEOUT; +use polkadot_primitives::v2::{CandidateHash, CandidateReceipt}; + +use crate::{ + receiver::batches::{batch::TickResult, waiting_queue::PendingWake}, + LOG_TARGET, +}; + +pub use self::batch::{Batch, PreparedImport}; +use self::waiting_queue::WaitingQueue; + +use super::{ + error::{JfyiError, JfyiResult}, + BATCH_COLLECTING_INTERVAL, +}; + +/// A single batch (per candidate) as managed by `Batches`. +mod batch; + +/// Queue events in time and wait for them to become ready. +mod waiting_queue; + +/// Safe-guard in case votes trickle in real slow. +/// +/// If the batch life time exceeded the time the sender is willing to wait for a confirmation, we +/// would trigger pointless re-sends. +const MAX_BATCH_LIFETIME: Duration = DISPUTE_REQUEST_TIMEOUT.saturating_sub(Duration::from_secs(2)); + +/// Limit the number of batches that can be alive at any given time. +/// +/// Reasoning for this number, see guide. +pub const MAX_BATCHES: usize = 1000; + +/// Manage batches. +/// +/// - Batches can be found via `find_batch()` in order to add votes to them/check they exist. +/// - Batches can be checked for being ready for flushing in order to import contained votes. +pub struct Batches { + /// The batches we manage. + /// + /// Kept invariants: + /// For each entry in `batches`, there exists an entry in `waiting_queue` as well - we wait on + /// all batches! + batches: HashMap, + /// Waiting queue for waiting for batches to become ready for `tick`. + /// + /// Kept invariants by `Batches`: + /// For each entry in the `waiting_queue` there exists a corresponding entry in `batches`. + waiting_queue: WaitingQueue, +} + +/// A found batch is either really found or got created so it can be found. +pub enum FoundBatch<'a> { + /// Batch just got created. + Created(&'a mut Batch), + /// Batch already existed. + Found(&'a mut Batch), +} + +impl Batches { + /// Create new empty `Batches`. + pub fn new() -> Self { + debug_assert!( + MAX_BATCH_LIFETIME > BATCH_COLLECTING_INTERVAL, + "Unexpectedly low `MAX_BATCH_LIFETIME`, please check parameters." + ); + Self { batches: HashMap::new(), waiting_queue: WaitingQueue::new() } + } + + /// Find a particular batch. + /// + /// That is either find it, or we create it as reflected by the result `FoundBatch`. + pub fn find_batch( + &mut self, + candidate_hash: CandidateHash, + candidate_receipt: CandidateReceipt, + ) -> JfyiResult { + if self.batches.len() >= MAX_BATCHES { + return Err(JfyiError::MaxBatchLimitReached) + } + debug_assert!(candidate_hash == candidate_receipt.hash()); + let result = match self.batches.entry(candidate_hash) { + hash_map::Entry::Vacant(vacant) => { + let now = Instant::now(); + let (created, ready_at) = Batch::new(candidate_receipt, now); + let pending_wake = PendingWake { payload: candidate_hash, ready_at }; + self.waiting_queue.push(pending_wake); + FoundBatch::Created(vacant.insert(created)) + }, + hash_map::Entry::Occupied(occupied) => FoundBatch::Found(occupied.into_mut()), + }; + Ok(result) + } + + /// Wait for the next `tick` to check for ready batches. + /// + /// This function blocks (returns `Poll::Pending`) until at least one batch can be + /// checked for readiness meaning that `BATCH_COLLECTING_INTERVAL` has passed since the last + /// check for that batch or it reached end of life. + /// + /// If this `Batches` instance is empty (does not actually contain any batches), then this + /// function will always return `Poll::Pending`. + /// + /// Returns: A `Vec` of all `PreparedImport`s from batches that became ready. + pub async fn check_batches(&mut self) -> Vec { + let now = Instant::now(); + + let mut imports = Vec::new(); + + // Wait for at least one batch to become ready: + self.waiting_queue.wait_ready(now).await; + + // Process all ready entries: + while let Some(wake) = self.waiting_queue.pop_ready(now) { + let batch = self.batches.remove(&wake.payload); + debug_assert!( + batch.is_some(), + "Entries referenced in `waiting_queue` are supposed to exist!" + ); + let batch = match batch { + None => return pending().await, + Some(batch) => batch, + }; + match batch.tick(now) { + TickResult::Done(import) => { + gum::trace!( + target: LOG_TARGET, + candidate_hash = ?wake.payload, + "Batch became ready." + ); + imports.push(import); + }, + TickResult::Alive(old_batch, next_tick) => { + gum::trace!( + target: LOG_TARGET, + candidate_hash = ?wake.payload, + "Batch found to be still alive on check." + ); + let pending_wake = PendingWake { payload: wake.payload, ready_at: next_tick }; + self.waiting_queue.push(pending_wake); + self.batches.insert(wake.payload, old_batch); + }, + } + } + imports + } +} diff --git a/node/network/dispute-distribution/src/receiver/batches/waiting_queue.rs b/node/network/dispute-distribution/src/receiver/batches/waiting_queue.rs new file mode 100644 index 000000000000..995dc74d358f --- /dev/null +++ b/node/network/dispute-distribution/src/receiver/batches/waiting_queue.rs @@ -0,0 +1,204 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +use std::{cmp::Ordering, collections::BinaryHeap, time::Instant}; + +use futures::future::pending; +use futures_timer::Delay; + +/// Wait asynchronously for given `Instant`s one after the other. +/// +/// `PendingWake`s can be inserted and `WaitingQueue` makes `wait_ready()` to always wait for the +/// next `Instant` in the queue. +pub struct WaitingQueue { + /// All pending wakes we are supposed to wait on in order. + pending_wakes: BinaryHeap>, + /// Wait for next `PendingWake`. + timer: Option, +} + +/// Represents some event waiting to be processed at `ready_at`. +/// +/// This is an event in `WaitingQueue`. It provides an `Ord` instance, that sorts descending with +/// regard to `Instant` (so we get a `min-heap` with the earliest `Instant` at the top). +#[derive(Eq, PartialEq)] +pub struct PendingWake { + pub payload: Payload, + pub ready_at: Instant, +} + +impl WaitingQueue { + /// Get a new empty `WaitingQueue`. + /// + /// If you call `pop` on this queue immediately, it will always return `Poll::Pending`. + pub fn new() -> Self { + Self { pending_wakes: BinaryHeap::new(), timer: None } + } + + /// Push a `PendingWake`. + /// + /// The next call to `wait_ready` will make sure to wake soon enough to process that new event in a + /// timely manner. + pub fn push(&mut self, wake: PendingWake) { + self.pending_wakes.push(wake); + // Reset timer as it is potentially obsolete now: + self.timer = None; + } + + /// Pop the next ready item. + /// + /// This function does not wait, if nothing is ready right now as determined by the passed + /// `now` time stamp, this function simply returns `None`. + pub fn pop_ready(&mut self, now: Instant) -> Option> { + let is_ready = self.pending_wakes.peek().map_or(false, |p| p.ready_at <= now); + if is_ready { + Some(self.pending_wakes.pop().expect("We just peeked. qed.")) + } else { + None + } + } + + /// Don't pop, just wait until something is ready. + /// + /// Once this function returns `Poll::Ready(())` `pop_ready()` will return `Some`, if passed + /// the same `Instant`. + /// + /// Whether ready or not is determined based on the passed time stamp `now` which should be the + /// current time as returned by `Instant::now()` + /// + /// This function waits asynchronously for an item to become ready. If there is no more item, + /// this call will wait forever (return Poll::Pending without scheduling a wake). + pub async fn wait_ready(&mut self, now: Instant) { + if let Some(timer) = &mut self.timer { + // Previous timer was not done yet. + timer.await + } + + let next_waiting = self.pending_wakes.peek(); + let is_ready = next_waiting.map_or(false, |p| p.ready_at <= now); + if is_ready { + return + } + + self.timer = next_waiting.map(|p| Delay::new(p.ready_at.duration_since(now))); + match &mut self.timer { + None => return pending().await, + Some(timer) => timer.await, + } + } +} + +impl PartialOrd> for PendingWake { + fn partial_cmp(&self, other: &Self) -> Option { + Some(self.cmp(other)) + } +} + +impl Ord for PendingWake { + fn cmp(&self, other: &Self) -> Ordering { + // Reverse order for min-heap: + match other.ready_at.cmp(&self.ready_at) { + Ordering::Equal => other.payload.cmp(&self.payload), + o => o, + } + } +} +#[cfg(test)] +mod tests { + use std::{ + task::Poll, + time::{Duration, Instant}, + }; + + use assert_matches::assert_matches; + use futures::{future::poll_fn, pin_mut, Future}; + + use crate::LOG_TARGET; + + use super::{PendingWake, WaitingQueue}; + + #[test] + fn wait_ready_waits_for_earliest_event_always() { + sp_tracing::try_init_simple(); + let mut queue = WaitingQueue::new(); + let now = Instant::now(); + let start = now; + queue.push(PendingWake { payload: 1u32, ready_at: now + Duration::from_millis(3) }); + // Push another one in order: + queue.push(PendingWake { payload: 2u32, ready_at: now + Duration::from_millis(5) }); + // Push one out of order: + queue.push(PendingWake { payload: 0u32, ready_at: now + Duration::from_millis(1) }); + // Push another one at same timestamp (should become ready at the same time) + queue.push(PendingWake { payload: 10u32, ready_at: now + Duration::from_millis(1) }); + + futures::executor::block_on(async move { + // No time passed yet - nothing should be ready. + assert!(queue.pop_ready(now).is_none(), "No time has passed, nothing should be ready"); + + // Receive them in order at expected times: + queue.wait_ready(now).await; + gum::trace!(target: LOG_TARGET, "After first wait."); + + let now = start + Duration::from_millis(1); + assert!(Instant::now() - start >= Duration::from_millis(1)); + assert_eq!(queue.pop_ready(now).map(|p| p.payload), Some(0u32)); + // One more should be ready: + assert_eq!(queue.pop_ready(now).map(|p| p.payload), Some(10u32)); + assert!(queue.pop_ready(now).is_none(), "No more entry expected to be ready."); + + queue.wait_ready(now).await; + gum::trace!(target: LOG_TARGET, "After second wait."); + let now = start + Duration::from_millis(3); + assert!(Instant::now() - start >= Duration::from_millis(3)); + assert_eq!(queue.pop_ready(now).map(|p| p.payload), Some(1u32)); + assert!(queue.pop_ready(now).is_none(), "No more entry expected to be ready."); + + // Push in between wait: + poll_fn(|cx| { + let fut = queue.wait_ready(now); + pin_mut!(fut); + assert_matches!(fut.poll(cx), Poll::Pending); + Poll::Ready(()) + }) + .await; + queue.push(PendingWake { payload: 3u32, ready_at: start + Duration::from_millis(4) }); + + queue.wait_ready(now).await; + // Newly pushed element should have become ready: + gum::trace!(target: LOG_TARGET, "After third wait."); + let now = start + Duration::from_millis(4); + assert!(Instant::now() - start >= Duration::from_millis(4)); + assert_eq!(queue.pop_ready(now).map(|p| p.payload), Some(3u32)); + assert!(queue.pop_ready(now).is_none(), "No more entry expected to be ready."); + + queue.wait_ready(now).await; + gum::trace!(target: LOG_TARGET, "After fourth wait."); + let now = start + Duration::from_millis(5); + assert!(Instant::now() - start >= Duration::from_millis(5)); + assert_eq!(queue.pop_ready(now).map(|p| p.payload), Some(2u32)); + assert!(queue.pop_ready(now).is_none(), "No more entry expected to be ready."); + + // queue empty - should wait forever now: + poll_fn(|cx| { + let fut = queue.wait_ready(now); + pin_mut!(fut); + assert_matches!(fut.poll(cx), Poll::Pending); + Poll::Ready(()) + }) + .await; + }); + } +} diff --git a/node/network/dispute-distribution/src/receiver/error.rs b/node/network/dispute-distribution/src/receiver/error.rs index ce578cc8e0f9..4477335440d0 100644 --- a/node/network/dispute-distribution/src/receiver/error.rs +++ b/node/network/dispute-distribution/src/receiver/error.rs @@ -19,8 +19,10 @@ use fatality::Nested; +use gum::CandidateHash; use polkadot_node_network_protocol::{request_response::incoming, PeerId}; use polkadot_node_subsystem_util::runtime; +use polkadot_primitives::v2::AuthorityDiscoveryId; use crate::LOG_TARGET; @@ -35,8 +37,8 @@ pub enum Error { #[error("Retrieving next incoming request failed.")] IncomingRequest(#[from] incoming::Error), - #[error("Sending back response to peer {0} failed.")] - SendResponse(PeerId), + #[error("Sending back response to peers {0:#?} failed.")] + SendResponses(Vec), #[error("Changing peer's ({0}) reputation failed.")] SetPeerReputation(PeerId), @@ -44,16 +46,29 @@ pub enum Error { #[error("Dispute request with invalid signatures, from peer {0}.")] InvalidSignature(PeerId), - #[error("Import of dispute got canceled for peer {0} - import failed for some reason.")] - ImportCanceled(PeerId), + #[error("Received votes from peer {0} have been completely redundant.")] + RedundantMessage(PeerId), + + #[error("Import of dispute got canceled for candidate {0} - import failed for some reason.")] + ImportCanceled(CandidateHash), #[error("Peer {0} attempted to participate in dispute and is not a validator.")] NotAValidator(PeerId), + + #[error("Force flush for batch that could not be found attempted, candidate hash: {0}")] + ForceFlushBatchDoesNotExist(CandidateHash), + + // Should never happen in practice: + #[error("We needed to drop messages, because we reached limit on concurrent batches.")] + MaxBatchLimitReached, + + #[error("Authority {0} sent messages at a too high rate.")] + AuthorityFlooding(AuthorityDiscoveryId), } pub type Result = std::result::Result; -pub type JfyiErrorResult = std::result::Result; +pub type JfyiResult = std::result::Result; /// Utility for eating top level errors and log them. /// diff --git a/node/network/dispute-distribution/src/receiver/mod.rs b/node/network/dispute-distribution/src/receiver/mod.rs index c38ca2133f54..158c66e20655 100644 --- a/node/network/dispute-distribution/src/receiver/mod.rs +++ b/node/network/dispute-distribution/src/receiver/mod.rs @@ -15,21 +15,21 @@ // along with Polkadot. If not, see . use std::{ - collections::HashSet, num::NonZeroUsize, pin::Pin, task::{Context, Poll}, + time::Duration, }; use futures::{ channel::oneshot, - future::{poll_fn, BoxFuture}, + future::poll_fn, pin_mut, - stream::{FusedStream, FuturesUnordered, StreamExt}, - Future, FutureExt, Stream, + stream::{FuturesUnordered, StreamExt}, + Future, }; -use lru::LruCache; +use gum::CandidateHash; use polkadot_node_network_protocol::{ authority_discovery::AuthorityDiscovery, request_response::{ @@ -52,25 +52,47 @@ use crate::{ }; mod error; -use self::error::{log_error, JfyiError, JfyiErrorResult, Result}; + +/// Rate limiting queues for incoming requests by peers. +mod peer_queues; + +/// Batch imports together. +mod batches; + +use self::{ + batches::{Batches, FoundBatch, PreparedImport}, + error::{log_error, JfyiError, JfyiResult, Result}, + peer_queues::PeerQueues, +}; const COST_INVALID_REQUEST: Rep = Rep::CostMajor("Received message could not be decoded."); const COST_INVALID_SIGNATURE: Rep = Rep::Malicious("Signatures were invalid."); -const COST_INVALID_CANDIDATE: Rep = Rep::Malicious("Reported candidate was not available."); +const COST_INVALID_IMPORT: Rep = + Rep::Malicious("Import was deemed invalid by dispute-coordinator."); const COST_NOT_A_VALIDATOR: Rep = Rep::CostMajor("Reporting peer was not a validator."); +/// Mildly punish peers exceeding their rate limit. +/// +/// For honest peers this should rarely happen, but if it happens we would not want to disconnect +/// too quickly. Minor cost should suffice for disconnecting any real flooder. +const COST_APPARENT_FLOOD: Rep = Rep::CostMinor("Peer exceeded the rate limit."); -/// How many statement imports we want to issue in parallel: -pub const MAX_PARALLEL_IMPORTS: usize = 10; +/// How many votes must have arrived in the last `BATCH_COLLECTING_INTERVAL` +/// +/// in order for a batch to stay alive and not get flushed/imported to the dispute-coordinator. +/// +/// This ensures a timely import of batches. +#[cfg(not(test))] +pub const MIN_KEEP_BATCH_ALIVE_VOTES: u32 = 10; +#[cfg(test)] +pub const MIN_KEEP_BATCH_ALIVE_VOTES: u32 = 2; -const BANNED_PEERS_CACHE_SIZE: NonZeroUsize = match NonZeroUsize::new(MAX_PARALLEL_IMPORTS) { - Some(cap) => cap, - None => panic!("Banned peers cache size should not be 0."), -}; +/// Time we allow to pass for new votes to trickle in. +/// +/// See `MIN_KEEP_BATCH_ALIVE_VOTES` above. +/// Should be greater or equal to `RECEIVE_RATE_LIMIT` (there is no point in checking any faster). +pub const BATCH_COLLECTING_INTERVAL: Duration = Duration::from_millis(500); /// State for handling incoming `DisputeRequest` messages. -/// -/// This is supposed to run as its own task in order to easily impose back pressure on the incoming -/// request channel and at the same time to drop flood messages as fast as possible. pub struct DisputesReceiver { /// Access to session information. runtime: RuntimeInfo, @@ -81,18 +103,17 @@ pub struct DisputesReceiver { /// Channel to retrieve incoming requests from. receiver: IncomingRequestReceiver, + /// Rate limiting queue for each peer (only authorities). + peer_queues: PeerQueues, + + /// Currently active batches of imports per candidate. + batches: Batches, + /// Authority discovery service: authority_discovery: AD, - /// Imports currently being processed. - pending_imports: PendingImports, - - /// We keep record of the last banned peers. - /// - /// This is needed because once we ban a peer, we will very likely still have pending requests - /// in the incoming channel - we should not waste time recovering availability for those, as we - /// already know the peer is malicious. - banned_peers: LruCache, + /// Imports currently being processed by the `dispute-coordinator`. + pending_imports: FuturesUnordered, /// Log received requests. metrics: Metrics, @@ -106,36 +127,24 @@ enum MuxedMessage { /// /// - We need to make sure responses are actually sent (therefore we need to await futures /// promptly). - /// - We need to update `banned_peers` accordingly to the result. - ConfirmedImport(JfyiErrorResult<(PeerId, ImportStatementsResult)>), + /// - We need to punish peers whose import got rejected. + ConfirmedImport(ImportResult), /// A new request has arrived and should be handled. NewRequest(IncomingRequest), -} -impl MuxedMessage { - async fn receive( - pending_imports: &mut PendingImports, - pending_requests: &mut IncomingRequestReceiver, - ) -> Result { - poll_fn(|ctx| { - let next_req = pending_requests.recv(|| vec![COST_INVALID_REQUEST]); - pin_mut!(next_req); - if let Poll::Ready(r) = next_req.poll(ctx) { - return match r { - Err(e) => Poll::Ready(Err(incoming::Error::from(e).into())), - Ok(v) => Poll::Ready(Ok(Self::NewRequest(v))), - } - } - // In case of Ready(None) return `Pending` below - we want to wait for the next request - // in that case. - if let Poll::Ready(Some(v)) = pending_imports.poll_next_unpin(ctx) { - return Poll::Ready(Ok(Self::ConfirmedImport(v))) - } - Poll::Pending - }) - .await - } + /// Rate limit timer hit - is is time to process one row of messages. + /// + /// This is the result of calling `self.peer_queues.pop_reqs()`. + WakePeerQueuesPopReqs(Vec>), + + /// It is time to check batches. + /// + /// Every `BATCH_COLLECTING_INTERVAL` we check whether less than `MIN_KEEP_BATCH_ALIVE_VOTES` + /// new votes arrived, if so the batch is ready for import. + /// + /// This is the result of calling `self.batches.check_batches()`. + WakeCheckBatches(Vec), } impl DisputesReceiver @@ -159,11 +168,10 @@ where runtime, sender, receiver, + peer_queues: PeerQueues::new(), + batches: Batches::new(), authority_discovery, - pending_imports: PendingImports::new(), - // Size of MAX_PARALLEL_IMPORTS ensures we are going to immediately get rid of any - // malicious requests still pending in the incoming queue. - banned_peers: LruCache::new(BANNED_PEERS_CACHE_SIZE), + pending_imports: FuturesUnordered::new(), metrics, } } @@ -187,60 +195,132 @@ where } } - /// Actual work happening here. + /// Actual work happening here in three phases: + /// + /// 1. Receive and queue incoming messages until the rate limit timer hits. + /// 2. Do import/batching for the head of all queues. + /// 3. Check and flush any ready batches. async fn run_inner(&mut self) -> Result<()> { - let msg = MuxedMessage::receive(&mut self.pending_imports, &mut self.receiver).await?; + let msg = self.receive_message().await?; - let incoming = match msg { - // We need to clean up futures, to make sure responses are sent: - MuxedMessage::ConfirmedImport(m_bad) => { - self.ban_bad_peer(m_bad)?; - return Ok(()) + match msg { + MuxedMessage::NewRequest(req) => { + // Phase 1: + self.metrics.on_received_request(); + self.dispatch_to_queues(req).await?; }, - MuxedMessage::NewRequest(req) => req, - }; + MuxedMessage::WakePeerQueuesPopReqs(reqs) => { + // Phase 2: + for req in reqs { + // No early return - we cannot cancel imports of one peer, because the import of + // another failed: + match log_error(self.start_import_or_batch(req).await) { + Ok(()) => {}, + Err(fatal) => return Err(fatal.into()), + } + } + }, + MuxedMessage::WakeCheckBatches(ready_imports) => { + // Phase 3: + self.import_ready_batches(ready_imports).await; + }, + MuxedMessage::ConfirmedImport(import_result) => { + self.update_imported_requests_metrics(&import_result); + // Confirm imports to requesters/punish them on invalid imports: + send_responses_to_requesters(import_result).await?; + }, + } + + Ok(()) + } + + /// Receive one `MuxedMessage`. + /// + /// + /// Dispatching events to messages as they happen. + async fn receive_message(&mut self) -> Result { + poll_fn(|ctx| { + // In case of Ready(None), we want to wait for pending requests: + if let Poll::Ready(Some(v)) = self.pending_imports.poll_next_unpin(ctx) { + return Poll::Ready(Ok(MuxedMessage::ConfirmedImport(v?))) + } + + let rate_limited = self.peer_queues.pop_reqs(); + pin_mut!(rate_limited); + // We poll rate_limit before batches, so we don't unnecessarily delay importing to + // batches. + if let Poll::Ready(reqs) = rate_limited.poll(ctx) { + return Poll::Ready(Ok(MuxedMessage::WakePeerQueuesPopReqs(reqs))) + } - self.metrics.on_received_request(); + let ready_batches = self.batches.check_batches(); + pin_mut!(ready_batches); + if let Poll::Ready(ready_batches) = ready_batches.poll(ctx) { + return Poll::Ready(Ok(MuxedMessage::WakeCheckBatches(ready_batches))) + } - let peer = incoming.peer; + let next_req = self.receiver.recv(|| vec![COST_INVALID_REQUEST]); + pin_mut!(next_req); + if let Poll::Ready(r) = next_req.poll(ctx) { + return match r { + Err(e) => Poll::Ready(Err(incoming::Error::from(e).into())), + Ok(v) => Poll::Ready(Ok(MuxedMessage::NewRequest(v))), + } + } + Poll::Pending + }) + .await + } - // Only accept messages from validators: - if self.authority_discovery.get_authority_ids_by_peer_id(peer).await.is_none() { - incoming - .send_outgoing_response(OutgoingResponse { + /// Process incoming requests. + /// + /// - Check sender is authority + /// - Dispatch message to corresponding queue in `peer_queues`. + /// - If queue is full, drop message and change reputation of sender. + async fn dispatch_to_queues(&mut self, req: IncomingRequest) -> JfyiResult<()> { + let peer = req.peer; + // Only accept messages from validators, in case there are multiple `AuthorityId`s, we + // just take the first one. On session boundaries this might allow validators to double + // their rate limit for a short period of time, which seems acceptable. + let authority_id = match self + .authority_discovery + .get_authority_ids_by_peer_id(peer) + .await + .and_then(|s| s.into_iter().next()) + { + None => { + req.send_outgoing_response(OutgoingResponse { result: Err(()), reputation_changes: vec![COST_NOT_A_VALIDATOR], sent_feedback: None, }) - .map_err(|_| JfyiError::SendResponse(peer))?; - - return Err(JfyiError::NotAValidator(peer).into()) - } - - // Immediately drop requests from peers that already have requests in flight or have - // been banned recently (flood protection): - if self.pending_imports.peer_is_pending(&peer) || self.banned_peers.contains(&peer) { - gum::trace!( - target: LOG_TARGET, - ?peer, - "Dropping message from peer (banned/pending import)" - ); - return Ok(()) - } + .map_err(|_| JfyiError::SendResponses(vec![peer]))?; + return Err(JfyiError::NotAValidator(peer).into()) + }, + Some(auth_id) => auth_id, + }; - // Wait for a free slot: - if self.pending_imports.len() >= MAX_PARALLEL_IMPORTS { - // Wait for one to finish: - let r = self.pending_imports.next().await; - self.ban_bad_peer(r.expect("pending_imports.len() is greater 0. qed."))?; + // Queue request: + if let Err((authority_id, req)) = self.peer_queues.push_req(authority_id, req) { + req.send_outgoing_response(OutgoingResponse { + result: Err(()), + reputation_changes: vec![COST_APPARENT_FLOOD], + sent_feedback: None, + }) + .map_err(|_| JfyiError::SendResponses(vec![peer]))?; + return Err(JfyiError::AuthorityFlooding(authority_id)) } - - // All good - initiate import. - self.start_import(incoming).await + Ok(()) } - /// Start importing votes for the given request. - async fn start_import(&mut self, incoming: IncomingRequest) -> Result<()> { + /// Start importing votes for the given request or batch. + /// + /// Signature check and in case we already have an existing batch we import to that batch, + /// otherwise import to `dispute-coordinator` directly and open a batch. + async fn start_import_or_batch( + &mut self, + incoming: IncomingRequest, + ) -> Result<()> { let IncomingRequest { peer, payload, pending_response } = incoming; let info = self @@ -270,128 +350,172 @@ where Ok(votes) => votes, }; - let (pending_confirmation, confirmation_rx) = oneshot::channel(); - self.sender - .send_message(DisputeCoordinatorMessage::ImportStatements { - candidate_receipt, - session: valid_vote.0.session_index(), - statements: vec![valid_vote, invalid_vote], - pending_confirmation: Some(pending_confirmation), - }) - .await; + let candidate_hash = *valid_vote.0.candidate_hash(); + + match self.batches.find_batch(candidate_hash, candidate_receipt)? { + FoundBatch::Created(batch) => { + // There was no entry yet - start import immediately: + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?peer, + "No batch yet - triggering immediate import" + ); + let import = PreparedImport { + candidate_receipt: batch.candidate_receipt().clone(), + statements: vec![valid_vote, invalid_vote], + requesters: vec![(peer, pending_response)], + }; + self.start_import(import).await; + }, + FoundBatch::Found(batch) => { + gum::trace!(target: LOG_TARGET, ?candidate_hash, "Batch exists - batching request"); + let batch_result = + batch.add_votes(valid_vote, invalid_vote, peer, pending_response); + + if let Err(pending_response) = batch_result { + // We don't expect honest peers to send redundant votes within a single batch, + // as the timeout for retry is much higher. Still we don't want to punish the + // node as it might not be the node's fault. Some other (malicious) node could have been + // faster sending the same votes in order to harm the reputation of that honest + // node. Given that we already have a rate limit, if a validator chooses to + // waste available rate with redundant votes - so be it. The actual dispute + // resolution is unaffected. + gum::debug!( + target: LOG_TARGET, + ?peer, + "Peer sent completely redundant votes within a single batch - that looks fishy!", + ); + pending_response + .send_outgoing_response(OutgoingResponse { + // While we have seen duplicate votes, we cannot confirm as we don't + // know yet whether the batch is going to be confirmed, so we assume + // the worst. We don't want to push the pending response to the batch + // either as that would be unbounded, only limited by the rate limit. + result: Err(()), + reputation_changes: Vec::new(), + sent_feedback: None, + }) + .map_err(|_| JfyiError::SendResponses(vec![peer]))?; + return Err(From::from(JfyiError::RedundantMessage(peer))) + } + }, + } - self.pending_imports.push(peer, confirmation_rx, pending_response); Ok(()) } - /// Await an import and ban any misbehaving peers. - /// - /// In addition we report import metrics. - fn ban_bad_peer( - &mut self, - result: JfyiErrorResult<(PeerId, ImportStatementsResult)>, - ) -> JfyiErrorResult<()> { - match result? { - (_, ImportStatementsResult::ValidImport) => { - self.metrics.on_imported(SUCCEEDED); - }, - (bad_peer, ImportStatementsResult::InvalidImport) => { - self.metrics.on_imported(FAILED); - self.banned_peers.put(bad_peer, ()); - }, + /// Trigger import into the dispute-coordinator of ready batches (`PreparedImport`s). + async fn import_ready_batches(&mut self, ready_imports: Vec) { + for import in ready_imports { + self.start_import(import).await; } - Ok(()) } -} -/// Manage pending imports in a way that preserves invariants. -struct PendingImports { - /// Futures in flight. - futures: - FuturesUnordered)>>, - /// Peers whose requests are currently in flight. - peers: HashSet, -} + /// Start import and add response receiver to `pending_imports`. + async fn start_import(&mut self, import: PreparedImport) { + let PreparedImport { candidate_receipt, statements, requesters } = import; + let (session_index, candidate_hash) = match statements.iter().next() { + None => { + gum::debug!( + target: LOG_TARGET, + candidate_hash = ?candidate_receipt.hash(), + "Not importing empty batch" + ); + return + }, + Some(vote) => (vote.0.session_index(), vote.0.candidate_hash().clone()), + }; -impl PendingImports { - pub fn new() -> Self { - Self { futures: FuturesUnordered::new(), peers: HashSet::new() } - } + let (pending_confirmation, confirmation_rx) = oneshot::channel(); + self.sender + .send_message(DisputeCoordinatorMessage::ImportStatements { + candidate_receipt, + session: session_index, + statements, + pending_confirmation: Some(pending_confirmation), + }) + .await; - pub fn push( - &mut self, - peer: PeerId, - handled: oneshot::Receiver, - pending_response: OutgoingResponseSender, - ) { - self.peers.insert(peer); - self.futures.push( - async move { - let r = respond_to_request(peer, handled, pending_response).await; - (peer, r) - } - .boxed(), - ) - } + let pending = + PendingImport { candidate_hash, requesters, pending_response: confirmation_rx }; - /// Returns the number of contained futures. - pub fn len(&self) -> usize { - self.futures.len() + self.pending_imports.push(pending); } - /// Check whether a peer has a pending import. - pub fn peer_is_pending(&self, peer: &PeerId) -> bool { - self.peers.contains(peer) + fn update_imported_requests_metrics(&self, result: &ImportResult) { + let label = match result.result { + ImportStatementsResult::ValidImport => SUCCEEDED, + ImportStatementsResult::InvalidImport => FAILED, + }; + self.metrics.on_imported(label, result.requesters.len()); } } -impl Stream for PendingImports { - type Item = JfyiErrorResult<(PeerId, ImportStatementsResult)>; - fn poll_next(mut self: Pin<&mut Self>, ctx: &mut Context<'_>) -> Poll> { - match Pin::new(&mut self.futures).poll_next(ctx) { - Poll::Pending => Poll::Pending, - Poll::Ready(None) => Poll::Ready(None), - Poll::Ready(Some((peer, result))) => { - self.peers.remove(&peer); - Poll::Ready(Some(result.map(|r| (peer, r)))) - }, - } - } -} -impl FusedStream for PendingImports { - fn is_terminated(&self) -> bool { - self.futures.is_terminated() - } -} +async fn send_responses_to_requesters(import_result: ImportResult) -> JfyiResult<()> { + let ImportResult { requesters, result } = import_result; -// Future for `PendingImports` -// -// - Wait for import -// - Punish peer -// - Deliver result -async fn respond_to_request( - peer: PeerId, - handled: oneshot::Receiver, - pending_response: OutgoingResponseSender, -) -> JfyiErrorResult { - let result = handled.await.map_err(|_| JfyiError::ImportCanceled(peer))?; - - let response = match result { - ImportStatementsResult::ValidImport => OutgoingResponse { + let mk_response = match result { + ImportStatementsResult::ValidImport => || OutgoingResponse { result: Ok(DisputeResponse::Confirmed), reputation_changes: Vec::new(), sent_feedback: None, }, - ImportStatementsResult::InvalidImport => OutgoingResponse { + ImportStatementsResult::InvalidImport => || OutgoingResponse { result: Err(()), - reputation_changes: vec![COST_INVALID_CANDIDATE], + reputation_changes: vec![COST_INVALID_IMPORT], sent_feedback: None, }, }; - pending_response - .send_outgoing_response(response) - .map_err(|_| JfyiError::SendResponse(peer))?; + let mut sending_failed_for = Vec::new(); + for (peer, pending_response) in requesters { + if let Err(()) = pending_response.send_outgoing_response(mk_response()) { + sending_failed_for.push(peer); + } + } + + if !sending_failed_for.is_empty() { + Err(JfyiError::SendResponses(sending_failed_for)) + } else { + Ok(()) + } +} - Ok(result) +/// A future that resolves into an `ImportResult` when ready. +/// +/// This future is used on `dispute-coordinator` import messages for the oneshot response receiver +/// to: +/// - Keep track of concerned `CandidateHash` for reporting errors. +/// - Keep track of requesting peers so we can confirm the import/punish them on invalid imports. +struct PendingImport { + candidate_hash: CandidateHash, + requesters: Vec<(PeerId, OutgoingResponseSender)>, + pending_response: oneshot::Receiver, +} + +/// A `PendingImport` becomes an `ImportResult` once done. +struct ImportResult { + /// Requesters of that import. + requesters: Vec<(PeerId, OutgoingResponseSender)>, + /// Actual result of the import. + result: ImportStatementsResult, +} + +impl PendingImport { + async fn wait_for_result(&mut self) -> JfyiResult { + let result = (&mut self.pending_response) + .await + .map_err(|_| JfyiError::ImportCanceled(self.candidate_hash))?; + Ok(ImportResult { requesters: std::mem::take(&mut self.requesters), result }) + } +} + +impl Future for PendingImport { + type Output = JfyiResult; + fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { + let fut = self.wait_for_result(); + pin_mut!(fut); + fut.poll(cx) + } } diff --git a/node/network/dispute-distribution/src/receiver/peer_queues.rs b/node/network/dispute-distribution/src/receiver/peer_queues.rs new file mode 100644 index 000000000000..138b59c3f867 --- /dev/null +++ b/node/network/dispute-distribution/src/receiver/peer_queues.rs @@ -0,0 +1,141 @@ +// Copyright 2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +use std::collections::{hash_map::Entry, HashMap, VecDeque}; + +use futures::future::pending; +use futures_timer::Delay; +use polkadot_node_network_protocol::request_response::{v1::DisputeRequest, IncomingRequest}; +use polkadot_primitives::v2::AuthorityDiscoveryId; + +use crate::RECEIVE_RATE_LIMIT; + +/// How many messages we are willing to queue per peer (validator). +/// +/// The larger this value is, the larger bursts are allowed to be without us dropping messages. On +/// the flip side this gets allocated per validator, so for a size of 10 this will result +/// in `10_000 * size_of(IncomingRequest)` in the worst case. +/// +/// `PEER_QUEUE_CAPACITY` must not be 0 for obvious reasons. +#[cfg(not(test))] +pub const PEER_QUEUE_CAPACITY: usize = 10; +#[cfg(test)] +pub const PEER_QUEUE_CAPACITY: usize = 2; + +/// Queues for messages from authority peers for rate limiting. +/// +/// Invariants ensured: +/// +/// 1. No queue will ever have more than `PEER_QUEUE_CAPACITY` elements. +/// 2. There are no empty queues. Whenever a queue gets empty, it is removed. This way checking +/// whether there are any messages queued is cheap. +/// 3. As long as not empty, `pop_reqs` will, if called in sequence, not return `Ready` more often +/// than once for every `RECEIVE_RATE_LIMIT`, but it will always return Ready eventually. +/// 4. If empty `pop_reqs` will never return `Ready`, but will always be `Pending`. +pub struct PeerQueues { + /// Actual queues. + queues: HashMap>>, + + /// Delay timer for establishing the rate limit. + rate_limit_timer: Option, +} + +impl PeerQueues { + /// New empty `PeerQueues`. + pub fn new() -> Self { + Self { queues: HashMap::new(), rate_limit_timer: None } + } + + /// Push an incoming request for a given authority. + /// + /// Returns: `Ok(())` if succeeded, `Err((args))` if capacity is reached. + pub fn push_req( + &mut self, + peer: AuthorityDiscoveryId, + req: IncomingRequest, + ) -> Result<(), (AuthorityDiscoveryId, IncomingRequest)> { + let queue = match self.queues.entry(peer) { + Entry::Vacant(vacant) => vacant.insert(VecDeque::new()), + Entry::Occupied(occupied) => { + if occupied.get().len() >= PEER_QUEUE_CAPACITY { + return Err((occupied.key().clone(), req)) + } + occupied.into_mut() + }, + }; + queue.push_back(req); + + // We have at least one element to process - rate limit `timer` needs to exist now: + self.ensure_timer(); + Ok(()) + } + + /// Pop all heads and return them for processing. + /// + /// This gets one message from each peer that has sent at least one. + /// + /// This function is rate limited, if called in sequence it will not return more often than + /// every `RECEIVE_RATE_LIMIT`. + /// + /// NOTE: If empty this function will not return `Ready` at all, but will always be `Pending`. + pub async fn pop_reqs(&mut self) -> Vec> { + self.wait_for_timer().await; + + let mut heads = Vec::with_capacity(self.queues.len()); + let old_queues = std::mem::replace(&mut self.queues, HashMap::new()); + for (k, mut queue) in old_queues.into_iter() { + let front = queue.pop_front(); + debug_assert!(front.is_some(), "Invariant that queues are never empty is broken."); + + if let Some(front) = front { + heads.push(front); + } + if !queue.is_empty() { + self.queues.insert(k, queue); + } + } + + if !self.is_empty() { + // Still not empty - we should get woken at some point. + self.ensure_timer(); + } + + heads + } + + /// Whether or not all queues are empty. + pub fn is_empty(&self) -> bool { + self.queues.is_empty() + } + + /// Ensure there is an active `timer`. + /// + /// Checks whether one exists and if not creates one. + fn ensure_timer(&mut self) -> &mut Delay { + self.rate_limit_timer.get_or_insert(Delay::new(RECEIVE_RATE_LIMIT)) + } + + /// Wait for `timer` if it exists, or be `Pending` forever. + /// + /// Afterwards it gets set back to `None`. + async fn wait_for_timer(&mut self) { + match self.rate_limit_timer.as_mut() { + None => pending().await, + Some(timer) => timer.await, + } + self.rate_limit_timer = None; + } +} diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index 5312528b413e..09b902173ede 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -14,10 +14,21 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::collections::{hash_map::Entry, HashMap, HashSet}; - -use futures::channel::{mpsc, oneshot}; - +use std::{ + collections::{HashMap, HashSet}, + pin::Pin, + task::Poll, + time::Duration, +}; + +use futures::{ + channel::{mpsc, oneshot}, + future::poll_fn, + Future, +}; + +use futures_timer::Delay; +use indexmap::{map::Entry, IndexMap}; use polkadot_node_network_protocol::request_response::v1::DisputeRequest; use polkadot_node_primitives::{CandidateVotes, DisputeMessage, SignedDisputeStatement}; use polkadot_node_subsystem::{messages::DisputeCoordinatorMessage, overseer, ActiveLeavesUpdate}; @@ -28,22 +39,27 @@ use polkadot_primitives::v2::{CandidateHash, DisputeStatement, Hash, SessionInde /// /// It is going to spawn real tasks as it sees fit for getting the votes of the particular dispute /// out. +/// +/// As we assume disputes have a priority, we start sending for disputes in the order +/// `start_sender` got called. mod send_task; use send_task::SendTask; pub use send_task::TaskFinish; -/// Error and [`Result`] type for sender +/// Error and [`Result`] type for sender. mod error; pub use error::{Error, FatalError, JfyiError, Result}; use self::error::JfyiErrorResult; -use crate::{Metrics, LOG_TARGET}; +use crate::{Metrics, LOG_TARGET, SEND_RATE_LIMIT}; /// The `DisputeSender` keeps track of all ongoing disputes we need to send statements out. /// /// For each dispute a `SendTask` is responsible for sending to the concerned validators for that /// particular dispute. The `DisputeSender` keeps track of those tasks, informs them about new /// sessions/validator sets and cleans them up when they become obsolete. +/// +/// The unit of work for the `DisputeSender` is a dispute, represented by `SendTask`s. pub struct DisputeSender { /// All heads we currently consider active. active_heads: Vec, @@ -54,11 +70,16 @@ pub struct DisputeSender { active_sessions: HashMap, /// All ongoing dispute sendings this subsystem is aware of. - disputes: HashMap, + /// + /// Using an `IndexMap` so items can be iterated in the order of insertion. + disputes: IndexMap, /// Sender to be cloned for `SendTask`s. tx: mpsc::Sender, + /// Future for delaying too frequent creation of dispute sending tasks. + rate_limit: RateLimit, + /// Metrics for reporting stats about sent requests. metrics: Metrics, } @@ -70,19 +91,25 @@ impl DisputeSender { Self { active_heads: Vec::new(), active_sessions: HashMap::new(), - disputes: HashMap::new(), + disputes: IndexMap::new(), tx, + rate_limit: RateLimit::new(), metrics, } } /// Create a `SendTask` for a particular new dispute. + /// + /// This function is rate-limited by `SEND_RATE_LIMIT`. It will block if called too frequently + /// in order to maintain the limit. pub async fn start_sender( &mut self, ctx: &mut Context, runtime: &mut RuntimeInfo, msg: DisputeMessage, ) -> Result<()> { + self.rate_limit.limit().await; + let req: DisputeRequest = msg.into(); let candidate_hash = req.0.candidate_receipt.hash(); match self.disputes.entry(candidate_hash) { @@ -112,6 +139,8 @@ impl DisputeSender { /// - Get new authorities to send messages to. /// - Get rid of obsolete tasks and disputes. /// - Get dispute sending started in case we missed one for some reason (e.g. on node startup) + /// + /// This function ensures the `SEND_RATE_LIMIT`, therefore it might block. pub async fn update_leaves( &mut self, ctx: &mut Context, @@ -134,21 +163,38 @@ impl DisputeSender { let active_disputes: HashSet<_> = active_disputes.into_iter().map(|(_, c)| c).collect(); - // Cleanup obsolete senders: + // Cleanup obsolete senders (retain keeps order of remaining elements): self.disputes .retain(|candidate_hash, _| active_disputes.contains(candidate_hash)); + // Iterates in order of insertion: + let mut should_rate_limit = true; for dispute in self.disputes.values_mut() { if have_new_sessions || dispute.has_failed_sends() { - dispute + if should_rate_limit { + self.rate_limit.limit().await; + } + let sends_happened = dispute .refresh_sends(ctx, runtime, &self.active_sessions, &self.metrics) .await?; + // Only rate limit if we actually sent something out _and_ it was not just because + // of errors on previous sends. + // + // Reasoning: It would not be acceptable to slow down the whole subsystem, just + // because of a few bad peers having problems. It is actually better to risk + // running into their rate limit in that case and accept a minor reputation change. + should_rate_limit = sends_happened && have_new_sessions; } } - // This should only be non-empty on startup, but if not - we got you covered: + // This should only be non-empty on startup, but if not - we got you covered. + // + // Initial order will not be maintained in that case, but that should be fine as disputes + // recovered at startup will be relatively "old" anyway and we assume that no more than a + // third of the validators will go offline at any point in time anyway. for dispute in unknown_disputes { - self.start_send_for_dispute(ctx, runtime, dispute).await? + self.rate_limit.limit().await; + self.start_send_for_dispute(ctx, runtime, dispute).await?; } Ok(()) } @@ -317,6 +363,46 @@ impl DisputeSender { } } +/// Rate limiting logic. +/// +/// Suitable for the sending side. +struct RateLimit { + limit: Delay, +} + +impl RateLimit { + /// Create new `RateLimit` that is immediately ready. + fn new() -> Self { + // Start with an empty duration, as there has not been any previous call. + Self { limit: Delay::new(Duration::new(0, 0)) } + } + + /// Initialized with actual `SEND_RATE_LIMIT` duration. + fn new_limit() -> Self { + Self { limit: Delay::new(SEND_RATE_LIMIT) } + } + + /// Wait until ready and prepare for next call. + async fn limit(&mut self) { + // Wait for rate limit and add some logging: + poll_fn(|cx| { + let old_limit = Pin::new(&mut self.limit); + match old_limit.poll(cx) { + Poll::Pending => { + gum::debug!( + target: LOG_TARGET, + "Sending rate limit hit, slowing down requests" + ); + Poll::Pending + }, + Poll::Ready(()) => Poll::Ready(()), + } + }) + .await; + *self = Self::new_limit(); + } +} + /// Retrieve the currently active sessions. /// /// List is all indices of all active sessions together with the head that was used for the query. diff --git a/node/network/dispute-distribution/src/sender/send_task.rs b/node/network/dispute-distribution/src/sender/send_task.rs index a2b8cdcf7441..89b5c099bde9 100644 --- a/node/network/dispute-distribution/src/sender/send_task.rs +++ b/node/network/dispute-distribution/src/sender/send_task.rs @@ -42,13 +42,15 @@ use crate::{ /// Delivery status for a particular dispute. /// /// Keeps track of all the validators that have to be reached for a dispute. +/// +/// The unit of work for a `SendTask` is an authority/validator. pub struct SendTask { - /// The request we are supposed to get out to all parachain validators of the dispute's session + /// The request we are supposed to get out to all `parachain` validators of the dispute's session /// and to all current authorities. request: DisputeRequest, /// The set of authorities we need to send our messages to. This set will change at session - /// boundaries. It will always be at least the parachain validators of the session where the + /// boundaries. It will always be at least the `parachain` validators of the session where the /// dispute happened and the authorities of the current sessions as determined by active heads. deliveries: HashMap, @@ -100,6 +102,10 @@ impl TaskResult { #[overseer::contextbounds(DisputeDistribution, prefix = self::overseer)] impl SendTask { /// Initiates sending a dispute message to peers. + /// + /// Creation of new `SendTask`s is subject to rate limiting. As each `SendTask` will trigger + /// sending a message to each validator, hence for employing a per-peer rate limit, we need to + /// limit the construction of new `SendTask`s. pub async fn new( ctx: &mut Context, runtime: &mut RuntimeInfo, @@ -118,15 +124,22 @@ impl SendTask { /// /// This function is called at construction and should also be called whenever a session change /// happens and on a regular basis to ensure we are retrying failed attempts. + /// + /// This might resend to validators and is thus subject to any rate limiting we might want. + /// Calls to this function for different instances should be rate limited according to + /// `SEND_RATE_LIMIT`. + /// + /// Returns: `True` if this call resulted in new requests. pub async fn refresh_sends( &mut self, ctx: &mut Context, runtime: &mut RuntimeInfo, active_sessions: &HashMap, metrics: &Metrics, - ) -> Result<()> { + ) -> Result { let new_authorities = self.get_relevant_validators(ctx, runtime, active_sessions).await?; + // Note this will also contain all authorities for which sending failed previously: let add_authorities = new_authorities .iter() .filter(|a| !self.deliveries.contains_key(a)) @@ -141,12 +154,14 @@ impl SendTask { send_requests(ctx, self.tx.clone(), add_authorities, self.request.clone(), metrics) .await?; + let was_empty = new_statuses.is_empty(); + self.has_failed_sends = false; self.deliveries.extend(new_statuses.into_iter()); - Ok(()) + Ok(!was_empty) } - /// Whether any sends have failed since the last refreshed. + /// Whether any sends have failed since the last refresh. pub fn has_failed_sends(&self) -> bool { self.has_failed_sends } @@ -193,9 +208,8 @@ impl SendTask { /// Determine all validators that should receive the given dispute requests. /// - /// This is all parachain validators of the session the candidate occurred and all authorities + /// This is all `parachain` validators of the session the candidate occurred and all authorities /// of all currently active sessions, determined by currently active heads. - async fn get_relevant_validators( &self, ctx: &mut Context, @@ -293,7 +307,7 @@ async fn wait_response_task( gum::debug!( target: LOG_TARGET, %err, - "Failed to notify susystem about dispute sending result." + "Failed to notify subsystem about dispute sending result." ); } } diff --git a/node/network/dispute-distribution/src/tests/mock.rs b/node/network/dispute-distribution/src/tests/mock.rs index 08428d5852cc..aa2a4485d480 100644 --- a/node/network/dispute-distribution/src/tests/mock.rs +++ b/node/network/dispute-distribution/src/tests/mock.rs @@ -20,6 +20,7 @@ use std::{ collections::{HashMap, HashSet}, sync::Arc, + time::Instant, }; use async_trait::async_trait; @@ -38,6 +39,8 @@ use polkadot_primitives::v2::{ }; use polkadot_primitives_test_helpers::dummy_candidate_descriptor; +use crate::LOG_TARGET; + pub const MOCK_SESSION_INDEX: SessionIndex = 1; pub const MOCK_NEXT_SESSION_INDEX: SessionIndex = 2; pub const MOCK_VALIDATORS: [Sr25519Keyring; 6] = [ @@ -54,6 +57,8 @@ pub const MOCK_AUTHORITIES_NEXT_SESSION: [Sr25519Keyring; 2] = pub const FERDIE_INDEX: ValidatorIndex = ValidatorIndex(0); pub const ALICE_INDEX: ValidatorIndex = ValidatorIndex(1); +pub const BOB_INDEX: ValidatorIndex = ValidatorIndex(2); +pub const CHARLIE_INDEX: ValidatorIndex = ValidatorIndex(3); lazy_static! { @@ -148,12 +153,22 @@ pub async fn make_dispute_message( invalid_validator: ValidatorIndex, ) -> DisputeMessage { let candidate_hash = candidate.hash(); + let before_request = Instant::now(); let valid_vote = make_explicit_signed(MOCK_VALIDATORS[valid_validator.0 as usize], candidate_hash, true) .await; + gum::trace!( + "Passed time for valid vote: {:#?}", + Instant::now().saturating_duration_since(before_request) + ); + let before_request = Instant::now(); let invalid_vote = make_explicit_signed(MOCK_VALIDATORS[invalid_validator.0 as usize], candidate_hash, false) .await; + gum::trace!( + "Passed time for invald vote: {:#?}", + Instant::now().saturating_duration_since(before_request) + ); DisputeMessage::from_signed_statements( valid_vote, valid_validator, @@ -206,10 +221,15 @@ impl AuthorityDiscovery for MockAuthorityDiscovery { ) -> Option> { for (a, p) in self.peer_ids.iter() { if p == &peer_id { - return Some(HashSet::from([MOCK_VALIDATORS_DISCOVERY_KEYS - .get(&a) - .unwrap() - .clone()])) + let result = + HashSet::from([MOCK_VALIDATORS_DISCOVERY_KEYS.get(&a).unwrap().clone()]); + gum::trace!( + target: LOG_TARGET, + %peer_id, + ?result, + "Returning authority ids for peer id" + ); + return Some(result) } } diff --git a/node/network/dispute-distribution/src/tests/mod.rs b/node/network/dispute-distribution/src/tests/mod.rs index 8ef8286ea197..56cdd467fd62 100644 --- a/node/network/dispute-distribution/src/tests/mod.rs +++ b/node/network/dispute-distribution/src/tests/mod.rs @@ -17,12 +17,17 @@ //! Subsystem unit tests -use std::{collections::HashSet, sync::Arc, task::Poll, time::Duration}; +use std::{ + collections::HashSet, + sync::Arc, + task::Poll, + time::{Duration, Instant}, +}; use assert_matches::assert_matches; use futures::{ channel::{mpsc, oneshot}, - future::poll_fn, + future::{poll_fn, ready}, pin_mut, Future, SinkExt, }; use futures_timer::Delay; @@ -52,7 +57,7 @@ use polkadot_node_subsystem_test_helpers::{ mock::make_ferdie_keystore, subsystem_test_harness, TestSubsystemContextHandle, }; use polkadot_primitives::v2::{ - AuthorityDiscoveryId, CandidateHash, Hash, SessionIndex, SessionInfo, + AuthorityDiscoveryId, CandidateHash, CandidateReceipt, Hash, SessionIndex, SessionInfo, }; use self::mock::{ @@ -60,7 +65,11 @@ use self::mock::{ MOCK_AUTHORITY_DISCOVERY, MOCK_NEXT_SESSION_INDEX, MOCK_NEXT_SESSION_INFO, MOCK_SESSION_INDEX, MOCK_SESSION_INFO, }; -use crate::{DisputeDistributionSubsystem, Metrics, LOG_TARGET}; +use crate::{ + receiver::BATCH_COLLECTING_INTERVAL, + tests::mock::{BOB_INDEX, CHARLIE_INDEX}, + DisputeDistributionSubsystem, Metrics, LOG_TARGET, SEND_RATE_LIMIT, +}; /// Useful mock providers. pub mod mock; @@ -72,49 +81,108 @@ fn send_dispute_sends_dispute() { let relay_parent = Hash::random(); let candidate = make_candidate_receipt(relay_parent); - let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; - handle - .send(FromOrchestra::Communication { - msg: DisputeDistributionMessage::SendDispute(message.clone()), - }) - .await; + send_dispute(&mut handle, candidate, true).await; + conclude(&mut handle).await; + }; + test_harness(test); +} + +#[test] +fn send_honors_rate_limit() { + sp_tracing::try_init_simple(); + let test = |mut handle: TestSubsystemContextHandle, _req_cfg| async move { + let _ = handle_subsystem_startup(&mut handle, None).await; + + let relay_parent = Hash::random(); + let candidate = make_candidate_receipt(relay_parent); + let before_request = Instant::now(); + send_dispute(&mut handle, candidate, true).await; + // First send should not be rate limited: + gum::trace!("Passed time: {:#?}", Instant::now().saturating_duration_since(before_request)); + // This test would likely be flaky on CI: + //assert!(Instant::now().saturating_duration_since(before_request) < SEND_RATE_LIMIT); + + let relay_parent = Hash::random(); + let candidate = make_candidate_receipt(relay_parent); + send_dispute(&mut handle, candidate, false).await; + // Second send should be rate limited: + gum::trace!( + "Passed time for send_dispute: {:#?}", + Instant::now().saturating_duration_since(before_request) + ); + assert!(Instant::now() - before_request >= SEND_RATE_LIMIT); + conclude(&mut handle).await; + }; + test_harness(test); +} + +/// Helper for sending a new dispute to dispute-distribution sender and handling resulting messages. +async fn send_dispute( + handle: &mut TestSubsystemContextHandle, + candidate: CandidateReceipt, + needs_session_info: bool, +) { + let before_request = Instant::now(); + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + gum::trace!( + "Passed time for making message: {:#?}", + Instant::now().saturating_duration_since(before_request) + ); + let before_request = Instant::now(); + handle + .send(FromOrchestra::Communication { + msg: DisputeDistributionMessage::SendDispute(message.clone()), + }) + .await; + gum::trace!( + "Passed time for sending message: {:#?}", + Instant::now().saturating_duration_since(before_request) + ); + if needs_session_info { // Requests needed session info: assert_matches!( - handle.recv().await, - AllMessages::RuntimeApi( - RuntimeApiMessage::Request( - hash, - RuntimeApiRequest::SessionInfo(session_index, tx) + handle.recv().await, + AllMessages::RuntimeApi( + RuntimeApiMessage::Request( + hash, + RuntimeApiRequest::SessionInfo(session_index, tx) ) ) => { - assert_eq!(session_index, MOCK_SESSION_INDEX); - assert_eq!( - hash, - message.candidate_receipt().descriptor.relay_parent + assert_eq!(session_index, MOCK_SESSION_INDEX); + assert_eq!( + hash, + message.candidate_receipt().descriptor.relay_parent ); - tx.send(Ok(Some(MOCK_SESSION_INFO.clone()))).expect("Receiver should stay alive."); - } + tx.send(Ok(Some(MOCK_SESSION_INFO.clone()))).expect("Receiver should stay alive."); + } ); + } - let expected_receivers = { - let info = &MOCK_SESSION_INFO; - info.discovery_keys - .clone() - .into_iter() - .filter(|a| a != &Sr25519Keyring::Ferdie.public().into()) - .collect() - // All validators are also authorities in the first session, so we are - // done here. - }; - check_sent_requests(&mut handle, expected_receivers, true).await; - - conclude(&mut handle).await; + let expected_receivers = { + let info = &MOCK_SESSION_INFO; + info.discovery_keys + .clone() + .into_iter() + .filter(|a| a != &Sr25519Keyring::Ferdie.public().into()) + .collect() + // All validators are also authorities in the first session, so we are + // done here. }; - test_harness(test); + check_sent_requests(handle, expected_receivers, true).await; } +// Things to test: +// x Request triggers import +// x Subsequent imports get batched +// x Batch gets flushed. +// x Batch gets renewed. +// x Non authority requests get dropped. +// x Sending rate limit is honored. +// x Receiving rate limit is honored. +// x Duplicate requests on batch are dropped + #[test] -fn received_request_triggers_import() { +fn received_non_authorities_are_dropped() { let test = |mut handle: TestSubsystemContextHandle, mut req_cfg: RequestResponseConfig| async move { let req_tx = req_cfg.inbound_queue.as_mut().unwrap(); @@ -140,110 +208,271 @@ fn received_request_triggers_import() { assert_eq!(reputation_changes.len(), 1); } ); + conclude(&mut handle).await; + }; + test_harness(test); +} + +#[test] +fn received_request_triggers_import() { + let test = |mut handle: TestSubsystemContextHandle, + mut req_cfg: RequestResponseConfig| async move { + let req_tx = req_cfg.inbound_queue.as_mut().unwrap(); + let _ = handle_subsystem_startup(&mut handle, None).await; + + let relay_parent = Hash::random(); + let candidate = make_candidate_receipt(relay_parent); + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; - // Nested valid and invalid import. - // - // Nested requests from same peer should get dropped. For the invalid request even - // subsequent requests should get dropped. nested_network_dispute_request( &mut handle, req_tx, MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Alice), message.clone().into(), - ImportStatementsResult::InvalidImport, + ImportStatementsResult::ValidImport, true, - move |handle, req_tx, message| { - nested_network_dispute_request( - handle, - req_tx, - MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob), - message.clone().into(), - ImportStatementsResult::ValidImport, - false, - move |_, req_tx, message| async move { - // Another request from Alice should get dropped (request already in - // flight): - { - let rx_response = send_network_dispute_request( - req_tx, - MOCK_AUTHORITY_DISCOVERY - .get_peer_id_by_authority(Sr25519Keyring::Alice), - message.clone(), - ) - .await; - - assert_matches!( - rx_response.await, - Err(err) => { - gum::trace!( - target: LOG_TARGET, - ?err, - "Request got dropped - other request already in flight" - ); - } - ); - } - // Another request from Bob should get dropped (request already in - // flight): - { - let rx_response = send_network_dispute_request( - req_tx, - MOCK_AUTHORITY_DISCOVERY - .get_peer_id_by_authority(Sr25519Keyring::Bob), - message.clone(), - ) - .await; - - assert_matches!( - rx_response.await, - Err(err) => { - gum::trace!( - target: LOG_TARGET, - ?err, - "Request got dropped - other request already in flight" - ); - } - ); - } - }, - ) - }, + move |_handle, _req_tx, _message| ready(()), ) .await; - // Subsequent sends from Alice should fail (peer is banned): - { - let rx_response = send_network_dispute_request( - req_tx, - MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Alice), - message.clone().into(), - ) - .await; + gum::trace!(target: LOG_TARGET, "Concluding."); + conclude(&mut handle).await; + }; + test_harness(test); +} + +#[test] +fn batching_works() { + let test = |mut handle: TestSubsystemContextHandle, + mut req_cfg: RequestResponseConfig| async move { + let req_tx = req_cfg.inbound_queue.as_mut().unwrap(); + let _ = handle_subsystem_startup(&mut handle, None).await; + + let relay_parent = Hash::random(); + let candidate = make_candidate_receipt(relay_parent); + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + + // Initial request should get forwarded immediately: + nested_network_dispute_request( + &mut handle, + req_tx, + MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Alice), + message.clone().into(), + ImportStatementsResult::ValidImport, + true, + move |_handle, _req_tx, _message| ready(()), + ) + .await; + let mut rx_responses = Vec::new(); + + let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX).await; + let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob); + rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); + + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX).await; + let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Charlie); + rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); + gum::trace!("Imported 3 votes into batch"); + + Delay::new(BATCH_COLLECTING_INTERVAL).await; + gum::trace!("Batch should still be alive"); + // Batch should still be alive (2 new votes): + // Let's import two more votes, but fully duplicates - should not extend batch live. + gum::trace!("Importing duplicate votes"); + let mut rx_responses_duplicate = Vec::new(); + let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX).await; + let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob); + rx_responses_duplicate + .push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); + + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX).await; + let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Charlie); + rx_responses_duplicate + .push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); + + for rx_response in rx_responses_duplicate { assert_matches!( rx_response.await, - Err(err) => { + Ok(resp) => { + let sc_network::config::OutgoingResponse { + result, + reputation_changes, + sent_feedback: _, + } = resp; gum::trace!( target: LOG_TARGET, - ?err, - "Request got dropped - peer is banned." + ?reputation_changes, + "Received reputation changes." + ); + // We don't punish on that. + assert_eq!(reputation_changes.len(), 0); + + assert_matches!(result, Err(())); + } + ); + } + + Delay::new(BATCH_COLLECTING_INTERVAL).await; + gum::trace!("Batch should be ready now (only duplicates have been added)"); + + let pending_confirmation = assert_matches!( + handle.recv().await, + AllMessages::DisputeCoordinator( + DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: _, + session, + statements, + pending_confirmation: Some(pending_confirmation), + } + ) => { + assert_eq!(session, MOCK_SESSION_INDEX); + assert_eq!(statements.len(), 3); + pending_confirmation + } + ); + pending_confirmation.send(ImportStatementsResult::ValidImport).unwrap(); + + for rx_response in rx_responses { + assert_matches!( + rx_response.await, + Ok(resp) => { + let sc_network::config::OutgoingResponse { + result, + reputation_changes: _, + sent_feedback, + } = resp; + + let result = result.unwrap(); + let decoded = + ::decode(&mut result.as_slice()).unwrap(); + + assert!(decoded == DisputeResponse::Confirmed); + if let Some(sent_feedback) = sent_feedback { + sent_feedback.send(()).unwrap(); + } + gum::trace!( + target: LOG_TARGET, + "Valid import happened." ); + } ); } - // But should work fine for Bob: + gum::trace!(target: LOG_TARGET, "Concluding."); + conclude(&mut handle).await; + }; + test_harness(test); +} + +#[test] +fn receive_rate_limit_is_enforced() { + let test = |mut handle: TestSubsystemContextHandle, + mut req_cfg: RequestResponseConfig| async move { + let req_tx = req_cfg.inbound_queue.as_mut().unwrap(); + let _ = handle_subsystem_startup(&mut handle, None).await; + + let relay_parent = Hash::random(); + let candidate = make_candidate_receipt(relay_parent); + let message = make_dispute_message(candidate.clone(), ALICE_INDEX, FERDIE_INDEX).await; + + // Initial request should get forwarded immediately: nested_network_dispute_request( &mut handle, req_tx, - MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob), + MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Alice), message.clone().into(), ImportStatementsResult::ValidImport, - false, - |_, _, _| async {}, + true, + move |_handle, _req_tx, _message| ready(()), ) .await; + let mut rx_responses = Vec::new(); + + let peer = MOCK_AUTHORITY_DISCOVERY.get_peer_id_by_authority(Sr25519Keyring::Bob); + + let message = make_dispute_message(candidate.clone(), BOB_INDEX, FERDIE_INDEX).await; + rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); + + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, FERDIE_INDEX).await; + rx_responses.push(send_network_dispute_request(req_tx, peer, message.clone().into()).await); + + gum::trace!("Import one too much:"); + + let message = make_dispute_message(candidate.clone(), CHARLIE_INDEX, ALICE_INDEX).await; + let rx_response_flood = + send_network_dispute_request(req_tx, peer, message.clone().into()).await; + + assert_matches!( + rx_response_flood.await, + Ok(resp) => { + let sc_network::config::OutgoingResponse { + result: _, + reputation_changes, + sent_feedback: _, + } = resp; + gum::trace!( + target: LOG_TARGET, + ?reputation_changes, + "Received reputation changes." + ); + // Received punishment for flood: + assert_eq!(reputation_changes.len(), 1); + } + ); + gum::trace!("Need to wait 2 patch intervals:"); + Delay::new(BATCH_COLLECTING_INTERVAL).await; + Delay::new(BATCH_COLLECTING_INTERVAL).await; + + gum::trace!("Batch should be ready now"); + + let pending_confirmation = assert_matches!( + handle.recv().await, + AllMessages::DisputeCoordinator( + DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: _, + session, + statements, + pending_confirmation: Some(pending_confirmation), + } + ) => { + assert_eq!(session, MOCK_SESSION_INDEX); + // Only 3 as fourth was flood: + assert_eq!(statements.len(), 3); + pending_confirmation + } + ); + pending_confirmation.send(ImportStatementsResult::ValidImport).unwrap(); + + for rx_response in rx_responses { + assert_matches!( + rx_response.await, + Ok(resp) => { + let sc_network::config::OutgoingResponse { + result, + reputation_changes: _, + sent_feedback, + } = resp; + + let result = result.unwrap(); + let decoded = + ::decode(&mut result.as_slice()).unwrap(); + + assert!(decoded == DisputeResponse::Confirmed); + if let Some(sent_feedback) = sent_feedback { + sent_feedback.send(()).unwrap(); + } + gum::trace!( + target: LOG_TARGET, + "Valid import happened." + ); + + } + ); + } + gum::trace!(target: LOG_TARGET, "Concluding."); conclude(&mut handle).await; }; diff --git a/node/network/protocol/src/request_response/mod.rs b/node/network/protocol/src/request_response/mod.rs index 5f4740279ef6..d24537e219c7 100644 --- a/node/network/protocol/src/request_response/mod.rs +++ b/node/network/protocol/src/request_response/mod.rs @@ -121,6 +121,10 @@ const POV_RESPONSE_SIZE: u64 = MAX_POV_SIZE as u64 + 10_000; /// This is `MAX_CODE_SIZE` plus some additional space for protocol overhead. const STATEMENT_RESPONSE_SIZE: u64 = MAX_CODE_SIZE as u64 + 10_000; +/// We can have relative large timeouts here, there is no value of hitting a +/// timeout as we want to get statements through to each node in any case. +pub const DISPUTE_REQUEST_TIMEOUT: Duration = Duration::from_secs(12); + impl Protocol { /// Get a configuration for a given Request response protocol. /// @@ -194,9 +198,7 @@ impl Protocol { /// Responses are just confirmation, in essence not even a bit. So 100 seems /// plenty. max_response_size: 100, - /// We can have relative large timeouts here, there is no value of hitting a - /// timeout as we want to get statements through to each node in any case. - request_timeout: Duration::from_secs(12), + request_timeout: DISPUTE_REQUEST_TIMEOUT, inbound_queue: Some(tx), }, }; diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md b/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md index b63ea2bdcbf0..6b8e5ec03cf4 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-distribution.md @@ -15,6 +15,13 @@ This design should result in a protocol that is: ## Protocol +Distributing disputes needs to be a reliable protocol. We would like to make as +sure as possible that our vote got properly delivered to all concerned +validators. For this to work, this subsystem won't be gossip based, but instead +will use a request/response protocol for application level confirmations. The +request will be the payload (the actual votes/statements), the response will +be the confirmation. See [below][#wire-format]. + ### Input [`DisputeDistributionMessage`][DisputeDistributionMessage] @@ -107,16 +114,7 @@ struct VotesResponse { } ``` -## Functionality - -Distributing disputes needs to be a reliable protocol. We would like to make as -sure as possible that our vote got properly delivered to all concerned -validators. For this to work, this subsystem won't be gossip based, but instead -will use a request/response protocol for application level confirmations. The -request will be the payload (the actual votes/statements), the response will -be the confirmation. See [above][#wire-format]. - -### Starting a Dispute +## Starting a Dispute A dispute is initiated once a node sends the first `DisputeRequest` wire message, which must contain an "invalid" vote and a "valid" vote. @@ -132,7 +130,7 @@ conflicting votes available, hence we have a valid dispute. Nodes will still need to check whether the disputing votes are somewhat current and not some stale ones. -### Participating in a Dispute +## Participating in a Dispute Upon receiving a `DisputeRequest` message, a dispute distribution will trigger the import of the received votes via the dispute coordinator @@ -144,13 +142,13 @@ except that if the local node deemed the candidate valid, the `SendDispute` message will contain a valid vote signed by our node and will contain the initially received `Invalid` vote. -Note, that we rely on the coordinator to check availability for spam protection -(see below). +Note, that we rely on `dispute-coordinator` to check validity of a dispute for spam +protection (see below). -### Sending of messages +## Sending of messages Starting and participating in a dispute are pretty similar from the perspective -of dispute distribution. Once we receive a `SendDispute` message we try to make +of dispute distribution. Once we receive a `SendDispute` message, we try to make sure to get the data out. We keep track of all the parachain validators that should see the message, which are all the parachain validators of the session where the dispute happened as they will want to participate in the dispute. In @@ -159,114 +157,185 @@ session (which might be the same or not and may change during the dispute). Those authorities will not participate in the dispute, but need to see the statements so they can include them in blocks. -We keep track of connected parachain validators and authorities and will issue -warnings in the logs if connected nodes are less than two thirds of the -corresponding sets. We also only consider a message transmitted, once we -received a confirmation message. If not, we will keep retrying getting that -message out as long as the dispute is deemed alive. To determine whether a -dispute is still alive we will issue a +### Reliability + +We only consider a message transmitted, once we received a confirmation message. +If not, we will keep retrying getting that message out as long as the dispute is +deemed alive. To determine whether a dispute is still alive we will ask the +`dispute-coordinator` for a list of all still active disputes via a `DisputeCoordinatorMessage::ActiveDisputes` message before each retry run. Once a dispute is no longer live, we will clean up the state accordingly. -### Reception & Spam Considerations - -Because we are not forwarding foreign statements, spam is less of an issue in -comparison to gossip based systems. Rate limiting should be implemented at the -substrate level, see -[#7750](https://github.com/paritytech/substrate/issues/7750). Still we should -make sure that it is not possible via spamming to prevent a dispute concluding -or worse from getting noticed. - -Considered attack vectors: - -1. Invalid disputes (candidate does not exist) could make us - run out of resources. E.g. if we recorded every statement, we could run out - of disk space eventually. -2. An attacker can just flood us with notifications on any notification - protocol, assuming flood protection is not effective enough, our unbounded - buffers can fill up and we will run out of memory eventually. -3. An attacker could participate in a valid dispute, but send its votes multiple - times. -4. Attackers could spam us at a high rate with invalid disputes. Our incoming - queue of requests could get monopolized by those malicious requests and we - won't be able to import any valid disputes and we could run out of resources, - if we tried to process them all in parallel. - -For tackling 1, we make sure to not occupy resources before we don't know a -candidate is available. So we will not record statements to disk until we -recovered availability for the candidate or know by some other means that the -dispute is legit. - -For 2, we will pick up on any dispute on restart, so assuming that any realistic -memory filling attack will take some time, we should be able to participate in a -dispute under such attacks. - -Importing/discarding redundant votes should be pretty quick, so measures with -regards to 4 should suffice to prevent 3, from doing any real harm. - -For 4, full monopolization of the incoming queue should not be possible assuming -substrate handles incoming requests in a somewhat fair way. Still we want some -defense mechanisms, at the very least we need to make sure to not exhaust -resources. - -The dispute coordinator will notify us on import about unavailable candidates or -otherwise invalid imports and we can disconnect from such peers/decrease their -reputation drastically. This alone should get us quite far with regards to queue -monopolization, as availability recovery is expected to fail relatively quickly -for unavailable data. - -Still if those spam messages come at a very high rate, we might still run out of -resources if we immediately call `DisputeCoordinatorMessage::ImportStatements` -on each one of them. Secondly with our assumption of 1/3 dishonest validators, -getting rid of all of them will take some time, depending on reputation timeouts -some of them might even be able to reconnect eventually. - -To mitigate those issues we will process dispute messages with a maximum -parallelism `N`. We initiate import processes for up to `N` candidates in -parallel. Once we reached `N` parallel requests we will start back pressuring on -the incoming requests. This saves us from resource exhaustion. - -To reduce impact of malicious nodes further, we can keep track from which nodes the -currently importing statements came from and will drop requests from nodes that -already have imports in flight. - -Honest nodes are not expected to send dispute statements at a high rate, but -even if they did: - -- we will import at least the first one and if it is valid it will trigger a - dispute, preventing finality. -- Chances are good that the first sent candidate from a peer is indeed the - oldest one (if they differ in age at all). -- for the dropped request any honest node will retry sending. -- there will be other nodes notifying us about that dispute as well. -- honest votes have a speed advantage on average. Apart from the very first - dispute statement for a candidate, which might cause the availability recovery - process, imports of honest votes will be super fast, while for spam imports - they will always take some time as we have to wait for availability to fail. - -So this general rate limit, that we drop requests from same peers if they come -faster than we can import the statements should not cause any problems for -honest nodes and is in their favor. - -Size of `N`: The larger `N` the better we can handle distributed flood attacks -(see previous paragraph), but we also get potentially more availability recovery -processes happening at the same time, which slows down the individual processes. -And we rather want to have one finish quickly than lots slowly at the same time. -On the other hand, valid disputes are expected to be rare, so if we ever exhaust -`N` it is very likely that this is caused by spam and spam recoveries don't cost -too much bandwidth due to empty responses. - -Considering that an attacker would need to attack many nodes in parallel to have -any effect, an `N` of 10 seems to be a good compromise. For honest requests, most -of those imports will likely concern the same candidate, and for dishonest ones -we get to disconnect from up to ten colluding adversaries at a time. - -For the size of the channel for incoming requests: Due to dropping of repeated -requests from same nodes we can make the channel relatively large without fear -of lots of spam requests sitting there wasting our time, even after we already -blocked a peer. For valid disputes, incoming requests can become bursty. On the -other hand we will also be very quick in processing them. A channel size of 100 -requests seems plenty and should be able to handle bursts adequately. +### Order + +We assume `SendDispute` messages are coming in an order of importance, hence +`dispute-distribution` will make sure to send out network messages in the same +order, even on retry. + +### Rate Limit + +For spam protection (see below), we employ an artificial rate limiting on sending +out messages in order to not hit the rate limit at the receiving side, which +would result in our messages getting dropped and our reputation getting reduced. + +## Reception + +As we shall see the receiving side is mostly about handling spam and ensuring +the dispute-coordinator learns about disputes as fast as possible. + +Goals for the receiving side: + +1. Get new disputes to the dispute-coordinator as fast as possible, so + prioritization can happen properly. +2. Batch votes per disputes as much as possible for good import performance. +3. Prevent malicious nodes exhausting node resources by sending lots of messages. +4. Prevent malicious nodes from sending so many messages/(fake) disputes, + preventing us from concluding good ones. +5. Limit ability of malicious nodes of delaying the vote import due to batching + logic. + +Goal 1 and 2 seem to be conflicting, but an easy compromise is possible: When +learning about a new dispute, we will import the vote immediately, making the +dispute coordinator aware and also getting immediate feedback on the validity. +Then if valid we can batch further incoming votes, with less time constraints as +the dispute-coordinator already knows about the dispute. + +Goal 3 and 4 are obviously very related and both can easily be solved via rate +limiting as we shall see below. Rate limits should already be implemented at the +substrate level, but [are not](https://github.com/paritytech/substrate/issues/7750) +at the time of writing. But even if they were, the enforced substrate limits would +likely not be configurable and thus would still be to high for our needs as we can +rely on the following observations: + +1. Each honest validator will only send one message (apart from duplicates on + timeout) per candidate/dispute. +2. An honest validator needs to fully recover availability and validate the + candidate for casting a vote. + +With these two observations, we can conclude that honest validators will usually +not send messages at a high rate. We can therefore enforce conservative rate +limits and thus minimize harm spamming malicious nodes can have. + +Before we dive into how rate limiting solves all spam issues elegantly, let's +discuss that honest behaviour further: + +What about session changes? Here we might have to inform a new validator set of +lots of already existing disputes at once. + +With observation 1) and a rate limit that is per peer, we are still good: + +Let's assume a rate limit of one message per 200ms per sender. This means 5 +messages from each validator per second. 5 messages means 5 disputes! +Conclusively, we will be able to conclude 5 disputes per second - no matter what +malicious actors are doing. This is assuming dispute messages are sent ordered, +but even if not perfectly ordered: On average it will be 5 disputes per second. + +This is good enough! All those disputes are valid ones and will result in +slashing and disabling of validators. Let's assume all of them conclude `valid`, +and we disable validators only after 100 raised concluding valid disputes, we +would still start disabling misbehaving validators in only 20 seconds. + +One could also think that in addition participation is expected to take longer, +which means on average we can import/conclude disputes faster than they are +generated - regardless of dispute spam. Unfortunately this is not necessarily +true: There might be parachains with very light load where recovery and +validation can be accomplished very quickly - maybe faster than we can import +those disputes. + +This is probably an argument for not imposing a too low rate limit, although the +issue is more general: Even without any rate limit, if an attacker generates +disputes at a very high rate, nodes will be having trouble keeping participation +up, hence the problem should be mitigated at a [more fundamental +layer](https://github.com/paritytech/polkadot/issues/5898). + +For nodes that have been offline for a while, the same argument as for session +changes holds, but matters even less: We assume 2/3 of nodes to be online, so +even if the worst case 1/3 offline happens and they could not import votes fast +enough (as argued above, they in fact can) it would not matter for consensus. + +### Rate Limiting + +As suggested previously, rate limiting allows to mitigate all threats that come +from malicious actors trying to overwhelm the system in order to get away without +a slash, when it comes to dispute-distribution. In this section we will explain +how in greater detail. + +The idea is to open a queue with limited size for each peer. We will process +incoming messages as fast as we can by doing the following: + +1. Check that the sending peer is actually a valid authority - otherwise drop + message and decrease reputation/disconnect. +2. Put message on the peer's queue, if queue is full - drop it. + +Every `RATE_LIMIT` seconds (or rather milliseconds), we pause processing +incoming requests to go a full circle and process one message from each queue. +Processing means `Batching` as explained in the next section. + +### Batching + +To achieve goal 2 we will batch incoming votes/messages together before passing +them on as a single batch to the `dispute-coordinator`. To adhere to goal 1 as +well, we will do the following: + +1. For an incoming message, we check whether we have an existing batch for that + candidate, if not we import directly to the dispute-coordinator, as we have + to assume this is concerning a new dispute. +2. We open a batch and start collecting incoming messages for that candidate, + instead of immediately forwarding. +4. We keep collecting votes in the batch until we receive less than + `MIN_KEEP_BATCH_ALIVE_VOTES` unique votes in the last `BATCH_COLLECTING_INTERVAL`. This is + important to accommodate for goal 5 and also 3. +5. We send the whole batch to the dispute-coordinator. + +This together with rate limiting explained above ensures we will be able to +process valid disputes: We can limit the number of simultaneous existing batches +to some high value, but can be rather certain that this limit will never be +reached - hence we won't drop valid disputes: + +Let's assume `MIN_KEEP_BATCH_ALIVE_VOTES` is 10, `BATCH_COLLECTING_INTERVAL` +is `500ms` and above `RATE_LIMIT` is `100ms`. 1/3 of validators are malicious, +so for 1000 this means around 330 malicious actors worst case. + +All those actors can send a message every `100ms`, that is 10 per second. This +means at the begining of an attack they can open up around 3300 batches. Each +containing two votes. So memory usage is still negligible. In reality it is even +less, as we also demand 10 new votes to trickle in per batch in order to keep it +alive, every `500ms`. Hence for the first second, each batch requires 20 votes +each. Each message is 2 votes, so this means 10 messages per batch. Hence to +keep those batches alive 10 attackers are needed for each batch. This reduces +the number of opened batches by a factor of 10: So we only have 330 batches in 1 +second - each containing 20 votes. + +The next second: In order to further grow memory usage, attackers have to +maintain 10 messages per batch and second. Number of batches equals the number +of attackers, each has 10 messages per second, all are needed to maintain the +batches in memory. Therefore we have a hard cap of around 330 (number of +malicious nodes) open batches. Each can be filled with number of malicious +actor's votes. So 330 batches with each 330 votes: Let's assume approximately 100 +bytes per signature/vote. This results in a worst case memory usage of 330 * 330 +* 100 ~= 10 MiB. + +For 10_000 validators, we are already in the Gigabyte range, which means that +with a validator set that large we might want to be more strict with the rate limit or +require a larger rate of incoming votes per batch to keep them alive. + +For a thousand validators a limit on batches of around 1000 should never be +reached in practice. Hence due to rate limiting we have a very good chance to +not ever having to drop a potential valid dispute due to some resource limit. + +Further safe guards are possible: The dispute-coordinator actually +confirms/denies imports. So once we receive a denial by the dispute-coordinator +for the initial imported votes, we can opt into flushing the batch immediately +and importing the votes. This swaps memory usage for more CPU usage, but if that +import is deemed invalid again we can immediately decrease the reputation of the +sending peers, so this should be a net win. For the time being we punt on this +for simplicity. + +Instead of filling batches to maximize memory usage, attackers could also try to +overwhelm the dispute coordinator by only sending votes for new candidates all +the time. This attack vector is mitigated also by above rate limit and +decreasing the peer's reputation on denial of the invalid imports by the +coordinator. ### Node Startup From c913107a84bb60a70d8d514091631730cbba3cd2 Mon Sep 17 00:00:00 2001 From: Robert Klotzner Date: Tue, 4 Oct 2022 18:47:52 +0200 Subject: [PATCH 034/211] Add unknown words (#6105) --- scripts/ci/gitlab/lingua.dic | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/gitlab/lingua.dic b/scripts/ci/gitlab/lingua.dic index ea2da595908e..3add6a276cf0 100644 --- a/scripts/ci/gitlab/lingua.dic +++ b/scripts/ci/gitlab/lingua.dic @@ -138,6 +138,7 @@ KYC/M lib libp2p lifecycle/MS +liveness lookahead/MS lookup/MS LRU @@ -222,6 +223,7 @@ redhat/M register/CD relayer repo/MS +requesters reservable responder/SM retriability From edd6499e3220c2a646f2a693108c1084fc6a92ff Mon Sep 17 00:00:00 2001 From: Chris Sosnin <48099298+slumber@users.noreply.github.com> Date: Wed, 5 Oct 2022 11:48:50 +0400 Subject: [PATCH 035/211] Buffered connection management for collator-protocol (#6022) * Extract metrics into a separate module * Introduce validators buffer * Integrate buffer into the subsystem * Only reconnect on new advertisements * Test * comma * doc comment * Make capacity buffer compile time non-zero * Add doc comments * nits * remove derives * review * better naming * check timeout * Extract interval stream into lib * Ensure collator disconnects after timeout * spellcheck * rename buf * Remove double interval * Add a log on timeout * Cleanup buffer on timeout --- Cargo.lock | 5 +- node/network/collator-protocol/Cargo.toml | 1 + .../src/collator_side/metrics.rs | 123 +++++++ .../src/collator_side/mod.rs | 254 +++++++------- .../src/collator_side/tests.rs | 116 ++++++- .../src/collator_side/validators_buffer.rs | 317 ++++++++++++++++++ node/network/collator-protocol/src/lib.rs | 27 +- .../src/validator_side/mod.rs | 29 +- 8 files changed, 707 insertions(+), 165 deletions(-) create mode 100644 node/network/collator-protocol/src/collator_side/metrics.rs create mode 100644 node/network/collator-protocol/src/collator_side/validators_buffer.rs diff --git a/Cargo.lock b/Cargo.lock index cb59e04104f2..015056f42a39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -555,9 +555,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitvec" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1489fcb93a5bb47da0462ca93ad252ad6af2145cce58d10d46a83931ba9f016b" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", "radium", @@ -6290,6 +6290,7 @@ version = "0.9.29" dependencies = [ "always-assert", "assert_matches", + "bitvec", "env_logger 0.9.0", "fatality", "futures", diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index df9e75c9e951..e089719106b5 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" [dependencies] always-assert = "0.1.2" +bitvec = { version = "1.0.1", default-features = false, features = ["alloc"] } futures = "0.3.21" futures-timer = "3" gum = { package = "tracing-gum", path = "../../gum" } diff --git a/node/network/collator-protocol/src/collator_side/metrics.rs b/node/network/collator-protocol/src/collator_side/metrics.rs new file mode 100644 index 000000000000..85e00406b9ba --- /dev/null +++ b/node/network/collator-protocol/src/collator_side/metrics.rs @@ -0,0 +1,123 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +use polkadot_node_subsystem_util::metrics::{self, prometheus}; + +#[derive(Clone, Default)] +pub struct Metrics(Option); + +impl Metrics { + pub fn on_advertisment_made(&self) { + if let Some(metrics) = &self.0 { + metrics.advertisements_made.inc(); + } + } + + pub fn on_collation_sent_requested(&self) { + if let Some(metrics) = &self.0 { + metrics.collations_send_requested.inc(); + } + } + + pub fn on_collation_sent(&self) { + if let Some(metrics) = &self.0 { + metrics.collations_sent.inc(); + } + } + + /// Provide a timer for `process_msg` which observes on drop. + pub fn time_process_msg(&self) -> Option { + self.0.as_ref().map(|metrics| metrics.process_msg.start_timer()) + } + + /// Provide a timer for `distribute_collation` which observes on drop. + pub fn time_collation_distribution( + &self, + label: &'static str, + ) -> Option { + self.0.as_ref().map(|metrics| { + metrics.collation_distribution_time.with_label_values(&[label]).start_timer() + }) + } +} + +#[derive(Clone)] +struct MetricsInner { + advertisements_made: prometheus::Counter, + collations_sent: prometheus::Counter, + collations_send_requested: prometheus::Counter, + process_msg: prometheus::Histogram, + collation_distribution_time: prometheus::HistogramVec, +} + +impl metrics::Metrics for Metrics { + fn try_register( + registry: &prometheus::Registry, + ) -> std::result::Result { + let metrics = MetricsInner { + advertisements_made: prometheus::register( + prometheus::Counter::new( + "polkadot_parachain_collation_advertisements_made_total", + "A number of collation advertisements sent to validators.", + )?, + registry, + )?, + collations_send_requested: prometheus::register( + prometheus::Counter::new( + "polkadot_parachain_collations_sent_requested_total", + "A number of collations requested to be sent to validators.", + )?, + registry, + )?, + collations_sent: prometheus::register( + prometheus::Counter::new( + "polkadot_parachain_collations_sent_total", + "A number of collations sent to validators.", + )?, + registry, + )?, + process_msg: prometheus::register( + prometheus::Histogram::with_opts( + prometheus::HistogramOpts::new( + "polkadot_parachain_collator_protocol_collator_process_msg", + "Time spent within `collator_protocol_collator::process_msg`", + ) + .buckets(vec![ + 0.001, 0.002, 0.005, 0.01, 0.025, 0.05, 0.1, 0.15, 0.25, 0.35, 0.5, 0.75, + 1.0, + ]), + )?, + registry, + )?, + collation_distribution_time: prometheus::register( + prometheus::HistogramVec::new( + prometheus::HistogramOpts::new( + "polkadot_parachain_collator_protocol_collator_distribution_time", + "Time spent within `collator_protocol_collator::distribute_collation`", + ) + .buckets(vec![ + 0.001, 0.002, 0.005, 0.01, 0.025, 0.05, 0.1, 0.15, 0.25, 0.35, 0.5, 0.75, + 1.0, + ]), + &["state"], + )?, + registry, + )?, + }; + + Ok(Metrics(Some(metrics))) + } +} diff --git a/node/network/collator-protocol/src/collator_side/mod.rs b/node/network/collator-protocol/src/collator_side/mod.rs index c1a20a2a670b..4f2eea2ca747 100644 --- a/node/network/collator-protocol/src/collator_side/mod.rs +++ b/node/network/collator-protocol/src/collator_side/mod.rs @@ -17,7 +17,7 @@ use std::{ collections::{HashMap, HashSet, VecDeque}, pin::Pin, - time::Duration, + time::{Duration, Instant}, }; use futures::{ @@ -44,19 +44,25 @@ use polkadot_node_subsystem::{ overseer, FromOrchestra, OverseerSignal, PerLeafSpan, }; use polkadot_node_subsystem_util::{ - metrics::{self, prometheus}, runtime::{get_availability_cores, get_group_rotation_info, RuntimeInfo}, TimeoutExt, }; use polkadot_primitives::v2::{ AuthorityDiscoveryId, CandidateHash, CandidateReceipt, CollatorPair, CoreIndex, CoreState, - Hash, Id as ParaId, + GroupIndex, Hash, Id as ParaId, SessionIndex, }; use super::LOG_TARGET; use crate::error::{log_error, Error, FatalError, Result}; use fatality::Split; +mod metrics; +mod validators_buffer; + +use validators_buffer::{ValidatorGroupsBuffer, VALIDATORS_BUFFER_CAPACITY}; + +pub use metrics::Metrics; + #[cfg(test)] mod tests; @@ -73,111 +79,16 @@ const COST_APPARENT_FLOOD: Rep = /// For considerations on this value, see: https://github.com/paritytech/polkadot/issues/4386 const MAX_UNSHARED_UPLOAD_TIME: Duration = Duration::from_millis(150); -#[derive(Clone, Default)] -pub struct Metrics(Option); - -impl Metrics { - fn on_advertisment_made(&self) { - if let Some(metrics) = &self.0 { - metrics.advertisements_made.inc(); - } - } - - fn on_collation_sent_requested(&self) { - if let Some(metrics) = &self.0 { - metrics.collations_send_requested.inc(); - } - } - - fn on_collation_sent(&self) { - if let Some(metrics) = &self.0 { - metrics.collations_sent.inc(); - } - } - - /// Provide a timer for `process_msg` which observes on drop. - fn time_process_msg(&self) -> Option { - self.0.as_ref().map(|metrics| metrics.process_msg.start_timer()) - } - - /// Provide a timer for `distribute_collation` which observes on drop. - fn time_collation_distribution( - &self, - label: &'static str, - ) -> Option { - self.0.as_ref().map(|metrics| { - metrics.collation_distribution_time.with_label_values(&[label]).start_timer() - }) - } -} - -#[derive(Clone)] -struct MetricsInner { - advertisements_made: prometheus::Counter, - collations_sent: prometheus::Counter, - collations_send_requested: prometheus::Counter, - process_msg: prometheus::Histogram, - collation_distribution_time: prometheus::HistogramVec, -} +/// Ensure that collator issues a connection request at least once every this many seconds. +/// Usually it's done when advertising new collation. However, if the core stays occupied or +/// it's not our turn to produce a candidate, it's important to disconnect from previous +/// peers. +/// +/// Validators are obtained from [`ValidatorGroupsBuffer::validators_to_connect`]. +const RECONNECT_TIMEOUT: Duration = Duration::from_secs(12); -impl metrics::Metrics for Metrics { - fn try_register( - registry: &prometheus::Registry, - ) -> std::result::Result { - let metrics = MetricsInner { - advertisements_made: prometheus::register( - prometheus::Counter::new( - "polkadot_parachain_collation_advertisements_made_total", - "A number of collation advertisements sent to validators.", - )?, - registry, - )?, - collations_send_requested: prometheus::register( - prometheus::Counter::new( - "polkadot_parachain_collations_sent_requested_total", - "A number of collations requested to be sent to validators.", - )?, - registry, - )?, - collations_sent: prometheus::register( - prometheus::Counter::new( - "polkadot_parachain_collations_sent_total", - "A number of collations sent to validators.", - )?, - registry, - )?, - process_msg: prometheus::register( - prometheus::Histogram::with_opts( - prometheus::HistogramOpts::new( - "polkadot_parachain_collator_protocol_collator_process_msg", - "Time spent within `collator_protocol_collator::process_msg`", - ) - .buckets(vec![ - 0.001, 0.002, 0.005, 0.01, 0.025, 0.05, 0.1, 0.15, 0.25, 0.35, 0.5, 0.75, - 1.0, - ]), - )?, - registry, - )?, - collation_distribution_time: prometheus::register( - prometheus::HistogramVec::new( - prometheus::HistogramOpts::new( - "polkadot_parachain_collator_protocol_collator_distribution_time", - "Time spent within `collator_protocol_collator::distribute_collation`", - ) - .buckets(vec![ - 0.001, 0.002, 0.005, 0.01, 0.025, 0.05, 0.1, 0.15, 0.25, 0.35, 0.5, 0.75, - 1.0, - ]), - &["state"], - )?, - registry, - )?, - }; - - Ok(Metrics(Some(metrics))) - } -} +/// How often to check for reconnect timeout. +const RECONNECT_POLL: Duration = Duration::from_secs(1); /// Info about validators we are currently connected to. /// @@ -269,8 +180,14 @@ struct WaitingCollationFetches { waiting_peers: HashSet, } +struct CollationSendResult { + relay_parent: Hash, + peer_id: PeerId, + timed_out: bool, +} + type ActiveCollationFetches = - FuturesUnordered + Send + 'static>>>; + FuturesUnordered + Send + 'static>>>; struct State { /// Our network peer id. @@ -308,6 +225,13 @@ struct State { /// by `PeerConnected` events. peer_ids: HashMap>, + /// Tracks which validators we want to stay connected to. + validator_groups_buf: ValidatorGroupsBuffer, + + /// Timestamp of the last connection request to a non-empty list of validators, + /// `None` otherwise. + last_connected_at: Option, + /// Metrics. metrics: Metrics, @@ -339,6 +263,8 @@ impl State { collation_result_senders: Default::default(), our_validators_groups: Default::default(), peer_ids: Default::default(), + validator_groups_buf: ValidatorGroupsBuffer::with_capacity(VALIDATORS_BUFFER_CAPACITY), + last_connected_at: None, waiting_collation_fetches: Default::default(), active_collation_fetches: Default::default(), } @@ -373,6 +299,7 @@ async fn distribute_collation( result_sender: Option>, ) -> Result<()> { let relay_parent = receipt.descriptor.relay_parent; + let candidate_hash = receipt.hash(); // This collation is not in the active-leaves set. if !state.view.contains(&relay_parent) { @@ -412,10 +339,10 @@ async fn distribute_collation( }; // Determine the group on that core. - let current_validators = + let GroupValidators { validators, session_index, group_index } = determine_our_validators(ctx, runtime, our_core, num_cores, relay_parent).await?; - if current_validators.validators.is_empty() { + if validators.is_empty() { gum::warn!( target: LOG_TARGET, core = ?our_core, @@ -425,24 +352,36 @@ async fn distribute_collation( return Ok(()) } + // It's important to insert new collation bits **before** + // issuing a connection request. + // + // If a validator managed to fetch all the relevant collations + // but still assigned to our core, we keep the connection alive. + state.validator_groups_buf.note_collation_advertised( + relay_parent, + session_index, + group_index, + &validators, + ); + gum::debug!( target: LOG_TARGET, para_id = %id, relay_parent = %relay_parent, - candidate_hash = ?receipt.hash(), + ?candidate_hash, pov_hash = ?pov.hash(), core = ?our_core, - ?current_validators, + current_validators = ?validators, "Accepted collation, connecting to validators." ); - // Issue a discovery request for the validators of the current group: - connect_to_validators(ctx, current_validators.validators.into_iter().collect()).await; + // Update a set of connected validators if necessary. + state.last_connected_at = connect_to_validators(ctx, &state.validator_groups_buf).await; state.our_validators_groups.insert(relay_parent, ValidatorGroup::new()); if let Some(result_sender) = result_sender { - state.collation_result_senders.insert(receipt.hash(), result_sender); + state.collation_result_senders.insert(candidate_hash, result_sender); } state @@ -483,6 +422,9 @@ async fn determine_core( struct GroupValidators { /// The validators of above group (their discovery keys). validators: Vec, + + session_index: SessionIndex, + group_index: GroupIndex, } /// Figure out current group of validators assigned to the para being collated on. @@ -516,7 +458,11 @@ async fn determine_our_validators( let current_validators = current_validators.iter().map(|i| validators[i.0 as usize].clone()).collect(); - let current_validators = GroupValidators { validators: current_validators }; + let current_validators = GroupValidators { + validators: current_validators, + session_index, + group_index: current_group_index, + }; Ok(current_validators) } @@ -541,13 +487,19 @@ async fn declare(ctx: &mut Context, state: &mut State, peer: PeerId) { } } -/// Issue a connection request to a set of validators and -/// revoke the previous connection request. +/// Updates a set of connected validators based on their advertisement-bits +/// in a validators buffer. +/// +/// Returns current timestamp if the connection request was non-empty, `None` +/// otherwise. #[overseer::contextbounds(CollatorProtocol, prefix = self::overseer)] async fn connect_to_validators( ctx: &mut Context, - validator_ids: Vec, -) { + validator_groups_buf: &ValidatorGroupsBuffer, +) -> Option { + let validator_ids = validator_groups_buf.validators_to_connect(); + let is_disconnect = validator_ids.is_empty(); + // ignore address resolution failure // will reissue a new request on new collation let (failed, _) = oneshot::channel(); @@ -557,6 +509,8 @@ async fn connect_to_validators( failed, }) .await; + + (!is_disconnect).then_some(Instant::now()) } /// Advertise collation to the given `peer`. @@ -715,15 +669,9 @@ async fn send_collation( state.active_collation_fetches.push( async move { let r = rx.timeout(MAX_UNSHARED_UPLOAD_TIME).await; - if r.is_none() { - gum::debug!( - target: LOG_TARGET, - ?relay_parent, - ?peer_id, - "Sending collation to validator timed out, carrying on with next validator." - ); - } - (relay_parent, peer_id) + let timed_out = r.is_none(); + + CollationSendResult { relay_parent, peer_id, timed_out } } .boxed(), ); @@ -986,6 +934,7 @@ async fn handle_our_view_change(state: &mut State, view: OurView) -> Result<()> state.our_validators_groups.remove(removed); state.span_per_relay_parent.remove(removed); state.waiting_collation_fetches.remove(removed); + state.validator_groups_buf.remove_relay_parent(removed); } state.view = view; @@ -1007,6 +956,9 @@ pub(crate) async fn run( let mut state = State::new(local_peer_id, collator_pair, metrics); let mut runtime = RuntimeInfo::new(None); + let reconnect_stream = super::tick_stream(RECONNECT_POLL); + pin_mut!(reconnect_stream); + loop { let recv_req = req_receiver.recv(|| vec![COST_INVALID_REQUEST]).fuse(); pin_mut!(recv_req); @@ -1022,7 +974,25 @@ pub(crate) async fn run( FromOrchestra::Signal(BlockFinalized(..)) => {} FromOrchestra::Signal(Conclude) => return Ok(()), }, - (relay_parent, peer_id) = state.active_collation_fetches.select_next_some() => { + CollationSendResult { + relay_parent, + peer_id, + timed_out, + } = state.active_collation_fetches.select_next_some() => { + if timed_out { + gum::debug!( + target: LOG_TARGET, + ?relay_parent, + ?peer_id, + "Sending collation to validator timed out, carrying on with next validator", + ); + } else { + for authority_id in state.peer_ids.get(&peer_id).into_iter().flatten() { + // Timeout not hit, this peer is no longer interested in this relay parent. + state.validator_groups_buf.reset_validator_interest(relay_parent, authority_id); + } + } + let next = if let Some(waiting) = state.waiting_collation_fetches.get_mut(&relay_parent) { waiting.waiting_peers.remove(&peer_id); if let Some(next) = waiting.waiting.pop_front() { @@ -1042,7 +1012,29 @@ pub(crate) async fn run( send_collation(&mut state, next, receipt, pov).await; } - } + }, + _ = reconnect_stream.next() => { + let now = Instant::now(); + if state + .last_connected_at + .map_or(false, |timestamp| now - timestamp > RECONNECT_TIMEOUT) + { + // Remove all advertisements from the buffer if the timeout was hit. + // Usually, it shouldn't be necessary as leaves get deactivated, rather + // serves as a safeguard against finality lags. + state.validator_groups_buf.clear_advertisements(); + // Returns `None` if connection request is empty. + state.last_connected_at = + connect_to_validators(&mut ctx, &state.validator_groups_buf).await; + + gum::debug!( + target: LOG_TARGET, + timeout = ?RECONNECT_TIMEOUT, + "Timeout hit, sent a connection request. Disconnected from all validators = {}", + state.last_connected_at.is_none(), + ); + } + }, in_req = recv_req => { match in_req { Ok(req) => { diff --git a/node/network/collator-protocol/src/collator_side/tests.rs b/node/network/collator-protocol/src/collator_side/tests.rs index 2d2f2cf043de..c20a2d6c97a5 100644 --- a/node/network/collator-protocol/src/collator_side/tests.rs +++ b/node/network/collator-protocol/src/collator_side/tests.rs @@ -56,7 +56,7 @@ struct TestState { group_rotation_info: GroupRotationInfo, validator_peer_id: Vec, relay_parent: Hash, - availability_core: CoreState, + availability_cores: Vec, local_peer_id: PeerId, collator_pair: CollatorPair, session_index: SessionIndex, @@ -88,14 +88,15 @@ impl Default for TestState { let validator_peer_id = std::iter::repeat_with(|| PeerId::random()).take(discovery_keys.len()).collect(); - let validator_groups = vec![vec![2, 0, 4], vec![3, 2, 4]] + let validator_groups = vec![vec![2, 0, 4], vec![1, 3]] .into_iter() .map(|g| g.into_iter().map(ValidatorIndex).collect()) .collect(); let group_rotation_info = GroupRotationInfo { session_start_block: 0, group_rotation_frequency: 100, now: 1 }; - let availability_core = CoreState::Scheduled(ScheduledCore { para_id, collator: None }); + let availability_cores = + vec![CoreState::Scheduled(ScheduledCore { para_id, collator: None }), CoreState::Free]; let relay_parent = Hash::random(); @@ -122,7 +123,7 @@ impl Default for TestState { group_rotation_info, validator_peer_id, relay_parent, - availability_core, + availability_cores, local_peer_id, collator_pair, session_index: 1, @@ -132,7 +133,9 @@ impl Default for TestState { impl TestState { fn current_group_validator_indices(&self) -> &[ValidatorIndex] { - &self.session_info.validator_groups[0] + let core_num = self.availability_cores.len(); + let GroupIndex(group_idx) = self.group_rotation_info.group_for_core(CoreIndex(0), core_num); + &self.session_info.validator_groups[group_idx as usize] } fn current_session_index(&self) -> SessionIndex { @@ -333,7 +336,7 @@ async fn distribute_collation( RuntimeApiRequest::AvailabilityCores(tx) )) => { assert_eq!(relay_parent, test_state.relay_parent); - tx.send(Ok(vec![test_state.availability_core.clone()])).unwrap(); + tx.send(Ok(test_state.availability_cores.clone())).unwrap(); } ); @@ -987,3 +990,104 @@ where test_harness }); } + +#[test] +fn connect_to_buffered_groups() { + let mut test_state = TestState::default(); + let local_peer_id = test_state.local_peer_id.clone(); + let collator_pair = test_state.collator_pair.clone(); + + test_harness(local_peer_id, collator_pair, |test_harness| async move { + let mut virtual_overseer = test_harness.virtual_overseer; + let mut req_cfg = test_harness.req_cfg; + + setup_system(&mut virtual_overseer, &test_state).await; + + let group_a = test_state.current_group_validator_authority_ids(); + let peers_a = test_state.current_group_validator_peer_ids(); + assert!(group_a.len() > 1); + + distribute_collation(&mut virtual_overseer, &test_state, false).await; + + assert_matches!( + overseer_recv(&mut virtual_overseer).await, + AllMessages::NetworkBridgeTx( + NetworkBridgeTxMessage::ConnectToValidators { validator_ids, .. } + ) => { + assert_eq!(group_a, validator_ids); + } + ); + + let head_a = test_state.relay_parent; + + for (val, peer) in group_a.iter().zip(&peers_a) { + connect_peer(&mut virtual_overseer, peer.clone(), Some(val.clone())).await; + } + + for peer_id in &peers_a { + expect_declare_msg(&mut virtual_overseer, &test_state, peer_id).await; + } + + // Update views. + for peed_id in &peers_a { + send_peer_view_change(&mut virtual_overseer, peed_id, vec![head_a]).await; + expect_advertise_collation_msg(&mut virtual_overseer, peed_id, head_a).await; + } + + let peer = peers_a[0]; + // Peer from the group fetches the collation. + let (pending_response, rx) = oneshot::channel(); + req_cfg + .inbound_queue + .as_mut() + .unwrap() + .send(RawIncomingRequest { + peer, + payload: CollationFetchingRequest { + relay_parent: head_a, + para_id: test_state.para_id, + } + .encode(), + pending_response, + }) + .await + .unwrap(); + assert_matches!( + rx.await, + Ok(full_response) => { + let CollationFetchingResponse::Collation(..): CollationFetchingResponse = + CollationFetchingResponse::decode( + &mut full_response.result.expect("We should have a proper answer").as_ref(), + ) + .expect("Decoding should work"); + } + ); + + test_state.advance_to_new_round(&mut virtual_overseer, true).await; + test_state.group_rotation_info = test_state.group_rotation_info.bump_rotation(); + + let head_b = test_state.relay_parent; + let group_b = test_state.current_group_validator_authority_ids(); + assert_ne!(head_a, head_b); + assert_ne!(group_a, group_b); + + distribute_collation(&mut virtual_overseer, &test_state, false).await; + + // Should be connected to both groups except for the validator that fetched advertised + // collation. + assert_matches!( + overseer_recv(&mut virtual_overseer).await, + AllMessages::NetworkBridgeTx( + NetworkBridgeTxMessage::ConnectToValidators { validator_ids, .. } + ) => { + assert!(!validator_ids.contains(&group_a[0])); + + for validator in group_a[1..].iter().chain(&group_b) { + assert!(validator_ids.contains(validator)); + } + } + ); + + TestHarness { virtual_overseer, req_cfg } + }); +} diff --git a/node/network/collator-protocol/src/collator_side/validators_buffer.rs b/node/network/collator-protocol/src/collator_side/validators_buffer.rs new file mode 100644 index 000000000000..5bb31c72d6c5 --- /dev/null +++ b/node/network/collator-protocol/src/collator_side/validators_buffer.rs @@ -0,0 +1,317 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +//! Validator groups buffer for connection managements. +//! +//! Solves 2 problems: +//! 1. A collator may want to stay connected to multiple groups on rotation boundaries. +//! 2. It's important to disconnect from validator when there're no collations to be fetched. +//! +//! We keep a simple FIFO buffer of N validator groups and a bitvec for each advertisement, +//! 1 indicating we want to be connected to i-th validator in a buffer, 0 otherwise. +//! +//! The bit is set to 1 for the whole **group** whenever it's inserted into the buffer. Given a relay +//! parent, one can reset a bit back to 0 for particular **validator**. For example, if a collation +//! was fetched or some timeout has been hit. +//! +//! The bitwise OR over known advertisements gives us validators indices for connection request. + +use std::{ + collections::{HashMap, VecDeque}, + num::NonZeroUsize, + ops::Range, +}; + +use bitvec::{bitvec, vec::BitVec}; + +use polkadot_primitives::v2::{AuthorityDiscoveryId, GroupIndex, Hash, SessionIndex}; + +/// The ring buffer stores at most this many unique validator groups. +/// +/// This value should be chosen in way that all groups assigned to our para +/// in the view can fit into the buffer. +pub const VALIDATORS_BUFFER_CAPACITY: NonZeroUsize = match NonZeroUsize::new(3) { + Some(cap) => cap, + None => panic!("buffer capacity must be non-zero"), +}; + +/// Unique identifier of a validators group. +#[derive(Debug)] +struct ValidatorsGroupInfo { + /// Number of validators in the group. + len: usize, + session_index: SessionIndex, + group_index: GroupIndex, +} + +/// Ring buffer of validator groups. +/// +/// Tracks which peers we want to be connected to with respect to advertised collations. +#[derive(Debug)] +pub struct ValidatorGroupsBuffer { + /// Validator groups identifiers we **had** advertisements for. + group_infos: VecDeque, + /// Continuous buffer of validators discovery keys. + validators: VecDeque, + /// Mapping from relay-parent to bit-vectors with bits for all `validators`. + /// Invariants kept: All bit-vectors are guaranteed to have the same size. + should_be_connected: HashMap, + /// Buffer capacity, limits the number of **groups** tracked. + cap: NonZeroUsize, +} + +impl ValidatorGroupsBuffer { + /// Creates a new buffer with a non-zero capacity. + pub fn with_capacity(cap: NonZeroUsize) -> Self { + Self { + group_infos: VecDeque::new(), + validators: VecDeque::new(), + should_be_connected: HashMap::new(), + cap, + } + } + + /// Returns discovery ids of validators we have at least one advertised-but-not-fetched + /// collation for. + pub fn validators_to_connect(&self) -> Vec { + let validators_num = self.validators.len(); + let bits = self + .should_be_connected + .values() + .fold(bitvec![0; validators_num], |acc, next| acc | next); + + self.validators + .iter() + .enumerate() + .filter_map(|(idx, authority_id)| bits[idx].then_some(authority_id.clone())) + .collect() + } + + /// Note a new advertisement, marking that we want to be connected to validators + /// from this group. + /// + /// If max capacity is reached and the group is new, drops validators from the back + /// of the buffer. + pub fn note_collation_advertised( + &mut self, + relay_parent: Hash, + session_index: SessionIndex, + group_index: GroupIndex, + validators: &[AuthorityDiscoveryId], + ) { + if validators.is_empty() { + return + } + + match self.group_infos.iter().enumerate().find(|(_, group)| { + group.session_index == session_index && group.group_index == group_index + }) { + Some((idx, group)) => { + let group_start_idx = self.group_lengths_iter().take(idx).sum(); + self.set_bits(relay_parent, group_start_idx..(group_start_idx + group.len)); + }, + None => self.push(relay_parent, session_index, group_index, validators), + } + } + + /// Note that a validator is no longer interested in a given relay parent. + pub fn reset_validator_interest( + &mut self, + relay_parent: Hash, + authority_id: &AuthorityDiscoveryId, + ) { + let bits = match self.should_be_connected.get_mut(&relay_parent) { + Some(bits) => bits, + None => return, + }; + + for (idx, auth_id) in self.validators.iter().enumerate() { + if auth_id == authority_id { + bits.set(idx, false); + } + } + } + + /// Remove relay parent from the buffer. + /// + /// The buffer will no longer track which validators are interested in a corresponding + /// advertisement. + pub fn remove_relay_parent(&mut self, relay_parent: &Hash) { + self.should_be_connected.remove(relay_parent); + } + + /// Removes all advertisements from the buffer. + pub fn clear_advertisements(&mut self) { + self.should_be_connected.clear(); + } + + /// Pushes a new group to the buffer along with advertisement, setting all validators + /// bits to 1. + /// + /// If the buffer is full, drops group from the tail. + fn push( + &mut self, + relay_parent: Hash, + session_index: SessionIndex, + group_index: GroupIndex, + validators: &[AuthorityDiscoveryId], + ) { + let new_group_info = + ValidatorsGroupInfo { len: validators.len(), session_index, group_index }; + + let buf = &mut self.group_infos; + let cap = self.cap.get(); + + if buf.len() >= cap { + let pruned_group = buf.pop_front().expect("buf is not empty; qed"); + self.validators.drain(..pruned_group.len); + + self.should_be_connected.values_mut().for_each(|bits| { + bits.as_mut_bitslice().shift_left(pruned_group.len); + }); + } + + self.validators.extend(validators.iter().cloned()); + buf.push_back(new_group_info); + let buf_len = buf.len(); + let group_start_idx = self.group_lengths_iter().take(buf_len - 1).sum(); + + let new_len = self.validators.len(); + self.should_be_connected + .values_mut() + .for_each(|bits| bits.resize(new_len, false)); + self.set_bits(relay_parent, group_start_idx..(group_start_idx + validators.len())); + } + + /// Sets advertisement bits to 1 in a given range (usually corresponding to some group). + /// If the relay parent is unknown, inserts 0-initialized bitvec first. + /// + /// The range must be ensured to be within bounds. + fn set_bits(&mut self, relay_parent: Hash, range: Range) { + let bits = self + .should_be_connected + .entry(relay_parent) + .or_insert_with(|| bitvec![0; self.validators.len()]); + + bits[range].fill(true); + } + + /// Returns iterator over numbers of validators in groups. + /// + /// Useful for getting an index of the first validator in i-th group. + fn group_lengths_iter(&self) -> impl Iterator + '_ { + self.group_infos.iter().map(|group| group.len) + } +} + +#[cfg(test)] +mod tests { + use super::*; + use sp_keyring::Sr25519Keyring; + + #[test] + fn one_capacity_buffer() { + let cap = NonZeroUsize::new(1).unwrap(); + let mut buf = ValidatorGroupsBuffer::with_capacity(cap); + + let hash_a = Hash::repeat_byte(0x1); + let hash_b = Hash::repeat_byte(0x2); + + let validators: Vec<_> = [ + Sr25519Keyring::Alice, + Sr25519Keyring::Bob, + Sr25519Keyring::Charlie, + Sr25519Keyring::Dave, + Sr25519Keyring::Ferdie, + ] + .into_iter() + .map(|key| AuthorityDiscoveryId::from(key.public())) + .collect(); + + assert!(buf.validators_to_connect().is_empty()); + + buf.note_collation_advertised(hash_a, 0, GroupIndex(0), &validators[..2]); + assert_eq!(buf.validators_to_connect(), validators[..2].to_vec()); + + buf.reset_validator_interest(hash_a, &validators[1]); + assert_eq!(buf.validators_to_connect(), vec![validators[0].clone()]); + + buf.note_collation_advertised(hash_b, 0, GroupIndex(1), &validators[2..]); + assert_eq!(buf.validators_to_connect(), validators[2..].to_vec()); + + for validator in &validators[2..] { + buf.reset_validator_interest(hash_b, validator); + } + assert!(buf.validators_to_connect().is_empty()); + } + + #[test] + fn buffer_works() { + let cap = NonZeroUsize::new(3).unwrap(); + let mut buf = ValidatorGroupsBuffer::with_capacity(cap); + + let hashes: Vec<_> = (0..5).map(Hash::repeat_byte).collect(); + + let validators: Vec<_> = [ + Sr25519Keyring::Alice, + Sr25519Keyring::Bob, + Sr25519Keyring::Charlie, + Sr25519Keyring::Dave, + Sr25519Keyring::Ferdie, + ] + .into_iter() + .map(|key| AuthorityDiscoveryId::from(key.public())) + .collect(); + + buf.note_collation_advertised(hashes[0], 0, GroupIndex(0), &validators[..2]); + buf.note_collation_advertised(hashes[1], 0, GroupIndex(0), &validators[..2]); + buf.note_collation_advertised(hashes[2], 0, GroupIndex(1), &validators[2..4]); + buf.note_collation_advertised(hashes[2], 0, GroupIndex(1), &validators[2..4]); + + assert_eq!(buf.validators_to_connect(), validators[..4].to_vec()); + + for validator in &validators[2..4] { + buf.reset_validator_interest(hashes[2], validator); + } + + buf.reset_validator_interest(hashes[1], &validators[0]); + assert_eq!(buf.validators_to_connect(), validators[..2].to_vec()); + + buf.reset_validator_interest(hashes[0], &validators[0]); + assert_eq!(buf.validators_to_connect(), vec![validators[1].clone()]); + + buf.note_collation_advertised(hashes[3], 0, GroupIndex(1), &validators[2..4]); + buf.note_collation_advertised( + hashes[4], + 0, + GroupIndex(2), + std::slice::from_ref(&validators[4]), + ); + + buf.reset_validator_interest(hashes[3], &validators[2]); + buf.note_collation_advertised( + hashes[4], + 0, + GroupIndex(3), + std::slice::from_ref(&validators[0]), + ); + + assert_eq!( + buf.validators_to_connect(), + vec![validators[3].clone(), validators[4].clone(), validators[0].clone()] + ); + } +} diff --git a/node/network/collator-protocol/src/lib.rs b/node/network/collator-protocol/src/lib.rs index 66659e4b5bee..b71acc127c88 100644 --- a/node/network/collator-protocol/src/lib.rs +++ b/node/network/collator-protocol/src/lib.rs @@ -21,9 +21,12 @@ #![deny(unused_crate_dependencies)] #![recursion_limit = "256"] -use std::time::Duration; +use std::time::{Duration, Instant}; -use futures::{FutureExt, TryFutureExt}; +use futures::{ + stream::{FusedStream, StreamExt}, + FutureExt, TryFutureExt, +}; use sp_keystore::SyncCryptoStorePtr; @@ -134,3 +137,23 @@ async fn modify_reputation( sender.send_message(NetworkBridgeTxMessage::ReportPeer(peer, rep)).await; } + +/// Wait until tick and return the timestamp for the following one. +async fn wait_until_next_tick(last_poll: Instant, period: Duration) -> Instant { + let now = Instant::now(); + let next_poll = last_poll + period; + + if next_poll > now { + futures_timer::Delay::new(next_poll - now).await + } + + Instant::now() +} + +/// Returns an infinite stream that yields with an interval of `period`. +fn tick_stream(period: Duration) -> impl FusedStream { + futures::stream::unfold(Instant::now(), move |next_check| async move { + Some(((), wait_until_next_tick(next_check, period).await)) + }) + .fuse() +} diff --git a/node/network/collator-protocol/src/validator_side/mod.rs b/node/network/collator-protocol/src/validator_side/mod.rs index 47795aac0ce2..b74c1d5b5a4f 100644 --- a/node/network/collator-protocol/src/validator_side/mod.rs +++ b/node/network/collator-protocol/src/validator_side/mod.rs @@ -19,7 +19,7 @@ use futures::{ channel::oneshot, future::{BoxFuture, Fuse, FusedFuture}, select, - stream::{FusedStream, FuturesUnordered}, + stream::FuturesUnordered, FutureExt, StreamExt, }; use futures_timer::Delay; @@ -57,7 +57,7 @@ use polkadot_primitives::v2::{CandidateReceipt, CollatorId, Hash, Id as ParaId}; use crate::error::Result; -use super::{modify_reputation, LOG_TARGET}; +use super::{modify_reputation, tick_stream, LOG_TARGET}; #[cfg(test)] mod tests; @@ -97,7 +97,7 @@ const ACTIVITY_POLL: Duration = Duration::from_millis(10); // How often to poll collation responses. // This is a hack that should be removed in a refactoring. // See https://github.com/paritytech/polkadot/issues/4182 -const CHECK_COLLATIONS_POLL: Duration = Duration::from_millis(5); +const CHECK_COLLATIONS_POLL: Duration = Duration::from_millis(50); #[derive(Clone, Default)] pub struct Metrics(Option); @@ -1167,25 +1167,6 @@ async fn process_msg( } } -// wait until next inactivity check. returns the instant for the following check. -async fn wait_until_next_check(last_poll: Instant) -> Instant { - let now = Instant::now(); - let next_poll = last_poll + ACTIVITY_POLL; - - if next_poll > now { - Delay::new(next_poll - now).await - } - - Instant::now() -} - -fn infinite_stream(every: Duration) -> impl FusedStream { - futures::stream::unfold(Instant::now() + every, |next_check| async move { - Some(((), wait_until_next_check(next_check).await)) - }) - .fuse() -} - /// The main run loop. #[overseer::contextbounds(CollatorProtocol, prefix = self::overseer)] pub(crate) async fn run( @@ -1196,10 +1177,10 @@ pub(crate) async fn run( ) -> std::result::Result<(), crate::error::FatalError> { let mut state = State { metrics, ..Default::default() }; - let next_inactivity_stream = infinite_stream(ACTIVITY_POLL); + let next_inactivity_stream = tick_stream(ACTIVITY_POLL); futures::pin_mut!(next_inactivity_stream); - let check_collations_stream = infinite_stream(CHECK_COLLATIONS_POLL); + let check_collations_stream = tick_stream(CHECK_COLLATIONS_POLL); futures::pin_mut!(check_collations_stream); loop { From 3eb61f8871220f2a17a98342382270782cdb4b0c Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Wed, 5 Oct 2022 17:47:15 +0800 Subject: [PATCH 036/211] Properly migrate weights to v2 (#6091) * Create migration for config pallet * Use XcmWeight in XCM pallet extrinsics * Link to PR in doc comment * cargo fmt * Fix tests * Fix tests * Remove unused import * Update runtime/parachains/src/configuration/migration.rs Co-authored-by: Oliver Tale-Yazdi * Add missing on_runtime_upgrade implementation * Use new migration API * cargo fmt * Fix log message Co-authored-by: Oliver Tale-Yazdi --- runtime/kusama/src/lib.rs | 1 + runtime/parachains/src/configuration.rs | 3 +- .../parachains/src/configuration/migration.rs | 322 +++++++++++++++++- runtime/polkadot/src/lib.rs | 1 + runtime/rococo/src/lib.rs | 1 + runtime/westend/src/lib.rs | 1 + xcm/pallet-xcm/src/lib.rs | 10 +- xcm/pallet-xcm/src/tests.rs | 8 +- xcm/xcm-executor/integration-tests/src/lib.rs | 7 +- 9 files changed, 338 insertions(+), 16 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 48762d5e67ec..c17e744af175 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1471,6 +1471,7 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + parachains_configuration::migration::v3::MigrateToV3, ), >; /// The payload being signed in the transactions. diff --git a/runtime/parachains/src/configuration.rs b/runtime/parachains/src/configuration.rs index bc97e84e95b5..2ebaff1b8282 100644 --- a/runtime/parachains/src/configuration.rs +++ b/runtime/parachains/src/configuration.rs @@ -285,7 +285,8 @@ impl> Default for HostConfiguration /// v1-v2: -pub const STORAGE_VERSION: StorageVersion = StorageVersion::new(2); +/// v2-v3: +pub const STORAGE_VERSION: StorageVersion = StorageVersion::new(3); + +pub mod v3 { + use super::*; + use frame_support::traits::OnRuntimeUpgrade; + use primitives::v2::{Balance, SessionIndex}; + + // Copied over from configuration.rs @ de9e147695b9f1be8bd44e07861a31e483c8343a and removed + // all the comments, and changed the Weight struct to OldWeight + #[derive(parity_scale_codec::Encode, parity_scale_codec::Decode, Debug)] + pub struct OldHostConfiguration { + pub max_code_size: u32, + pub max_head_data_size: u32, + pub max_upward_queue_count: u32, + pub max_upward_queue_size: u32, + pub max_upward_message_size: u32, + pub max_upward_message_num_per_candidate: u32, + pub hrmp_max_message_num_per_candidate: u32, + pub validation_upgrade_cooldown: BlockNumber, + pub validation_upgrade_delay: BlockNumber, + pub max_pov_size: u32, + pub max_downward_message_size: u32, + pub ump_service_total_weight: OldWeight, + pub hrmp_max_parachain_outbound_channels: u32, + pub hrmp_max_parathread_outbound_channels: u32, + pub hrmp_sender_deposit: Balance, + pub hrmp_recipient_deposit: Balance, + pub hrmp_channel_max_capacity: u32, + pub hrmp_channel_max_total_size: u32, + pub hrmp_max_parachain_inbound_channels: u32, + pub hrmp_max_parathread_inbound_channels: u32, + pub hrmp_channel_max_message_size: u32, + pub code_retention_period: BlockNumber, + pub parathread_cores: u32, + pub parathread_retries: u32, + pub group_rotation_frequency: BlockNumber, + pub chain_availability_period: BlockNumber, + pub thread_availability_period: BlockNumber, + pub scheduling_lookahead: u32, + pub max_validators_per_core: Option, + pub max_validators: Option, + pub dispute_period: SessionIndex, + pub dispute_post_conclusion_acceptance_period: BlockNumber, + pub dispute_max_spam_slots: u32, + pub dispute_conclusion_by_time_out_period: BlockNumber, + pub no_show_slots: u32, + pub n_delay_tranches: u32, + pub zeroth_delay_tranche_width: u32, + pub needed_approvals: u32, + pub relay_vrf_modulo_samples: u32, + pub ump_max_individual_weight: OldWeight, + pub pvf_checking_enabled: bool, + pub pvf_voting_ttl: SessionIndex, + pub minimum_validation_upgrade_delay: BlockNumber, + } + + impl> Default for OldHostConfiguration { + fn default() -> Self { + Self { + group_rotation_frequency: 1u32.into(), + chain_availability_period: 1u32.into(), + thread_availability_period: 1u32.into(), + no_show_slots: 1u32.into(), + validation_upgrade_cooldown: Default::default(), + validation_upgrade_delay: Default::default(), + code_retention_period: Default::default(), + max_code_size: Default::default(), + max_pov_size: Default::default(), + max_head_data_size: Default::default(), + parathread_cores: Default::default(), + parathread_retries: Default::default(), + scheduling_lookahead: Default::default(), + max_validators_per_core: Default::default(), + max_validators: None, + dispute_period: 6, + dispute_post_conclusion_acceptance_period: 100.into(), + dispute_max_spam_slots: 2, + dispute_conclusion_by_time_out_period: 200.into(), + n_delay_tranches: Default::default(), + zeroth_delay_tranche_width: Default::default(), + needed_approvals: Default::default(), + relay_vrf_modulo_samples: Default::default(), + max_upward_queue_count: Default::default(), + max_upward_queue_size: Default::default(), + max_downward_message_size: Default::default(), + ump_service_total_weight: OldWeight(Default::default()), + max_upward_message_size: Default::default(), + max_upward_message_num_per_candidate: Default::default(), + hrmp_sender_deposit: Default::default(), + hrmp_recipient_deposit: Default::default(), + hrmp_channel_max_capacity: Default::default(), + hrmp_channel_max_total_size: Default::default(), + hrmp_max_parachain_inbound_channels: Default::default(), + hrmp_max_parathread_inbound_channels: Default::default(), + hrmp_channel_max_message_size: Default::default(), + hrmp_max_parachain_outbound_channels: Default::default(), + hrmp_max_parathread_outbound_channels: Default::default(), + hrmp_max_message_num_per_candidate: Default::default(), + ump_max_individual_weight: OldWeight( + frame_support::weights::constants::WEIGHT_PER_MILLIS.ref_time() * 20, + ), + pvf_checking_enabled: false, + pvf_voting_ttl: 2u32.into(), + minimum_validation_upgrade_delay: 2.into(), + } + } + } + + pub struct MigrateToV3(sp_std::marker::PhantomData); + impl OnRuntimeUpgrade for MigrateToV3 { + fn on_runtime_upgrade() -> Weight { + if StorageVersion::get::>() == 2 { + let weight_consumed = migrate_to_v3::(); + + log::info!(target: configuration::LOG_TARGET, "MigrateToV3 executed successfully"); + STORAGE_VERSION.put::>(); + + weight_consumed + } else { + log::warn!(target: configuration::LOG_TARGET, "MigrateToV3 should be removed."); + T::DbWeight::get().reads(1) + } + } + } +} + +fn migrate_to_v3() -> Weight { + // Unusual formatting is justified: + // - make it easier to verify that fields assign what they supposed to assign. + // - this code is transient and will be removed after all migrations are done. + // - this code is important enough to optimize for legibility sacrificing consistency. + #[rustfmt::skip] + let translate = + |pre: v3::OldHostConfiguration>| -> +configuration::HostConfiguration> + { + super::HostConfiguration { +max_code_size : pre.max_code_size, +max_head_data_size : pre.max_head_data_size, +max_upward_queue_count : pre.max_upward_queue_count, +max_upward_queue_size : pre.max_upward_queue_size, +max_upward_message_size : pre.max_upward_message_size, +max_upward_message_num_per_candidate : pre.max_upward_message_num_per_candidate, +hrmp_max_message_num_per_candidate : pre.hrmp_max_message_num_per_candidate, +validation_upgrade_cooldown : pre.validation_upgrade_cooldown, +validation_upgrade_delay : pre.validation_upgrade_delay, +max_pov_size : pre.max_pov_size, +max_downward_message_size : pre.max_downward_message_size, +hrmp_max_parachain_outbound_channels : pre.hrmp_max_parachain_outbound_channels, +hrmp_max_parathread_outbound_channels : pre.hrmp_max_parathread_outbound_channels, +hrmp_sender_deposit : pre.hrmp_sender_deposit, +hrmp_recipient_deposit : pre.hrmp_recipient_deposit, +hrmp_channel_max_capacity : pre.hrmp_channel_max_capacity, +hrmp_channel_max_total_size : pre.hrmp_channel_max_total_size, +hrmp_max_parachain_inbound_channels : pre.hrmp_max_parachain_inbound_channels, +hrmp_max_parathread_inbound_channels : pre.hrmp_max_parathread_inbound_channels, +hrmp_channel_max_message_size : pre.hrmp_channel_max_message_size, +code_retention_period : pre.code_retention_period, +parathread_cores : pre.parathread_cores, +parathread_retries : pre.parathread_retries, +group_rotation_frequency : pre.group_rotation_frequency, +chain_availability_period : pre.chain_availability_period, +thread_availability_period : pre.thread_availability_period, +scheduling_lookahead : pre.scheduling_lookahead, +max_validators_per_core : pre.max_validators_per_core, +max_validators : pre.max_validators, +dispute_period : pre.dispute_period, +dispute_post_conclusion_acceptance_period: pre.dispute_post_conclusion_acceptance_period, +dispute_max_spam_slots : pre.dispute_max_spam_slots, +dispute_conclusion_by_time_out_period : pre.dispute_conclusion_by_time_out_period, +no_show_slots : pre.no_show_slots, +n_delay_tranches : pre.n_delay_tranches, +zeroth_delay_tranche_width : pre.zeroth_delay_tranche_width, +needed_approvals : pre.needed_approvals, +relay_vrf_modulo_samples : pre.relay_vrf_modulo_samples, +pvf_checking_enabled : pre.pvf_checking_enabled, +pvf_voting_ttl : pre.pvf_voting_ttl, +minimum_validation_upgrade_delay : pre.minimum_validation_upgrade_delay, + +ump_service_total_weight: Weight::from_ref_time(pre.ump_service_total_weight.0).set_proof_size(MAX_POV_SIZE as u64), +ump_max_individual_weight: Weight::from_ref_time(pre.ump_max_individual_weight.0).set_proof_size(MAX_POV_SIZE as u64), + } + }; + + if let Err(_) = as Store>::ActiveConfig::translate(|pre| pre.map(translate)) { + // `Err` is returned when the pre-migration type cannot be deserialized. This + // cannot happen if the migration runs correctly, i.e. against the expected version. + // + // This happening almost surely will lead to a panic somewhere else. Corruption seems + // to be unlikely to be caused by this. So we just log. Maybe it'll work out still? + log::error!( + target: configuration::LOG_TARGET, + "unexpected error when performing translation of the configuration type during storage upgrade to v2." + ); + } + + T::DbWeight::get().reads_writes(1, 1) +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::mock::{new_test_ext, Test}; + + #[test] + fn v2_deserialized_from_actual_data() { + // Fetched at Kusama 14,703,780 (0x3b2c305d01bd4adf1973d32a2d55ca1260a55eea8dfb3168e317c57f2841fdf1) + // + // This exceeds the maximal line width length, but that's fine, since this is not code and + // doesn't need to be read and also leaving it as one line allows to easily copy it. + let raw_config = hex_literal::hex!["0000a000005000000a00000000c8000000c800000a0000000a000000100e0000580200000000500000c8000000e87648170000001e00000000000000005039278c0400000000000000000000005039278c0400000000000000000000e8030000009001001e00000000000000009001008070000000000000000000000a0000000a0000000a00000001000000010500000001c8000000060000005802000002000000580200000200000059000000000000001e0000002800000000c817a804000000000200000014000000"]; + + let v2 = + v3::OldHostConfiguration::::decode(&mut &raw_config[..]) + .unwrap(); + + // We check only a sample of the values here. If we missed any fields or messed up data types + // that would skew all the fields coming after. + assert_eq!(v2.max_code_size, 10_485_760); + assert_eq!(v2.validation_upgrade_cooldown, 3600); + assert_eq!(v2.max_pov_size, 5_242_880); + assert_eq!(v2.hrmp_channel_max_message_size, 102_400); + assert_eq!(v2.dispute_max_spam_slots, 2); + assert_eq!(v2.n_delay_tranches, 89); + assert_eq!(v2.ump_max_individual_weight, OldWeight(20_000_000_000)); + assert_eq!(v2.minimum_validation_upgrade_delay, 20); + } + + #[test] + fn test_migrate_to_v3() { + // Host configuration has lots of fields. However, in this migration we add only a couple of + // fields. The most important part to check are a couple of the last fields. We also pick + // extra fields to check arbitrarily, e.g. depending on their position (i.e. the middle) and + // also their type. + // + // We specify only the picked fields and the rest should be provided by the `Default` + // implementation. That implementation is copied over between the two types and should work + // fine. + let v2 = v3::OldHostConfiguration:: { + ump_max_individual_weight: OldWeight(0x71616e6f6e0au64), + needed_approvals: 69, + thread_availability_period: 55, + hrmp_recipient_deposit: 1337, + max_pov_size: 1111, + chain_availability_period: 33, + minimum_validation_upgrade_delay: 20, + ..Default::default() + }; + + new_test_ext(Default::default()).execute_with(|| { + // Implant the v2 version in the state. + frame_support::storage::unhashed::put_raw( + &configuration::ActiveConfig::::hashed_key(), + &v2.encode(), + ); + + migrate_to_v3::(); + + let v3 = configuration::ActiveConfig::::get(); + + #[rustfmt::skip] + { + assert_eq!(v2.max_code_size , v3.max_code_size); + assert_eq!(v2.max_head_data_size , v3.max_head_data_size); + assert_eq!(v2.max_upward_queue_count , v3.max_upward_queue_count); + assert_eq!(v2.max_upward_queue_size , v3.max_upward_queue_size); + assert_eq!(v2.max_upward_message_size , v3.max_upward_message_size); + assert_eq!(v2.max_upward_message_num_per_candidate , v3.max_upward_message_num_per_candidate); + assert_eq!(v2.hrmp_max_message_num_per_candidate , v3.hrmp_max_message_num_per_candidate); + assert_eq!(v2.validation_upgrade_cooldown , v3.validation_upgrade_cooldown); + assert_eq!(v2.validation_upgrade_delay , v3.validation_upgrade_delay); + assert_eq!(v2.max_pov_size , v3.max_pov_size); + assert_eq!(v2.max_downward_message_size , v3.max_downward_message_size); + assert_eq!(v2.hrmp_max_parachain_outbound_channels , v3.hrmp_max_parachain_outbound_channels); + assert_eq!(v2.hrmp_max_parathread_outbound_channels , v3.hrmp_max_parathread_outbound_channels); + assert_eq!(v2.hrmp_sender_deposit , v3.hrmp_sender_deposit); + assert_eq!(v2.hrmp_recipient_deposit , v3.hrmp_recipient_deposit); + assert_eq!(v2.hrmp_channel_max_capacity , v3.hrmp_channel_max_capacity); + assert_eq!(v2.hrmp_channel_max_total_size , v3.hrmp_channel_max_total_size); + assert_eq!(v2.hrmp_max_parachain_inbound_channels , v3.hrmp_max_parachain_inbound_channels); + assert_eq!(v2.hrmp_max_parathread_inbound_channels , v3.hrmp_max_parathread_inbound_channels); + assert_eq!(v2.hrmp_channel_max_message_size , v3.hrmp_channel_max_message_size); + assert_eq!(v2.code_retention_period , v3.code_retention_period); + assert_eq!(v2.parathread_cores , v3.parathread_cores); + assert_eq!(v2.parathread_retries , v3.parathread_retries); + assert_eq!(v2.group_rotation_frequency , v3.group_rotation_frequency); + assert_eq!(v2.chain_availability_period , v3.chain_availability_period); + assert_eq!(v2.thread_availability_period , v3.thread_availability_period); + assert_eq!(v2.scheduling_lookahead , v3.scheduling_lookahead); + assert_eq!(v2.max_validators_per_core , v3.max_validators_per_core); + assert_eq!(v2.max_validators , v3.max_validators); + assert_eq!(v2.dispute_period , v3.dispute_period); + assert_eq!(v2.dispute_post_conclusion_acceptance_period, v3.dispute_post_conclusion_acceptance_period); + assert_eq!(v2.dispute_max_spam_slots , v3.dispute_max_spam_slots); + assert_eq!(v2.dispute_conclusion_by_time_out_period , v3.dispute_conclusion_by_time_out_period); + assert_eq!(v2.no_show_slots , v3.no_show_slots); + assert_eq!(v2.n_delay_tranches , v3.n_delay_tranches); + assert_eq!(v2.zeroth_delay_tranche_width , v3.zeroth_delay_tranche_width); + assert_eq!(v2.needed_approvals , v3.needed_approvals); + assert_eq!(v2.relay_vrf_modulo_samples , v3.relay_vrf_modulo_samples); + assert_eq!(v2.pvf_checking_enabled , v3.pvf_checking_enabled); + assert_eq!(v2.pvf_voting_ttl , v3.pvf_voting_ttl); + assert_eq!(v2.minimum_validation_upgrade_delay , v3.minimum_validation_upgrade_delay); + + assert_eq!(v2.ump_service_total_weight, OldWeight(v3.ump_service_total_weight.ref_time())); + assert_eq!(v2.ump_max_individual_weight, OldWeight(v3.ump_max_individual_weight.ref_time())); + assert_eq!(v3.ump_service_total_weight.proof_size(), MAX_POV_SIZE as u64); + assert_eq!(v3.ump_max_individual_weight.proof_size(), MAX_POV_SIZE as u64); + }; // ; makes this a statement. `rustfmt::skip` cannot be put on an expression. + }); + } +} diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 96a557712a76..93efc260523c 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1560,6 +1560,7 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + parachains_configuration::migration::v3::MigrateToV3, ), >; diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index c10715ee0ee1..5680d1b25403 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1453,6 +1453,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, + (parachains_configuration::migration::v3::MigrateToV3,), >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 6aef1be3a267..5cdb6e81ae36 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1215,6 +1215,7 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + parachains_configuration::migration::v3::MigrateToV3, ), >; /// The payload being signed in transactions. diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index f5e5d0f8c004..c29b374dd078 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -31,7 +31,7 @@ use sp_runtime::{ RuntimeDebug, }; use sp_std::{boxed::Box, marker::PhantomData, prelude::*, result::Result, vec}; -use xcm::prelude::*; +use xcm::{latest::Weight as XcmWeight, prelude::*}; use xcm_executor::traits::ConvertOrigin; use frame_support::PalletId; @@ -570,11 +570,11 @@ pub mod pallet { /// /// NOTE: A successful return to this does *not* imply that the `msg` was executed successfully /// to completion; only that *some* of it was executed. - #[pallet::weight(max_weight.saturating_add(Weight::from_ref_time(100_000_000u64)))] + #[pallet::weight(Weight::from_ref_time(max_weight.saturating_add(100_000_000u64)))] pub fn execute( origin: OriginFor, message: Box::RuntimeCall>>, - max_weight: Weight, + max_weight: XcmWeight, ) -> DispatchResultWithPostInfo { let origin_location = T::ExecuteXcmOrigin::ensure_origin(origin)?; let message = (*message).try_into().map_err(|()| Error::::BadVersion)?; @@ -584,8 +584,8 @@ pub mod pallet { let outcome = T::XcmExecutor::execute_xcm_in_credit( origin_location, message, - max_weight.ref_time(), - max_weight.ref_time(), + max_weight, + max_weight, ); let result = Ok(Some(outcome.weight_used().saturating_add(100_000_000)).into()); Self::deposit_event(Event::Attempted(outcome)); diff --git a/xcm/pallet-xcm/src/tests.rs b/xcm/pallet-xcm/src/tests.rs index ddac7518e510..b619efefbe9b 100644 --- a/xcm/pallet-xcm/src/tests.rs +++ b/xcm/pallet-xcm/src/tests.rs @@ -517,7 +517,7 @@ fn execute_withdraw_to_deposit_works() { buy_execution((Here, SEND_AMOUNT)), DepositAsset { assets: All.into(), max_assets: 1, beneficiary: dest }, ]))), - Weight::from_ref_time(weight) + weight )); assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE - SEND_AMOUNT); assert_eq!(Balances::total_balance(&BOB), SEND_AMOUNT); @@ -549,7 +549,7 @@ fn trapped_assets_can_be_claimed() { // This would succeed, but we never get to it. DepositAsset { assets: All.into(), max_assets: 1, beneficiary: dest.clone() }, ]))), - Weight::from_ref_time(weight) + weight )); let source: MultiLocation = Junction::AccountId32 { network: NetworkId::Any, id: ALICE.into() }.into(); @@ -579,7 +579,7 @@ fn trapped_assets_can_be_claimed() { buy_execution((Here, SEND_AMOUNT)), DepositAsset { assets: All.into(), max_assets: 1, beneficiary: dest.clone() }, ]))), - Weight::from_ref_time(weight) + weight )); assert_eq!(Balances::total_balance(&ALICE), INITIAL_BALANCE - SEND_AMOUNT); @@ -594,7 +594,7 @@ fn trapped_assets_can_be_claimed() { buy_execution((Here, SEND_AMOUNT)), DepositAsset { assets: All.into(), max_assets: 1, beneficiary: dest }, ]))), - Weight::from_ref_time(weight) + weight )); assert_eq!( last_event(), diff --git a/xcm/xcm-executor/integration-tests/src/lib.rs b/xcm/xcm-executor/integration-tests/src/lib.rs index 6d263fe46245..272ceadfea01 100644 --- a/xcm/xcm-executor/integration-tests/src/lib.rs +++ b/xcm/xcm-executor/integration-tests/src/lib.rs @@ -17,7 +17,6 @@ #![cfg_attr(not(feature = "std"), no_std)] #![cfg(test)] -use frame_support::weights::Weight; use polkadot_test_client::{ BlockBuilderExt, ClientBlockImportExt, DefaultTestClientBuilderExt, ExecutionStrategy, InitPolkadotBlockBuilder, TestClientBuilder, TestClientBuilderExt, @@ -47,7 +46,7 @@ fn basic_buy_fees_message_executes() { &client, polkadot_test_runtime::RuntimeCall::Xcm(pallet_xcm::Call::execute { message: Box::new(VersionedXcm::from(msg)), - max_weight: Weight::from_ref_time(1_000_000_000), + max_weight: 1_000_000_000, }), sp_keyring::Sr25519Keyring::Alice, 0, @@ -129,7 +128,7 @@ fn query_response_fires() { &client, polkadot_test_runtime::RuntimeCall::Xcm(pallet_xcm::Call::execute { message: msg, - max_weight: Weight::from_ref_time(1_000_000_000), + max_weight: 1_000_000_000, }), sp_keyring::Sr25519Keyring::Alice, 1, @@ -217,7 +216,7 @@ fn query_response_elicits_handler() { &client, polkadot_test_runtime::RuntimeCall::Xcm(pallet_xcm::Call::execute { message: Box::new(VersionedXcm::from(msg)), - max_weight: Weight::from_ref_time(1_000_000_000), + max_weight: 1_000_000_000, }), sp_keyring::Sr25519Keyring::Alice, 1, From df4a1c3cd919c727c1c1c3676229193de1134380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= Date: Wed, 5 Oct 2022 15:15:07 +0200 Subject: [PATCH 037/211] Pass through `runtime-benchmark` feature (#6110) --- cli/Cargo.toml | 6 +++++- node/test/performance-test/Cargo.toml | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 1e770cd8715b..1be1b63c0cfb 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -56,7 +56,11 @@ cli = [ "polkadot-client", "polkadot-node-core-pvf", ] -runtime-benchmarks = ["service/runtime-benchmarks", "polkadot-node-metrics/runtime-benchmarks"] +runtime-benchmarks = [ + "service/runtime-benchmarks", + "polkadot-node-metrics/runtime-benchmarks", + "polkadot-performance-test?/runtime-benchmarks" +] trie-memory-tracker = ["sp-trie/memory-tracker"] full-node = ["service/full-node"] try-runtime = ["service/try-runtime"] diff --git a/node/test/performance-test/Cargo.toml b/node/test/performance-test/Cargo.toml index 783f5194a0f5..583b80e3c2f4 100644 --- a/node/test/performance-test/Cargo.toml +++ b/node/test/performance-test/Cargo.toml @@ -19,3 +19,6 @@ kusama-runtime = { path = "../../../runtime/kusama" } [[bin]] name = "gen-ref-constants" path = "src/gen_ref_constants.rs" + +[features] +runtime-benchmarks = ["kusama-runtime/runtime-benchmarks"] From 7870dafbd88c8a4bdb1d3c3fb94745f0824a8fb6 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Wed, 5 Oct 2022 22:17:59 +0100 Subject: [PATCH 038/211] Companion for #11649: Bound uses of `Call` (#5729) * Fixes * Clear out old weights Signed-off-by: Oliver Tale-Yazdi * Resolve merges Signed-off-by: Oliver Tale-Yazdi * Fix weight traits Signed-off-by: Oliver Tale-Yazdi * polkadot runtime: Clippy Signed-off-by: Oliver Tale-Yazdi * rococo runtime: update pallet configs Signed-off-by: Oliver Tale-Yazdi * Add preimage migration Signed-off-by: Oliver Tale-Yazdi * Add all migrations Signed-off-by: Oliver Tale-Yazdi * Democracy is not on Westend Signed-off-by: Oliver Tale-Yazdi * [Migration] Refund stored multisig calls (#6075) * Add Preimages to referenda config Needed since Gov V2 just merged. Signed-off-by: Oliver Tale-Yazdi * Update weights Signed-off-by: Oliver Tale-Yazdi * Add multisig migration to Westend+Rococo Signed-off-by: Oliver Tale-Yazdi * Fix Executive syntax Signed-off-by: Oliver Tale-Yazdi * Bump Substrate Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> Co-authored-by: Roman Useinov --- Cargo.lock | 379 +++++++++--------- runtime/kusama/src/governance/fellowship.rs | 1 + runtime/kusama/src/governance/mod.rs | 1 + runtime/kusama/src/governance/old.rs | 6 +- runtime/kusama/src/lib.rs | 13 +- .../kusama/src/weights/pallet_democracy.rs | 185 +++------ runtime/kusama/src/weights/pallet_preimage.rs | 67 ++-- .../kusama/src/weights/pallet_scheduler.rs | 161 ++------ runtime/polkadot/src/lib.rs | 21 +- .../polkadot/src/weights/pallet_democracy.rs | 185 +++------ .../polkadot/src/weights/pallet_preimage.rs | 63 ++- .../polkadot/src/weights/pallet_scheduler.rs | 160 ++------ runtime/rococo/src/lib.rs | 25 +- .../rococo/src/weights/pallet_democracy.rs | 183 +++------ runtime/rococo/src/weights/pallet_preimage.rs | 63 ++- .../rococo/src/weights/pallet_scheduler.rs | 158 ++------ runtime/westend/src/lib.rs | 9 +- .../westend/src/weights/pallet_preimage.rs | 63 ++- .../westend/src/weights/pallet_scheduler.rs | 160 ++------ 19 files changed, 720 insertions(+), 1183 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 015056f42a39..c23829c0751c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -1999,7 +1999,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", ] @@ -2017,7 +2017,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -2040,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "Inflector", "array-bytes", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2102,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2118,7 +2118,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "bitflags", "frame-metadata", @@ -2179,7 +2179,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "Inflector", "cfg-expr", @@ -2193,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2205,7 +2205,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro2", "quote", @@ -2215,7 +2215,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -2249,7 +2249,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "log", @@ -2267,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-api", @@ -2291,7 +2291,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "parity-scale-codec", @@ -2474,7 +2474,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "chrono", "frame-election-provider-support", @@ -4835,7 +4835,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4849,7 +4849,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -4865,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -4880,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4904,7 +4904,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4924,7 +4924,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4943,7 +4943,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "beefy-primitives", "frame-support", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4997,7 +4997,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5034,7 +5034,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5051,7 +5051,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5068,14 +5068,16 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", + "sp-core", "sp-io", "sp-runtime", "sp-std", @@ -5084,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5108,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5121,7 +5123,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5139,7 +5141,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5160,7 +5162,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5175,7 +5177,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5198,7 +5200,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5214,7 +5216,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5234,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5253,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5268,7 +5270,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5286,7 +5288,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5301,11 +5303,12 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-io", @@ -5316,7 +5319,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5333,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5353,7 +5356,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-api", @@ -5363,7 +5366,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5380,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5403,11 +5406,12 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "sp-core", @@ -5419,7 +5423,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5434,7 +5438,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5452,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5467,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5485,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5501,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5522,7 +5526,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5538,7 +5542,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5552,7 +5556,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5575,7 +5579,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5586,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "sp-arithmetic", @@ -5595,7 +5599,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5609,7 +5613,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5627,7 +5631,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5646,7 +5650,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-support", "frame-system", @@ -5662,7 +5666,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5677,7 +5681,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5688,7 +5692,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5705,7 +5709,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5721,7 +5725,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -5736,7 +5740,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-benchmarking", "frame-support", @@ -8269,7 +8273,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8617,7 +8621,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "sp-core", @@ -8628,7 +8632,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -8637,8 +8641,8 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "prost 0.10.3", - "prost-build 0.10.4", + "prost 0.11.0", + "prost-build 0.11.1", "rand 0.7.3", "sc-client-api", "sc-network-common", @@ -8655,7 +8659,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "futures-timer", @@ -8678,7 +8682,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8694,7 +8698,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8711,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8722,7 +8726,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "chrono", @@ -8762,7 +8766,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "fnv", "futures", @@ -8790,7 +8794,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "hash-db", "kvdb", @@ -8815,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -8839,7 +8843,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "fork-tree", @@ -8881,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "jsonrpsee", @@ -8903,7 +8907,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8916,7 +8920,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -8940,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8967,7 +8971,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "environmental", "parity-scale-codec", @@ -8983,7 +8987,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", @@ -8998,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9018,7 +9022,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ahash", "array-bytes", @@ -9059,7 +9063,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "finality-grandpa", "futures", @@ -9080,7 +9084,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ansi_term", "futures", @@ -9097,7 +9101,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -9112,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -9134,7 +9138,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "prost 0.10.3", + "prost 0.11.0", "rand 0.7.3", "sc-block-builder", "sc-client-api", @@ -9159,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "cid", "futures", @@ -9179,7 +9183,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "bitflags", @@ -9189,7 +9193,7 @@ dependencies = [ "libp2p", "linked_hash_set", "parity-scale-codec", - "prost-build 0.10.4", + "prost-build 0.11.1", "sc-consensus", "sc-peerset", "serde", @@ -9205,7 +9209,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ahash", "futures", @@ -9223,15 +9227,15 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "futures", "libp2p", "log", "parity-scale-codec", - "prost 0.10.3", - "prost-build 0.10.4", + "prost 0.11.0", + "prost-build 0.11.1", "sc-client-api", "sc-network-common", "sc-peerset", @@ -9244,7 +9248,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "fork-tree", @@ -9253,8 +9257,8 @@ dependencies = [ "log", "lru 0.7.8", "parity-scale-codec", - "prost 0.10.3", - "prost-build 0.10.4", + "prost 0.11.0", + "prost-build 0.11.1", "sc-client-api", "sc-consensus", "sc-network-common", @@ -9272,7 +9276,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "futures", @@ -9291,7 +9295,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "bytes", @@ -9321,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "libp2p", @@ -9334,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9343,7 +9347,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "hash-db", @@ -9373,7 +9377,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "jsonrpsee", @@ -9396,7 +9400,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "jsonrpsee", @@ -9409,7 +9413,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "directories", @@ -9479,7 +9483,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", @@ -9493,7 +9497,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9512,7 +9516,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "libc", @@ -9531,7 +9535,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "chrono", "futures", @@ -9549,7 +9553,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ansi_term", "atty", @@ -9580,7 +9584,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9591,7 +9595,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "futures-timer", @@ -9617,7 +9621,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "log", @@ -9630,7 +9634,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "futures-timer", @@ -10116,7 +10120,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "hash-db", "log", @@ -10134,7 +10138,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "blake2", "proc-macro-crate", @@ -10146,7 +10150,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10159,7 +10163,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "integer-sqrt", "num-traits", @@ -10174,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10187,7 +10191,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "parity-scale-codec", @@ -10199,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-api", @@ -10211,7 +10215,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "log", @@ -10229,7 +10233,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -10248,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "merlin", @@ -10271,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10285,7 +10289,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10298,7 +10302,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "base58", @@ -10344,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "blake2", "byteorder", @@ -10358,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro2", "quote", @@ -10369,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10378,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro2", "quote", @@ -10388,7 +10392,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "environmental", "parity-scale-codec", @@ -10399,7 +10403,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "finality-grandpa", "log", @@ -10417,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10431,7 +10435,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "bytes", "futures", @@ -10457,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "lazy_static", "sp-core", @@ -10468,7 +10472,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures", @@ -10485,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "thiserror", "zstd", @@ -10494,10 +10498,11 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", + "scale-info", "serde", "sp-api", "sp-core", @@ -10509,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10523,7 +10528,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "sp-api", "sp-core", @@ -10533,7 +10538,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "backtrace", "lazy_static", @@ -10543,7 +10548,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "rustc-hash", "serde", @@ -10553,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "either", "hash256-std-hasher", @@ -10576,7 +10581,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10594,7 +10599,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "Inflector", "proc-macro-crate", @@ -10606,7 +10611,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "parity-scale-codec", @@ -10620,7 +10625,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10634,7 +10639,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "scale-info", @@ -10645,7 +10650,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "hash-db", "log", @@ -10667,12 +10672,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10685,7 +10690,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "log", "sp-core", @@ -10698,7 +10703,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "futures-timer", @@ -10714,7 +10719,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "sp-std", @@ -10726,7 +10731,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "sp-api", "sp-runtime", @@ -10735,7 +10740,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "async-trait", "log", @@ -10751,7 +10756,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ahash", "hash-db", @@ -10774,7 +10779,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10791,7 +10796,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10802,7 +10807,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-trait-for-tuples", "log", @@ -10815,7 +10820,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11030,7 +11035,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "platforms", ] @@ -11038,7 +11043,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11059,7 +11064,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures-util", "hyper", @@ -11072,7 +11077,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "jsonrpsee", "log", @@ -11093,7 +11098,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "array-bytes", "async-trait", @@ -11119,7 +11124,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11129,7 +11134,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11140,7 +11145,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "ansi_term", "build-helper", @@ -11853,7 +11858,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e77cbe39c4d1bfd978bb03c686fc9f60d86a3d06" +source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" dependencies = [ "clap", "frame-try-runtime", @@ -11923,7 +11928,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 0.1.10", + "cfg-if 1.0.0", "digest 0.10.3", "rand 0.8.5", "static_assertions", diff --git a/runtime/kusama/src/governance/fellowship.rs b/runtime/kusama/src/governance/fellowship.rs index 66e2f6ee6d58..52ab8d0bebc8 100644 --- a/runtime/kusama/src/governance/fellowship.rs +++ b/runtime/kusama/src/governance/fellowship.rs @@ -314,6 +314,7 @@ impl pallet_referenda::Config for Runtime { type UndecidingTimeout = UndecidingTimeout; type AlarmInterval = AlarmInterval; type Tracks = TracksInfo; + type Preimages = Preimage; } pub type FellowshipCollectiveInstance = pallet_ranked_collective::Instance1; diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index 4dbf375f67f0..87cbfd7eea2f 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -91,4 +91,5 @@ impl pallet_referenda::Config for Runtime { type UndecidingTimeout = UndecidingTimeout; type AlarmInterval = AlarmInterval; type Tracks = TracksInfo; + type Preimages = Preimage; } diff --git a/runtime/kusama/src/governance/old.rs b/runtime/kusama/src/governance/old.rs index c16ca5eddd7a..9365c903198a 100644 --- a/runtime/kusama/src/governance/old.rs +++ b/runtime/kusama/src/governance/old.rs @@ -32,7 +32,6 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; @@ -74,14 +73,15 @@ impl pallet_democracy::Config for Runtime { // only do it once and it lasts only for the cooloff period. type VetoOrigin = pallet_collective::EnsureMember; type CooloffPeriod = CooloffPeriod; - type PreimageByteDeposit = PreimageByteDeposit; - type OperationalPreimageOrigin = pallet_collective::EnsureMember; type Slash = Treasury; type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; + type Preimages = Preimage; + type MaxDeposits = ConstU32<100>; + type MaxBlacklisted = ConstU32<100>; } parameter_types! { diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index c17e744af175..a4a3a05e1173 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -225,12 +225,10 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { - pub const PreimageMaxSize: u32 = 4096 * 1024; pub const PreimageBaseDeposit: Balance = deposit(2, 64); pub const PreimageByteDeposit: Balance = deposit(0, 1); } @@ -239,8 +237,7 @@ impl pallet_preimage::Config for Runtime { type WeightInfo = weights::pallet_preimage::WeightInfo; type RuntimeEvent = RuntimeEvent; type Currency = Balances; - type ManagerOrigin = EnsureRoot; // This might be too strong a requirenent? - type MaxSize = PreimageMaxSize; + type ManagerOrigin = EnsureRoot; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -1471,6 +1468,12 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_democracy::migrations::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, ), >; diff --git a/runtime/kusama/src/weights/pallet_democracy.rs b/runtime/kusama/src/weights/pallet_democracy.rs index 76862dca3974..b9b4127c597e 100644 --- a/runtime/kusama/src/weights/pallet_democracy.rs +++ b/runtime/kusama/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,13 +32,13 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_democracy`. @@ -49,134 +49,103 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(39_849_000 as u64) + Weight::from_ref_time(42_340_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) - /// The range of component `s` is `[0, 100]`. - fn second(s: u32, ) -> Weight { - Weight::from_ref_time(31_560_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(s as u64)) + fn second() -> Weight { + Weight::from_ref_time(38_557_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_new(r: u32, ) -> Weight { - Weight::from_ref_time(43_461_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(r as u64)) + fn vote_new() -> Weight { + Weight::from_ref_time(48_480_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_existing(r: u32, ) -> Weight { - Weight::from_ref_time(43_754_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(r as u64)) + fn vote_existing() -> Weight { + Weight::from_ref_time(48_553_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(21_199_000 as u64) + Weight::from_ref_time(20_602_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:1 w:1) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn blacklist(p: u32, ) -> Weight { - Weight::from_ref_time(55_593_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(p as u64)) + fn blacklist() -> Weight { + Weight::from_ref_time(75_265_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) - /// The range of component `v` is `[1, 100]`. - fn external_propose(v: u32, ) -> Weight { - Weight::from_ref_time(14_747_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(v as u64)) + fn external_propose() -> Weight { + Weight::from_ref_time(15_498_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(4_471_000 as u64) + Weight::from_ref_time(4_503_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(4_230_000 as u64) + Weight::from_ref_time(4_486_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(20_311_000 as u64) + Weight::from_ref_time(19_676_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) - /// The range of component `v` is `[0, 100]`. - fn veto_external(v: u32, ) -> Weight { - Weight::from_ref_time(22_052_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(v as u64)) + fn veto_external() -> Weight { + Weight::from_ref_time(25_443_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn cancel_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(46_926_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(130_000 as u64).saturating_mul(p as u64)) + fn cancel_proposal() -> Weight { + Weight::from_ref_time(63_468_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(13_121_000 as u64) + Weight::from_ref_time(13_030_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn cancel_queued(r: u32, ) -> Weight { - Weight::from_ref_time(27_805_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_112_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(9_815_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_996_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(5_941_000 as u64) + // Standard Error: 2_263 + .saturating_add(Weight::from_ref_time(2_136_731 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,36 +155,36 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy LastTabledWasExternal (r:1 w:0) // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(12_343_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_001_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(8_085_000 as u64) + // Standard Error: 2_202 + .saturating_add(Weight::from_ref_time(2_143_624 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:3 w:3) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(47_307_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_899_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(40_416_000 as u64) + // Standard Error: 4_125 + .saturating_add(Weight::from_ref_time(3_038_258 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: Democracy VotingOf (r:2 w:2) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(27_872_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(2_861_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_459_000 as u64) + // Standard Error: 2_860 + .saturating_add(Weight::from_ref_time(2_984_453 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -223,76 +192,48 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(5_014_000 as u64) + Weight::from_ref_time(5_200_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(29_213_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_imminent_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(21_778_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn reap_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(36_642_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(31_776_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_289_000 as u64) + // Standard Error: 2_579 + .saturating_add(Weight::from_ref_time(125_300 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(31_414_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(28_331_000 as u64) + // Standard Error: 755 + .saturating_add(Weight::from_ref_time(90_997 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_428_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_350_000 as u64) + // Standard Error: 1_015 + .saturating_add(Weight::from_ref_time(104_402 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_684_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_433_000 as u64) + // Standard Error: 980 + .saturating_add(Weight::from_ref_time(104_660 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs index 782deda50e27..2fc3687f4581 100644 --- a/runtime/kusama/src/weights/pallet_preimage.rs +++ b/runtime/kusama/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,103 +32,102 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(27_993_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(2_208 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(19_503_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(2_264 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(17_878_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(2_130 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(37_471_000 as u64) + Weight::from_ref_time(40_091_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(26_305_000 as u64) + Weight::from_ref_time(27_459_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(35_418_000 as u64) + Weight::from_ref_time(27_176_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(23_113_000 as u64) + Weight::from_ref_time(14_096_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_429_000 as u64) + Weight::from_ref_time(17_365_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(8_153_000 as u64) + Weight::from_ref_time(8_013_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(25_132_000 as u64) + Weight::from_ref_time(27_185_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_918_000 as u64) + Weight::from_ref_time(7_955_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(8_173_000 as u64) + Weight::from_ref_time(7_819_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_scheduler.rs b/runtime/kusama/src/weights/pallet_scheduler.rs index f291bcd2c490..c6df2801dd69 100644 --- a/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/runtime/kusama/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,145 +32,66 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(11_217_000 as u64) - // Standard Error: 43_000 - .saturating_add(Weight::from_ref_time(19_456_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_558_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_840_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(15_699_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_715_000 as u64) + // Standard Error: 2_737 + .saturating_add(Weight::from_ref_time(624_353 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(10_761_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(17_063_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(9_345_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(12_801_000 as u64) - // Standard Error: 27_000 - .saturating_add(Weight::from_ref_time(14_878_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_462_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(5_706_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(20_078_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_153 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(9_952_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_762_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(14_502_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(10_550_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(10_744_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(14_956_000 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(8_343_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(9_556_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(13_862_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(7_398_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(4_130_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(14_529_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(6_467_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(4_058_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_944_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(16_721_000 as u64) + // Standard Error: 3_319 + .saturating_add(Weight::from_ref_time(657_802 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +99,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(20_087_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_214_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_496_000 as u64) + // Standard Error: 1_368 + .saturating_add(Weight::from_ref_time(572_226 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(23_553_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(118_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_831_000 as u64) + // Standard Error: 3_559 + .saturating_add(Weight::from_ref_time(689_493 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +119,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(22_403_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_255_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_788_000 as u64) + // Standard Error: 1_758 + .saturating_add(Weight::from_ref_time(605_808 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 93efc260523c..054fb421babd 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -40,7 +40,10 @@ use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_election_provider_support::{generate_solution_type, onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, - traits::{EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, PrivilegeCmp}, + traits::{ + ConstU32, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, + PrivilegeCmp, + }, weights::ConstantMultiplier, PalletId, RuntimeDebug, }; @@ -215,8 +218,7 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { @@ -230,7 +232,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type MaxSize = PreimageMaxSize; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -615,7 +616,6 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; @@ -667,14 +667,15 @@ impl pallet_democracy::Config for Runtime { // only do it once and it lasts only for the cooloff period. type VetoOrigin = pallet_collective::EnsureMember; type CooloffPeriod = CooloffPeriod; - type PreimageByteDeposit = PreimageByteDeposit; - type OperationalPreimageOrigin = pallet_collective::EnsureMember; type Slash = Treasury; type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; + type Preimages = Preimage; + type MaxDeposits = ConstU32<100>; + type MaxBlacklisted = ConstU32<100>; } parameter_types! { @@ -1560,6 +1561,12 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_democracy::migrations::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, ), >; diff --git a/runtime/polkadot/src/weights/pallet_democracy.rs b/runtime/polkadot/src/weights/pallet_democracy.rs index 1e94d2b5deb0..136797abcf03 100644 --- a/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/runtime/polkadot/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,13 +32,13 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_democracy`. @@ -49,134 +49,103 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(40_082_000 as u64) + Weight::from_ref_time(42_048_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) - /// The range of component `s` is `[0, 100]`. - fn second(s: u32, ) -> Weight { - Weight::from_ref_time(31_920_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(s as u64)) + fn second() -> Weight { + Weight::from_ref_time(38_631_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_new(r: u32, ) -> Weight { - Weight::from_ref_time(43_490_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(r as u64)) + fn vote_new() -> Weight { + Weight::from_ref_time(48_571_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_existing(r: u32, ) -> Weight { - Weight::from_ref_time(42_957_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(r as u64)) + fn vote_existing() -> Weight { + Weight::from_ref_time(48_556_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(20_818_000 as u64) + Weight::from_ref_time(20_104_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:1 w:1) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn blacklist(p: u32, ) -> Weight { - Weight::from_ref_time(55_285_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(p as u64)) + fn blacklist() -> Weight { + Weight::from_ref_time(75_289_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) - /// The range of component `v` is `[1, 100]`. - fn external_propose(v: u32, ) -> Weight { - Weight::from_ref_time(14_271_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(v as u64)) + fn external_propose() -> Weight { + Weight::from_ref_time(15_734_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(4_129_000 as u64) + Weight::from_ref_time(4_507_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(4_215_000 as u64) + Weight::from_ref_time(4_603_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(20_440_000 as u64) + Weight::from_ref_time(19_816_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) - /// The range of component `v` is `[0, 100]`. - fn veto_external(v: u32, ) -> Weight { - Weight::from_ref_time(21_988_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(v as u64)) + fn veto_external() -> Weight { + Weight::from_ref_time(25_722_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn cancel_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(46_176_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(p as u64)) + fn cancel_proposal() -> Weight { + Weight::from_ref_time(63_768_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(12_940_000 as u64) + Weight::from_ref_time(13_183_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn cancel_queued(r: u32, ) -> Weight { - Weight::from_ref_time(27_421_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(808_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(9_602_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_017_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(5_999_000 as u64) + // Standard Error: 2_072 + .saturating_add(Weight::from_ref_time(2_080_681 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,36 +155,36 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy LastTabledWasExternal (r:1 w:0) // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(12_548_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_010_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(8_114_000 as u64) + // Standard Error: 2_286 + .saturating_add(Weight::from_ref_time(2_087_574 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:3 w:3) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(46_940_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_877_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(40_509_000 as u64) + // Standard Error: 3_676 + .saturating_add(Weight::from_ref_time(2_999_395 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: Democracy VotingOf (r:2 w:2) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(27_418_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_872_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_592_000 as u64) + // Standard Error: 2_506 + .saturating_add(Weight::from_ref_time(2_932_469 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -223,76 +192,48 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(4_996_000 as u64) + Weight::from_ref_time(5_070_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(28_635_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_imminent_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(21_474_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn reap_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(36_399_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(32_139_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(23_860_000 as u64) + // Standard Error: 2_624 + .saturating_add(Weight::from_ref_time(129_209 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(31_338_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(28_512_000 as u64) + // Standard Error: 619 + .saturating_add(Weight::from_ref_time(84_477 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_298_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_612_000 as u64) + // Standard Error: 841 + .saturating_add(Weight::from_ref_time(98_567 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(18_456_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_282_000 as u64) + // Standard Error: 1_040 + .saturating_add(Weight::from_ref_time(104_928 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_preimage.rs b/runtime/polkadot/src/weights/pallet_preimage.rs index 15606f560519..bd316e310277 100644 --- a/runtime/polkadot/src/weights/pallet_preimage.rs +++ b/runtime/polkadot/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,103 +32,102 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(28_326_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(20_011_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + .saturating_add(Weight::from_ref_time(2_114 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(18_805_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(40_028_000 as u64) + Weight::from_ref_time(39_007_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(27_637_000 as u64) + Weight::from_ref_time(27_523_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(37_505_000 as u64) + Weight::from_ref_time(26_477_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(26_628_000 as u64) + Weight::from_ref_time(13_236_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_156_000 as u64) + Weight::from_ref_time(17_975_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(8_109_000 as u64) + Weight::from_ref_time(8_295_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(27_209_000 as u64) + Weight::from_ref_time(26_186_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_931_000 as u64) + Weight::from_ref_time(8_176_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(7_951_000 as u64) + Weight::from_ref_time(8_005_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_scheduler.rs b/runtime/polkadot/src/weights/pallet_scheduler.rs index 6103794df8a5..9446fdc5efec 100644 --- a/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,145 +32,69 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_177_000 as u64) - // Standard Error: 21_000 - .saturating_add(Weight::from_ref_time(18_354_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_522_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(12_632_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(14_845_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_859_000 as u64) + // Standard Error: 2_692 + .saturating_add(Weight::from_ref_time(618_992 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(13_757_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(15_871_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(12_288_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_338_000 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(13_610_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_335_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(5_073_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_095_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(3_021_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(23_105_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_126 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(15_328_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(9_601_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(18_306_000 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(7_155_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(13_382_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(16_079_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(6_321_000 as u64).saturating_mul(s as u64)) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(19_246_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(16_074_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(5_352_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(3_714_000 as u64) + } + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(3_667_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_480_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(76_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(16_556_000 as u64) + // Standard Error: 3_431 + .saturating_add(Weight::from_ref_time(659_506 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +102,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(19_669_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(892_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(18_922_000 as u64) + // Standard Error: 1_665 + .saturating_add(Weight::from_ref_time(586_420 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(24_633_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_633_000 as u64) + // Standard Error: 3_740 + .saturating_add(Weight::from_ref_time(692_772 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +122,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(22_707_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(922_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_220_000 as u64) + // Standard Error: 2_111 + .saturating_add(Weight::from_ref_time(622_452 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 5680d1b25403..a13bc5932db2 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -70,8 +70,8 @@ use sp_mmr_primitives as mmr; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, traits::{ - AccountIdLookup, BlakeTwo256, Block as BlockT, ConvertInto, Extrinsic as ExtrinsicT, - Keccak256, OpaqueKeys, SaturatedConversion, Verify, + AccountIdLookup, BlakeTwo256, Block as BlockT, ConstU32, ConvertInto, + Extrinsic as ExtrinsicT, Keccak256, OpaqueKeys, SaturatedConversion, Verify, }, transaction_validity::{TransactionPriority, TransactionSource, TransactionValidity}, ApplyExtrinsicResult, KeyTypeId, Perbill, Percent, Permill, @@ -216,12 +216,10 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = OriginPrivilegeCmp; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { - pub const PreimageMaxSize: u32 = 4096 * 1024; pub const PreimageBaseDeposit: Balance = deposit(2, 64); pub const PreimageByteDeposit: Balance = deposit(0, 1); } @@ -231,7 +229,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type MaxSize = PreimageMaxSize; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -399,7 +396,6 @@ parameter_types! { } impl pallet_democracy::Config for Runtime { - type Proposal = RuntimeCall; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type EnactmentPeriod = EnactmentPeriod; @@ -441,14 +437,15 @@ impl pallet_democracy::Config for Runtime { // only do it once and it lasts only for the cooloff period. type VetoOrigin = pallet_collective::EnsureMember; type CooloffPeriod = CooloffPeriod; - type PreimageByteDeposit = PreimageByteDeposit; - type OperationalPreimageOrigin = pallet_collective::EnsureMember; type Slash = Treasury; type Scheduler = Scheduler; type PalletsOrigin = OriginCaller; type MaxVotes = MaxVotes; type WeightInfo = weights::pallet_democracy::WeightInfo; type MaxProposals = MaxProposals; + type Preimages = Preimage; + type MaxDeposits = ConstU32<100>; + type MaxBlacklisted = ConstU32<100>; } parameter_types! { @@ -1453,7 +1450,15 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (parachains_configuration::migration::v3::MigrateToV3,), + ( + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_democracy::migrations::v1::Migration, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" + parachains_configuration::migration::v3::MigrateToV3, + ), >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/rococo/src/weights/pallet_democracy.rs b/runtime/rococo/src/weights/pallet_democracy.rs index 317b0d4bb0a1..453385b594e7 100644 --- a/runtime/rococo/src/weights/pallet_democracy.rs +++ b/runtime/rococo/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_democracy.rs +// --output=./runtime/rococo/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,134 +49,103 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(37_453_000 as u64) + Weight::from_ref_time(41_783_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) - /// The range of component `s` is `[0, 100]`. - fn second(s: u32, ) -> Weight { - Weight::from_ref_time(27_807_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64)) + fn second() -> Weight { + Weight::from_ref_time(38_362_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_new(r: u32, ) -> Weight { - Weight::from_ref_time(35_336_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(120_000 as u64).saturating_mul(r as u64)) + fn vote_new() -> Weight { + Weight::from_ref_time(48_307_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn vote_existing(r: u32, ) -> Weight { - Weight::from_ref_time(35_107_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(r as u64)) + fn vote_existing() -> Weight { + Weight::from_ref_time(48_500_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(17_752_000 as u64) + Weight::from_ref_time(20_294_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) + // Storage: Democracy DepositOf (r:1 w:1) + // Storage: System Account (r:1 w:1) // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) - // Storage: Democracy DepositOf (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn blacklist(p: u32, ) -> Weight { - Weight::from_ref_time(52_116_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(194_000 as u64).saturating_mul(p as u64)) + fn blacklist() -> Weight { + Weight::from_ref_time(75_191_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) - /// The range of component `v` is `[1, 100]`. - fn external_propose(v: u32, ) -> Weight { - Weight::from_ref_time(10_194_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64)) + fn external_propose() -> Weight { + Weight::from_ref_time(16_369_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(3_700_000 as u64) + Weight::from_ref_time(4_767_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(3_713_000 as u64) + Weight::from_ref_time(4_866_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(17_441_000 as u64) + Weight::from_ref_time(19_986_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) - /// The range of component `v` is `[0, 100]`. - fn veto_external(v: u32, ) -> Weight { - Weight::from_ref_time(18_536_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(42_000 as u64).saturating_mul(v as u64)) + fn veto_external() -> Weight { + Weight::from_ref_time(25_291_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy PublicProps (r:1 w:1) // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `p` is `[1, 100]`. - fn cancel_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(42_174_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(p as u64)) + fn cancel_proposal() -> Weight { + Weight::from_ref_time(63_703_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(11_892_000 as u64) + Weight::from_ref_time(13_235_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `r` is `[1, 99]`. - fn cancel_queued(r: u32, ) -> Weight { - Weight::from_ref_time(23_252_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_242_000 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } // Storage: Democracy LowestUnbaked (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(1_457_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_956_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(5_980_000 as u64) + // Standard Error: 2_131 + .saturating_add(Weight::from_ref_time(2_104_197 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -186,36 +155,36 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy LastTabledWasExternal (r:1 w:0) // Storage: Democracy NextExternal (r:1 w:0) // Storage: Democracy PublicProps (r:1 w:0) - // Storage: Democracy ReferendumInfoOf (r:1 w:0) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:0) + /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(6_240_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_963_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(8_351_000 as u64) + // Standard Error: 2_308 + .saturating_add(Weight::from_ref_time(2_117_411 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:3 w:3) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(34_480_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_908_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(40_303_000 as u64) + // Standard Error: 3_789 + .saturating_add(Weight::from_ref_time(3_031_594 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: Democracy VotingOf (r:2 w:2) - // Storage: Democracy ReferendumInfoOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + // Storage: Democracy ReferendumInfoOf (r:2 w:2) + /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(17_446_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(3_917_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(24_342_000 as u64) + // Standard Error: 2_624 + .saturating_add(Weight::from_ref_time(2_962_125 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -223,76 +192,48 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(3_727_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(25_720_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - /// The range of component `b` is `[0, 16384]`. - fn note_imminent_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(17_884_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Democracy Preimages (r:1 w:1) - // Storage: System Account (r:1 w:0) - /// The range of component `b` is `[0, 16384]`. - fn reap_preimage(b: u32, ) -> Weight { - Weight::from_ref_time(24_695_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + Weight::from_ref_time(5_811_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(22_207_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(22_894_000 as u64) + // Standard Error: 2_967 + .saturating_add(Weight::from_ref_time(142_001 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(21_561_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(28_227_000 as u64) + // Standard Error: 673 + .saturating_add(Weight::from_ref_time(87_748 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(13_204_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_578_000 as u64) + // Standard Error: 1_035 + .saturating_add(Weight::from_ref_time(105_378 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy VotingOf (r:1 w:1) - /// The range of component `r` is `[1, 99]`. + /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(12_994_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(106_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(15_542_000 as u64) + // Standard Error: 1_104 + .saturating_add(Weight::from_ref_time(109_552 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_preimage.rs b/runtime/rococo/src/weights/pallet_preimage.rs index 5268e8054a13..1755de2b34e6 100644 --- a/runtime/rococo/src/weights/pallet_preimage.rs +++ b/runtime/rococo/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_preimage.rs +// --output=./runtime/rococo/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -44,91 +44,90 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(29_017_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(Weight::from_ref_time(2_113 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(19_793_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(18_854_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(35_236_000 as u64) + Weight::from_ref_time(38_886_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(23_396_000 as u64) + Weight::from_ref_time(27_017_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(33_944_000 as u64) + Weight::from_ref_time(25_041_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(22_151_000 as u64) + Weight::from_ref_time(13_933_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(16_617_000 as u64) + Weight::from_ref_time(17_760_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(6_552_000 as u64) + Weight::from_ref_time(8_816_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(23_787_000 as u64) + Weight::from_ref_time(25_068_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(16_327_000 as u64) + Weight::from_ref_time(8_917_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(6_289_000 as u64) + Weight::from_ref_time(8_915_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_scheduler.rs b/runtime/rococo/src/weights/pallet_scheduler.rs index 06a77fcee9cb..ae9dc6426622 100644 --- a/runtime/rococo/src/weights/pallet_scheduler.rs +++ b/runtime/rococo/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_scheduler.rs +// --output=./runtime/rococo/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -44,133 +44,57 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(1_256_000 as u64) - // Standard Error: 42_000 - .saturating_add(Weight::from_ref_time(26_925_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_700_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(921_000 as u64) - // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(21_922_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_868_000 as u64) + // Standard Error: 2_747 + .saturating_add(Weight::from_ref_time(629_992 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 62_000 - .saturating_add(Weight::from_ref_time(24_926_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(12_316_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(10_674_000 as u64) - // Standard Error: 31_000 - .saturating_add(Weight::from_ref_time(20_631_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(2_607_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(10_009_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(3_381_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(7_945_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(24_103_000 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_154 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(6_676_000 as u64) - // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(16_966_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(8_899_000 as u64) - // Standard Error: 24_000 - .saturating_add(Weight::from_ref_time(14_630_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(13_408_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(8_583_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(12_228_000 as u64).saturating_mul(s as u64)) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(19_302_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(8_544_000 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(11_364_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(3_885_000 as u64) + } + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(4_037_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_060_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(16_768_000 as u64) + // Standard Error: 3_650 + .saturating_add(Weight::from_ref_time(667_428 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +102,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(17_694_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_368_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_239_000 as u64) + // Standard Error: 1_456 + .saturating_add(Weight::from_ref_time(578_125 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(22_258_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_065_000 as u64) + // Standard Error: 4_027 + .saturating_add(Weight::from_ref_time(719_766 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +122,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(18_882_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_379_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_039_000 as u64) + // Standard Error: 2_179 + .saturating_add(Weight::from_ref_time(627_335 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 5cdb6e81ae36..61a909b4806d 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -181,8 +181,7 @@ impl pallet_scheduler::Config for Runtime { type MaxScheduledPerBlock = MaxScheduledPerBlock; type WeightInfo = weights::pallet_scheduler::WeightInfo; type OriginPrivilegeCmp = frame_support::traits::EqualPrivilegeOnly; - type PreimageProvider = Preimage; - type NoPreimagePostponement = NoPreimagePostponement; + type Preimages = Preimage; } parameter_types! { @@ -196,7 +195,6 @@ impl pallet_preimage::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; type ManagerOrigin = EnsureRoot; - type MaxSize = PreimageMaxSize; type BaseDeposit = PreimageBaseDeposit; type ByteDeposit = PreimageByteDeposit; } @@ -1215,6 +1213,11 @@ pub type Executive = frame_executive::Executive< StakingMigrationV11OldPallet, >, pallet_staking::migrations::v12::MigrateToV12, + // "Bound uses of call" + pallet_preimage::migration::v1::Migration, + pallet_scheduler::migration::v3::MigrateToV4, + pallet_multisig::migrations::v1::MigrateToV1, + // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, ), >; diff --git a/runtime/westend/src/weights/pallet_preimage.rs b/runtime/westend/src/weights/pallet_preimage.rs index afd51148cdde..97f066d7d40b 100644 --- a/runtime/westend/src/weights/pallet_preimage.rs +++ b/runtime/westend/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -32,103 +32,102 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/westend/src/weights/ +// --output=./runtime/westend/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_preimage`. pub struct WeightInfo(PhantomData); impl pallet_preimage::WeightInfo for WeightInfo { - // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(28_888_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + Weight::from_ref_time(20_640_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:0) + // Storage: Preimage StatusFor (r:1 w:1) + // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + Weight::from_ref_time(19_203_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(40_836_000 as u64) + Weight::from_ref_time(41_563_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(28_774_000 as u64) + Weight::from_ref_time(28_606_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(37_963_000 as u64) + Weight::from_ref_time(27_447_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(25_754_000 as u64) + Weight::from_ref_time(14_862_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_769_000 as u64) + Weight::from_ref_time(18_337_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(9_214_000 as u64) + Weight::from_ref_time(9_074_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(26_179_000 as u64) + Weight::from_ref_time(28_192_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(18_809_000 as u64) + Weight::from_ref_time(9_012_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(8_759_000 as u64) + Weight::from_ref_time(8_961_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_scheduler.rs b/runtime/westend/src/weights/pallet_scheduler.rs index edbd3187d1c9..f325f2311093 100644 --- a/runtime/westend/src/weights/pallet_scheduler.rs +++ b/runtime/westend/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -32,145 +32,69 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/westend/src/weights/ +// --output=./runtime/westend/src/weights #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_scheduler`. pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(16_183_000 as u64) - // Standard Error: 27_000 - .saturating_add(Weight::from_ref_time(18_374_000 as u64).saturating_mul(s as u64)) + // Storage: Scheduler IncompleteSince (r:1 w:1) + fn service_agendas_base() -> Weight { + Weight::from_ref_time(4_399_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((4 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_223_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(15_096_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[0, 50]`. + fn service_agenda_base(s: u32, ) -> Weight { + Weight::from_ref_time(3_771_000 as u64) + // Standard Error: 2_641 + .saturating_add(Weight::from_ref_time(610_848 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(13_305_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(16_211_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(s as u64))) + fn service_task_base() -> Weight { + Weight::from_ref_time(12_651_000 as u64) } - // Storage: Scheduler Agenda (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_resolved(s: u32, ) -> Weight { - Weight::from_ref_time(15_574_000 as u64) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(13_923_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(11_205_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(5_044_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - // Storage: Preimage PreimageFor (r:1 w:0) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_aborted(s: u32, ) -> Weight { - Weight::from_ref_time(10_287_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(3_072_000 as u64).saturating_mul(s as u64)) + /// The range of component `s` is `[128, 4194304]`. + fn service_task_fetched(s: u32, ) -> Weight { + Weight::from_ref_time(24_280_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_126 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic_named(s: u32, ) -> Weight { - Weight::from_ref_time(14_489_000 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(9_468_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(s as u64))) - } - // Storage: Scheduler Agenda (r:2 w:2) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_periodic(s: u32, ) -> Weight { - Weight::from_ref_time(16_768_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(7_121_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) + fn service_task_named() -> Weight { + Weight::from_ref_time(13_929_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } // Storage: Scheduler Agenda (r:1 w:1) - // Storage: Scheduler Lookup (r:0 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize_named(s: u32, ) -> Weight { - Weight::from_ref_time(17_047_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(6_192_000 as u64).saturating_mul(s as u64)) + fn service_task_periodic() -> Weight { + Weight::from_ref_time(19_285_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) } - // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[1, 50]`. - fn on_initialize(s: u32, ) -> Weight { - Weight::from_ref_time(17_163_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(5_300_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn execute_dispatch_signed() -> Weight { + Weight::from_ref_time(4_026_000 as u64) + } + fn execute_dispatch_unsigned() -> Weight { + Weight::from_ref_time(4_078_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(19_757_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(17_176_000 as u64) + // Standard Error: 3_203 + .saturating_add(Weight::from_ref_time(645_757 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,19 +102,19 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(20_399_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(880_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(19_408_000 as u64) + // Standard Error: 1_645 + .saturating_add(Weight::from_ref_time(575_558 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) - /// The range of component `s` is `[0, 50]`. + /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(23_671_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_173_000 as u64) + // Standard Error: 3_998 + .saturating_add(Weight::from_ref_time(684_714 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -198,9 +122,9 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(23_233_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(924_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(20_330_000 as u64) + // Standard Error: 2_310 + .saturating_add(Weight::from_ref_time(621_196 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } From 3646202110b3810027f9d7fd0b45cb1bcb9678f4 Mon Sep 17 00:00:00 2001 From: Andronik Date: Thu, 6 Oct 2022 00:36:51 +0200 Subject: [PATCH 039/211] update kvdb & co (#6111) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * toml changes * REVERTME: patch * adapt parachains db interface * fix Cargo.toml patch after master rebase * fix av-store * fix chain-selection * fix parachains-db? * Revert "fix Cargo.toml patch after master rebase" This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287. * Revert "REVERTME: patch" This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54. * Use `Ok` imported from prelude Co-authored-by: Bastian Köcher * update lockfile for {"substrate"} * Revert "update lockfile for {"substrate"}" This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d. * cargo update -p sp-io Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> --- Cargo.lock | 442 +++++++++--------- Cargo.toml | 2 +- core-primitives/Cargo.toml | 2 +- node/core/approval-voting/Cargo.toml | 4 +- node/core/av-store/Cargo.toml | 4 +- node/core/av-store/src/lib.rs | 28 +- node/core/chain-selection/Cargo.toml | 4 +- .../core/chain-selection/src/db_backend/v1.rs | 26 +- node/core/dispute-coordinator/Cargo.toml | 4 +- node/core/runtime-api/Cargo.toml | 2 +- node/malus/Cargo.toml | 2 +- node/overseer/Cargo.toml | 2 +- node/service/Cargo.toml | 4 +- node/service/src/parachains_db/upgrade.rs | 2 +- node/subsystem-util/Cargo.toml | 6 +- node/subsystem-util/src/database.rs | 79 ++-- parachain/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- 18 files changed, 294 insertions(+), 323 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c23829c0751c..3bd1c69b5584 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -530,9 +530,9 @@ dependencies = [ [[package]] name = "bindgen" -version = "0.59.2" +version = "0.60.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bd2a9a458e8f4304c52c43ebb0cfbd520289f8379a52e329a38afda99bf8eb8" +checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6" dependencies = [ "bitflags", "cexpr", @@ -915,7 +915,7 @@ checksum = "fa66045b9cb23c2e9c1520732030608b02ee07e5cfaa5a521ec15ded7fa24c90" dependencies = [ "glob", "libc", - "libloading 0.7.2", + "libloading", ] [[package]] @@ -1946,9 +1946,9 @@ dependencies = [ [[package]] name = "fixed-hash" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" +checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", "rand 0.8.5", @@ -1999,7 +1999,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", ] @@ -2017,7 +2017,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -2040,7 +2040,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "Inflector", "array-bytes", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2102,7 +2102,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2118,7 +2118,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -2147,7 +2147,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "bitflags", "frame-metadata", @@ -2179,7 +2179,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "Inflector", "cfg-expr", @@ -2193,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2205,7 +2205,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro2", "quote", @@ -2215,7 +2215,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -2249,7 +2249,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "log", @@ -2267,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-api", @@ -2291,7 +2291,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "parity-scale-codec", @@ -2306,18 +2306,6 @@ version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5ebd3504ad6116843b8375ad70df74e7bfe83cac77a1f3fe73200c844d43bfe0" -[[package]] -name = "fs-swap" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03d47dad3685eceed8488986cad3d5027165ea5edb164331770e2059555f10a5" -dependencies = [ - "lazy_static", - "libc", - "libloading 0.5.2", - "winapi", -] - [[package]] name = "fs2" version = "0.4.3" @@ -2474,7 +2462,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "chrono", "frame-election-provider-support", @@ -2910,9 +2898,9 @@ dependencies = [ [[package]] name = "impl-serde" -version = "0.3.2" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" +checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" dependencies = [ "serde", ] @@ -3327,9 +3315,9 @@ dependencies = [ [[package]] name = "kvdb" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a301d8ecb7989d4a6e2c57a49baca77d353bdbf879909debe3f375fe25d61f86" +checksum = "585089ceadba0197ffe9af6740ab350b325e3c1f5fccfbc3522e0250c750409b" dependencies = [ "parity-util-mem", "smallvec", @@ -3337,9 +3325,9 @@ dependencies = [ [[package]] name = "kvdb-memorydb" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ece7e668abd21387aeb6628130a6f4c802787f014fa46bc83221448322250357" +checksum = "40d109c87bfb7759edd2a49b2649c1afe25af785d930ad6a38479b4dc70dd873" dependencies = [ "kvdb", "parity-util-mem", @@ -3348,15 +3336,13 @@ dependencies = [ [[package]] name = "kvdb-rocksdb" -version = "0.15.2" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca7fbdfd71cd663dceb0faf3367a99f8cf724514933e9867cec4995b6027cbc1" +checksum = "c076cc2cdbac89b9910c853a36c957d3862a779f31c2661174222cefb49ee597" dependencies = [ - "fs-swap", "kvdb", "log", "num_cpus", - "owning_ref", "parity-util-mem", "parking_lot 0.12.1", "regex", @@ -3366,9 +3352,9 @@ dependencies = [ [[package]] name = "kvdb-shared-tests" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a9001edd3459aa1503ea84215cf4618a6e2e020f51682494cc6f5ab1150e68e" +checksum = "de82a1adb7ade192c0090dd56d059a626191c0638c795eb68aff4b0bd2c1f9be" dependencies = [ "kvdb", ] @@ -3403,16 +3389,6 @@ dependencies = [ "pkg-config", ] -[[package]] -name = "libloading" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b111a074963af1d37a139918ac6d49ad1d0d5e47f72fd55388619691a7d753" -dependencies = [ - "cc", - "winapi", -] - [[package]] name = "libloading" version = "0.7.2" @@ -3946,9 +3922,9 @@ dependencies = [ [[package]] name = "librocksdb-sys" -version = "0.6.1+6.28.2" +version = "0.8.0+7.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81bc587013734dadb7cf23468e531aa120788b87243648be42e2d3a072186291" +checksum = "611804e4666a25136fcc5f8cf425ab4d26c7f74ea245ffe92ea23b85b6420b5d" dependencies = [ "bindgen", "bzip2-sys", @@ -4225,9 +4201,9 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.29.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a" +checksum = "34ac11bb793c28fa095b7554466f53b3a60a2cd002afdac01bcf135cbd73a269" dependencies = [ "hash-db", "hashbrown", @@ -4835,7 +4811,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4849,7 +4825,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -4865,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -4880,7 +4856,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4904,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4924,7 +4900,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4943,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4934,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "beefy-primitives", "frame-support", @@ -4974,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4997,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +4991,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5034,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5051,7 +5027,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5068,7 +5044,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5086,7 +5062,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5110,7 +5086,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5123,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5141,7 +5117,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5162,7 +5138,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5177,7 +5153,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5200,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5216,7 +5192,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5253,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5270,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5288,7 +5264,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5303,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5319,7 +5295,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5312,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5356,7 +5332,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-api", @@ -5366,7 +5342,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5383,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5406,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5423,7 +5399,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5438,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5456,7 +5432,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5471,7 +5447,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5489,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5481,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5526,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5542,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5556,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5579,7 +5555,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5590,7 +5566,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "sp-arithmetic", @@ -5599,7 +5575,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5613,7 +5589,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5631,7 +5607,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5650,7 +5626,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-support", "frame-system", @@ -5666,7 +5642,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5681,7 +5657,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5692,7 +5668,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5709,7 +5685,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5725,7 +5701,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5740,7 +5716,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-benchmarking", "frame-support", @@ -5853,9 +5829,9 @@ checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" [[package]] name = "parity-util-mem" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f" +checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" dependencies = [ "cfg-if 1.0.0", "hashbrown", @@ -7731,9 +7707,9 @@ dependencies = [ [[package]] name = "primitive-types" -version = "0.11.1" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" +checksum = "5cfd65aea0c5fa0bfcc7c9e7ca828c921ef778f43d325325ec84bda371bfa75a" dependencies = [ "fixed-hash", "impl-codec", @@ -8273,7 +8249,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8371,9 +8347,9 @@ dependencies = [ [[package]] name = "rocksdb" -version = "0.18.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "620f4129485ff1a7128d184bc687470c21c7951b64779ebc9cfdad3dcd920290" +checksum = "7e9562ea1d70c0cc63a34a22d977753b50cca91cc6b6527750463bd5dd8697bc" dependencies = [ "libc", "librocksdb-sys", @@ -8621,7 +8597,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "sp-core", @@ -8632,7 +8608,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -8659,7 +8635,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "futures-timer", @@ -8682,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8698,7 +8674,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8715,7 +8691,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8726,7 +8702,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "chrono", @@ -8766,7 +8742,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "fnv", "futures", @@ -8794,7 +8770,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "hash-db", "kvdb", @@ -8819,7 +8795,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -8843,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "fork-tree", @@ -8885,7 +8861,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "jsonrpsee", @@ -8907,7 +8883,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8920,7 +8896,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -8944,7 +8920,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8971,7 +8947,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "environmental", "parity-scale-codec", @@ -8987,7 +8963,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -9002,7 +8978,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9022,7 +8998,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ahash", "array-bytes", @@ -9063,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "finality-grandpa", "futures", @@ -9084,7 +9060,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ansi_term", "futures", @@ -9101,7 +9077,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -9116,7 +9092,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -9163,7 +9139,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "cid", "futures", @@ -9183,7 +9159,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "bitflags", @@ -9209,7 +9185,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ahash", "futures", @@ -9227,7 +9203,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "futures", @@ -9248,7 +9224,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "fork-tree", @@ -9276,7 +9252,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "futures", @@ -9295,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "bytes", @@ -9325,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "libp2p", @@ -9338,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9347,7 +9323,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "hash-db", @@ -9377,7 +9353,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "jsonrpsee", @@ -9400,7 +9376,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "jsonrpsee", @@ -9413,7 +9389,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "directories", @@ -9483,7 +9459,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -9497,7 +9473,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9516,7 +9492,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "libc", @@ -9535,7 +9511,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "chrono", "futures", @@ -9553,7 +9529,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ansi_term", "atty", @@ -9584,7 +9560,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9595,7 +9571,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "futures-timer", @@ -9621,7 +9597,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "log", @@ -9634,7 +9610,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "futures-timer", @@ -10120,7 +10096,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "hash-db", "log", @@ -10138,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "blake2", "proc-macro-crate", @@ -10150,7 +10126,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10163,7 +10139,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "integer-sqrt", "num-traits", @@ -10178,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10191,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "parity-scale-codec", @@ -10203,7 +10179,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-api", @@ -10215,7 +10191,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "log", @@ -10233,7 +10209,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -10252,7 +10228,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "merlin", @@ -10275,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10289,7 +10265,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10302,7 +10278,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "base58", @@ -10348,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "blake2", "byteorder", @@ -10362,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro2", "quote", @@ -10373,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10382,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro2", "quote", @@ -10392,7 +10368,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "environmental", "parity-scale-codec", @@ -10403,7 +10379,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "finality-grandpa", "log", @@ -10421,7 +10397,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10435,7 +10411,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "bytes", "futures", @@ -10461,7 +10437,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "lazy_static", "sp-core", @@ -10472,7 +10448,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures", @@ -10489,7 +10465,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "thiserror", "zstd", @@ -10498,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -10514,7 +10490,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10528,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "sp-api", "sp-core", @@ -10538,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "backtrace", "lazy_static", @@ -10548,7 +10524,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "rustc-hash", "serde", @@ -10558,7 +10534,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "either", "hash256-std-hasher", @@ -10581,7 +10557,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10599,7 +10575,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "Inflector", "proc-macro-crate", @@ -10611,7 +10587,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "parity-scale-codec", @@ -10625,7 +10601,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10639,7 +10615,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "scale-info", @@ -10650,7 +10626,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "hash-db", "log", @@ -10672,12 +10648,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10690,7 +10666,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "log", "sp-core", @@ -10703,7 +10679,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "futures-timer", @@ -10719,7 +10695,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "sp-std", @@ -10731,7 +10707,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "sp-api", "sp-runtime", @@ -10740,7 +10716,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "async-trait", "log", @@ -10756,7 +10732,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ahash", "hash-db", @@ -10779,7 +10755,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10796,7 +10772,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10807,7 +10783,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-trait-for-tuples", "log", @@ -10820,7 +10796,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11035,7 +11011,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "platforms", ] @@ -11043,7 +11019,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11064,7 +11040,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures-util", "hyper", @@ -11077,7 +11053,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "jsonrpsee", "log", @@ -11098,7 +11074,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "array-bytes", "async-trait", @@ -11124,7 +11100,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11134,7 +11110,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11145,7 +11121,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "ansi_term", "build-helper", @@ -11455,9 +11431,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-ctl" -version = "0.4.2" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb833c46ecbf8b6daeccb347cefcabf9c1beb5c9b0f853e1cec45632d9963e69" +checksum = "e37706572f4b151dff7a0146e040804e9c26fe3a3118591112f05cf12a4216c1" dependencies = [ "libc", "paste", @@ -11466,9 +11442,9 @@ dependencies = [ [[package]] name = "tikv-jemalloc-sys" -version = "0.4.2+5.2.1-patched.2" +version = "0.5.2+5.3.0-patched" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5844e429d797c62945a566f8da4e24c7fe3fbd5d6617fd8bf7a0b7dc1ee0f22e" +checksum = "ec45c14da997d0925c7835883e4d5c181f196fa142f8c19d7643d1e9af2592c3" dependencies = [ "cc", "fs_extra", @@ -11477,9 +11453,9 @@ dependencies = [ [[package]] name = "tikv-jemallocator" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c14a5a604eb8715bc5785018a37d00739b180bcf609916ddf4393d33d49ccdf" +checksum = "20612db8a13a6c06d57ec83953694185a367e16945f66565e8028d2c0bd76979" dependencies = [ "libc", "tikv-jemalloc-sys", @@ -11858,7 +11834,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#eefba93cf62ff80e1011dbe1cd3a543b711f7bb9" +source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" dependencies = [ "clap", "frame-try-runtime", diff --git a/Cargo.toml b/Cargo.toml index c7edd0621319..0ed0892593d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ readme = "README.md" [dependencies] polkadot-cli = { path = "cli", features = [ "kusama-native", "westend-native", "rococo-native" ] } color-eyre = { version = "0.6.1", default-features = false } -parity-util-mem = { version = "0.11.0", default-features = false, features = ["jemalloc-global"] } +parity-util-mem = { version = "0.12.0", default-features = false, features = ["jemalloc-global"] } [dev-dependencies] assert_cmd = "2.0.4" diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index 9bbe8f516afb..a10b80b0c30f 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -10,7 +10,7 @@ sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", d sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } parity-scale-codec = { version = "3.1.5", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.11.0", default-features = false, optional = true } +parity-util-mem = { version = "0.12.0", default-features = false, optional = true } [features] default = [ "std" ] diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index e39a589b5675..25fb51eb712b 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -13,7 +13,7 @@ bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } lru = "0.8" merlin = "2.0" schnorrkel = "0.9.1" -kvdb = "0.11.0" +kvdb = "0.12.0" derive_more = "0.99.17" thiserror = "1.0.31" @@ -40,5 +40,5 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../../primitives/test-helpers" } diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index 9cea9f1bdc24..4cec2cb637b9 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] futures = "0.3.21" futures-timer = "3.0.2" -kvdb = "0.11.0" +kvdb = "0.12.0" thiserror = "1.0.31" gum = { package = "tracing-gum", path = "../../gum" } bitvec = "1.0.0" @@ -24,7 +24,7 @@ polkadot-node-primitives = { path = "../../primitives" } log = "0.4.17" env_logger = "0.9.0" assert_matches = "1.4.0" -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } diff --git a/node/core/av-store/src/lib.rs b/node/core/av-store/src/lib.rs index cd1685e32ea8..4fbbf3740ab0 100644 --- a/node/core/av-store/src/lib.rs +++ b/node/core/av-store/src/lib.rs @@ -792,8 +792,9 @@ fn note_block_included( macro_rules! peek_num { ($iter:ident) => { match $iter.peek() { - Some((k, _)) => decode_unfinalized_key(&k[..]).ok().map(|(b, _, _)| b), - None => None, + Some(Ok((k, _))) => Ok(decode_unfinalized_key(&k[..]).ok().map(|(b, _, _)| b)), + Some(Err(_)) => Err($iter.next().expect("peek returned Some(Err); qed").unwrap_err()), + None => Ok(None), } }; } @@ -819,10 +820,10 @@ async fn process_block_finalized( let mut iter = subsystem .db .iter_with_prefix(subsystem.config.col_meta, &start_prefix) - .take_while(|(k, _)| &k[..] < &end_prefix[..]) + .take_while(|r| r.as_ref().map_or(true, |(k, _v)| &k[..] < &end_prefix[..])) .peekable(); - match peek_num!(iter) { + match peek_num!(iter)? { None => break, // end of iterator. Some(n) => n, } @@ -867,10 +868,10 @@ async fn process_block_finalized( let iter = subsystem .db .iter_with_prefix(subsystem.config.col_meta, &start_prefix) - .take_while(|(k, _)| &k[..] < &end_prefix[..]) + .take_while(|r| r.as_ref().map_or(true, |(k, _v)| &k[..] < &end_prefix[..])) .peekable(); - let batch = load_all_at_finalized_height(iter, batch_num, batch_finalized_hash); + let batch = load_all_at_finalized_height(iter, batch_num, batch_finalized_hash)?; // Now that we've iterated over the entire batch at this finalized height, // update the meta. @@ -890,22 +891,22 @@ async fn process_block_finalized( // loads all candidates at the finalized height and maps them to `true` if finalized // and `false` if unfinalized. fn load_all_at_finalized_height( - mut iter: std::iter::Peekable, Box<[u8]>)>>, + mut iter: std::iter::Peekable>>, block_number: BlockNumber, finalized_hash: Hash, -) -> impl IntoIterator { +) -> io::Result> { // maps candidate hashes to true if finalized, false otherwise. let mut candidates = HashMap::new(); // Load all candidates that were included at this height. loop { - match peek_num!(iter) { + match peek_num!(iter)? { None => break, // end of iterator. Some(n) if n != block_number => break, // end of batch. _ => {}, } - let (k, _v) = iter.next().expect("`peek` used to check non-empty; qed"); + let (k, _v) = iter.next().expect("`peek` used to check non-empty; qed")?; let (_, block_hash, candidate_hash) = decode_unfinalized_key(&k[..]).expect("`peek_num` checks validity of key; qed"); @@ -916,7 +917,7 @@ fn load_all_at_finalized_height( } } - candidates + Ok(candidates) } fn update_blocks_at_finalized_height( @@ -1214,9 +1215,10 @@ fn prune_all(db: &Arc, config: &Config, clock: &dyn Clock) -> Resu let mut tx = DBTransaction::new(); let iter = db .iter_with_prefix(config.col_meta, &range_start[..]) - .take_while(|(k, _)| &k[..] < &range_end[..]); + .take_while(|r| r.as_ref().map_or(true, |(k, _v)| &k[..] < &range_end[..])); - for (k, _v) in iter { + for r in iter { + let (k, _v) = r?; tx.delete(config.col_meta, &k[..]); let (_, candidate_hash) = match decode_pruning_key(&k[..]) { diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index 8d9875b6f389..df6a5c24f10e 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -13,7 +13,7 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -kvdb = "0.11.0" +kvdb = "0.12.0" thiserror = "1.0.31" parity-scale-codec = "3.1.5" @@ -22,4 +22,4 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } parking_lot = "0.12.0" assert_matches = "1" -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" diff --git a/node/core/chain-selection/src/db_backend/v1.rs b/node/core/chain-selection/src/db_backend/v1.rs index db117ff945df..a037d27baaea 100644 --- a/node/core/chain-selection/src/db_backend/v1.rs +++ b/node/core/chain-selection/src/db_backend/v1.rs @@ -235,16 +235,21 @@ impl Backend for DbBackend { self.inner.iter_with_prefix(self.config.col_data, &STAGNANT_AT_PREFIX[..]); let val = stagnant_at_iter - .filter_map(|(k, v)| { - match (decode_stagnant_at_key(&mut &k[..]), >::decode(&mut &v[..]).ok()) { - (Some(at), Some(stagnant_at)) => Some((at, stagnant_at)), - _ => None, - } + .filter_map(|r| match r { + Ok((k, v)) => + match (decode_stagnant_at_key(&mut &k[..]), >::decode(&mut &v[..]).ok()) + { + (Some(at), Some(stagnant_at)) => Some(Ok((at, stagnant_at))), + _ => None, + }, + Err(e) => Some(Err(e)), }) .enumerate() - .take_while(|(idx, (at, _))| *at <= up_to.into() && *idx < max_elements) + .take_while(|(idx, r)| { + r.as_ref().map_or(true, |(at, _)| *at <= up_to.into() && *idx < max_elements) + }) .map(|(_, v)| v) - .collect::>(); + .collect::, _>>()?; Ok(val) } @@ -254,10 +259,13 @@ impl Backend for DbBackend { self.inner.iter_with_prefix(self.config.col_data, &BLOCK_HEIGHT_PREFIX[..]); let val = blocks_at_height_iter - .filter_map(|(k, _)| decode_block_height_key(&k[..])) + .filter_map(|r| match r { + Ok((k, _)) => decode_block_height_key(&k[..]).map(Ok), + Err(e) => Some(Err(e)), + }) .next(); - Ok(val) + val.transpose().map_err(Error::from) } fn load_blocks_by_number(&self, number: BlockNumber) -> Result, Error> { diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index 7d7bc25e91d4..fd89b599f63c 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } parity-scale-codec = "3.1.5" -kvdb = "0.11.0" +kvdb = "0.12.0" thiserror = "1.0.31" lru = "0.8.0" fatality = "0.0.6" @@ -22,7 +22,7 @@ sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "maste [dev-dependencies] -kvdb-memorydb = "0.11.0" +kvdb-memorydb = "0.12.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index 9ef6af06c5c2..b7a9895e0c67 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } memory-lru = "0.1.1" -parity-util-mem = { version = "0.11.0", default-features = false } +parity-util-mem = { version = "0.12.0", default-features = false } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index cfc56307b146..c32fce56e4c8 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -23,7 +23,7 @@ polkadot-node-core-backing = { path = "../core/backing" } polkadot-node-primitives = { path = "../primitives" } polkadot-primitives = { path = "../../primitives" } polkadot-node-core-pvf = { path = "../core/pvf" } -parity-util-mem = { version = "0.11.0", default-features = false, features = ["jemalloc-global"] } +parity-util-mem = { version = "0.12.0", default-features = false, features = ["jemalloc-global"] } color-eyre = { version = "0.6.1", default-features = false } assert_matches = "1.5" async-trait = "0.1.57" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 4bc360df47e3..8ee3fc6fb3cd 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -18,7 +18,7 @@ polkadot-primitives = { path = "../../primitives" } orchestra = "0.0.2" gum = { package = "tracing-gum", path = "../gum" } lru = "0.8" -parity-util-mem = { version = "0.11.0", default-features = false } +parity-util-mem = { version = "0.12.0", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } async-trait = "0.1.57" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 1d2613537814..63a5f189a32a 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -69,8 +69,8 @@ gum = { package = "tracing-gum", path = "../gum/" } serde = { version = "1.0.137", features = ["derive"] } serde_json = "1.0.81" thiserror = "1.0.31" -kvdb = "0.11.0" -kvdb-rocksdb = { version = "0.15.2", optional = true } +kvdb = "0.12.0" +kvdb-rocksdb = { version = "0.16.0", optional = true } parity-db = { version = "0.3.16", optional = true } async-trait = "0.1.57" lru = "0.8" diff --git a/node/service/src/parachains_db/upgrade.rs b/node/service/src/parachains_db/upgrade.rs index ad995f41ed82..73321ae04c09 100644 --- a/node/service/src/parachains_db/upgrade.rs +++ b/node/service/src/parachains_db/upgrade.rs @@ -121,7 +121,7 @@ fn rocksdb_migrate_from_version_0_to_1(path: &Path) -> Result<(), Error> { .to_str() .ok_or_else(|| super::other_io_error("Invalid database path".into()))?; let db_cfg = DatabaseConfig::with_columns(super::columns::v0::NUM_COLUMNS); - let db = Database::open(&db_cfg, db_path)?; + let mut db = Database::open(&db_cfg, db_path)?; db.add_column()?; db.add_column()?; diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 6f120beec7cb..26eca7aa8f1f 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -32,8 +32,8 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -kvdb = "0.11.0" -parity-util-mem = { version = "0.11", default-features = false } +kvdb = "0.12.0" +parity-util-mem = { version = "0.12.0", default-features = false } parity-db = { version = "0.3.13" } [dev-dependencies] @@ -44,5 +44,5 @@ log = "0.4.17" polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" } lazy_static = "1.4.0" polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" } -kvdb-shared-tests = "0.9.0" +kvdb-shared-tests = "0.10.0" tempfile = "3.1.0" diff --git a/node/subsystem-util/src/database.rs b/node/subsystem-util/src/database.rs index a6b31043302f..6f338b5d6440 100644 --- a/node/subsystem-util/src/database.rs +++ b/node/subsystem-util/src/database.rs @@ -16,7 +16,7 @@ //! Database trait for polkadot db. -pub use kvdb::{DBTransaction, DBValue, KeyValueDB}; +pub use kvdb::{DBKeyValue, DBTransaction, DBValue, KeyValueDB}; /// Database trait with ordered key capacity. pub trait Database: KeyValueDB { @@ -27,7 +27,7 @@ pub trait Database: KeyValueDB { /// Implementation for database supporting `KeyValueDB` already. pub mod kvdb_impl { - use super::{DBTransaction, DBValue, Database, KeyValueDB}; + use super::{DBKeyValue, DBTransaction, DBValue, Database, KeyValueDB}; use kvdb::{DBOp, IoStats, IoStatsKind}; use parity_util_mem::{MallocSizeOf, MallocSizeOfOps}; use std::{collections::BTreeSet, io::Result}; @@ -86,7 +86,7 @@ pub mod kvdb_impl { self.db.get(col, key) } - fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Option> { + fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Result> { self.ensure_is_indexed(col); self.db.get_by_prefix(col, prefix) } @@ -96,7 +96,7 @@ pub mod kvdb_impl { self.db.write(transaction) } - fn iter<'a>(&'a self, col: u32) -> Box, Box<[u8]>)> + 'a> { + fn iter<'a>(&'a self, col: u32) -> Box> + 'a> { self.ensure_is_indexed(col); self.db.iter(col) } @@ -105,15 +105,11 @@ pub mod kvdb_impl { &'a self, col: u32, prefix: &'a [u8], - ) -> Box, Box<[u8]>)> + 'a> { + ) -> Box> + 'a> { self.ensure_is_indexed(col); self.db.iter_with_prefix(col, prefix) } - fn restore(&self, _new_db: &str) -> Result<()> { - unimplemented!("restore is unsupported") - } - fn io_stats(&self, kind: IoStatsKind) -> IoStats { self.db.io_stats(kind) } @@ -122,7 +118,7 @@ pub mod kvdb_impl { self.db.has_key(col, key) } - fn has_prefix(&self, col: u32, prefix: &[u8]) -> bool { + fn has_prefix(&self, col: u32, prefix: &[u8]) -> Result { self.ensure_is_indexed(col); self.db.has_prefix(col, prefix) } @@ -138,8 +134,8 @@ pub mod kvdb_impl { /// Utilities for using parity-db database. pub mod paritydb_impl { - use super::{DBTransaction, DBValue, Database, KeyValueDB}; - use kvdb::{DBOp, IoStats, IoStatsKind}; + use super::{DBKeyValue, DBTransaction, DBValue, Database, KeyValueDB}; + use kvdb::DBOp; use parity_db::Db; use parking_lot::Mutex; use std::{collections::BTreeSet, io::Result, sync::Arc}; @@ -179,18 +175,20 @@ pub mod paritydb_impl { map_err(self.db.get(col as u8, key)) } - fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Option> { - self.iter_with_prefix(col, prefix).next().map(|(_, v)| v) + fn get_by_prefix(&self, col: u32, prefix: &[u8]) -> Result> { + self.iter_with_prefix(col, prefix) + .next() + .transpose() + .map(|mb| mb.map(|(_, v)| v)) } - fn iter<'a>(&'a self, col: u32) -> Box, Box<[u8]>)> + 'a> { - let mut iter = handle_err(self.db.iter(col as u8)); + fn iter<'a>(&'a self, col: u32) -> Box> + 'a> { + let mut iter = match self.db.iter(col as u8) { + Ok(iter) => iter, + Err(e) => return Box::new(std::iter::once(map_err(Err(e)))), + }; Box::new(std::iter::from_fn(move || { - if let Some((key, value)) = handle_err(iter.next()) { - Some((key.into_boxed_slice(), value.into_boxed_slice())) - } else { - None - } + iter.next().transpose().map(|r| map_err(r.map(|(k, v)| (k.into(), v)))) })) } @@ -198,39 +196,26 @@ pub mod paritydb_impl { &'a self, col: u32, prefix: &'a [u8], - ) -> Box, Box<[u8]>)> + 'a> { + ) -> Box> + 'a> { if prefix.len() == 0 { return self.iter(col) } - let mut iter = handle_err(self.db.iter(col as u8)); - handle_err(iter.seek(prefix)); + let mut iter = match self.db.iter(col as u8) { + Ok(iter) => iter, + Err(e) => return Box::new(std::iter::once(map_err(Err(e)))), + }; + if let Err(e) = iter.seek(prefix) { + return Box::new(std::iter::once(map_err(Err(e)))) + } Box::new(std::iter::from_fn(move || { - if let Some((key, value)) = handle_err(iter.next()) { - key.starts_with(prefix) - .then(|| (key.into_boxed_slice(), value.into_boxed_slice())) - } else { - None - } + iter.next().transpose().and_then(|r| { + map_err(r.map(|(k, v)| k.starts_with(prefix).then(|| (k.into(), v)))) + .transpose() + }) })) } - fn restore(&self, _new_db: &str) -> Result<()> { - unimplemented!("restore is unsupported") - } - - fn io_stats(&self, _kind: IoStatsKind) -> IoStats { - unimplemented!("io_stats not supported by parity_db"); - } - - fn has_key(&self, col: u32, key: &[u8]) -> Result { - map_err(self.db.get_size(col as u8, key).map(|r| r.is_some())) - } - - fn has_prefix(&self, col: u32, prefix: &[u8]) -> bool { - self.get_by_prefix(col, prefix).is_some() - } - - fn write(&self, transaction: DBTransaction) -> std::io::Result<()> { + fn write(&self, transaction: DBTransaction) -> Result<()> { let mut ops = transaction.ops.into_iter(); // TODO using a key iterator or native delete here would be faster. let mut current_prefix_iter: Option<(parity_db::BTreeIterator, u8, Vec)> = None; diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 42ffbfab1fa6..c07ec98d7cb9 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -10,7 +10,7 @@ edition = "2021" # this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing # various unnecessary Substrate-specific endpoints. parity-scale-codec = { version = "3.1.5", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.11.0", default-features = false, optional = true } +parity-util-mem = { version = "0.12.0", default-features = false, optional = true } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index d018cfdf9e54..67fc2d31cee8 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -27,7 +27,7 @@ trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", b bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } hex-literal = "0.3.4" -parity-util-mem = { version = "0.11.0", default-features = false, optional = true } +parity-util-mem = { version = "0.12.0", default-features = false, optional = true } [features] default = ["std"] From d12042f1a0a0e34ca274de9035ea35b6c016783f Mon Sep 17 00:00:00 2001 From: Branislav Kontur Date: Thu, 6 Oct 2022 10:03:34 +0200 Subject: [PATCH 040/211] Skip `unexpected metric type` * Dump more info for `unexpected metric type` * Skip `unexpected metric type` --- node/metrics/src/tests.rs | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/node/metrics/src/tests.rs b/node/metrics/src/tests.rs index 56e07d96280d..932cc7b68be7 100644 --- a/node/metrics/src/tests.rs +++ b/node/metrics/src/tests.rs @@ -92,16 +92,11 @@ async fn scrape_prometheus_metrics(metrics_uri: &str) -> HashMap { .expect("Scraper failed to parse Prometheus metrics") .samples .into_iter() - .map(|sample| { - ( - sample.metric.to_owned(), - match sample.value { - prometheus_parse::Value::Counter(value) => value as u64, - prometheus_parse::Value::Gauge(value) => value as u64, - prometheus_parse::Value::Untyped(value) => value as u64, - _ => unreachable!("unexpected metric type"), - }, - ) + .filter_map(|prometheus_parse::Sample { metric, value, .. }| match value { + prometheus_parse::Value::Counter(value) => Some((metric, value as u64)), + prometheus_parse::Value::Gauge(value) => Some((metric, value as u64)), + prometheus_parse::Value::Untyped(value) => Some((metric, value as u64)), + _ => None, }) .collect() } From 09f340c928ea324105b39b957dc155cbd29b173d Mon Sep 17 00:00:00 2001 From: Adrian Catangiu Date: Thu, 6 Oct 2022 12:58:39 +0300 Subject: [PATCH 041/211] service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112) * service: use MmrRootProvider as custom BEEFY payload provider * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 357 ++++++++++++++++++++-------------------- node/service/src/lib.rs | 4 +- 2 files changed, 182 insertions(+), 179 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3bd1c69b5584..475bd6ff8824 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "beefy-primitives", "sp-api", @@ -502,13 +502,14 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-core", + "sp-mmr-primitives", "sp-runtime", "sp-std", ] @@ -1999,7 +2000,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", ] @@ -2017,7 +2018,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -2040,7 +2041,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "Inflector", "array-bytes", @@ -2091,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2102,7 +2103,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2118,7 +2119,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -2147,7 +2148,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "bitflags", "frame-metadata", @@ -2179,7 +2180,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "Inflector", "cfg-expr", @@ -2193,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2205,7 +2206,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro2", "quote", @@ -2215,7 +2216,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2238,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -2249,7 +2250,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "log", @@ -2267,7 +2268,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -2282,7 +2283,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-api", @@ -2291,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "parity-scale-codec", @@ -2462,7 +2463,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "chrono", "frame-election-provider-support", @@ -4811,7 +4812,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4825,7 +4826,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -4841,7 +4842,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -4856,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4880,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4900,7 +4901,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4919,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4934,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "beefy-primitives", "frame-support", @@ -4950,7 +4951,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4973,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4991,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5027,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5044,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5062,7 +5063,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5086,7 +5087,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5099,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5117,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5138,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5153,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5176,7 +5177,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5192,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5213,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5246,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5264,7 +5265,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5279,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5295,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5312,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5332,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-api", @@ -5342,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5359,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5382,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5399,7 +5400,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5432,7 +5433,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5447,7 +5448,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5465,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5481,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5502,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5518,7 +5519,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5532,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5555,7 +5556,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5566,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "sp-arithmetic", @@ -5575,7 +5576,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5589,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5607,7 +5608,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5626,7 +5627,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-support", "frame-system", @@ -5642,7 +5643,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5657,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5668,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5685,7 +5686,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5701,7 +5702,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5716,7 +5717,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8249,7 +8250,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8597,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "sp-core", @@ -8608,7 +8609,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -8635,7 +8636,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "futures-timer", @@ -8658,7 +8659,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8674,7 +8675,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8691,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8702,7 +8703,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "chrono", @@ -8742,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "fnv", "futures", @@ -8770,7 +8771,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "hash-db", "kvdb", @@ -8795,7 +8796,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -8819,7 +8820,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "fork-tree", @@ -8861,7 +8862,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "jsonrpsee", @@ -8883,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8896,7 +8897,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -8920,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8947,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "environmental", "parity-scale-codec", @@ -8963,7 +8964,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -8978,7 +8979,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8998,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ahash", "array-bytes", @@ -9039,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "finality-grandpa", "futures", @@ -9060,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ansi_term", "futures", @@ -9077,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -9092,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -9139,7 +9140,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "cid", "futures", @@ -9159,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "bitflags", @@ -9185,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ahash", "futures", @@ -9203,7 +9204,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "futures", @@ -9224,7 +9225,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "fork-tree", @@ -9252,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "futures", @@ -9271,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "bytes", @@ -9301,7 +9302,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "libp2p", @@ -9314,7 +9315,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9323,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "hash-db", @@ -9353,7 +9354,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "jsonrpsee", @@ -9376,7 +9377,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "jsonrpsee", @@ -9389,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "directories", @@ -9459,7 +9460,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -9473,7 +9474,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9492,7 +9493,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "libc", @@ -9511,7 +9512,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "chrono", "futures", @@ -9529,7 +9530,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ansi_term", "atty", @@ -9560,7 +9561,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9571,7 +9572,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "futures-timer", @@ -9597,7 +9598,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "log", @@ -9610,7 +9611,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "futures-timer", @@ -10096,7 +10097,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "hash-db", "log", @@ -10114,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "blake2", "proc-macro-crate", @@ -10126,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10139,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "integer-sqrt", "num-traits", @@ -10154,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10167,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "parity-scale-codec", @@ -10179,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-api", @@ -10191,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "log", @@ -10209,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -10228,7 +10229,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "merlin", @@ -10251,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10265,7 +10266,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10278,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "base58", @@ -10324,7 +10325,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "blake2", "byteorder", @@ -10338,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro2", "quote", @@ -10349,7 +10350,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10358,7 +10359,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro2", "quote", @@ -10368,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "environmental", "parity-scale-codec", @@ -10379,7 +10380,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "finality-grandpa", "log", @@ -10397,7 +10398,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10411,7 +10412,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "bytes", "futures", @@ -10437,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "lazy_static", "sp-core", @@ -10448,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures", @@ -10465,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "thiserror", "zstd", @@ -10474,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -10490,7 +10491,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10504,7 +10505,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "sp-api", "sp-core", @@ -10514,7 +10515,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "backtrace", "lazy_static", @@ -10524,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "rustc-hash", "serde", @@ -10534,7 +10535,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "either", "hash256-std-hasher", @@ -10557,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10575,7 +10576,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "Inflector", "proc-macro-crate", @@ -10587,7 +10588,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "parity-scale-codec", @@ -10601,7 +10602,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10615,7 +10616,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10626,7 +10627,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "hash-db", "log", @@ -10648,12 +10649,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10666,7 +10667,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "log", "sp-core", @@ -10679,7 +10680,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "futures-timer", @@ -10695,7 +10696,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "sp-std", @@ -10707,7 +10708,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "sp-api", "sp-runtime", @@ -10716,7 +10717,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "async-trait", "log", @@ -10732,7 +10733,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ahash", "hash-db", @@ -10755,7 +10756,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10772,7 +10773,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10783,7 +10784,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-trait-for-tuples", "log", @@ -10796,7 +10797,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11011,7 +11012,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "platforms", ] @@ -11019,7 +11020,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11040,7 +11041,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures-util", "hyper", @@ -11053,7 +11054,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "jsonrpsee", "log", @@ -11074,7 +11075,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "array-bytes", "async-trait", @@ -11100,7 +11101,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11110,7 +11111,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11121,7 +11122,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "ansi_term", "build-helper", @@ -11834,7 +11835,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fc67cbb66d8c484bc7b7506fc1300344d12ecbad" +source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 6425ee7a7536..3619d05c7592 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -1192,9 +1192,11 @@ where justifications_protocol_name, _phantom: core::marker::PhantomData::, }; + let payload_provider = beefy_primitives::mmr::MmrRootProvider::new(client.clone()); let beefy_params = beefy_gadget::BeefyParams { client: client.clone(), backend: backend.clone(), + payload_provider, runtime: client.clone(), key_store: keystore_opt.clone(), network_params, @@ -1204,7 +1206,7 @@ where on_demand_justifications_handler: beefy_on_demand_justifications_handler, }; - let gadget = beefy_gadget::start_beefy_gadget::<_, _, _, _, _>(beefy_params); + let gadget = beefy_gadget::start_beefy_gadget::<_, _, _, _, _, _>(beefy_params); // Wococo's purpose is to be a testbed for BEEFY, so if it fails we'll // bring the node down with it to make sure it is noticed. From 3d6b56342e5e1313685aae6f4e222cbf91ba790f Mon Sep 17 00:00:00 2001 From: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Date: Thu, 6 Oct 2022 19:20:58 +0200 Subject: [PATCH 042/211] Maximum value for `MultiplierUpdate` (#6021) * update multiplier * fix * update lockfile for {"substrate"} * fmt * fix typo Co-authored-by: parity-processbot <> --- Cargo.lock | 356 +++++++++++++++++++------------------- runtime/common/src/lib.rs | 12 +- 2 files changed, 188 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 475bd6ff8824..6abc10924a6d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -2000,7 +2000,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", ] @@ -2018,7 +2018,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -2041,7 +2041,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "Inflector", "array-bytes", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2103,7 +2103,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2119,7 +2119,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -2148,7 +2148,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "bitflags", "frame-metadata", @@ -2180,7 +2180,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "Inflector", "cfg-expr", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2206,7 +2206,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro2", "quote", @@ -2216,7 +2216,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2239,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -2250,7 +2250,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "log", @@ -2268,7 +2268,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -2283,7 +2283,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "sp-api", @@ -2292,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "parity-scale-codec", @@ -2463,7 +2463,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "chrono", "frame-election-provider-support", @@ -4812,7 +4812,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -4826,7 +4826,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -4842,7 +4842,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4901,7 +4901,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4920,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "beefy-primitives", "frame-support", @@ -4951,7 +4951,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -4992,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5063,7 +5063,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5087,7 +5087,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5100,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5139,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5154,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5177,7 +5177,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5193,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5213,7 +5213,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5247,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5265,7 +5265,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5280,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -5313,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5333,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "sp-api", @@ -5343,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5383,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5400,7 +5400,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5415,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5433,7 +5433,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5448,7 +5448,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5466,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -5503,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5519,7 +5519,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5556,7 +5556,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5567,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "sp-arithmetic", @@ -5576,7 +5576,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -5590,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5608,7 +5608,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5627,7 +5627,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-support", "frame-system", @@ -5643,7 +5643,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5658,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5669,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5686,7 +5686,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5702,7 +5702,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -5717,7 +5717,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-benchmarking", "frame-support", @@ -8250,7 +8250,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8598,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "sp-core", @@ -8609,7 +8609,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "futures", @@ -8636,7 +8636,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "futures-timer", @@ -8659,7 +8659,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8675,7 +8675,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8703,7 +8703,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "chrono", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "fnv", "futures", @@ -8771,7 +8771,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "hash-db", "kvdb", @@ -8796,7 +8796,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "futures", @@ -8820,7 +8820,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "fork-tree", @@ -8862,7 +8862,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "jsonrpsee", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8897,7 +8897,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "futures", @@ -8921,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "environmental", "parity-scale-codec", @@ -8964,7 +8964,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "parity-scale-codec", @@ -8979,7 +8979,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "ahash", "array-bytes", @@ -9040,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "finality-grandpa", "futures", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "ansi_term", "futures", @@ -9078,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "async-trait", @@ -9093,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "async-trait", @@ -9140,7 +9140,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "cid", "futures", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "bitflags", @@ -9186,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "ahash", "futures", @@ -9204,7 +9204,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "futures", @@ -9225,7 +9225,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "fork-tree", @@ -9253,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "futures", @@ -9272,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "bytes", @@ -9302,7 +9302,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "libp2p", @@ -9315,7 +9315,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9324,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "hash-db", @@ -9354,7 +9354,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "jsonrpsee", @@ -9377,7 +9377,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "jsonrpsee", @@ -9390,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "directories", @@ -9460,7 +9460,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "parity-scale-codec", @@ -9474,7 +9474,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9493,7 +9493,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "libc", @@ -9512,7 +9512,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "chrono", "futures", @@ -9530,7 +9530,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "ansi_term", "atty", @@ -9561,7 +9561,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9572,7 +9572,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "futures-timer", @@ -9598,7 +9598,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "log", @@ -9611,7 +9611,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "futures-timer", @@ -10097,7 +10097,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "hash-db", "log", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "blake2", "proc-macro-crate", @@ -10127,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -10140,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "integer-sqrt", "num-traits", @@ -10155,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "parity-scale-codec", @@ -10180,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "sp-api", @@ -10192,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "log", @@ -10210,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "futures", @@ -10229,7 +10229,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "merlin", @@ -10252,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -10266,7 +10266,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -10279,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "base58", @@ -10325,7 +10325,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "blake2", "byteorder", @@ -10339,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro2", "quote", @@ -10350,7 +10350,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10359,7 +10359,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro2", "quote", @@ -10369,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "environmental", "parity-scale-codec", @@ -10380,7 +10380,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "finality-grandpa", "log", @@ -10398,7 +10398,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10412,7 +10412,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "bytes", "futures", @@ -10438,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "lazy_static", "sp-core", @@ -10449,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "futures", @@ -10466,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "thiserror", "zstd", @@ -10475,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "parity-scale-codec", @@ -10491,7 +10491,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -10505,7 +10505,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "sp-api", "sp-core", @@ -10515,7 +10515,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "backtrace", "lazy_static", @@ -10525,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "rustc-hash", "serde", @@ -10535,7 +10535,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "either", "hash256-std-hasher", @@ -10558,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10576,7 +10576,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "Inflector", "proc-macro-crate", @@ -10588,7 +10588,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "parity-scale-codec", @@ -10602,7 +10602,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -10616,7 +10616,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "scale-info", @@ -10627,7 +10627,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "hash-db", "log", @@ -10649,12 +10649,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10667,7 +10667,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "log", "sp-core", @@ -10680,7 +10680,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "futures-timer", @@ -10696,7 +10696,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "sp-std", @@ -10708,7 +10708,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "sp-api", "sp-runtime", @@ -10717,7 +10717,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "async-trait", "log", @@ -10733,7 +10733,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "ahash", "hash-db", @@ -10756,7 +10756,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10773,7 +10773,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10784,7 +10784,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "impl-trait-for-tuples", "log", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11012,7 +11012,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "platforms", ] @@ -11020,7 +11020,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11041,7 +11041,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures-util", "hyper", @@ -11054,7 +11054,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "jsonrpsee", "log", @@ -11075,7 +11075,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "array-bytes", "async-trait", @@ -11101,7 +11101,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11111,7 +11111,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11122,7 +11122,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "ansi_term", "build-helper", @@ -11835,7 +11835,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cb5a4069974cdfae3f6aad18626e1dde19ce3fb" +source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index 936feedde1c3..ac5fc69a28e4 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -52,6 +52,7 @@ pub use pallet_balances::Call as BalancesCall; pub use pallet_staking::StakerStatus; pub use pallet_timestamp::Call as TimestampCall; use pallet_transaction_payment::{Multiplier, TargetedFeeAdjustment}; +pub use sp_runtime::traits::Bounded; #[cfg(any(feature = "std", test))] pub use sp_runtime::BuildStorage; @@ -87,6 +88,8 @@ parameter_types! { /// that combined with `AdjustmentVariable`, we can recover from the minimum. /// See `multiplier_can_grow_from_zero`. pub MinimumMultiplier: Multiplier = Multiplier::saturating_from_rational(1, 10u128); + /// The maximum amount of the multiplier. + pub MaximumMultiplier: Multiplier = Bounded::max_value(); /// Maximum length of block. Up to 5MB. pub BlockLength: limits::BlockLength = limits::BlockLength::max_with_normal_ratio(5 * 1024 * 1024, NORMAL_DISPATCH_RATIO); @@ -94,8 +97,13 @@ parameter_types! { /// Parameterized slow adjusting fee updated based on /// https://research.web3.foundation/en/latest/polkadot/overview/2-token-economics.html#-2.-slow-adjusting-mechanism -pub type SlowAdjustingFeeUpdate = - TargetedFeeAdjustment; +pub type SlowAdjustingFeeUpdate = TargetedFeeAdjustment< + R, + TargetBlockFullness, + AdjustmentVariable, + MinimumMultiplier, + MaximumMultiplier, +>; /// Implements the weight types for a runtime. /// It expects the passed runtime constants to contain a `weights` module. From 1c786b372617f26f5982fadc77269e9d4a7c5da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Fri, 7 Oct 2022 13:40:40 +0200 Subject: [PATCH 043/211] Companion for upgrading pin-project (#6118) * Companion for upgrading pin-project This will remove some warnings with the latest rustc nightly/stable. https://github.com/paritytech/substrate/pull/12426 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 364 ++++++++++++++++++++++++++--------------------------- 1 file changed, 182 insertions(+), 182 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6abc10924a6d..94850303b71e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -2000,7 +2000,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", ] @@ -2018,7 +2018,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -2041,7 +2041,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "Inflector", "array-bytes", @@ -2092,7 +2092,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2103,7 +2103,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2119,7 +2119,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -2148,7 +2148,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "bitflags", "frame-metadata", @@ -2180,7 +2180,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "Inflector", "cfg-expr", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2206,7 +2206,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro2", "quote", @@ -2216,7 +2216,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2239,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -2250,7 +2250,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "log", @@ -2268,7 +2268,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -2283,7 +2283,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "sp-api", @@ -2292,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "parity-scale-codec", @@ -2463,7 +2463,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "chrono", "frame-election-provider-support", @@ -4812,7 +4812,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -4826,7 +4826,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -4842,7 +4842,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4901,7 +4901,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4920,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "beefy-primitives", "frame-support", @@ -4951,7 +4951,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -4992,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5063,7 +5063,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5087,7 +5087,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5100,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5139,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5154,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5177,7 +5177,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5193,7 +5193,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5213,7 +5213,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5247,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5265,7 +5265,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5280,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -5313,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5333,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "sp-api", @@ -5343,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5383,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5400,7 +5400,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5415,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5433,7 +5433,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5448,7 +5448,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5466,7 +5466,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -5503,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5519,7 +5519,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5556,7 +5556,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5567,7 +5567,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "sp-arithmetic", @@ -5576,7 +5576,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -5590,7 +5590,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5608,7 +5608,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5627,7 +5627,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-support", "frame-system", @@ -5643,7 +5643,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5658,7 +5658,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5669,7 +5669,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5686,7 +5686,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5702,7 +5702,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -5717,7 +5717,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-benchmarking", "frame-support", @@ -6017,18 +6017,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.0.10" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e" +checksum = "ad29a609b6bcd67fee905812e544992d216af9d755757c05ed2d0e15a74c6ecc" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.10" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744b6f092ba29c3650faf274db506afd39944f48420f6c86b17cfe0ee1cb36bb" +checksum = "069bdb1e05adc7a8990dce9cc75370895fbe4e3d58b9b73bf1aee56359344a55" dependencies = [ "proc-macro2", "quote", @@ -8250,7 +8250,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8598,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "sp-core", @@ -8609,7 +8609,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "futures", @@ -8636,7 +8636,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "futures-timer", @@ -8659,7 +8659,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8675,7 +8675,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8703,7 +8703,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "chrono", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "fnv", "futures", @@ -8771,7 +8771,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "hash-db", "kvdb", @@ -8796,7 +8796,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "futures", @@ -8820,7 +8820,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "fork-tree", @@ -8862,7 +8862,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "jsonrpsee", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8897,7 +8897,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "futures", @@ -8921,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "environmental", "parity-scale-codec", @@ -8964,7 +8964,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "parity-scale-codec", @@ -8979,7 +8979,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "ahash", "array-bytes", @@ -9040,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "finality-grandpa", "futures", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "ansi_term", "futures", @@ -9078,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "async-trait", @@ -9093,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "async-trait", @@ -9140,7 +9140,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "cid", "futures", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "bitflags", @@ -9186,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "ahash", "futures", @@ -9204,7 +9204,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "futures", @@ -9225,7 +9225,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "fork-tree", @@ -9253,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "futures", @@ -9272,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "bytes", @@ -9302,7 +9302,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "libp2p", @@ -9315,7 +9315,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9324,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "hash-db", @@ -9354,7 +9354,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "jsonrpsee", @@ -9377,7 +9377,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "jsonrpsee", @@ -9390,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "directories", @@ -9460,7 +9460,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "parity-scale-codec", @@ -9474,7 +9474,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9493,7 +9493,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "libc", @@ -9512,7 +9512,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "chrono", "futures", @@ -9530,7 +9530,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "ansi_term", "atty", @@ -9561,7 +9561,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9572,7 +9572,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "futures-timer", @@ -9598,7 +9598,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "log", @@ -9611,7 +9611,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "futures-timer", @@ -10097,7 +10097,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "hash-db", "log", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "blake2", "proc-macro-crate", @@ -10127,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10140,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "integer-sqrt", "num-traits", @@ -10155,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "parity-scale-codec", @@ -10180,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "sp-api", @@ -10192,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "log", @@ -10210,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "futures", @@ -10229,7 +10229,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "merlin", @@ -10252,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10266,7 +10266,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10279,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "base58", @@ -10325,7 +10325,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "blake2", "byteorder", @@ -10339,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro2", "quote", @@ -10350,7 +10350,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10359,7 +10359,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro2", "quote", @@ -10369,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "environmental", "parity-scale-codec", @@ -10380,7 +10380,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "finality-grandpa", "log", @@ -10398,7 +10398,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10412,7 +10412,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "bytes", "futures", @@ -10438,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "lazy_static", "sp-core", @@ -10449,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "futures", @@ -10466,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "thiserror", "zstd", @@ -10475,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "parity-scale-codec", @@ -10491,7 +10491,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10505,7 +10505,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "sp-api", "sp-core", @@ -10515,7 +10515,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "backtrace", "lazy_static", @@ -10525,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "rustc-hash", "serde", @@ -10535,7 +10535,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "either", "hash256-std-hasher", @@ -10558,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10576,7 +10576,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "Inflector", "proc-macro-crate", @@ -10588,7 +10588,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "parity-scale-codec", @@ -10602,7 +10602,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10616,7 +10616,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "scale-info", @@ -10627,7 +10627,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "hash-db", "log", @@ -10649,12 +10649,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10667,7 +10667,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "log", "sp-core", @@ -10680,7 +10680,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "futures-timer", @@ -10696,7 +10696,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "sp-std", @@ -10708,7 +10708,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "sp-api", "sp-runtime", @@ -10717,7 +10717,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "async-trait", "log", @@ -10733,7 +10733,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "ahash", "hash-db", @@ -10756,7 +10756,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10773,7 +10773,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10784,7 +10784,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "impl-trait-for-tuples", "log", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11012,7 +11012,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "platforms", ] @@ -11020,7 +11020,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11041,7 +11041,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures-util", "hyper", @@ -11054,7 +11054,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "jsonrpsee", "log", @@ -11075,7 +11075,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "array-bytes", "async-trait", @@ -11101,7 +11101,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11111,7 +11111,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11122,7 +11122,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "ansi_term", "build-helper", @@ -11835,7 +11835,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a84def97102166643bc3c807ae69892551c47536" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" dependencies = [ "clap", "frame-try-runtime", From fb0dd8ebd109c1961d6b52548246908ae6689929 Mon Sep 17 00:00:00 2001 From: Leszek Wiesner Date: Mon, 10 Oct 2022 00:23:54 +0200 Subject: [PATCH 044/211] Companion for 12109 (#5929) * Update following `pallet-vesting` configurable `WithdrawReasons` * Update lib.rs * Update lib.rs * Update lib.rs * update lockfile for {"substrate"} * fix warning Co-authored-by: Shawn Tabrizi Co-authored-by: parity-processbot <> --- Cargo.lock | 357 ++++++++++++++++---------------- runtime/common/src/claims.rs | 5 +- runtime/common/src/purchase.rs | 9 +- runtime/kusama/src/lib.rs | 5 +- runtime/polkadot/src/lib.rs | 5 +- runtime/rococo/src/lib.rs | 5 +- runtime/test-runtime/src/lib.rs | 5 +- runtime/westend/src/lib.rs | 5 +- 8 files changed, 210 insertions(+), 186 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 94850303b71e..2b63f76038fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "beefy-primitives", "sp-api", @@ -502,13 +502,14 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", "sp-api", "sp-application-crypto", "sp-core", + "sp-io", "sp-mmr-primitives", "sp-runtime", "sp-std", @@ -2000,7 +2001,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", ] @@ -2018,7 +2019,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -2041,7 +2042,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "Inflector", "array-bytes", @@ -2092,7 +2093,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2103,7 +2104,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2119,7 +2120,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -2148,7 +2149,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "bitflags", "frame-metadata", @@ -2180,7 +2181,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "Inflector", "cfg-expr", @@ -2194,7 +2195,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2206,7 +2207,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro2", "quote", @@ -2216,7 +2217,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2239,7 +2240,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -2250,7 +2251,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "log", @@ -2268,7 +2269,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -2283,7 +2284,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -2292,7 +2293,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "parity-scale-codec", @@ -2463,7 +2464,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "chrono", "frame-election-provider-support", @@ -4812,7 +4813,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4826,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -4842,7 +4843,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -4857,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4881,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4901,7 +4902,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4920,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4935,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "beefy-primitives", "frame-support", @@ -4951,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4974,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -4992,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5012,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5045,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5063,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5087,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5100,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5118,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5139,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5154,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5177,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5193,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5213,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5231,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5247,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5265,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5280,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5297,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -5313,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5333,7 +5334,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -5343,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5361,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5383,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5400,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5415,7 +5416,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5433,7 +5434,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5448,7 +5449,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5466,7 +5467,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5483,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -5503,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5519,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -5533,7 +5534,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5556,7 +5557,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5567,7 +5568,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "sp-arithmetic", @@ -5576,7 +5577,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -5590,7 +5591,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5608,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5627,7 +5628,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-support", "frame-system", @@ -5643,7 +5644,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5658,7 +5659,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5669,7 +5670,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5686,7 +5687,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5702,7 +5703,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -5717,7 +5718,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-benchmarking", "frame-support", @@ -8250,7 +8251,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8598,7 +8599,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "sp-core", @@ -8609,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "futures", @@ -8636,7 +8637,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "futures-timer", @@ -8659,7 +8660,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8675,7 +8676,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8692,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8703,7 +8704,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "chrono", @@ -8743,7 +8744,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "fnv", "futures", @@ -8771,7 +8772,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "hash-db", "kvdb", @@ -8796,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "futures", @@ -8820,7 +8821,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "fork-tree", @@ -8862,7 +8863,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "jsonrpsee", @@ -8884,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8897,7 +8898,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "futures", @@ -8921,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8948,7 +8949,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "environmental", "parity-scale-codec", @@ -8964,7 +8965,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "parity-scale-codec", @@ -8979,7 +8980,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8999,7 +9000,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "ahash", "array-bytes", @@ -9040,7 +9041,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "finality-grandpa", "futures", @@ -9061,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "ansi_term", "futures", @@ -9078,7 +9079,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "async-trait", @@ -9093,7 +9094,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "async-trait", @@ -9140,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "cid", "futures", @@ -9160,7 +9161,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "bitflags", @@ -9186,7 +9187,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "ahash", "futures", @@ -9204,7 +9205,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "futures", @@ -9225,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "fork-tree", @@ -9253,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "futures", @@ -9272,7 +9273,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "bytes", @@ -9302,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "libp2p", @@ -9315,7 +9316,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9324,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "hash-db", @@ -9354,7 +9355,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "jsonrpsee", @@ -9377,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "jsonrpsee", @@ -9390,7 +9391,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "directories", @@ -9460,7 +9461,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "parity-scale-codec", @@ -9474,7 +9475,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9493,7 +9494,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "libc", @@ -9512,7 +9513,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "chrono", "futures", @@ -9530,7 +9531,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "ansi_term", "atty", @@ -9561,7 +9562,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9572,7 +9573,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "futures-timer", @@ -9598,7 +9599,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "log", @@ -9611,7 +9612,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "futures-timer", @@ -10097,7 +10098,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "hash-db", "log", @@ -10115,7 +10116,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "blake2", "proc-macro-crate", @@ -10127,7 +10128,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10140,7 +10141,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "integer-sqrt", "num-traits", @@ -10155,7 +10156,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10168,7 +10169,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "parity-scale-codec", @@ -10180,7 +10181,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "sp-api", @@ -10192,7 +10193,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "log", @@ -10210,7 +10211,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "futures", @@ -10229,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "merlin", @@ -10252,7 +10253,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10266,7 +10267,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10279,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "base58", @@ -10325,7 +10326,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "blake2", "byteorder", @@ -10339,7 +10340,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro2", "quote", @@ -10350,7 +10351,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10359,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro2", "quote", @@ -10369,7 +10370,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "environmental", "parity-scale-codec", @@ -10380,7 +10381,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "finality-grandpa", "log", @@ -10398,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10412,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "bytes", "futures", @@ -10438,7 +10439,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "lazy_static", "sp-core", @@ -10449,7 +10450,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "futures", @@ -10466,7 +10467,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "thiserror", "zstd", @@ -10475,7 +10476,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "parity-scale-codec", @@ -10491,7 +10492,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10505,7 +10506,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "sp-api", "sp-core", @@ -10515,7 +10516,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "backtrace", "lazy_static", @@ -10525,7 +10526,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "rustc-hash", "serde", @@ -10535,7 +10536,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "either", "hash256-std-hasher", @@ -10558,7 +10559,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10576,7 +10577,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "Inflector", "proc-macro-crate", @@ -10588,7 +10589,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "parity-scale-codec", @@ -10602,7 +10603,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10616,7 +10617,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "scale-info", @@ -10627,7 +10628,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "hash-db", "log", @@ -10649,12 +10650,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10667,7 +10668,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "log", "sp-core", @@ -10680,7 +10681,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "futures-timer", @@ -10696,7 +10697,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "sp-std", @@ -10708,7 +10709,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "sp-api", "sp-runtime", @@ -10717,7 +10718,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "async-trait", "log", @@ -10733,7 +10734,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "ahash", "hash-db", @@ -10756,7 +10757,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10773,7 +10774,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10784,7 +10785,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "impl-trait-for-tuples", "log", @@ -10797,7 +10798,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11012,7 +11013,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "platforms", ] @@ -11020,7 +11021,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11041,7 +11042,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures-util", "hyper", @@ -11054,7 +11055,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "jsonrpsee", "log", @@ -11075,7 +11076,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "array-bytes", "async-trait", @@ -11101,7 +11102,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11111,7 +11112,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11122,7 +11123,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "ansi_term", "build-helper", @@ -11835,7 +11836,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index cded9b289a4f..bb0663ec34f7 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -717,7 +717,7 @@ mod tests { assert_err, assert_noop, assert_ok, dispatch::{DispatchError::BadOrigin, GetDispatchInfo, Pays}, ord_parameter_types, parameter_types, - traits::{ExistenceRequirement, GenesisBuild}, + traits::{ExistenceRequirement, GenesisBuild, WithdrawReasons}, }; use pallet_balances; use sp_runtime::{ @@ -790,6 +790,8 @@ mod tests { parameter_types! { pub const MinVestedTransfer: u64 = 1; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Test { @@ -798,6 +800,7 @@ mod tests { type BlockNumberToBalance = Identity; type MinVestedTransfer = MinVestedTransfer; type WeightInfo = (); + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; const MAX_VESTING_SCHEDULES: u32 = 28; } diff --git a/runtime/common/src/purchase.rs b/runtime/common/src/purchase.rs index 8c0fcebd5c12..52ad22bec2fb 100644 --- a/runtime/common/src/purchase.rs +++ b/runtime/common/src/purchase.rs @@ -474,8 +474,10 @@ mod tests { // or public keys. `u64` is used as the `AccountId` and no `Signature`s are required. use crate::purchase; use frame_support::{ - assert_noop, assert_ok, dispatch::DispatchError::BadOrigin, ord_parameter_types, - parameter_types, traits::Currency, + assert_noop, assert_ok, + dispatch::DispatchError::BadOrigin, + ord_parameter_types, parameter_types, + traits::{Currency, WithdrawReasons}, }; use pallet_balances::Error as BalancesError; use sp_runtime::{ @@ -550,6 +552,8 @@ mod tests { parameter_types! { pub const MinVestedTransfer: u64 = 1; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Test { @@ -558,6 +562,7 @@ mod tests { type BlockNumberToBalance = Identity; type MinVestedTransfer = MinVestedTransfer; type WeightInfo = (); + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; const MAX_VESTING_SCHEDULES: u32 = 28; } diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index a4a3a05e1173..58a824ae1cc2 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -52,7 +52,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ ConstU32, Contains, EitherOf, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, - LockIdentifier, PrivilegeCmp, + LockIdentifier, PrivilegeCmp, WithdrawReasons, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -931,6 +931,8 @@ impl pallet_society::Config for Runtime { parameter_types! { pub const MinVestedTransfer: Balance = 100 * CENTS; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Runtime { @@ -939,6 +941,7 @@ impl pallet_vesting::Config for Runtime { type BlockNumberToBalance = ConvertInto; type MinVestedTransfer = MinVestedTransfer; type WeightInfo = weights::pallet_vesting::WeightInfo; + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; const MAX_VESTING_SCHEDULES: u32 = 28; } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 054fb421babd..8f6f2e4db47d 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -42,7 +42,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ ConstU32, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, - PrivilegeCmp, + PrivilegeCmp, WithdrawReasons, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -992,6 +992,8 @@ impl claims::Config for Runtime { parameter_types! { pub const MinVestedTransfer: Balance = 1 * DOLLARS; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Runtime { @@ -1000,6 +1002,7 @@ impl pallet_vesting::Config for Runtime { type BlockNumberToBalance = ConvertInto; type MinVestedTransfer = MinVestedTransfer; type WeightInfo = weights::pallet_vesting::WeightInfo; + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; const MAX_VESTING_SCHEDULES: u32 = 28; } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index a13bc5932db2..ac247248b9ea 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -55,7 +55,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ Contains, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, - PrivilegeCmp, + PrivilegeCmp, WithdrawReasons, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -857,6 +857,8 @@ impl pallet_society::Config for Runtime { parameter_types! { pub const MinVestedTransfer: Balance = 100 * CENTS; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Runtime { @@ -865,6 +867,7 @@ impl pallet_vesting::Config for Runtime { type BlockNumberToBalance = ConvertInto; type MinVestedTransfer = MinVestedTransfer; type WeightInfo = weights::pallet_vesting::WeightInfo; + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; const MAX_VESTING_SCHEDULES: u32 = 28; } diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 2eade55e3877..a43e13eb015e 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -38,7 +38,7 @@ use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_election_provider_support::{onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, - traits::{Everything, KeyOwnerProofSystem}, + traits::{Everything, KeyOwnerProofSystem, WithdrawReasons}, }; use pallet_grandpa::{fg_primitives, AuthorityId as GrandpaId}; use pallet_session::historical as session_historical; @@ -455,6 +455,8 @@ impl claims::Config for Runtime { parameter_types! { pub storage MinVestedTransfer: Balance = 100 * DOLLARS; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Runtime { @@ -463,6 +465,7 @@ impl pallet_vesting::Config for Runtime { type BlockNumberToBalance = ConvertInto; type MinVestedTransfer = MinVestedTransfer; type WeightInfo = (); + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; const MAX_VESTING_SCHEDULES: u32 = 28; } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 61a909b4806d..454e367e2c15 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -25,7 +25,7 @@ use beefy_primitives::crypto::AuthorityId as BeefyId; use frame_election_provider_support::{onchain, SequentialPhragmen}; use frame_support::{ construct_runtime, parameter_types, - traits::{ConstU32, InstanceFilter, KeyOwnerProofSystem}, + traits::{ConstU32, InstanceFilter, KeyOwnerProofSystem, WithdrawReasons}, weights::ConstantMultiplier, PalletId, }; @@ -712,6 +712,8 @@ impl pallet_recovery::Config for Runtime { parameter_types! { pub const MinVestedTransfer: Balance = 100 * CENTS; + pub UnvestedFundsAllowedWithdrawReasons: WithdrawReasons = + WithdrawReasons::except(WithdrawReasons::TRANSFER | WithdrawReasons::RESERVE); } impl pallet_vesting::Config for Runtime { @@ -720,6 +722,7 @@ impl pallet_vesting::Config for Runtime { type BlockNumberToBalance = ConvertInto; type MinVestedTransfer = MinVestedTransfer; type WeightInfo = weights::pallet_vesting::WeightInfo; + type UnvestedFundsAllowedWithdrawReasons = UnvestedFundsAllowedWithdrawReasons; const MAX_VESTING_SCHEDULES: u32 = 28; } From f85f96c9d6f4d16bc04f2b3950b091c979adf6d0 Mon Sep 17 00:00:00 2001 From: girazoki Date: Mon, 10 Oct 2022 06:39:30 +0200 Subject: [PATCH 045/211] Add event to asset claim (#6029) --- xcm/pallet-xcm/src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index c29b374dd078..78dc5087d960 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -218,6 +218,10 @@ pub mod pallet { /// /// \[ location, query ID \] NotifyTargetMigrationFail(VersionedMultiLocation, QueryId), + /// Some assets have been claimed from an asset trap + /// + /// \[ hash, origin, assets \] + AssetsClaimed(H256, MultiLocation, VersionedMultiAssets), } #[pallet::origin] @@ -1312,12 +1316,13 @@ pub mod pallet { (0, Here) => (), _ => return false, }; - let hash = BlakeTwo256::hash_of(&(origin, versioned)); + let hash = BlakeTwo256::hash_of(&(origin, versioned.clone())); match AssetTraps::::get(hash) { 0 => return false, 1 => AssetTraps::::remove(hash), n => AssetTraps::::insert(hash, n - 1), } + Self::deposit_event(Event::AssetsClaimed(hash, origin.clone(), versioned)); return true } } From e36cc59bfc8338d6fb01f261a243c1f4048773df Mon Sep 17 00:00:00 2001 From: Chris Sosnin <48099298+slumber@users.noreply.github.com> Date: Mon, 10 Oct 2022 10:06:44 +0400 Subject: [PATCH 046/211] Fix flaky test (#6131) * Split test + decrease test timeout * fmt * spellcheck --- .../src/validator_side/mod.rs | 4 ++ .../src/validator_side/tests.rs | 50 +++++++++++-------- node/subsystem-test-helpers/src/lib.rs | 29 +++++++++++ 3 files changed, 63 insertions(+), 20 deletions(-) diff --git a/node/network/collator-protocol/src/validator_side/mod.rs b/node/network/collator-protocol/src/validator_side/mod.rs index b74c1d5b5a4f..b2b3dc4824b5 100644 --- a/node/network/collator-protocol/src/validator_side/mod.rs +++ b/node/network/collator-protocol/src/validator_side/mod.rs @@ -85,12 +85,16 @@ const BENEFIT_NOTIFY_GOOD: Rep = /// to finish on time. /// /// There is debug logging output, so we can adjust this value based on production results. +#[cfg(not(test))] const MAX_UNSHARED_DOWNLOAD_TIME: Duration = Duration::from_millis(400); // How often to check all peers with activity. #[cfg(not(test))] const ACTIVITY_POLL: Duration = Duration::from_secs(1); +#[cfg(test)] +const MAX_UNSHARED_DOWNLOAD_TIME: Duration = Duration::from_millis(100); + #[cfg(test)] const ACTIVITY_POLL: Duration = Duration::from_millis(10); diff --git a/node/network/collator-protocol/src/validator_side/tests.rs b/node/network/collator-protocol/src/validator_side/tests.rs index 15740e5d5efa..ae8644cea521 100644 --- a/node/network/collator-protocol/src/validator_side/tests.rs +++ b/node/network/collator-protocol/src/validator_side/tests.rs @@ -20,7 +20,7 @@ use futures::{executor, future, Future}; use sp_core::{crypto::Pair, Encode}; use sp_keyring::Sr25519Keyring; use sp_keystore::{testing::KeyStore as TestKeyStore, SyncCryptoStore}; -use std::{iter, sync::Arc, time::Duration}; +use std::{iter, sync::Arc, task::Poll, time::Duration}; use polkadot_node_network_protocol::{ our_view, @@ -493,17 +493,11 @@ fn collator_authentication_verification_works() { }); } -// A test scenario that takes the following steps -// - Two collators connect, declare themselves and advertise a collation relevant to -// our view. -// - Collation protocol should request one PoV. -// - Collation protocol should disconnect both collators after having received the collation. -// - The same collators plus an additional collator connect again and send `PoV`s for a different relay parent. -// - Collation protocol will request one PoV, but we will cancel it. -// - Collation protocol should request the second PoV which does not succeed in time. -// - Collation protocol should request third PoV. +/// Tests that a validator fetches only one collation at any moment of time +/// per relay parent and ignores other advertisements once a candidate gets +/// seconded. #[test] -fn fetch_collations_works() { +fn fetch_one_collation_at_a_time() { let test_state = TestState::default(); test_harness(|test_harness| async move { @@ -575,22 +569,38 @@ fn fetch_collations_works() { ) .await; - overseer_send( - &mut virtual_overseer, - CollatorProtocolMessage::NetworkBridgeUpdate(NetworkBridgeEvent::PeerDisconnected( - peer_b.clone(), - )), - ) - .await; + // Ensure the subsystem is polled. + test_helpers::Yield::new().await; + + // Second collation is not requested since there's already seconded one. + assert_matches!(futures::poll!(virtual_overseer.recv().boxed()), Poll::Pending); + + virtual_overseer + }) +} + +/// Tests that a validator starts fetching next queued collations on [`MAX_UNSHARED_DOWNLOAD_TIME`] +/// timeout and in case of an error. +#[test] +fn fetches_next_collation() { + let test_state = TestState::default(); + + test_harness(|test_harness| async move { + let TestHarness { mut virtual_overseer } = test_harness; + + let second = Hash::random(); overseer_send( &mut virtual_overseer, - CollatorProtocolMessage::NetworkBridgeUpdate(NetworkBridgeEvent::PeerDisconnected( - peer_c.clone(), + CollatorProtocolMessage::NetworkBridgeUpdate(NetworkBridgeEvent::OurViewChange( + our_view![test_state.relay_parent, second], )), ) .await; + respond_to_core_info_queries(&mut virtual_overseer, &test_state).await; + respond_to_core_info_queries(&mut virtual_overseer, &test_state).await; + let peer_b = PeerId::random(); let peer_c = PeerId::random(); let peer_d = PeerId::random(); diff --git a/node/subsystem-test-helpers/src/lib.rs b/node/subsystem-test-helpers/src/lib.rs index e2e61c2006d8..79f833b7558c 100644 --- a/node/subsystem-test-helpers/src/lib.rs +++ b/node/subsystem-test-helpers/src/lib.rs @@ -30,6 +30,7 @@ use sp_core::testing::TaskExecutor; use std::{ convert::Infallible, + future::Future, pin::Pin, sync::Arc, task::{Context, Poll, Waker}, @@ -391,6 +392,34 @@ macro_rules! arbitrary_order { }; } +/// Future that yields the execution once and resolves +/// immediately after. +/// +/// Useful when one wants to poll the background task to completion +/// before sending messages to it in order to avoid races. +pub struct Yield(bool); + +impl Yield { + /// Returns new `Yield` future. + pub fn new() -> Self { + Self(false) + } +} + +impl Future for Yield { + type Output = (); + + fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { + if !self.0 { + self.0 = true; + cx.waker().wake_by_ref(); + Poll::Pending + } else { + Poll::Ready(()) + } + } +} + #[cfg(test)] mod tests { use super::*; From c7a4d93899802ad764eaaaee9d8b415f36cf344d Mon Sep 17 00:00:00 2001 From: Andronik Date: Mon, 10 Oct 2022 11:41:04 +0200 Subject: [PATCH 047/211] ci/guide: install mdbook-graphviz (#6119) * ci/guide: install mdbook-graphviz * install graphviz in build-implementers-guide * Update scripts/ci/gitlab/pipeline/build.yml Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> --- scripts/ci/gitlab/pipeline/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index dcc05427f0b3..791b01c2b632 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -169,7 +169,8 @@ build-implementers-guide: - .test-refs - .collect-artifacts-short script: - - cargo install mdbook mdbook-mermaid mdbook-linkcheck + - apt-get -y update; apt-get install -y graphviz + - cargo install mdbook mdbook-mermaid mdbook-linkcheck mdbook-graphviz - mdbook build ./roadmap/implementers-guide - mkdir -p artifacts - mv roadmap/implementers-guide/book artifacts/ From f479d1ead57ec3e2963163c4c6ed51fb507f6759 Mon Sep 17 00:00:00 2001 From: Aaro Altonen <48052676+altonen@users.noreply.github.com> Date: Mon, 10 Oct 2022 14:13:59 +0300 Subject: [PATCH 048/211] Companion for paritytech/substrate#12441 (#6117) * Companion for paritytech/substrate#12441 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 356 +++++++++++++------------- node/network/protocol/src/peer_set.rs | 2 + 2 files changed, 180 insertions(+), 178 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b63f76038fe..3fd0ff745d58 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -2001,7 +2001,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", ] @@ -2019,7 +2019,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "Inflector", "array-bytes", @@ -2093,7 +2093,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2104,7 +2104,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2120,7 +2120,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -2149,7 +2149,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "bitflags", "frame-metadata", @@ -2181,7 +2181,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "Inflector", "cfg-expr", @@ -2195,7 +2195,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2207,7 +2207,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro2", "quote", @@ -2217,7 +2217,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2240,7 +2240,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -2251,7 +2251,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "log", @@ -2269,7 +2269,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -2284,7 +2284,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "sp-api", @@ -2293,7 +2293,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "parity-scale-codec", @@ -2464,7 +2464,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "chrono", "frame-election-provider-support", @@ -4813,7 +4813,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -4843,7 +4843,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -4858,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -4882,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4902,7 +4902,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "beefy-primitives", "frame-support", @@ -4952,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4975,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -4993,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +5012,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5101,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5119,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5194,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5231,7 +5231,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5266,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5281,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5297,7 +5297,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5334,7 +5334,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "sp-api", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -5361,7 +5361,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5384,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5401,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5416,7 +5416,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5434,7 +5434,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5449,7 +5449,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5467,7 +5467,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5483,7 +5483,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -5504,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -5534,7 +5534,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5557,7 +5557,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5568,7 +5568,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "sp-arithmetic", @@ -5577,7 +5577,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -5591,7 +5591,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5609,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5628,7 +5628,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-support", "frame-system", @@ -5644,7 +5644,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5659,7 +5659,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5670,7 +5670,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5687,7 +5687,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5703,7 +5703,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -5718,7 +5718,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-benchmarking", "frame-support", @@ -8251,7 +8251,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8599,7 +8599,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "sp-core", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "futures", @@ -8637,7 +8637,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "futures-timer", @@ -8660,7 +8660,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8676,7 +8676,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8704,7 +8704,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "chrono", @@ -8744,7 +8744,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "fnv", "futures", @@ -8772,7 +8772,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "hash-db", "kvdb", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "futures", @@ -8821,7 +8821,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "fork-tree", @@ -8863,7 +8863,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "jsonrpsee", @@ -8885,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8898,7 +8898,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "futures", @@ -8922,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8949,7 +8949,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "environmental", "parity-scale-codec", @@ -8965,7 +8965,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "parity-scale-codec", @@ -8980,7 +8980,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9000,7 +9000,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "ahash", "array-bytes", @@ -9041,7 +9041,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "finality-grandpa", "futures", @@ -9062,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "ansi_term", "futures", @@ -9079,7 +9079,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "async-trait", @@ -9094,7 +9094,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "async-trait", @@ -9141,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "cid", "futures", @@ -9161,7 +9161,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "bitflags", @@ -9187,7 +9187,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "ahash", "futures", @@ -9205,7 +9205,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "futures", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "fork-tree", @@ -9254,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "futures", @@ -9273,7 +9273,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "bytes", @@ -9303,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "libp2p", @@ -9316,7 +9316,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9325,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "hash-db", @@ -9355,7 +9355,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "jsonrpsee", @@ -9378,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "jsonrpsee", @@ -9391,7 +9391,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "directories", @@ -9461,7 +9461,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "parity-scale-codec", @@ -9475,7 +9475,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9494,7 +9494,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "libc", @@ -9513,7 +9513,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "chrono", "futures", @@ -9531,7 +9531,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "ansi_term", "atty", @@ -9562,7 +9562,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9573,7 +9573,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "futures-timer", @@ -9599,7 +9599,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "log", @@ -9612,7 +9612,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "futures-timer", @@ -10098,7 +10098,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "hash-db", "log", @@ -10116,7 +10116,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "blake2", "proc-macro-crate", @@ -10128,7 +10128,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -10141,7 +10141,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "integer-sqrt", "num-traits", @@ -10156,7 +10156,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -10169,7 +10169,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "parity-scale-codec", @@ -10181,7 +10181,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "sp-api", @@ -10193,7 +10193,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "log", @@ -10211,7 +10211,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "futures", @@ -10230,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "merlin", @@ -10253,7 +10253,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -10267,7 +10267,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "base58", @@ -10326,7 +10326,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "blake2", "byteorder", @@ -10340,7 +10340,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro2", "quote", @@ -10351,7 +10351,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10360,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro2", "quote", @@ -10370,7 +10370,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "environmental", "parity-scale-codec", @@ -10381,7 +10381,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "finality-grandpa", "log", @@ -10399,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10413,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "bytes", "futures", @@ -10439,7 +10439,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "lazy_static", "sp-core", @@ -10450,7 +10450,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "futures", @@ -10467,7 +10467,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "thiserror", "zstd", @@ -10476,7 +10476,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "parity-scale-codec", @@ -10492,7 +10492,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -10506,7 +10506,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "sp-api", "sp-core", @@ -10516,7 +10516,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "backtrace", "lazy_static", @@ -10526,7 +10526,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "rustc-hash", "serde", @@ -10536,7 +10536,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "either", "hash256-std-hasher", @@ -10559,7 +10559,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10577,7 +10577,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "Inflector", "proc-macro-crate", @@ -10589,7 +10589,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "parity-scale-codec", @@ -10603,7 +10603,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -10617,7 +10617,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "scale-info", @@ -10628,7 +10628,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "hash-db", "log", @@ -10650,12 +10650,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10668,7 +10668,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "log", "sp-core", @@ -10681,7 +10681,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "futures-timer", @@ -10697,7 +10697,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "sp-std", @@ -10709,7 +10709,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "sp-api", "sp-runtime", @@ -10718,7 +10718,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "async-trait", "log", @@ -10734,7 +10734,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "ahash", "hash-db", @@ -10757,7 +10757,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10774,7 +10774,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10785,7 +10785,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "impl-trait-for-tuples", "log", @@ -10798,7 +10798,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11013,7 +11013,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "platforms", ] @@ -11021,7 +11021,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11042,7 +11042,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures-util", "hyper", @@ -11055,7 +11055,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "jsonrpsee", "log", @@ -11076,7 +11076,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "array-bytes", "async-trait", @@ -11102,7 +11102,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11112,7 +11112,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11123,7 +11123,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "ansi_term", "build-helper", @@ -11836,7 +11836,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#73c4f94ce0cb41e35bd7fbc7095590b98a351dbb" +source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/network/protocol/src/peer_set.rs b/node/network/protocol/src/peer_set.rs index 8c5597a9fc83..d9d2925e594d 100644 --- a/node/network/protocol/src/peer_set.rs +++ b/node/network/protocol/src/peer_set.rs @@ -80,6 +80,7 @@ impl PeerSet { notifications_protocol: protocol, fallback_names, max_notification_size, + handshake: None, set_config: sc_network_common::config::SetConfig { // we allow full nodes to connect to validators for gossip // to ensure any `MIN_GOSSIP_PEERS` always include reserved peers @@ -95,6 +96,7 @@ impl PeerSet { notifications_protocol: protocol, fallback_names, max_notification_size, + handshake: None, set_config: SetConfig { // Non-authority nodes don't need to accept incoming connections on this peer set: in_peers: if is_authority == IsAuthority::Yes { 100 } else { 0 }, From 84cd6d3b1a3e9a90ab337a1a479a6abc5c6bcea9 Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 10 Oct 2022 20:20:21 +0300 Subject: [PATCH 049/211] Update tests for Rust 1.64 (#6124) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bastian Köcher --- node/gum/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/gum/src/tests.rs b/node/gum/src/tests.rs index 4b52147f2948..c4077c7615c7 100644 --- a/node/gum/src/tests.rs +++ b/node/gum/src/tests.rs @@ -32,7 +32,7 @@ fn plain() { fn wo_alias() { let a: i32 = 7; error!(target: "foo", - "Something something {}, {:?}, or maybe {}", + "Something something {}, {b:?}, or maybe {c}", a, b = Y::default(), c = a From 9f4eae70c52b6424e6bb8573bb5155bc3d3bbfbb Mon Sep 17 00:00:00 2001 From: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Date: Tue, 11 Oct 2022 12:28:00 +0300 Subject: [PATCH 050/211] Companion for #12328 (#6058) * staking-miner: Adjust `TransactionStatus` update Signed-off-by: Alexandru Vasile * update lockfile for {"substrate"} Signed-off-by: Alexandru Vasile Co-authored-by: parity-processbot <> --- Cargo.lock | 376 +++++++++++++++-------------- utils/staking-miner/src/monitor.rs | 4 +- 2 files changed, 200 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3fd0ff745d58..26a5fc452729 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -2001,7 +2001,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", ] @@ -2019,7 +2019,7 @@ dependencies = [ [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "Inflector", "array-bytes", @@ -2093,7 +2093,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2104,7 +2104,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2120,7 +2120,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -2149,7 +2149,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "bitflags", "frame-metadata", @@ -2181,7 +2181,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "Inflector", "cfg-expr", @@ -2195,7 +2195,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2207,7 +2207,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro2", "quote", @@ -2217,7 +2217,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2240,7 +2240,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -2251,7 +2251,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "log", @@ -2269,7 +2269,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -2284,7 +2284,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -2293,7 +2293,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "parity-scale-codec", @@ -2464,7 +2464,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "chrono", "frame-election-provider-support", @@ -4813,7 +4813,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -4843,7 +4843,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -4858,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4882,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4902,7 +4902,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "beefy-primitives", "frame-support", @@ -4952,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4975,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4993,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +5012,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5101,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5119,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5178,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5194,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5231,7 +5231,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5266,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5281,7 +5281,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5297,7 +5297,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5334,7 +5334,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -5361,7 +5361,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5384,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5401,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5416,7 +5416,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5434,7 +5434,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5449,7 +5449,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5467,7 +5467,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5483,7 +5483,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -5504,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -5534,7 +5534,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5557,7 +5557,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5568,7 +5568,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "sp-arithmetic", @@ -5577,7 +5577,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -5591,7 +5591,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5609,7 +5609,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5628,7 +5628,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-support", "frame-system", @@ -5644,7 +5644,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5659,7 +5659,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5670,7 +5670,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5687,7 +5687,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5703,7 +5703,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5718,7 +5718,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8251,7 +8251,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8599,7 +8599,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "sp-core", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "futures", @@ -8637,7 +8637,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "futures-timer", @@ -8660,7 +8660,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8676,7 +8676,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8704,7 +8704,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "chrono", @@ -8744,7 +8744,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "fnv", "futures", @@ -8772,7 +8772,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "hash-db", "kvdb", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "futures", @@ -8821,7 +8821,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "fork-tree", @@ -8863,7 +8863,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "jsonrpsee", @@ -8885,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8898,7 +8898,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "futures", @@ -8922,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8949,7 +8949,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "environmental", "parity-scale-codec", @@ -8965,7 +8965,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "parity-scale-codec", @@ -8980,7 +8980,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9000,7 +9000,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "ahash", "array-bytes", @@ -9041,7 +9041,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "finality-grandpa", "futures", @@ -9062,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "ansi_term", "futures", @@ -9079,7 +9079,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "async-trait", @@ -9094,7 +9094,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "async-trait", @@ -9141,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "cid", "futures", @@ -9161,7 +9161,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "bitflags", @@ -9187,7 +9187,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "ahash", "futures", @@ -9205,7 +9205,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "futures", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "fork-tree", @@ -9254,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "futures", @@ -9273,7 +9273,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "bytes", @@ -9303,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "libp2p", @@ -9316,7 +9316,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9325,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "hash-db", @@ -9355,7 +9355,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "jsonrpsee", @@ -9378,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "jsonrpsee", @@ -9388,10 +9388,29 @@ dependencies = [ "tokio", ] +[[package]] +name = "sc-rpc-spec-v2" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +dependencies = [ + "futures", + "hex", + "jsonrpsee", + "parity-scale-codec", + "sc-chain-spec", + "sc-transaction-pool-api", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-runtime", + "thiserror", +] + [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "directories", @@ -9423,6 +9442,7 @@ dependencies = [ "sc-offchain", "sc-rpc", "sc-rpc-server", + "sc-rpc-spec-v2", "sc-sysinfo", "sc-telemetry", "sc-tracing", @@ -9461,7 +9481,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "parity-scale-codec", @@ -9475,7 +9495,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9494,7 +9514,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "libc", @@ -9513,7 +9533,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "chrono", "futures", @@ -9531,7 +9551,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "ansi_term", "atty", @@ -9562,7 +9582,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9573,7 +9593,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "futures-timer", @@ -9599,7 +9619,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "log", @@ -9612,7 +9632,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "futures-timer", @@ -10098,7 +10118,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "hash-db", "log", @@ -10116,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "blake2", "proc-macro-crate", @@ -10128,7 +10148,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10141,7 +10161,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "integer-sqrt", "num-traits", @@ -10156,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10169,7 +10189,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "parity-scale-codec", @@ -10181,7 +10201,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "sp-api", @@ -10193,7 +10213,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "log", @@ -10211,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "futures", @@ -10230,7 +10250,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "merlin", @@ -10253,7 +10273,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10267,7 +10287,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10280,7 +10300,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "base58", @@ -10326,7 +10346,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "blake2", "byteorder", @@ -10340,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro2", "quote", @@ -10351,7 +10371,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10360,7 +10380,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro2", "quote", @@ -10370,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "environmental", "parity-scale-codec", @@ -10381,7 +10401,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "finality-grandpa", "log", @@ -10399,7 +10419,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10413,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "bytes", "futures", @@ -10439,7 +10459,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "lazy_static", "sp-core", @@ -10450,7 +10470,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "futures", @@ -10467,7 +10487,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "thiserror", "zstd", @@ -10476,7 +10496,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "parity-scale-codec", @@ -10492,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10506,7 +10526,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "sp-api", "sp-core", @@ -10516,7 +10536,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "backtrace", "lazy_static", @@ -10526,7 +10546,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "rustc-hash", "serde", @@ -10536,7 +10556,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "either", "hash256-std-hasher", @@ -10559,7 +10579,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10577,7 +10597,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "Inflector", "proc-macro-crate", @@ -10589,7 +10609,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "parity-scale-codec", @@ -10603,7 +10623,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10617,7 +10637,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10628,7 +10648,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "hash-db", "log", @@ -10650,12 +10670,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10668,7 +10688,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "log", "sp-core", @@ -10681,7 +10701,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "futures-timer", @@ -10697,7 +10717,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "sp-std", @@ -10709,7 +10729,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "sp-api", "sp-runtime", @@ -10718,7 +10738,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "async-trait", "log", @@ -10734,7 +10754,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "ahash", "hash-db", @@ -10757,7 +10777,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10774,7 +10794,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10785,7 +10805,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "impl-trait-for-tuples", "log", @@ -10798,7 +10818,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11013,7 +11033,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "platforms", ] @@ -11021,7 +11041,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11042,7 +11062,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures-util", "hyper", @@ -11055,7 +11075,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "jsonrpsee", "log", @@ -11076,7 +11096,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "array-bytes", "async-trait", @@ -11102,7 +11122,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11112,7 +11132,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11123,7 +11143,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "ansi_term", "build-helper", @@ -11836,7 +11856,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0c1ccdaa53556a106aa69c23f19527e435970237" +source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" dependencies = [ "clap", "frame-try-runtime", diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 676440d018fd..30f1b2ded908 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -370,7 +370,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { TransactionStatus::Ready | TransactionStatus::Broadcast(_) | TransactionStatus::Future => continue, - TransactionStatus::InBlock(hash) => { + TransactionStatus::InBlock((hash, _)) => { log::info!(target: LOG_TARGET, "included at {:?}", hash); let key = StorageKey( frame_support::storage::storage_prefix(b"System", b"Events").to_vec(), @@ -399,7 +399,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { TransactionStatus::Retracted(hash) => { log::info!(target: LOG_TARGET, "Retracted at {:?}", hash); }, - TransactionStatus::Finalized(hash) => { + TransactionStatus::Finalized((hash, _)) => { log::info!(target: LOG_TARGET, "Finalized at {:?}", hash); break }, From 3147616e727341a7adb1c56e4cd7eb56af1ff0bb Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Tue, 11 Oct 2022 15:07:28 +0300 Subject: [PATCH 051/211] Expose node subcommands in Malus CLI (#6135) * Expose the full Cli through malus Signed-off-by: Andrei Sandu * fix lonely test Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- cli/src/cli.rs | 1 - node/malus/src/malus.rs | 34 +++++++++---------- .../src/variants/dispute_valid_candidates.rs | 20 +++++------ 3 files changed, 25 insertions(+), 30 deletions(-) diff --git a/cli/src/cli.rs b/cli/src/cli.rs index 804c4a9f81c6..43e49019c019 100644 --- a/cli/src/cli.rs +++ b/cli/src/cli.rs @@ -84,7 +84,6 @@ pub struct ValidationWorkerCommand { #[allow(missing_docs)] #[derive(Debug, Parser)] -#[cfg_attr(feature = "malus", derive(Clone))] pub struct RunCmd { #[allow(missing_docs)] #[clap(flatten)] diff --git a/node/malus/src/malus.rs b/node/malus/src/malus.rs index dd9f1377f14a..aa14b8e3d38f 100644 --- a/node/malus/src/malus.rs +++ b/node/malus/src/malus.rs @@ -18,7 +18,7 @@ use clap::Parser; use color_eyre::eyre; -use polkadot_cli::{Cli, RunCmd}; +use polkadot_cli::Cli; pub(crate) mod interceptor; pub(crate) mod shared; @@ -33,9 +33,9 @@ use variants::*; #[clap(rename_all = "kebab-case")] enum NemesisVariant { /// Suggest a candidate with an invalid proof of validity. - SuggestGarbageCandidate(RunCmd), + SuggestGarbageCandidate(Cli), /// Back a candidate with a specifically crafted proof of validity. - BackGarbageCandidate(RunCmd), + BackGarbageCandidate(Cli), /// Delayed disputing of ancestors that are perfectly fine. DisputeAncestor(DisputeAncestorOptions), @@ -57,24 +57,24 @@ struct MalusCli { pub finality_delay: Option, } -fn run_cmd(run: RunCmd) -> Cli { - Cli { subcommand: None, run } -} - impl MalusCli { /// Launch a malus node. fn launch(self) -> eyre::Result<()> { let finality_delay = self.finality_delay; match self.variant { - NemesisVariant::BackGarbageCandidate(cmd) => - polkadot_cli::run_node(run_cmd(cmd), BackGarbageCandidate, finality_delay)?, - NemesisVariant::SuggestGarbageCandidate(cmd) => - polkadot_cli::run_node(run_cmd(cmd), BackGarbageCandidateWrapper, finality_delay)?, - NemesisVariant::DisputeAncestor(opts) => polkadot_cli::run_node( - run_cmd(opts.clone().cmd), - DisputeValidCandidates::new(opts), - finality_delay, - )?, + NemesisVariant::BackGarbageCandidate(cli) => + polkadot_cli::run_node(cli, BackGarbageCandidate, finality_delay)?, + NemesisVariant::SuggestGarbageCandidate(cli) => + polkadot_cli::run_node(cli, BackGarbageCandidateWrapper, finality_delay)?, + NemesisVariant::DisputeAncestor(opts) => { + let DisputeAncestorOptions { fake_validation, fake_validation_error, cli } = opts; + + polkadot_cli::run_node( + cli, + DisputeValidCandidates { fake_validation, fake_validation_error }, + finality_delay, + )? + }, NemesisVariant::PvfPrepareWorker(cmd) => { #[cfg(target_os = "android")] { @@ -126,7 +126,7 @@ mod tests { variant: NemesisVariant::DisputeAncestor(run), .. } => { - assert!(run.cmd.base.bob); + assert!(run.cli.run.base.bob); }); } } diff --git a/node/malus/src/variants/dispute_valid_candidates.rs b/node/malus/src/variants/dispute_valid_candidates.rs index 17ac070e619b..175cdecee916 100644 --- a/node/malus/src/variants/dispute_valid_candidates.rs +++ b/node/malus/src/variants/dispute_valid_candidates.rs @@ -29,7 +29,7 @@ use polkadot_cli::{ OverseerConnector, OverseerGen, OverseerGenArgs, OverseerHandle, ParachainHost, ProvideRuntimeApi, }, - RunCmd, + Cli, }; use polkadot_node_subsystem::SpawnGlue; use sp_core::traits::SpawnNamed; @@ -40,7 +40,7 @@ use crate::{interceptor::*, variants::ReplaceValidationResult}; use std::sync::Arc; -#[derive(Clone, Debug, clap::Parser)] +#[derive(Debug, clap::Parser)] #[clap(rename_all = "kebab-case")] #[allow(missing_docs)] pub struct DisputeAncestorOptions { @@ -56,18 +56,14 @@ pub struct DisputeAncestorOptions { pub fake_validation_error: FakeCandidateValidationError, #[clap(flatten)] - pub cmd: RunCmd, + pub cli: Cli, } pub(crate) struct DisputeValidCandidates { /// Fake validation config (applies to disputes as well). - opts: DisputeAncestorOptions, -} - -impl DisputeValidCandidates { - pub fn new(opts: DisputeAncestorOptions) -> Self { - Self { opts } - } + pub fake_validation: FakeCandidateValidation, + /// Fake validation error config. + pub fake_validation_error: FakeCandidateValidationError, } impl OverseerGen for DisputeValidCandidates { @@ -83,8 +79,8 @@ impl OverseerGen for DisputeValidCandidates { { let spawner = args.spawner.clone(); let validation_filter = ReplaceValidationResult::new( - self.opts.fake_validation, - self.opts.fake_validation_error, + self.fake_validation, + self.fake_validation_error, SpawnGlue(spawner.clone()), ); From 15709eee181d927ec80d566e882931776182bdcd Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Tue, 11 Oct 2022 15:22:38 -0400 Subject: [PATCH 052/211] Manual Para Lock (#5451) * remove para lock check for now * fmt * manual para lock * expose schedule_code_upgrade and set_current_head * extrinsics and benchmarks * use zero * add weights * fix variable name * add and fix comments * fix weights * add back default lock Co-authored-by: parity-processbot <> --- runtime/common/src/paras_registrar.rs | 119 ++++++++++++++---- .../weights/runtime_common_paras_registrar.rs | 24 ++++ runtime/parachains/src/lib.rs | 20 ++- runtime/parachains/src/paras/mod.rs | 32 ++++- .../weights/runtime_common_paras_registrar.rs | 24 ++++ .../weights/runtime_common_paras_registrar.rs | 24 ++++ .../weights/runtime_common_paras_registrar.rs | 24 ++++ 7 files changed, 236 insertions(+), 31 deletions(-) diff --git a/runtime/common/src/paras_registrar.rs b/runtime/common/src/paras_registrar.rs index d5bc59599715..7245cd92d304 100644 --- a/runtime/common/src/paras_registrar.rs +++ b/runtime/common/src/paras_registrar.rs @@ -60,6 +60,8 @@ pub trait WeightInfo { fn force_register() -> Weight; fn deregister() -> Weight; fn swap() -> Weight; + fn schedule_code_upgrade(b: u32) -> Weight; + fn set_current_head(b: u32) -> Weight; } pub struct TestWeightInfo; @@ -79,6 +81,12 @@ impl WeightInfo for TestWeightInfo { fn swap() -> Weight { Weight::zero() } + fn schedule_code_upgrade(_b: u32) -> Weight { + Weight::zero() + } + fn set_current_head(_b: u32) -> Weight { + Weight::zero() + } } #[frame_support::pallet] @@ -318,11 +326,11 @@ pub mod pallet { /// Remove a manager lock from a para. This will allow the manager of a /// previously locked para to deregister or swap a para without using governance. /// - /// Can only be called by the Root origin. + /// Can only be called by the Root origin or the parachain. #[pallet::weight(T::DbWeight::get().reads_writes(1, 1))] - pub fn force_remove_lock(origin: OriginFor, para: ParaId) -> DispatchResult { - ensure_root(origin)?; - Self::remove_lock(para); + pub fn remove_lock(origin: OriginFor, para: ParaId) -> DispatchResult { + Self::ensure_root_or_para(origin, para)?; + ::remove_lock(para); Ok(()) } @@ -348,6 +356,45 @@ pub mod pallet { NextFreeParaId::::set(id + 1); Ok(()) } + + /// Add a manager lock from a para. This will prevent the manager of a + /// para to deregister or swap a para. + /// + /// Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked. + #[pallet::weight(T::DbWeight::get().reads_writes(1, 1))] + pub fn add_lock(origin: OriginFor, para: ParaId) -> DispatchResult { + Self::ensure_root_para_or_owner(origin, para)?; + ::apply_lock(para); + Ok(()) + } + + /// Schedule a parachain upgrade. + /// + /// Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked. + #[pallet::weight(::WeightInfo::schedule_code_upgrade(new_code.0.len() as u32))] + pub fn schedule_code_upgrade( + origin: OriginFor, + para: ParaId, + new_code: ValidationCode, + ) -> DispatchResult { + Self::ensure_root_para_or_owner(origin, para)?; + runtime_parachains::schedule_code_upgrade::(para, new_code)?; + Ok(()) + } + + /// Set the parachain's current head. + /// + /// Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked. + #[pallet::weight(::WeightInfo::set_current_head(new_head.0.len() as u32))] + pub fn set_current_head( + origin: OriginFor, + para: ParaId, + new_head: HeadData, + ) -> DispatchResult { + Self::ensure_root_para_or_owner(origin, para)?; + runtime_parachains::set_current_head::(para, new_head); + Ok(()) + } } } @@ -379,7 +426,7 @@ impl Registrar for Pallet { Paras::::mutate(id, |x| x.as_mut().map(|mut info| info.locked = true)); } - // Apply a lock to the parachain. + // Remove a lock from the parachain. fn remove_lock(id: ParaId) { Paras::::mutate(id, |x| x.as_mut().map(|mut info| info.locked = false)); } @@ -467,17 +514,23 @@ impl Pallet { ensure!(para_info.manager == who, Error::::NotOwner); Ok(()) }) - .or_else(|_| -> DispatchResult { - // Else check if para origin... - let caller_id = - ensure_parachain(::RuntimeOrigin::from(origin.clone()))?; - ensure!(caller_id == id, Error::::NotOwner); - Ok(()) - }) - .or_else(|_| -> DispatchResult { - // Check if root... - ensure_root(origin.clone()).map_err(|e| e.into()) - }) + .or_else(|_| -> DispatchResult { Self::ensure_root_or_para(origin, id) }) + } + + /// Ensure the origin is one of Root or the `para` itself. + fn ensure_root_or_para( + origin: ::RuntimeOrigin, + id: ParaId, + ) -> DispatchResult { + if let Ok(caller_id) = ensure_parachain(::RuntimeOrigin::from(origin.clone())) + { + // Check if matching para id... + ensure!(caller_id == id, Error::::NotOwner); + } else { + // Check if root... + ensure_root(origin.clone())?; + } + Ok(()) } fn do_reserve( @@ -1087,21 +1140,20 @@ mod tests { vec![1, 2, 3].into(), )); - // Owner can call swap - assert_ok!(Registrar::swap(RuntimeOrigin::signed(1), para_id, para_id + 1)); - - // 2 session changes to fully onboard. - run_to_session(2); - assert_eq!(Parachains::lifecycle(para_id), Some(ParaLifecycle::Parathread)); - + assert_noop!(Registrar::add_lock(RuntimeOrigin::signed(2), para_id), BadOrigin); // Once they begin onboarding, we lock them in. - assert_ok!(Registrar::make_parachain(para_id)); - - // Owner cannot call swap anymore + assert_ok!(Registrar::add_lock(RuntimeOrigin::signed(1), para_id)); + // Owner cannot pass origin check when checking lock assert_noop!( - Registrar::swap(RuntimeOrigin::signed(1), para_id, para_id + 2), + Registrar::ensure_root_para_or_owner(RuntimeOrigin::signed(1), para_id), BadOrigin ); + // Owner cannot remove lock. + assert_noop!(Registrar::remove_lock(RuntimeOrigin::signed(1), para_id), BadOrigin); + // Para can. + assert_ok!(Registrar::remove_lock(para_origin(para_id), para_id)); + // Owner can pass origin check again + assert_ok!(Registrar::ensure_root_para_or_owner(RuntimeOrigin::signed(1), para_id)); }); } @@ -1227,6 +1279,7 @@ mod benchmarking { use crate::traits::Registrar as RegistrarT; use frame_support::assert_ok; use frame_system::RawOrigin; + use primitives::v2::{MAX_CODE_SIZE, MAX_HEAD_DATA_SIZE}; use runtime_parachains::{paras, shared, Origin as ParaOrigin}; use sp_runtime::traits::Bounded; @@ -1343,6 +1396,18 @@ mod benchmarking { assert_eq!(paras::Pallet::::lifecycle(parathread), Some(ParaLifecycle::Parachain)); } + schedule_code_upgrade { + let b in 1 .. MAX_CODE_SIZE; + let new_code = ValidationCode(vec![0; b as usize]); + let para_id = ParaId::from(1000); + }: _(RawOrigin::Root, para_id, new_code) + + set_current_head { + let b in 1 .. MAX_HEAD_DATA_SIZE; + let new_head = HeadData(vec![0; b as usize]); + let para_id = ParaId::from(1000); + }: _(RawOrigin::Root, para_id, new_head) + impl_benchmark_test_suite!( Registrar, crate::integration_tests::new_test_ext(), diff --git a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs index 6e8b878ad196..8b9f554fe3e6 100644 --- a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs @@ -103,4 +103,28 @@ impl runtime_common::paras_registrar::WeightInfo for We .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } + // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras CurrentCodeHash (r:1 w:0) + // Storage: Paras UpgradeCooldowns (r:1 w:1) + // Storage: Paras PvfActiveVoteMap (r:1 w:0) + // Storage: Paras CodeByHash (r:1 w:1) + // Storage: Paras UpcomingUpgrades (r:1 w:1) + // Storage: System Digest (r:1 w:1) + // Storage: Paras CodeByHashRefs (r:1 w:1) + // Storage: Paras FutureCodeUpgrades (r:0 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + fn schedule_code_upgrade(b: u32, ) -> Weight { + Weight::from_ref_time(0 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } + // Storage: Paras Heads (r:0 w:1) + fn set_current_head(b: u32, ) -> Weight { + Weight::from_ref_time(5_494_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } } diff --git a/runtime/parachains/src/lib.rs b/runtime/parachains/src/lib.rs index 2005861a6c4b..3d73a4049ed4 100644 --- a/runtime/parachains/src/lib.rs +++ b/runtime/parachains/src/lib.rs @@ -50,7 +50,8 @@ mod mock; pub use origin::{ensure_parachain, Origin}; pub use paras::ParaLifecycle; -use primitives::v2::Id as ParaId; +use primitives::v2::{HeadData, Id as ParaId, ValidationCode}; +use sp_runtime::DispatchResult; /// Schedule a para to be initialized at the start of the next session with the given genesis data. /// @@ -78,3 +79,20 @@ pub fn schedule_parathread_upgrade(id: ParaId) -> Result<(), ( pub fn schedule_parachain_downgrade(id: ParaId) -> Result<(), ()> { paras::Pallet::::schedule_parachain_downgrade(id).map_err(|_| ()) } + +/// Schedules a validation code upgrade to a parachain with the given id. +/// +/// This simply calls [`crate::paras::Pallet::schedule_code_upgrade_external`]. +pub fn schedule_code_upgrade( + id: ParaId, + new_code: ValidationCode, +) -> DispatchResult { + paras::Pallet::::schedule_code_upgrade_external(id, new_code) +} + +/// Sets the current parachain head with the given id. +/// +/// This simply calls [`crate::paras::Pallet::set_current_head`]. +pub fn set_current_head(id: ParaId, new_head: HeadData) { + paras::Pallet::::set_current_head(id, new_head) +} diff --git a/runtime/parachains/src/paras/mod.rs b/runtime/parachains/src/paras/mod.rs index 184696ffcd45..273db30e2839 100644 --- a/runtime/parachains/src/paras/mod.rs +++ b/runtime/parachains/src/paras/mod.rs @@ -118,7 +118,7 @@ use primitives::v2::{ use scale_info::TypeInfo; use sp_core::RuntimeDebug; use sp_runtime::{ - traits::{AppVerify, One}, + traits::{AppVerify, One, Saturating}, DispatchResult, SaturatedConversion, }; use sp_std::{cmp, mem, prelude::*}; @@ -535,6 +535,8 @@ pub mod pallet { /// The PVF pre-checking statement cannot be included since the PVF pre-checking mechanism /// is disabled. PvfCheckDisabled, + /// Parachain cannot currently schedule a code upgrade. + CannotUpgradeCode, } /// All currently active PVF pre-checking votes. @@ -752,8 +754,7 @@ pub mod pallet { new_head: HeadData, ) -> DispatchResult { ensure_root(origin)?; - ::Heads::insert(¶, new_head); - Self::deposit_event(Event::CurrentHeadUpdated(para)); + Self::set_current_head(para, new_head); Ok(()) } @@ -1050,6 +1051,31 @@ const INVALID_TX_DOUBLE_VOTE: u8 = 3; const INVALID_TX_PVF_CHECK_DISABLED: u8 = 4; impl Pallet { + /// This is a call to schedule code upgrades for parachains which is safe to be called + /// outside of this module. That means this function does all checks necessary to ensure + /// that some external code is allowed to trigger a code upgrade. We do not do auth checks, + /// that should be handled by whomever calls this function. + pub(crate) fn schedule_code_upgrade_external( + id: ParaId, + new_code: ValidationCode, + ) -> DispatchResult { + // Check that we can schedule an upgrade at all. + ensure!(Self::can_upgrade_validation_code(id), Error::::CannotUpgradeCode); + let config = configuration::Pallet::::config(); + let current_block = frame_system::Pallet::::block_number(); + // Schedule the upgrade with a delay just like if a parachain triggered the upgrade. + let upgrade_block = current_block.saturating_add(config.validation_upgrade_delay); + Self::schedule_code_upgrade(id, new_code, upgrade_block, &config); + Self::deposit_event(Event::CodeUpgradeScheduled(id)); + Ok(()) + } + + /// Set the current head of a parachain. + pub(crate) fn set_current_head(para: ParaId, new_head: HeadData) { + ::Heads::insert(¶, new_head); + Self::deposit_event(Event::CurrentHeadUpdated(para)); + } + /// Called by the initializer to initialize the paras pallet. pub(crate) fn initializer_initialize(now: T::BlockNumber) -> Weight { let weight = Self::prune_old_code(now); diff --git a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs index 9e30a3aecaa8..89a1c628c503 100644 --- a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs @@ -105,4 +105,28 @@ impl runtime_common::paras_registrar::WeightInfo for We .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } + // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras CurrentCodeHash (r:1 w:0) + // Storage: Paras UpgradeCooldowns (r:1 w:1) + // Storage: Paras PvfActiveVoteMap (r:1 w:0) + // Storage: Paras CodeByHash (r:1 w:1) + // Storage: Paras UpcomingUpgrades (r:1 w:1) + // Storage: System Digest (r:1 w:1) + // Storage: Paras CodeByHashRefs (r:1 w:1) + // Storage: Paras FutureCodeUpgrades (r:0 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + fn schedule_code_upgrade(b: u32, ) -> Weight { + Weight::from_ref_time(0 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } + // Storage: Paras Heads (r:0 w:1) + fn set_current_head(b: u32, ) -> Weight { + Weight::from_ref_time(5_494_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } } diff --git a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs index 9e4d3c4e7e54..5afe490ae1ff 100644 --- a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs @@ -105,4 +105,28 @@ impl runtime_common::paras_registrar::WeightInfo for We .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } + // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras CurrentCodeHash (r:1 w:0) + // Storage: Paras UpgradeCooldowns (r:1 w:1) + // Storage: Paras PvfActiveVoteMap (r:1 w:0) + // Storage: Paras CodeByHash (r:1 w:1) + // Storage: Paras UpcomingUpgrades (r:1 w:1) + // Storage: System Digest (r:1 w:1) + // Storage: Paras CodeByHashRefs (r:1 w:1) + // Storage: Paras FutureCodeUpgrades (r:0 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + fn schedule_code_upgrade(b: u32, ) -> Weight { + Weight::from_ref_time(0 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } + // Storage: Paras Heads (r:0 w:1) + fn set_current_head(b: u32, ) -> Weight { + Weight::from_ref_time(5_494_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } } diff --git a/runtime/westend/src/weights/runtime_common_paras_registrar.rs b/runtime/westend/src/weights/runtime_common_paras_registrar.rs index 32cacfb57771..e52924381cd7 100644 --- a/runtime/westend/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/westend/src/weights/runtime_common_paras_registrar.rs @@ -103,4 +103,28 @@ impl runtime_common::paras_registrar::WeightInfo for We .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } + // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras CurrentCodeHash (r:1 w:0) + // Storage: Paras UpgradeCooldowns (r:1 w:1) + // Storage: Paras PvfActiveVoteMap (r:1 w:0) + // Storage: Paras CodeByHash (r:1 w:1) + // Storage: Paras UpcomingUpgrades (r:1 w:1) + // Storage: System Digest (r:1 w:1) + // Storage: Paras CodeByHashRefs (r:1 w:1) + // Storage: Paras FutureCodeUpgrades (r:0 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + fn schedule_code_upgrade(b: u32, ) -> Weight { + Weight::from_ref_time(0 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(8 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } + // Storage: Paras Heads (r:0 w:1) + fn set_current_head(b: u32, ) -> Weight { + Weight::from_ref_time(5_494_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) + } } From 0398050920f818d4b7c2b47cf751b37bb498560f Mon Sep 17 00:00:00 2001 From: asynchronous rob Date: Wed, 12 Oct 2022 18:30:12 -0500 Subject: [PATCH 053/211] refactor grid topology to expose more info to subsystems (#6140) * refactor grid topology to expose more info to subsystems * fix grid_topology test * fix overseer test * Update node/network/protocol/src/grid_topology.rs Co-authored-by: Vsevolod Stakhov * Update node/network/protocol/src/grid_topology.rs Co-authored-by: Andronik * Update node/network/protocol/src/grid_topology.rs Co-authored-by: Andronik * fix bug in populating topology * fmt Co-authored-by: Vsevolod Stakhov Co-authored-by: Andronik --- Cargo.lock | 1 + node/network/approval-distribution/src/lib.rs | 43 ++- .../approval-distribution/src/tests.rs | 95 +++++-- node/network/bitfield-distribution/Cargo.toml | 1 + node/network/bitfield-distribution/src/lib.rs | 33 ++- .../bitfield-distribution/src/tests.rs | 75 +++--- node/network/bridge/src/rx/mod.rs | 71 +++-- node/network/gossip-support/src/lib.rs | 78 ++---- node/network/gossip-support/src/tests.rs | 63 +++-- node/network/protocol/src/grid_topology.rs | 248 ++++++++++++++++-- .../network/statement-distribution/src/lib.rs | 34 ++- .../statement-distribution/src/tests.rs | 106 +++++--- node/overseer/src/tests.rs | 5 +- node/subsystem-types/src/messages.rs | 19 +- .../src/messages/network_bridge_event.rs | 39 +-- .../implementers-guide/src/types/network.md | 20 +- .../src/types/overseer-protocol.md | 17 +- 17 files changed, 617 insertions(+), 331 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 26a5fc452729..278310281f50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6134,6 +6134,7 @@ dependencies = [ "rand 0.8.5", "rand_chacha 0.3.1", "sp-application-crypto", + "sp-authority-discovery", "sp-core", "sp-keyring", "sp-keystore", diff --git a/node/network/approval-distribution/src/lib.rs b/node/network/approval-distribution/src/lib.rs index f0cb4fc24ff8..5afae66ae818 100644 --- a/node/network/approval-distribution/src/lib.rs +++ b/node/network/approval-distribution/src/lib.rs @@ -343,9 +343,13 @@ impl State { }) }, NetworkBridgeEvent::NewGossipTopology(topology) => { - let session = topology.session; - self.handle_new_session_topology(ctx, session, SessionGridTopology::from(topology)) - .await; + self.handle_new_session_topology( + ctx, + topology.session, + topology.topology, + topology.local_index, + ) + .await; }, NetworkBridgeEvent::PeerViewChange(peer_id, view) => { self.handle_peer_view_change(ctx, metrics, peer_id, view, rng).await; @@ -500,8 +504,14 @@ impl State { ctx: &mut Context, session: SessionIndex, topology: SessionGridTopology, + local_index: Option, ) { - self.topologies.insert_topology(session, topology); + if local_index.is_none() { + // this subsystem only matters to validators. + return + } + + self.topologies.insert_topology(session, topology, local_index); let topology = self.topologies.get_topology(session).expect("just inserted above; qed"); adjust_required_routing_and_propagate( @@ -511,7 +521,9 @@ impl State { |block_entry| block_entry.session == session, |required_routing, local, validator_index| { if *required_routing == RequiredRouting::PendingTopology { - *required_routing = topology.required_routing_by_index(*validator_index, local); + *required_routing = topology + .local_grid_neighbors() + .required_routing_by_index(*validator_index, local); } }, ) @@ -861,7 +873,7 @@ impl State { let local = source == MessageSource::Local; let required_routing = topology.map_or(RequiredRouting::PendingTopology, |t| { - t.required_routing_by_index(validator_index, local) + t.local_grid_neighbors().required_routing_by_index(validator_index, local) }); let message_state = match entry.candidates.get_mut(claimed_candidate_index as usize) { @@ -902,7 +914,10 @@ impl State { return false } - if let Some(true) = topology.as_ref().map(|t| t.route_to_peer(required_routing, peer)) { + if let Some(true) = topology + .as_ref() + .map(|t| t.local_grid_neighbors().route_to_peer(required_routing, peer)) + { return true } @@ -1169,7 +1184,8 @@ impl State { // the assignment to all aware peers in the required routing _except_ the original // source of the assignment. Hence the `in_topology_check`. // 3. Any randomly selected peers have been sent the assignment already. - let in_topology = topology.map_or(false, |t| t.route_to_peer(required_routing, peer)); + let in_topology = topology + .map_or(false, |t| t.local_grid_neighbors().route_to_peer(required_routing, peer)); in_topology || knowledge.sent.contains(message_subject, MessageKind::Assignment) }; @@ -1301,9 +1317,9 @@ impl State { let required_routing = message_state.required_routing; let rng = &mut *rng; let mut peer_filter = move |peer_id| { - let in_topology = topology - .as_ref() - .map_or(false, |t| t.route_to_peer(required_routing, peer_id)); + let in_topology = topology.as_ref().map_or(false, |t| { + t.local_grid_neighbors().route_to_peer(required_routing, peer_id) + }); in_topology || { let route_random = random_routing.sample(total_peers, rng); if route_random { @@ -1564,7 +1580,10 @@ async fn adjust_required_routing_and_propagate network_bridge_event::NewGossipTopology { - let mut t = network_bridge_event::NewGossipTopology { - session, - our_neighbors_x: HashMap::new(), - our_neighbors_y: HashMap::new(), + // This builds a grid topology which is a square matrix. + // The local validator occupies the top left-hand corner. + // The X peers occupy the same row and the Y peers occupy + // the same column. + + let local_index = 1; + + assert_eq!( + neighbors_x.len(), + neighbors_y.len(), + "mocking grid topology only implemented for squares", + ); + + let d = neighbors_x.len() + 1; + + let grid_size = d * d; + assert!(grid_size > 0); + assert!(all_peers.len() >= grid_size); + + let peer_info = |i: usize| TopologyPeerInfo { + peer_ids: vec![all_peers[i].0.clone()], + validator_index: ValidatorIndex::from(i as u32), + discovery_id: all_peers[i].1.clone(), }; - for &i in neighbors_x { - t.our_neighbors_x.insert( - all_peers[i].1.clone(), - network_bridge_event::TopologyPeerInfo { - peer_ids: vec![all_peers[i].0.clone()], - validator_index: ValidatorIndex::from(i as u32), - }, - ); + let mut canonical_shuffling: Vec<_> = (0..) + .filter(|i| local_index != *i) + .filter(|i| !neighbors_x.contains(i)) + .filter(|i| !neighbors_y.contains(i)) + .take(grid_size) + .map(peer_info) + .collect(); + + // filled with junk except for own. + let mut shuffled_indices = vec![d + 1; grid_size]; + shuffled_indices[local_index] = 0; + canonical_shuffling[0] = peer_info(local_index); + + for (x_pos, v) in neighbors_x.iter().enumerate() { + let pos = 1 + x_pos; + canonical_shuffling[pos] = peer_info(*v); } - for &i in neighbors_y { - t.our_neighbors_y.insert( - all_peers[i].1.clone(), - network_bridge_event::TopologyPeerInfo { - peer_ids: vec![all_peers[i].0.clone()], - validator_index: ValidatorIndex::from(i as u32), - }, - ); + for (y_pos, v) in neighbors_y.iter().enumerate() { + let pos = d * (1 + y_pos); + canonical_shuffling[pos] = peer_info(*v); + } + + let topology = SessionGridTopology::new(shuffled_indices, canonical_shuffling); + + // sanity check. + { + let g_n = topology + .compute_grid_neighbors_for(ValidatorIndex(local_index as _)) + .expect("topology just constructed with this validator index"); + + assert_eq!(g_n.validator_indices_x.len(), neighbors_x.len()); + assert_eq!(g_n.validator_indices_y.len(), neighbors_y.len()); + + for i in neighbors_x { + assert!(g_n.validator_indices_x.contains(&ValidatorIndex(*i as _))); + } + + for i in neighbors_y { + assert!(g_n.validator_indices_y.contains(&ValidatorIndex(*i as _))); + } } - t + network_bridge_event::NewGossipTopology { + session, + topology, + local_index: Some(ValidatorIndex(local_index as _)), + } } async fn setup_gossip_topology( diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index e3a4fd3d2095..45df93f00e29 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -18,6 +18,7 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } maplit = "1.0.2" diff --git a/node/network/bitfield-distribution/src/lib.rs b/node/network/bitfield-distribution/src/lib.rs index a0f82dc5ed1d..1b2167484b49 100644 --- a/node/network/bitfield-distribution/src/lib.rs +++ b/node/network/bitfield-distribution/src/lib.rs @@ -27,7 +27,7 @@ use futures::{channel::oneshot, FutureExt}; use polkadot_node_network_protocol::{ self as net_protocol, grid_topology::{ - RandomRouting, RequiredRouting, SessionBoundGridTopologyStorage, SessionGridTopology, + GridNeighbors, RandomRouting, RequiredRouting, SessionBoundGridTopologyStorage, }, v1 as protocol_v1, OurView, PeerId, UnifiedReputationChange as Rep, Versioned, View, }; @@ -327,7 +327,7 @@ async fn handle_bitfield_distribution( }; let msg = BitfieldGossipMessage { relay_parent, signed_availability }; - let topology = state.topologies.get_topology_or_fallback(session_idx); + let topology = state.topologies.get_topology_or_fallback(session_idx).local_grid_neighbors(); let required_routing = topology.required_routing_by_index(validator_index, true); relay_message( @@ -352,7 +352,7 @@ async fn handle_bitfield_distribution( async fn relay_message( ctx: &mut Context, job_data: &mut PerRelayParentData, - topology: &SessionGridTopology, + topology_neighbors: &GridNeighbors, peer_views: &mut HashMap, validator: ValidatorId, message: BitfieldGossipMessage, @@ -384,7 +384,7 @@ async fn relay_message( let message_needed = job_data.message_from_validator_needed_by_peer(&peer, &validator); if message_needed { - let in_topology = topology.route_to_peer(required_routing, &peer); + let in_topology = topology_neighbors.route_to_peer(required_routing, &peer); let need_routing = in_topology || { let route_random = random_routing.sample(total_peers, rng); if route_random { @@ -533,7 +533,8 @@ async fn process_incoming_peer_message( let topology = state .topologies - .get_topology_or_fallback(job_data.signing_context.session_index); + .get_topology_or_fallback(job_data.signing_context.session_index) + .local_grid_neighbors(); let required_routing = topology.required_routing_by_index(validator_index, false); metrics.on_bitfield_received(); @@ -579,14 +580,24 @@ async fn handle_network_msg( }, NetworkBridgeEvent::NewGossipTopology(gossip_topology) => { let session_index = gossip_topology.session; - let new_topology = SessionGridTopology::from(gossip_topology); - let newly_added = new_topology.peers_diff(&new_topology); - state.topologies.update_topology(session_index, new_topology); + let new_topology = gossip_topology.topology; + let prev_neighbors = + state.topologies.get_current_topology().local_grid_neighbors().clone(); + + state.topologies.update_topology( + session_index, + new_topology, + gossip_topology.local_index, + ); + let current_topology = state.topologies.get_current_topology(); + + let newly_added = current_topology.local_grid_neighbors().peers_diff(&prev_neighbors); + gum::debug!( target: LOG_TARGET, ?session_index, - "New gossip topology received {} unseen peers", - newly_added.len() + newly_added_peers = ?newly_added.len(), + "New gossip topology received", ); for new_peer in newly_added { @@ -651,7 +662,7 @@ async fn handle_peer_view_change( .cloned() .collect::>(); - let topology = state.topologies.get_current_topology(); + let topology = state.topologies.get_current_topology().local_grid_neighbors(); let is_gossip_peer = topology.route_to_peer(RequiredRouting::GridXY, &origin); let lucky = is_gossip_peer || util::gen_ratio_rng( diff --git a/node/network/bitfield-distribution/src/tests.rs b/node/network/bitfield-distribution/src/tests.rs index f3894d61c5f9..5eb610fe8508 100644 --- a/node/network/bitfield-distribution/src/tests.rs +++ b/node/network/bitfield-distribution/src/tests.rs @@ -20,8 +20,10 @@ use bitvec::bitvec; use futures::executor; use maplit::hashmap; use polkadot_node_network_protocol::{ - grid_topology::SessionBoundGridTopologyStorage, our_view, peer_set::ValidationVersion, view, - ObservedRole, + grid_topology::{SessionBoundGridTopologyStorage, SessionGridTopology, TopologyPeerInfo}, + our_view, + peer_set::ValidationVersion, + view, ObservedRole, }; use polkadot_node_subsystem::{ jaeger, @@ -32,6 +34,7 @@ use polkadot_node_subsystem_util::TimeoutExt; use polkadot_primitives::v2::{AvailabilityBitfield, Signed, ValidatorIndex}; use rand_chacha::ChaCha12Rng; use sp_application_crypto::AppKey; +use sp_authority_discovery::AuthorityPair as AuthorityDiscoveryPair; use sp_core::Pair as PairT; use sp_keyring::Sr25519Keyring; use sp_keystore::{testing::KeyStore, SyncCryptoStore, SyncCryptoStorePtr}; @@ -61,10 +64,11 @@ fn prewarmed_state( peers: Vec, ) -> ProtocolState { let relay_parent = known_message.relay_parent.clone(); - let mut topology: SessionGridTopology = Default::default(); - topology.peers_x = peers.iter().cloned().collect(); let mut topologies = SessionBoundGridTopologyStorage::default(); - topologies.update_topology(0_u32, topology); + topologies.update_topology(0_u32, SessionGridTopology::new(Vec::new(), Vec::new()), None); + topologies.get_current_topology_mut().local_grid_neighbors_mut().peers_x = + peers.iter().cloned().collect(); + ProtocolState { per_relay_parent: hashmap! { relay_parent.clone() => @@ -456,10 +460,9 @@ fn do_not_relay_message_twice() { let mut rng = dummy_rng(); executor::block_on(async move { - let gossip_peers = SessionGridTopology { - peers_x: HashSet::from_iter(vec![peer_a.clone(), peer_b.clone()].into_iter()), - ..Default::default() - }; + let mut gossip_peers = GridNeighbors::empty(); + gossip_peers.peers_x = HashSet::from_iter(vec![peer_a.clone(), peer_b.clone()].into_iter()); + relay_message( &mut ctx, state.per_relay_parent.get_mut(&hash).unwrap(), @@ -780,33 +783,43 @@ fn topology_test() { .try_init(); let hash: Hash = [0; 32].into(); - let peers_x = (0..25).map(|_| PeerId::random()).collect::>(); - let peers_y = (0..25).map(|_| PeerId::random()).collect::>(); - - // ensure all unique - assert_eq!( - peers_x.iter().chain(peers_y.iter()).collect::>().len(), - peers_x.len() + peers_y.len() - ); // validator 0 key pair let (mut state, signing_context, keystore, validator) = state_with_view(our_view![hash], hash); - // Create a simple grid - let mut topology: SessionGridTopology = Default::default(); - topology.peers_x = peers_x.iter().cloned().collect::>(); - topology.validator_indices_x = peers_x + // Create a simple grid without any shuffling. We occupy position 1. + let topology_peer_info: Vec<_> = (0..49) + .map(|i| TopologyPeerInfo { + peer_ids: vec![PeerId::random()], + validator_index: ValidatorIndex(i as _), + discovery_id: AuthorityDiscoveryPair::generate().0.public(), + }) + .collect(); + + let topology = SessionGridTopology::new((0usize..49).collect(), topology_peer_info.clone()); + state.topologies.update_topology(0_u32, topology, Some(ValidatorIndex(1))); + + let peers_x: Vec<_> = [0, 2, 3, 4, 5, 6] .iter() - .enumerate() - .map(|(idx, _)| ValidatorIndex(idx as u32)) - .collect::>(); - topology.peers_y = peers_y.iter().cloned().collect::>(); - topology.validator_indices_y = peers_y + .cloned() + .map(|i| topology_peer_info[i].peer_ids[0].clone()) + .collect(); + + let peers_y: Vec<_> = [8, 15, 22, 29, 36, 43] .iter() - .enumerate() - .map(|(idx, _)| ValidatorIndex((idx + peers_x.len()) as u32)) - .collect::>(); - state.topologies.update_topology(0_u32, topology); + .cloned() + .map(|i| topology_peer_info[i].peer_ids[0].clone()) + .collect(); + + { + let t = state.topologies.get_current_topology().local_grid_neighbors(); + for p_x in &peers_x { + assert!(t.peers_x.contains(p_x)); + } + for p_y in &peers_y { + assert!(t.peers_y.contains(p_y)); + } + } // create a signed message by validator 0 let payload = AvailabilityBitfield(bitvec![u8, bitvec::order::Lsb0; 1u8; 32]); @@ -860,7 +873,7 @@ fn topology_test() { AllMessages::NetworkBridgeTx( NetworkBridgeTxMessage::SendValidationMessage(peers, send_msg), ) => { - let topology = state.topologies.get_current_topology(); + let topology = state.topologies.get_current_topology().local_grid_neighbors(); // It should send message to all peers in y direction and to 4 random peers in x direction assert_eq!(peers_y.len() + 4, peers.len()); assert!(topology.peers_y.iter().all(|peer| peers.contains(&peer))); diff --git a/node/network/bridge/src/rx/mod.rs b/node/network/bridge/src/rx/mod.rs index b93024b43dfb..a08596cd15ac 100644 --- a/node/network/bridge/src/rx/mod.rs +++ b/node/network/bridge/src/rx/mod.rs @@ -27,6 +27,7 @@ use sp_consensus::SyncOracle; use polkadot_node_network_protocol::{ self as net_protocol, + grid_topology::{SessionGridTopology, TopologyPeerInfo}, peer_set::{ CollationVersion, PeerSet, PeerSetProtocolNames, PerPeerSet, ProtocolVersion, ValidationVersion, @@ -37,10 +38,9 @@ use polkadot_node_network_protocol::{ use polkadot_node_subsystem::{ errors::SubsystemError, messages::{ - network_bridge_event::{NewGossipTopology, TopologyPeerInfo}, - ApprovalDistributionMessage, BitfieldDistributionMessage, CollatorProtocolMessage, - GossipSupportMessage, NetworkBridgeEvent, NetworkBridgeRxMessage, - StatementDistributionMessage, + network_bridge_event::NewGossipTopology, ApprovalDistributionMessage, + BitfieldDistributionMessage, CollatorProtocolMessage, GossipSupportMessage, + NetworkBridgeEvent, NetworkBridgeRxMessage, StatementDistributionMessage, }, overseer, ActivatedLeaf, ActiveLeavesUpdate, FromOrchestra, OverseerSignal, SpawnedSubsystem, }; @@ -129,28 +129,6 @@ where } } -async fn update_gossip_peers_1d( - ads: &mut AD, - neighbors: N, -) -> HashMap -where - AD: validator_discovery::AuthorityDiscovery, - N: IntoIterator, - N::IntoIter: std::iter::ExactSizeIterator, -{ - let neighbors = neighbors.into_iter(); - let mut peers = HashMap::with_capacity(neighbors.len()); - for (authority, validator_index) in neighbors { - let addr = get_peer_id_by_authority_id(ads, authority.clone()).await; - - if let Some(peer_id) = addr { - peers.insert(authority, TopologyPeerInfo { peer_ids: vec![peer_id], validator_index }); - } - } - - peers -} - async fn handle_network_messages( mut sender: impl overseer::NetworkBridgeRxSenderTrait, mut network_service: impl Network, @@ -507,6 +485,26 @@ where } } +async fn flesh_out_topology_peers(ads: &mut AD, neighbors: N) -> Vec +where + AD: validator_discovery::AuthorityDiscovery, + N: IntoIterator, + N::IntoIter: std::iter::ExactSizeIterator, +{ + let neighbors = neighbors.into_iter(); + let mut peers = Vec::with_capacity(neighbors.len()); + for (discovery_id, validator_index) in neighbors { + let addr = get_peer_id_by_authority_id(ads, discovery_id.clone()).await; + peers.push(TopologyPeerInfo { + peer_ids: addr.into_iter().collect(), + validator_index, + discovery_id, + }); + } + + peers +} + #[overseer::contextbounds(NetworkBridgeRx, prefix = self::overseer)] async fn run_incoming_orchestra_signals( mut ctx: Context, @@ -532,29 +530,28 @@ where msg: NetworkBridgeRxMessage::NewGossipTopology { session, - our_neighbors_x, - our_neighbors_y, + local_index, + canonical_shuffling, + shuffled_indices, }, } => { gum::debug!( target: LOG_TARGET, action = "NewGossipTopology", - neighbors_x = our_neighbors_x.len(), - neighbors_y = our_neighbors_y.len(), + ?session, + ?local_index, "Gossip topology has changed", ); - let gossip_peers_x = - update_gossip_peers_1d(&mut authority_discovery_service, our_neighbors_x).await; - - let gossip_peers_y = - update_gossip_peers_1d(&mut authority_discovery_service, our_neighbors_y).await; + let topology_peers = + flesh_out_topology_peers(&mut authority_discovery_service, canonical_shuffling) + .await; dispatch_validation_event_to_all_unbounded( NetworkBridgeEvent::NewGossipTopology(NewGossipTopology { session, - our_neighbors_x: gossip_peers_x, - our_neighbors_y: gossip_peers_y, + topology: SessionGridTopology::new(shuffled_indices, topology_peers), + local_index, }), ctx.sender(), ); diff --git a/node/network/gossip-support/src/lib.rs b/node/network/gossip-support/src/lib.rs index 823835aa7638..36459f9c8dab 100644 --- a/node/network/gossip-support/src/lib.rs +++ b/node/network/gossip-support/src/lib.rs @@ -525,73 +525,37 @@ async fn update_gossip_topology( sp_core::blake2_256(&subject) }; - // shuffle the indices - let mut rng: ChaCha20Rng = SeedableRng::from_seed(random_seed); - let len = authorities.len(); - let mut indices: Vec = (0..len).collect(); - indices.shuffle(&mut rng); - let our_shuffled_position = indices - .iter() - .position(|i| *i == our_index) - .expect("our_index < len; indices contains it; qed"); - - let neighbors = matrix_neighbors(our_shuffled_position, len); - let row_neighbors = neighbors - .row_neighbors - .map(|i| indices[i]) - .map(|i| (authorities[i].clone(), ValidatorIndex::from(i as u32))) - .collect(); - - let column_neighbors = neighbors - .column_neighbors - .map(|i| indices[i]) - .map(|i| (authorities[i].clone(), ValidatorIndex::from(i as u32))) - .collect(); + // shuffle the validators and create the index mapping + let (shuffled_indices, canonical_shuffling) = { + let mut rng: ChaCha20Rng = SeedableRng::from_seed(random_seed); + let len = authorities.len(); + let mut shuffled_indices = vec![0; len]; + let mut canonical_shuffling: Vec<_> = authorities + .iter() + .enumerate() + .map(|(i, a)| (a.clone(), ValidatorIndex(i as _))) + .collect(); + + canonical_shuffling.shuffle(&mut rng); + for (i, (_, validator_index)) in canonical_shuffling.iter().enumerate() { + shuffled_indices[validator_index.0 as usize] = i; + } + + (shuffled_indices, canonical_shuffling) + }; sender .send_message(NetworkBridgeRxMessage::NewGossipTopology { session: session_index, - our_neighbors_x: row_neighbors, - our_neighbors_y: column_neighbors, + local_index: Some(ValidatorIndex(our_index as _)), + canonical_shuffling, + shuffled_indices, }) .await; Ok(()) } -struct MatrixNeighbors { - row_neighbors: R, - column_neighbors: C, -} - -/// Compute our row and column neighbors in a matrix -fn matrix_neighbors( - our_index: usize, - len: usize, -) -> MatrixNeighbors, impl Iterator> { - assert!(our_index < len, "our_index is computed using `enumerate`; qed"); - - // e.g. for size 11 the matrix would be - // - // 0 1 2 - // 3 4 5 - // 6 7 8 - // 9 10 - // - // and for index 10, the neighbors would be 1, 4, 7, 9 - - let sqrt = (len as f64).sqrt() as usize; - let our_row = our_index / sqrt; - let our_column = our_index % sqrt; - let row_neighbors = our_row * sqrt..std::cmp::min(our_row * sqrt + sqrt, len); - let column_neighbors = (our_column..len).step_by(sqrt); - - MatrixNeighbors { - row_neighbors: row_neighbors.filter(move |i| *i != our_index), - column_neighbors: column_neighbors.filter(move |i| *i != our_index), - } -} - #[overseer::subsystem(GossipSupport, error = SubsystemError, prefix = self::overseer)] impl GossipSupport where diff --git a/node/network/gossip-support/src/tests.rs b/node/network/gossip-support/src/tests.rs index cde47e2ba977..79f2a9a6db42 100644 --- a/node/network/gossip-support/src/tests.rs +++ b/node/network/gossip-support/src/tests.rs @@ -29,6 +29,7 @@ use sp_consensus_babe::{AllowedSlots, BabeEpochConfiguration, Epoch as BabeEpoch use sp_core::crypto::Pair as PairT; use sp_keyring::Sr25519Keyring; +use polkadot_node_network_protocol::grid_topology::{SessionGridTopology, TopologyPeerInfo}; use polkadot_node_subsystem::{ jaeger, messages::{AllMessages, RuntimeApiMessage, RuntimeApiRequest}, @@ -73,13 +74,15 @@ lazy_static! { // [1 3] // [0 ] - static ref ROW_NEIGHBORS: Vec<(AuthorityDiscoveryId, ValidatorIndex)> = vec![ - (Sr25519Keyring::Charlie.public().into(), ValidatorIndex::from(2)), + static ref EXPECTED_SHUFFLING: Vec = vec![6, 4, 0, 5, 2, 3, 1]; + + static ref ROW_NEIGHBORS: Vec = vec![ + ValidatorIndex::from(2), ]; - static ref COLUMN_NEIGHBORS: Vec<(AuthorityDiscoveryId, ValidatorIndex)> = vec![ - (Sr25519Keyring::Two.public().into(), ValidatorIndex::from(5)), - (Sr25519Keyring::Eve.public().into(), ValidatorIndex::from(3)), + static ref COLUMN_NEIGHBORS: Vec = vec![ + ValidatorIndex::from(3), + ValidatorIndex::from(5), ]; } @@ -257,12 +260,31 @@ async fn test_neighbors(overseer: &mut VirtualOverseer, expected_session: Sessio overseer_recv(overseer).await, AllMessages::NetworkBridgeRx(NetworkBridgeRxMessage::NewGossipTopology { session: got_session, - our_neighbors_x, - our_neighbors_y, + local_index, + canonical_shuffling, + shuffled_indices, }) => { assert_eq!(expected_session, got_session); - let mut got_row: Vec<_> = our_neighbors_x.into_iter().collect(); - let mut got_column: Vec<_> = our_neighbors_y.into_iter().collect(); + assert_eq!(local_index, Some(ValidatorIndex(6))); + assert_eq!(shuffled_indices, EXPECTED_SHUFFLING.clone()); + + let grid_topology = SessionGridTopology::new( + shuffled_indices, + canonical_shuffling.into_iter() + .map(|(a, v)| TopologyPeerInfo { + validator_index: v, + discovery_id: a, + peer_ids: Vec::new(), + }) + .collect(), + ); + + let grid_neighbors = grid_topology + .compute_grid_neighbors_for(local_index.unwrap()) + .unwrap(); + + let mut got_row: Vec<_> = grid_neighbors.validator_indices_x.into_iter().collect(); + let mut got_column: Vec<_> = grid_neighbors.validator_indices_y.into_iter().collect(); got_row.sort(); got_column.sort(); assert_eq!(got_row, ROW_NEIGHBORS.clone()); @@ -694,26 +716,3 @@ fn issues_a_connection_request_when_last_request_was_mostly_unresolved() { assert_eq!(state.last_session_index, Some(1)); assert!(state.last_failure.is_none()); } - -#[test] -fn test_matrix_neighbors() { - for (our_index, len, expected_row, expected_column) in vec![ - (0usize, 1usize, vec![], vec![]), - (1, 2, vec![], vec![0usize]), - (0, 9, vec![1, 2], vec![3, 6]), - (9, 10, vec![], vec![0, 3, 6]), - (10, 11, vec![9], vec![1, 4, 7]), - (7, 11, vec![6, 8], vec![1, 4, 10]), - ] - .into_iter() - { - let matrix = matrix_neighbors(our_index, len); - let mut row_result: Vec<_> = matrix.row_neighbors.collect(); - let mut column_result: Vec<_> = matrix.column_neighbors.collect(); - row_result.sort(); - column_result.sort(); - - assert_eq!(row_result, expected_row); - assert_eq!(column_result, expected_column); - } -} diff --git a/node/network/protocol/src/grid_topology.rs b/node/network/protocol/src/grid_topology.rs index 73de9cfc25b1..100ef66957bd 100644 --- a/node/network/protocol/src/grid_topology.rs +++ b/node/network/protocol/src/grid_topology.rs @@ -30,7 +30,7 @@ //! use crate::PeerId; -use polkadot_primitives::v2::{SessionIndex, ValidatorIndex}; +use polkadot_primitives::v2::{AuthorityDiscoveryId, SessionIndex, ValidatorIndex}; use rand::{CryptoRng, Rng}; use std::{ collections::{hash_map, HashMap, HashSet}, @@ -48,9 +48,106 @@ pub const DEFAULT_RANDOM_SAMPLE_RATE: usize = crate::MIN_GOSSIP_PEERS; /// The number of peers to randomly propagate messages to. pub const DEFAULT_RANDOM_CIRCULATION: usize = 4; -/// Topology representation -#[derive(Default, Clone, Debug)] +/// Information about a peer in the gossip topology for a session. +#[derive(Debug, Clone, PartialEq)] +pub struct TopologyPeerInfo { + /// The validator's known peer IDs. + pub peer_ids: Vec, + /// The index of the validator in the discovery keys of the corresponding + /// `SessionInfo`. This can extend _beyond_ the set of active parachain validators. + pub validator_index: ValidatorIndex, + /// The authority discovery public key of the validator in the corresponding + /// `SessionInfo`. + pub discovery_id: AuthorityDiscoveryId, +} + +/// Topology representation for a session. +#[derive(Default, Clone, Debug, PartialEq)] pub struct SessionGridTopology { + /// An array mapping validator indices to their indices in the + /// shuffling itself. This has the same size as the number of validators + /// in the session. + shuffled_indices: Vec, + /// The canonical shuffling of validators for the session. + canonical_shuffling: Vec, +} + +impl SessionGridTopology { + /// Create a new session grid topology. + pub fn new(shuffled_indices: Vec, canonical_shuffling: Vec) -> Self { + SessionGridTopology { shuffled_indices, canonical_shuffling } + } + + /// Produces the outgoing routing logic for a particular peer. + /// + /// Returns `None` if the validator index is out of bounds. + pub fn compute_grid_neighbors_for(&self, v: ValidatorIndex) -> Option { + if self.shuffled_indices.len() != self.canonical_shuffling.len() { + return None + } + let shuffled_val_index = *self.shuffled_indices.get(v.0 as usize)?; + + let neighbors = matrix_neighbors(shuffled_val_index, self.shuffled_indices.len())?; + + let mut grid_subset = GridNeighbors::empty(); + for r_n in neighbors.row_neighbors { + let n = &self.canonical_shuffling[r_n]; + grid_subset.validator_indices_x.insert(n.validator_index); + for p in &n.peer_ids { + grid_subset.peers_x.insert(p.clone()); + } + } + + for c_n in neighbors.column_neighbors { + let n = &self.canonical_shuffling[c_n]; + grid_subset.validator_indices_y.insert(n.validator_index); + for p in &n.peer_ids { + grid_subset.peers_y.insert(p.clone()); + } + } + + Some(grid_subset) + } +} + +struct MatrixNeighbors { + row_neighbors: R, + column_neighbors: C, +} + +/// Compute the row and column neighbors of `val_index` in a matrix +fn matrix_neighbors( + val_index: usize, + len: usize, +) -> Option, impl Iterator>> { + if val_index >= len { + return None + } + + // e.g. for size 11 the matrix would be + // + // 0 1 2 + // 3 4 5 + // 6 7 8 + // 9 10 + // + // and for index 10, the neighbors would be 1, 4, 7, 9 + + let sqrt = (len as f64).sqrt() as usize; + let our_row = val_index / sqrt; + let our_column = val_index % sqrt; + let row_neighbors = our_row * sqrt..std::cmp::min(our_row * sqrt + sqrt, len); + let column_neighbors = (our_column..len).step_by(sqrt); + + Some(MatrixNeighbors { + row_neighbors: row_neighbors.filter(move |i| *i != val_index), + column_neighbors: column_neighbors.filter(move |i| *i != val_index), + }) +} + +/// Information about the grid neighbors for a particular node in the topology. +#[derive(Debug, Clone, PartialEq)] +pub struct GridNeighbors { /// Represent peers in the X axis pub peers_x: HashSet, /// Represent validators in the X axis @@ -61,7 +158,18 @@ pub struct SessionGridTopology { pub validator_indices_y: HashSet, } -impl SessionGridTopology { +impl GridNeighbors { + /// Utility function for creating an empty set of grid neighbors. + /// Useful for testing. + pub fn empty() -> Self { + GridNeighbors { + peers_x: HashSet::new(), + validator_indices_x: HashSet::new(), + peers_y: HashSet::new(), + validator_indices_y: HashSet::new(), + } + } + /// Given the originator of a message as a validator index, indicates the part of the topology /// we're meant to send the message to. pub fn required_routing_by_index( @@ -123,7 +231,7 @@ impl SessionGridTopology { } /// Returns the difference between this and the `other` topology as a vector of peers - pub fn peers_diff(&self, other: &SessionGridTopology) -> Vec { + pub fn peers_diff(&self, other: &Self) -> Vec { self.peers_x .iter() .chain(self.peers_y.iter()) @@ -138,15 +246,39 @@ impl SessionGridTopology { } } +/// An entry tracking a session grid topology and some cached local neighbors. +#[derive(Debug)] +pub struct SessionGridTopologyEntry { + topology: SessionGridTopology, + local_neighbors: GridNeighbors, +} + +impl SessionGridTopologyEntry { + /// Access the local grid neighbors. + pub fn local_grid_neighbors(&self) -> &GridNeighbors { + &self.local_neighbors + } + + /// Access the local grid neighbors mutably. + pub fn local_grid_neighbors_mut(&mut self) -> &mut GridNeighbors { + &mut self.local_neighbors + } + + /// Access the underlying topology. + pub fn get(&self) -> &SessionGridTopology { + &self.topology + } +} + /// A set of topologies indexed by session #[derive(Default)] pub struct SessionGridTopologies { - inner: HashMap, usize)>, + inner: HashMap, usize)>, } impl SessionGridTopologies { /// Returns a topology for the specific session index - pub fn get_topology(&self, session: SessionIndex) -> Option<&SessionGridTopology> { + pub fn get_topology(&self, session: SessionIndex) -> Option<&SessionGridTopologyEntry> { self.inner.get(&session).and_then(|val| val.0.as_ref()) } @@ -166,63 +298,112 @@ impl SessionGridTopologies { } /// Insert a new topology, no-op if already present. - pub fn insert_topology(&mut self, session: SessionIndex, topology: SessionGridTopology) { + pub fn insert_topology( + &mut self, + session: SessionIndex, + topology: SessionGridTopology, + local_index: Option, + ) { let entry = self.inner.entry(session).or_insert((None, 0)); if entry.0.is_none() { - entry.0 = Some(topology); + let local_neighbors = local_index + .and_then(|l| topology.compute_grid_neighbors_for(l)) + .unwrap_or_else(GridNeighbors::empty); + + entry.0 = Some(SessionGridTopologyEntry { topology, local_neighbors }); } } } /// A simple storage for a topology and the corresponding session index -#[derive(Default, Debug)] -pub struct GridTopologySessionBound { - topology: SessionGridTopology, +#[derive(Debug)] +struct GridTopologySessionBound { + entry: SessionGridTopologyEntry, session_index: SessionIndex, } /// A storage for the current and maybe previous topology -#[derive(Default, Debug)] +#[derive(Debug)] pub struct SessionBoundGridTopologyStorage { current_topology: GridTopologySessionBound, prev_topology: Option, } +impl Default for SessionBoundGridTopologyStorage { + fn default() -> Self { + // having this struct be `Default` is objectively stupid + // but used in a few places + SessionBoundGridTopologyStorage { + current_topology: GridTopologySessionBound { + // session 0 is valid so we should use the upper bound + // as the default instead of the lower bound. + session_index: SessionIndex::max_value(), + entry: SessionGridTopologyEntry { + topology: SessionGridTopology { + shuffled_indices: Vec::new(), + canonical_shuffling: Vec::new(), + }, + local_neighbors: GridNeighbors::empty(), + }, + }, + prev_topology: None, + } + } +} + impl SessionBoundGridTopologyStorage { /// Return a grid topology based on the session index: /// If we need a previous session and it is registered in the storage, then return that session. /// Otherwise, return a current session to have some grid topology in any case - pub fn get_topology_or_fallback(&self, idx: SessionIndex) -> &SessionGridTopology { - self.get_topology(idx).unwrap_or(&self.current_topology.topology) + pub fn get_topology_or_fallback(&self, idx: SessionIndex) -> &SessionGridTopologyEntry { + self.get_topology(idx).unwrap_or(&self.current_topology.entry) } /// Return the grid topology for the specific session index, if no such a session is stored /// returns `None`. - pub fn get_topology(&self, idx: SessionIndex) -> Option<&SessionGridTopology> { + pub fn get_topology(&self, idx: SessionIndex) -> Option<&SessionGridTopologyEntry> { if let Some(prev_topology) = &self.prev_topology { if idx == prev_topology.session_index { - return Some(&prev_topology.topology) + return Some(&prev_topology.entry) } } if self.current_topology.session_index == idx { - return Some(&self.current_topology.topology) + return Some(&self.current_topology.entry) } None } /// Update the current topology preserving the previous one - pub fn update_topology(&mut self, session_index: SessionIndex, topology: SessionGridTopology) { + pub fn update_topology( + &mut self, + session_index: SessionIndex, + topology: SessionGridTopology, + local_index: Option, + ) { + let local_neighbors = local_index + .and_then(|l| topology.compute_grid_neighbors_for(l)) + .unwrap_or_else(GridNeighbors::empty); + let old_current = std::mem::replace( &mut self.current_topology, - GridTopologySessionBound { topology, session_index }, + GridTopologySessionBound { + entry: SessionGridTopologyEntry { topology, local_neighbors }, + session_index, + }, ); self.prev_topology.replace(old_current); } /// Returns a current grid topology - pub fn get_current_topology(&self) -> &SessionGridTopology { - &self.current_topology.topology + pub fn get_current_topology(&self) -> &SessionGridTopologyEntry { + &self.current_topology.entry + } + + /// Access the current grid topology mutably. Dangerous and intended + /// to be used in tests. + pub fn get_current_topology_mut(&mut self) -> &mut SessionGridTopologyEntry { + &mut self.current_topology.entry } } @@ -365,4 +546,27 @@ mod tests { let mut random_routing = RandomRouting { target: 10, sent: 0, sample_rate: 10 }; assert_eq!(run_random_routing(&mut random_routing, &mut rng, 10, 100), 10); } + + #[test] + fn test_matrix_neighbors() { + for (our_index, len, expected_row, expected_column) in vec![ + (0usize, 1usize, vec![], vec![]), + (1, 2, vec![], vec![0usize]), + (0, 9, vec![1, 2], vec![3, 6]), + (9, 10, vec![], vec![0, 3, 6]), + (10, 11, vec![9], vec![1, 4, 7]), + (7, 11, vec![6, 8], vec![1, 4, 10]), + ] + .into_iter() + { + let matrix = matrix_neighbors(our_index, len).unwrap(); + let mut row_result: Vec<_> = matrix.row_neighbors.collect(); + let mut column_result: Vec<_> = matrix.column_neighbors.collect(); + row_result.sort(); + column_result.sort(); + + assert_eq!(row_result, expected_row); + assert_eq!(column_result, expected_column); + } + } } diff --git a/node/network/statement-distribution/src/lib.rs b/node/network/statement-distribution/src/lib.rs index 274582420f5d..17ca5d8ea4ac 100644 --- a/node/network/statement-distribution/src/lib.rs +++ b/node/network/statement-distribution/src/lib.rs @@ -27,7 +27,7 @@ use parity_scale_codec::Encode; use polkadot_node_network_protocol::{ self as net_protocol, - grid_topology::{RequiredRouting, SessionBoundGridTopologyStorage, SessionGridTopology}, + grid_topology::{GridNeighbors, RequiredRouting, SessionBoundGridTopologyStorage}, peer_set::{IsAuthority, PeerSet}, request_response::{v1 as request_v1, IncomingRequestReceiver}, v1::{self as protocol_v1, StatementMetadata}, @@ -910,7 +910,10 @@ async fn circulate_statement_and_dependents( .with_candidate(statement.payload().candidate_hash()) .with_stage(jaeger::Stage::StatementDistribution); - let topology = topology_store.get_topology_or_fallback(active_head.session_index); + let topology = topology_store + .get_topology_or_fallback(active_head.session_index) + .local_grid_neighbors(); + // First circulate the statement directly to all peers needing it. // The borrow of `active_head` needs to encompass only this (Rust) statement. let outputs: Option<(CandidateHash, Vec)> = { @@ -1009,7 +1012,7 @@ fn is_statement_large(statement: &SignedFullStatement) -> (bool, Option) #[overseer::contextbounds(StatementDistribution, prefix=self::overseer)] async fn circulate_statement<'a, Context>( required_routing: RequiredRouting, - topology: &SessionGridTopology, + topology: &GridNeighbors, peers: &mut HashMap, ctx: &mut Context, relay_parent: Hash, @@ -1352,7 +1355,8 @@ async fn handle_incoming_message_and_circulate<'a, Context, R>( let session_index = runtime.get_session_index_for_child(ctx.sender(), relay_parent).await; let topology = match session_index { - Ok(session_index) => topology_storage.get_topology_or_fallback(session_index), + Ok(session_index) => + topology_storage.get_topology_or_fallback(session_index).local_grid_neighbors(), Err(e) => { gum::debug!( target: LOG_TARGET, @@ -1361,7 +1365,7 @@ async fn handle_incoming_message_and_circulate<'a, Context, R>( e ); - topology_storage.get_current_topology() + topology_storage.get_current_topology().local_grid_neighbors() }, }; let required_routing = @@ -1588,7 +1592,7 @@ async fn handle_incoming_message<'a, Context>( #[overseer::contextbounds(StatementDistribution, prefix=self::overseer)] async fn update_peer_view_and_maybe_send_unlocked( peer: PeerId, - topology: &SessionGridTopology, + topology: &GridNeighbors, peer_data: &mut PeerData, ctx: &mut Context, active_heads: &HashMap, @@ -1673,16 +1677,22 @@ async fn handle_network_update( let _ = metrics.time_network_bridge_update_v1("new_gossip_topology"); let new_session_index = topology.session; - let new_topology: SessionGridTopology = topology.into(); - let old_topology = topology_storage.get_current_topology(); - let newly_added = new_topology.peers_diff(old_topology); - topology_storage.update_topology(new_session_index, new_topology); + let new_topology = topology.topology; + let old_topology = + topology_storage.get_current_topology().local_grid_neighbors().clone(); + topology_storage.update_topology(new_session_index, new_topology, topology.local_index); + + let newly_added = topology_storage + .get_current_topology() + .local_grid_neighbors() + .peers_diff(&old_topology); + for peer in newly_added { if let Some(data) = peers.get_mut(&peer) { let view = std::mem::take(&mut data.view); update_peer_view_and_maybe_send_unlocked( peer, - topology_storage.get_current_topology(), + topology_storage.get_current_topology().local_grid_neighbors(), data, ctx, &*active_heads, @@ -1717,7 +1727,7 @@ async fn handle_network_update( Some(data) => update_peer_view_and_maybe_send_unlocked( peer, - topology_storage.get_current_topology(), + topology_storage.get_current_topology().local_grid_neighbors(), data, ctx, &*active_heads, diff --git a/node/network/statement-distribution/src/tests.rs b/node/network/statement-distribution/src/tests.rs index 3304ad86fcd5..f3b9db00aef4 100644 --- a/node/network/statement-distribution/src/tests.rs +++ b/node/network/statement-distribution/src/tests.rs @@ -20,6 +20,7 @@ use futures::executor::{self, block_on}; use futures_timer::Delay; use parity_scale_codec::{Decode, Encode}; use polkadot_node_network_protocol::{ + grid_topology::{SessionGridTopology, TopologyPeerInfo}, peer_set::ValidationVersion, request_response::{ v1::{StatementFetchingRequest, StatementFetchingResponse}, @@ -509,7 +510,7 @@ fn peer_view_update_sends_messages() { let peer = PeerId::random(); executor::block_on(async move { - let mut topology: SessionGridTopology = Default::default(); + let mut topology = GridNeighbors::empty(); topology.peers_x = HashSet::from_iter(vec![peer.clone()].into_iter()); update_peer_view_and_maybe_send_unlocked( peer.clone(), @@ -639,7 +640,7 @@ fn circulated_statement_goes_to_all_peers_with_view() { }; let statement = StoredStatement { comparator: &comparator, statement: &statement }; - let mut topology: SessionGridTopology = Default::default(); + let mut topology = GridNeighbors::empty(); topology.peers_x = HashSet::from_iter(vec![peer_a.clone(), peer_b.clone(), peer_c.clone()].into_iter()); let needs_dependents = circulate_statement( @@ -2019,42 +2020,77 @@ fn handle_multiple_seconded_statements() { .await; } - // Explicitly add all `lucky` peers to the gossip peers to ensure that neither `peerA` not `peerB` - // receive statements + // Set up a topology which puts peers a & b in a column together. let gossip_topology = { - let mut t = network_bridge_event::NewGossipTopology { - session: 1, - our_neighbors_x: HashMap::new(), - our_neighbors_y: HashMap::new(), - }; - - // Create a topology to ensure that we send messages not to `peer_a`/`peer_b` - for (i, peer) in lucky_peers.iter().enumerate() { - let authority_id = AuthorityPair::generate().0.public(); - t.our_neighbors_y.insert( - authority_id, - network_bridge_event::TopologyPeerInfo { - peer_ids: vec![peer.clone()], - validator_index: (i as u32 + 2_u32).into(), - }, - ); + // create a lucky_peers+1 * lucky_peers+1 grid topology where we are at index 2, sharing + // a row with peer_a (0) and peer_b (1) and a column with all the lucky peers. + // the rest is filled with junk. + // This is an absolute garbage hack depending on quirks of the implementation + // and not on sound architecture. + + let n_lucky = lucky_peers.len(); + let dim = n_lucky + 1; + let grid_size = dim * dim; + let topology_peer_info: Vec<_> = (0..grid_size) + .map(|i| { + if i == 0 { + TopologyPeerInfo { + peer_ids: vec![peer_a.clone()], + validator_index: ValidatorIndex(0), + discovery_id: AuthorityPair::generate().0.public(), + } + } else if i == 1 { + TopologyPeerInfo { + peer_ids: vec![peer_b.clone()], + validator_index: ValidatorIndex(1), + discovery_id: AuthorityPair::generate().0.public(), + } + } else if i == 2 { + TopologyPeerInfo { + peer_ids: vec![], + validator_index: ValidatorIndex(2), + discovery_id: AuthorityPair::generate().0.public(), + } + } else if (i - 2) % dim == 0 { + let lucky_index = ((i - 2) / dim) - 1; + TopologyPeerInfo { + peer_ids: vec![lucky_peers[lucky_index].clone()], + validator_index: ValidatorIndex(i as _), + discovery_id: AuthorityPair::generate().0.public(), + } + } else { + TopologyPeerInfo { + peer_ids: vec![PeerId::random()], + validator_index: ValidatorIndex(i as _), + discovery_id: AuthorityPair::generate().0.public(), + } + } + }) + .collect(); + + // also a hack: this is only required to be accurate for + // the validator indices we compute grid neighbors for. + let mut shuffled_indices = vec![0; grid_size]; + shuffled_indices[2] = 2; + + // Some sanity checking to make sure this hack is set up correctly. + let topology = SessionGridTopology::new(shuffled_indices, topology_peer_info); + let grid_neighbors = topology.compute_grid_neighbors_for(ValidatorIndex(2)).unwrap(); + assert_eq!(grid_neighbors.peers_x.len(), 25); + assert!(grid_neighbors.peers_x.contains(&peer_a)); + assert!(grid_neighbors.peers_x.contains(&peer_b)); + assert!(!grid_neighbors.peers_y.contains(&peer_b)); + assert!(!grid_neighbors.route_to_peer(RequiredRouting::GridY, &peer_b)); + assert_eq!(grid_neighbors.peers_y.len(), lucky_peers.len()); + for lucky in &lucky_peers { + assert!(grid_neighbors.peers_y.contains(lucky)); } - t.our_neighbors_x.insert( - AuthorityPair::generate().0.public(), - network_bridge_event::TopologyPeerInfo { - peer_ids: vec![peer_a.clone()], - validator_index: 0_u32.into(), - }, - ); - t.our_neighbors_x.insert( - AuthorityPair::generate().0.public(), - network_bridge_event::TopologyPeerInfo { - peer_ids: vec![peer_b.clone()], - validator_index: 1_u32.into(), - }, - ); - t + network_bridge_event::NewGossipTopology { + session: 1, + topology, + local_index: Some(ValidatorIndex(2)), + } }; handle diff --git a/node/overseer/src/tests.rs b/node/overseer/src/tests.rs index 121c707c2541..dee4c7cbbba9 100644 --- a/node/overseer/src/tests.rs +++ b/node/overseer/src/tests.rs @@ -873,8 +873,9 @@ fn test_network_bridge_tx_msg() -> NetworkBridgeTxMessage { fn test_network_bridge_rx_msg() -> NetworkBridgeRxMessage { NetworkBridgeRxMessage::NewGossipTopology { session: SessionIndex::from(0_u32), - our_neighbors_x: HashMap::new(), - our_neighbors_y: HashMap::new(), + local_index: None, + canonical_shuffling: Vec::new(), + shuffled_indices: Vec::new(), } } diff --git a/node/subsystem-types/src/messages.rs b/node/subsystem-types/src/messages.rs index a1520a9aeba8..6e4983813984 100644 --- a/node/subsystem-types/src/messages.rs +++ b/node/subsystem-types/src/messages.rs @@ -328,18 +328,13 @@ pub enum NetworkBridgeRxMessage { NewGossipTopology { /// The session info this gossip topology is concerned with. session: SessionIndex, - /// Ids of our neighbors in the X dimensions of the new gossip topology, - /// along with their validator indices within the session. - /// - /// We're not necessarily connected to all of them, but we should - /// try to be. - our_neighbors_x: HashMap, - /// Ids of our neighbors in the X dimensions of the new gossip topology, - /// along with their validator indices within the session. - /// - /// We're not necessarily connected to all of them, but we should - /// try to be. - our_neighbors_y: HashMap, + /// Our validator index in the session, if any. + local_index: Option, + /// The canonical shuffling of validators for the session. + canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>, + /// The reverse mapping of `canonical_shuffling`: from validator index + /// to the index in `canonical_shuffling` + shuffled_indices: Vec, }, } diff --git a/node/subsystem-types/src/messages/network_bridge_event.rs b/node/subsystem-types/src/messages/network_bridge_event.rs index cd0bb9894b6b..5abad8a3c22c 100644 --- a/node/subsystem-types/src/messages/network_bridge_event.rs +++ b/node/subsystem-types/src/messages/network_bridge_event.rs @@ -14,10 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::{ - collections::{HashMap, HashSet}, - convert::TryFrom, -}; +use std::{collections::HashSet, convert::TryFrom}; pub use sc_network::{PeerId, ReputationChange}; @@ -27,25 +24,15 @@ use polkadot_node_network_protocol::{ }; use polkadot_primitives::v2::{AuthorityDiscoveryId, SessionIndex, ValidatorIndex}; -/// Information about a peer in the gossip topology for a session. -#[derive(Debug, Clone, PartialEq)] -pub struct TopologyPeerInfo { - /// The validator's known peer IDs. - pub peer_ids: Vec, - /// The index of the validator in the discovery keys of the corresponding - /// `SessionInfo`. This can extend _beyond_ the set of active parachain validators. - pub validator_index: ValidatorIndex, -} - /// A struct indicating new gossip topology. #[derive(Debug, Clone, PartialEq)] pub struct NewGossipTopology { /// The session index this topology corresponds to. pub session: SessionIndex, - /// Neighbors in the 'X' dimension of the grid. - pub our_neighbors_x: HashMap, - /// Neighbors in the 'Y' dimension of the grid. - pub our_neighbors_y: HashMap, + /// The topology itself. + pub topology: SessionGridTopology, + /// The local validator index, if any. + pub local_index: Option, } /// Events from network. @@ -122,19 +109,3 @@ impl NetworkBridgeEvent { }) } } - -impl From for SessionGridTopology { - fn from(topology: NewGossipTopology) -> Self { - let peers_x = - topology.our_neighbors_x.values().flat_map(|p| &p.peer_ids).cloned().collect(); - let peers_y = - topology.our_neighbors_y.values().flat_map(|p| &p.peer_ids).cloned().collect(); - - let validator_indices_x = - topology.our_neighbors_x.values().map(|p| p.validator_index.clone()).collect(); - let validator_indices_y = - topology.our_neighbors_y.values().map(|p| p.validator_index.clone()).collect(); - - SessionGridTopology { peers_x, peers_y, validator_indices_x, validator_indices_y } - } -} diff --git a/roadmap/implementers-guide/src/types/network.md b/roadmap/implementers-guide/src/types/network.md index 0d09a682cff2..b698ca2075bf 100644 --- a/roadmap/implementers-guide/src/types/network.md +++ b/roadmap/implementers-guide/src/types/network.md @@ -145,10 +145,19 @@ These updates are posted from the [Network Bridge Subsystem](../node/utility/net struct NewGossipTopology { /// The session index this topology corresponds to. session: SessionIndex, - /// Neighbors in the 'X' dimension of the grid. - our_neighbors_x: HashMap, - /// Neighbors in the 'Y' dimension of the grid. - our_neighbors_y: HashMap, + /// The topology itself. + topology: SessionGridTopology, + /// The local validator index, if any. + local_index: Option, +} + +struct SessionGridTopology { + /// An array mapping validator indices to their indices in the + /// shuffling itself. This has the same size as the number of validators + /// in the session. + shuffled_indices: Vec, + /// The canonical shuffling of validators for the session. + canonical_shuffling: Vec, } struct TopologyPeerInfo { @@ -157,6 +166,9 @@ struct TopologyPeerInfo { /// The index of the validator in the discovery keys of the corresponding /// `SessionInfo`. This can extend _beyond_ the set of active parachain validators. validator_index: ValidatorIndex, + /// The authority discovery public key of the validator in the corresponding + /// `SessionInfo`. + discovery_id: AuthorityDiscoveryId, } enum NetworkBridgeEvent { diff --git a/roadmap/implementers-guide/src/types/overseer-protocol.md b/roadmap/implementers-guide/src/types/overseer-protocol.md index b2559c4cfda7..4b9dc97c27e2 100644 --- a/roadmap/implementers-guide/src/types/overseer-protocol.md +++ b/roadmap/implementers-guide/src/types/overseer-protocol.md @@ -555,14 +555,15 @@ enum NetworkBridgeMessage { /// Inform the distribution subsystems about the new /// gossip network topology formed. NewGossipTopology { - /// The session this topology corresponds to. - session: SessionIndex, - /// Ids of our neighbors in the X dimension of the new gossip topology. - /// We're not necessarily connected to all of them, but we should try to be. - our_neighbors_x: HashSet, - /// Ids of our neighbors in the Y dimension of the new gossip topology. - /// We're not necessarily connected to all of them, but we should try to be. - our_neighbors_y: HashSet, + /// The session info this gossip topology is concerned with. + session: SessionIndex, + /// Our validator index in the session, if any. + local_index: Option, + /// The canonical shuffling of validators for the session. + canonical_shuffling: Vec<(AuthorityDiscoveryId, ValidatorIndex)>, + /// The reverse mapping of `canonical_shuffling`: from validator index + /// to the index in `canonical_shuffling` + shuffled_indices: Vec, } } ``` From a28b257a1c220491e9cdf4ecc8ec51f93e304841 Mon Sep 17 00:00:00 2001 From: "Mattia L.V. Bradascio" <28816406+bredamatt@users.noreply.github.com> Date: Thu, 13 Oct 2022 10:48:48 +0100 Subject: [PATCH 054/211] Malus: add disputed block percentage (#6100) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Malus: add disputed block percentage * Bump clap to support value_parser with range * Add rand crate and use Bernoulli and Distribution * Add conditional logic based on sampled value from Bernoulli distribution * Add SuggestGarbageCandidateOptions struct * Cleanup tests * * Replace unwrap with expect and meaningful error message * * Remove Inner * Remove intercept_outgoing * * Rename sampled variable * Move info! logs to include candidate hash of malicious candidate * * Add percentage option to dispute_ancestor * * Support static probability for `ReplaceValidationResult` proxy * Update some comments and docs * * Add `--percentage` to `back-garbage-candidate` variant * Rename structs for consistency * * Add probabilistic behavior to `dispute-ancestor` variant * Add probabilistic behavior to `back-garbage-candidate` variant * Rename structs in dispute variant * * More descriptive comments * * cargo +nightly fmt --all * * Move Bernoulli distributrion to ReplaceValidationResult constructor * Rename random_bool to behave_maliciously * * Remove dangling comment * * Consistent log * * Add logs based on sampled value * * Cargo +nightly fmt --all * * Remove unused percentage attributed after moving Bernoulli to constructor * Squashed commit of the following: commit e36cc59bfc8338d6fb01f261a243c1f4048773df Author: Chris Sosnin <48099298+slumber@users.noreply.github.com> Date: Mon Oct 10 10:06:44 2022 +0400 Fix flaky test (#6131) * Split test + decrease test timeout * fmt * spellcheck commit f85f96c9d6f4d16bc04f2b3950b091c979adf6d0 Author: girazoki Date: Mon Oct 10 06:39:30 2022 +0200 Add event to asset claim (#6029) commit fb0dd8ebd109c1961d6b52548246908ae6689929 Author: Leszek Wiesner Date: Mon Oct 10 00:23:54 2022 +0200 Companion for 12109 (#5929) * Update following `pallet-vesting` configurable `WithdrawReasons` * Update lib.rs * Update lib.rs * Update lib.rs * update lockfile for {"substrate"} * fix warning Co-authored-by: Shawn Tabrizi Co-authored-by: parity-processbot <> commit 1c786b372617f26f5982fadc77269e9d4a7c5da2 Author: Bastian Köcher Date: Fri Oct 7 13:40:40 2022 +0200 Companion for upgrading pin-project (#6118) * Companion for upgrading pin-project This will remove some warnings with the latest rustc nightly/stable. https://github.com/paritytech/substrate/pull/12426 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> commit 3d6b56342e5e1313685aae6f4e222cbf91ba790f Author: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Date: Thu Oct 6 19:20:58 2022 +0200 Maximum value for `MultiplierUpdate` (#6021) * update multiplier * fix * update lockfile for {"substrate"} * fmt * fix typo Co-authored-by: parity-processbot <> commit 09f340c928ea324105b39b957dc155cbd29b173d Author: Adrian Catangiu Date: Thu Oct 6 12:58:39 2022 +0300 service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112) * service: use MmrRootProvider as custom BEEFY payload provider * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> commit d12042f1a0a0e34ca274de9035ea35b6c016783f Author: Branislav Kontur Date: Thu Oct 6 10:03:34 2022 +0200 Skip `unexpected metric type` * Dump more info for `unexpected metric type` * Skip `unexpected metric type` commit 3646202110b3810027f9d7fd0b45cb1bcb9678f4 Author: Andronik Date: Thu Oct 6 00:36:51 2022 +0200 update kvdb & co (#6111) * toml changes * REVERTME: patch * adapt parachains db interface * fix Cargo.toml patch after master rebase * fix av-store * fix chain-selection * fix parachains-db? * Revert "fix Cargo.toml patch after master rebase" This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287. * Revert "REVERTME: patch" This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54. * Use `Ok` imported from prelude Co-authored-by: Bastian Köcher * update lockfile for {"substrate"} * Revert "update lockfile for {"substrate"}" This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d. * cargo update -p sp-io Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> commit 7870dafbd88c8a4bdb1d3c3fb94745f0824a8fb6 Author: Gavin Wood Date: Wed Oct 5 22:17:59 2022 +0100 Companion for #11649: Bound uses of `Call` (#5729) * Fixes * Clear out old weights Signed-off-by: Oliver Tale-Yazdi * Resolve merges Signed-off-by: Oliver Tale-Yazdi * Fix weight traits Signed-off-by: Oliver Tale-Yazdi * polkadot runtime: Clippy Signed-off-by: Oliver Tale-Yazdi * rococo runtime: update pallet configs Signed-off-by: Oliver Tale-Yazdi * Add preimage migration Signed-off-by: Oliver Tale-Yazdi * Add all migrations Signed-off-by: Oliver Tale-Yazdi * Democracy is not on Westend Signed-off-by: Oliver Tale-Yazdi * [Migration] Refund stored multisig calls (#6075) * Add Preimages to referenda config Needed since Gov V2 just merged. Signed-off-by: Oliver Tale-Yazdi * Update weights Signed-off-by: Oliver Tale-Yazdi * Add multisig migration to Westend+Rococo Signed-off-by: Oliver Tale-Yazdi * Fix Executive syntax Signed-off-by: Oliver Tale-Yazdi * Bump Substrate Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> Co-authored-by: Roman Useinov commit df4a1c3cd919c727c1c1c3676229193de1134380 Author: Alexander Theißen Date: Wed Oct 5 15:15:07 2022 +0200 Pass through `runtime-benchmark` feature (#6110) commit 3eb61f8871220f2a17a98342382270782cdb4b0c Author: Keith Yeung Date: Wed Oct 5 17:47:15 2022 +0800 Properly migrate weights to v2 (#6091) * Create migration for config pallet * Use XcmWeight in XCM pallet extrinsics * Link to PR in doc comment * cargo fmt * Fix tests * Fix tests * Remove unused import * Update runtime/parachains/src/configuration/migration.rs Co-authored-by: Oliver Tale-Yazdi * Add missing on_runtime_upgrade implementation * Use new migration API * cargo fmt * Fix log message Co-authored-by: Oliver Tale-Yazdi commit edd6499e3220c2a646f2a693108c1084fc6a92ff Author: Chris Sosnin <48099298+slumber@users.noreply.github.com> Date: Wed Oct 5 11:48:50 2022 +0400 Buffered connection management for collator-protocol (#6022) * Extract metrics into a separate module * Introduce validators buffer * Integrate buffer into the subsystem * Only reconnect on new advertisements * Test * comma * doc comment * Make capacity buffer compile time non-zero * Add doc comments * nits * remove derives * review * better naming * check timeout * Extract interval stream into lib * Ensure collator disconnects after timeout * spellcheck * rename buf * Remove double interval * Add a log on timeout * Cleanup buffer on timeout commit c913107a84bb60a70d8d514091631730cbba3cd2 Author: Robert Klotzner Date: Tue Oct 4 18:47:52 2022 +0200 Add unknown words (#6105) commit ce430c22560ddf76188742f870345a9a1eca65dc Author: Robert Klotzner Date: Tue Oct 4 18:02:05 2022 +0200 Batch vote import in dispute-distribution (#5894) * Start work on batching in dispute-distribution. * Guide work. * More guide changes. Still very much WIP. * Finish guide changes. * Clarification * Adjust argument about slashing. * WIP: Add constants to receiver. * Maintain order of disputes. * dispute-distribuion sender Rate limit. * Cleanup * WIP: dispute-distribution receiver. - [ ] Rate limiting - [ ] Batching * WIP: Batching. * fmt * Update `PeerQueues` to maintain more invariants. * WIP: Batching. * Small cleanup * Batching logic. * Some integration work. * Finish. Missing: Tests * Typo. * Docs. * Report missing metric. * Doc pass. * Tests for waiting_queue. * Speed up some crypto by 10x. * Fix redundant import. * Add some tracing. * Better sender rate limit * Some tests. * Tests * Add logging to rate limiter * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md Co-authored-by: Tsvetomir Dimitrov * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md Co-authored-by: Tsvetomir Dimitrov * Update node/network/dispute-distribution/src/receiver/mod.rs Co-authored-by: Tsvetomir Dimitrov * Review feedback. * Also log peer in log messages. * Fix indentation. * waker -> timer * Guide improvement. * Remove obsolete comment. * waker -> timer * Fix spell complaints. * Fix Cargo.lock Co-authored-by: Tsvetomir Dimitrov commit efb82ef7b0a0f0a67b43b616471db5921f45a614 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Oct 4 11:28:21 2022 +0000 Bump lru from 0.7.8 to 0.8.0 (#6060) * Bump lru from 0.7.8 to 0.8.0 Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.8 to 0.8.0. - [Release notes](https://github.com/jeromefroe/lru-rs/releases) - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Change `LruCache` paramerter to `NonZeroUsize` * Change type of `session_cache_lru_size` to `NonZeroUsize` * Add expects instead of unwrap Co-authored-by: Bastian Köcher * Use match to get rid of expects Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastian Kunert Co-authored-by: Bastian Köcher commit 60554e1f2dba9aa1c553e4bdbd15c5c99936c56a Author: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Tue Oct 4 13:36:42 2022 +0300 Keep sessions in window for the full unfinalized chain (#6054) * Impl dynamic window size. Keep sessions for unfinalized chain Signed-off-by: Andrei Sandu * feedback Signed-off-by: Andrei Sandu * Stretch also in contructor plus tests Signed-off-by: Andrei Sandu * review feedback Signed-off-by: Andrei Sandu * fix approval-voting tests Signed-off-by: Andrei Sandu * grunting: dispute coordinator tests Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu commit 4ddf0ffe5b6d75149016bed74e2d587acf011cb9 Author: Serban Iorga Date: Tue Oct 4 12:25:48 2022 +0300 Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098) * beefy-mmr: Simplify hashing * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> * Revert "Squashed commit of the following:" This reverts commit 5001fa5d1dcd366029d156f81c40b99ca29d8f77. * Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098) * beefy-mmr: Simplify hashing * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> * Keep sessions in window for the full unfinalized chain (#6054) * Impl dynamic window size. Keep sessions for unfinalized chain Signed-off-by: Andrei Sandu * feedback Signed-off-by: Andrei Sandu * Stretch also in contructor plus tests Signed-off-by: Andrei Sandu * review feedback Signed-off-by: Andrei Sandu * fix approval-voting tests Signed-off-by: Andrei Sandu * grunting: dispute coordinator tests Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu * Bump lru from 0.7.8 to 0.8.0 (#6060) * Bump lru from 0.7.8 to 0.8.0 Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.8 to 0.8.0. - [Release notes](https://github.com/jeromefroe/lru-rs/releases) - [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Change `LruCache` paramerter to `NonZeroUsize` * Change type of `session_cache_lru_size` to `NonZeroUsize` * Add expects instead of unwrap Co-authored-by: Bastian Köcher * Use match to get rid of expects Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastian Kunert Co-authored-by: Bastian Köcher * Batch vote import in dispute-distribution (#5894) * Start work on batching in dispute-distribution. * Guide work. * More guide changes. Still very much WIP. * Finish guide changes. * Clarification * Adjust argument about slashing. * WIP: Add constants to receiver. * Maintain order of disputes. * dispute-distribuion sender Rate limit. * Cleanup * WIP: dispute-distribution receiver. - [ ] Rate limiting - [ ] Batching * WIP: Batching. * fmt * Update `PeerQueues` to maintain more invariants. * WIP: Batching. * Small cleanup * Batching logic. * Some integration work. * Finish. Missing: Tests * Typo. * Docs. * Report missing metric. * Doc pass. * Tests for waiting_queue. * Speed up some crypto by 10x. * Fix redundant import. * Add some tracing. * Better sender rate limit * Some tests. * Tests * Add logging to rate limiter * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md Co-authored-by: Tsvetomir Dimitrov * Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md Co-authored-by: Tsvetomir Dimitrov * Update node/network/dispute-distribution/src/receiver/mod.rs Co-authored-by: Tsvetomir Dimitrov * Review feedback. * Also log peer in log messages. * Fix indentation. * waker -> timer * Guide improvement. * Remove obsolete comment. * waker -> timer * Fix spell complaints. * Fix Cargo.lock Co-authored-by: Tsvetomir Dimitrov * Add unknown words (#6105) * Buffered connection management for collator-protocol (#6022) * Extract metrics into a separate module * Introduce validators buffer * Integrate buffer into the subsystem * Only reconnect on new advertisements * Test * comma * doc comment * Make capacity buffer compile time non-zero * Add doc comments * nits * remove derives * review * better naming * check timeout * Extract interval stream into lib * Ensure collator disconnects after timeout * spellcheck * rename buf * Remove double interval * Add a log on timeout * Cleanup buffer on timeout * Properly migrate weights to v2 (#6091) * Create migration for config pallet * Use XcmWeight in XCM pallet extrinsics * Link to PR in doc comment * cargo fmt * Fix tests * Fix tests * Remove unused import * Update runtime/parachains/src/configuration/migration.rs Co-authored-by: Oliver Tale-Yazdi * Add missing on_runtime_upgrade implementation * Use new migration API * cargo fmt * Fix log message Co-authored-by: Oliver Tale-Yazdi * Pass through `runtime-benchmark` feature (#6110) * Companion for #11649: Bound uses of `Call` (#5729) * Fixes * Clear out old weights Signed-off-by: Oliver Tale-Yazdi * Resolve merges Signed-off-by: Oliver Tale-Yazdi * Fix weight traits Signed-off-by: Oliver Tale-Yazdi * polkadot runtime: Clippy Signed-off-by: Oliver Tale-Yazdi * rococo runtime: update pallet configs Signed-off-by: Oliver Tale-Yazdi * Add preimage migration Signed-off-by: Oliver Tale-Yazdi * Add all migrations Signed-off-by: Oliver Tale-Yazdi * Democracy is not on Westend Signed-off-by: Oliver Tale-Yazdi * [Migration] Refund stored multisig calls (#6075) * Add Preimages to referenda config Needed since Gov V2 just merged. Signed-off-by: Oliver Tale-Yazdi * Update weights Signed-off-by: Oliver Tale-Yazdi * Add multisig migration to Westend+Rococo Signed-off-by: Oliver Tale-Yazdi * Fix Executive syntax Signed-off-by: Oliver Tale-Yazdi * Bump Substrate Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> Co-authored-by: Roman Useinov * update kvdb & co (#6111) * toml changes * REVERTME: patch * adapt parachains db interface * fix Cargo.toml patch after master rebase * fix av-store * fix chain-selection * fix parachains-db? * Revert "fix Cargo.toml patch after master rebase" This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287. * Revert "REVERTME: patch" This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54. * Use `Ok` imported from prelude Co-authored-by: Bastian Köcher * update lockfile for {"substrate"} * Revert "update lockfile for {"substrate"}" This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d. * cargo update -p sp-io Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> * Skip `unexpected metric type` * Dump more info for `unexpected metric type` * Skip `unexpected metric type` * service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112) * service: use MmrRootProvider as custom BEEFY payload provider * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> * Maximum value for `MultiplierUpdate` (#6021) * update multiplier * fix * update lockfile for {"substrate"} * fmt * fix typo Co-authored-by: parity-processbot <> * Companion for upgrading pin-project (#6118) * Companion for upgrading pin-project This will remove some warnings with the latest rustc nightly/stable. https://github.com/paritytech/substrate/pull/12426 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> * Companion for 12109 (#5929) * Update following `pallet-vesting` configurable `WithdrawReasons` * Update lib.rs * Update lib.rs * Update lib.rs * update lockfile for {"substrate"} * fix warning Co-authored-by: Shawn Tabrizi Co-authored-by: parity-processbot <> * Add event to asset claim (#6029) * Fix flaky test (#6131) * Split test + decrease test timeout * fmt * spellcheck * ci/guide: install mdbook-graphviz (#6119) * ci/guide: install mdbook-graphviz * install graphviz in build-implementers-guide * Update scripts/ci/gitlab/pipeline/build.yml Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> * Revert "Squashed commit of the following:" This reverts commit 5001fa5d1dcd366029d156f81c40b99ca29d8f77. * * Remove unused imports * * cargo +nightly fmt --all * Make tweaks based on PR comments * unit test related to gum formatting * cargo +nightly fmt --all * Resolve merge conflicts * cargo +nightly fmt --all * Fix tests so they use cli rather than cmd * CI unused import check fix * Move info! log to startup * make info log more comprehensible Signed-off-by: Andrei Sandu Signed-off-by: dependabot[bot] Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Serban Iorga Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sebastian Kunert Co-authored-by: Bastian Köcher Co-authored-by: Robert Klotzner Co-authored-by: Tsvetomir Dimitrov Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com> Co-authored-by: Keith Yeung Co-authored-by: Oliver Tale-Yazdi Co-authored-by: Alexander Theißen Co-authored-by: Gavin Wood Co-authored-by: Roman Useinov Co-authored-by: Andronik Co-authored-by: Branislav Kontur Co-authored-by: Adrian Catangiu Co-authored-by: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Co-authored-by: Leszek Wiesner Co-authored-by: Shawn Tabrizi Co-authored-by: girazoki Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> --- Cargo.lock | 19 +- node/malus/Cargo.toml | 3 +- node/malus/src/malus.rs | 105 +++++- .../src/variants/back_garbage_candidate.rs | 22 +- node/malus/src/variants/common.rs | 177 ++++++++-- .../src/variants/dispute_valid_candidates.rs | 8 + node/malus/src/variants/mod.rs | 4 +- .../src/variants/suggest_garbage_candidate.rs | 323 +++++++++--------- 8 files changed, 445 insertions(+), 216 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 278310281f50..ad6176d1accb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -922,16 +922,16 @@ dependencies = [ [[package]] name = "clap" -version = "3.1.18" +version = "3.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2dbdf4bdacb33466e854ce889eee8dfd5729abf7ccd7664d0a2d60cd384440b" +checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750" dependencies = [ "atty", "bitflags", "clap_derive", "clap_lex", "indexmap", - "lazy_static", + "once_cell", "strsim", "termcolor", "textwrap", @@ -939,9 +939,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "3.1.18" +version = "3.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25320346e922cffe59c0bbc5410c8d8784509efb321488971081313cb1e1a33c" +checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" dependencies = [ "heck", "proc-macro-error", @@ -952,9 +952,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.2.0" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a37c35f1112dad5e6e0b1adaff798507497a18fceeb30cceb3bae7d1427b9213" +checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" dependencies = [ "os_str_bytes", ] @@ -7470,6 +7470,7 @@ dependencies = [ "polkadot-node-subsystem-types", "polkadot-node-subsystem-util", "polkadot-primitives", + "rand 0.8.5", "sp-core", "sp-keystore", "tracing-gum", @@ -11391,9 +11392,9 @@ dependencies = [ [[package]] name = "textwrap" -version = "0.15.0" +version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb" +checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16" [[package]] name = "thiserror" diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index c32fce56e4c8..9548857a03ed 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -29,11 +29,12 @@ assert_matches = "1.5" async-trait = "0.1.57" sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -clap = { version = "3.1", features = ["derive"] } +clap = { version = "3.2.21", features = ["derive"] } futures = "0.3.21" futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../gum/" } erasure = { package = "polkadot-erasure-coding", path = "../../erasure-coding" } +rand = "0.8.5" [features] default = [] diff --git a/node/malus/src/malus.rs b/node/malus/src/malus.rs index aa14b8e3d38f..13e232198ea6 100644 --- a/node/malus/src/malus.rs +++ b/node/malus/src/malus.rs @@ -18,7 +18,6 @@ use clap::Parser; use color_eyre::eyre; -use polkadot_cli::Cli; pub(crate) mod interceptor; pub(crate) mod shared; @@ -33,9 +32,9 @@ use variants::*; #[clap(rename_all = "kebab-case")] enum NemesisVariant { /// Suggest a candidate with an invalid proof of validity. - SuggestGarbageCandidate(Cli), + SuggestGarbageCandidate(SuggestGarbageCandidateOptions), /// Back a candidate with a specifically crafted proof of validity. - BackGarbageCandidate(Cli), + BackGarbageCandidate(BackGarbageCandidateOptions), /// Delayed disputing of ancestors that are perfectly fine. DisputeAncestor(DisputeAncestorOptions), @@ -62,16 +61,31 @@ impl MalusCli { fn launch(self) -> eyre::Result<()> { let finality_delay = self.finality_delay; match self.variant { - NemesisVariant::BackGarbageCandidate(cli) => - polkadot_cli::run_node(cli, BackGarbageCandidate, finality_delay)?, - NemesisVariant::SuggestGarbageCandidate(cli) => - polkadot_cli::run_node(cli, BackGarbageCandidateWrapper, finality_delay)?, + NemesisVariant::BackGarbageCandidate(opts) => { + let BackGarbageCandidateOptions { percentage, cli } = opts; + + polkadot_cli::run_node(cli, BackGarbageCandidates { percentage }, finality_delay)? + }, + NemesisVariant::SuggestGarbageCandidate(opts) => { + let SuggestGarbageCandidateOptions { percentage, cli } = opts; + + polkadot_cli::run_node( + cli, + SuggestGarbageCandidates { percentage }, + finality_delay, + )? + }, NemesisVariant::DisputeAncestor(opts) => { - let DisputeAncestorOptions { fake_validation, fake_validation_error, cli } = opts; + let DisputeAncestorOptions { + fake_validation, + fake_validation_error, + percentage, + cli, + } = opts; polkadot_cli::run_node( cli, - DisputeValidCandidates { fake_validation, fake_validation_error }, + DisputeValidCandidates { fake_validation, fake_validation_error, percentage }, finality_delay, )? }, @@ -129,4 +143,77 @@ mod tests { assert!(run.cli.run.base.bob); }); } + + #[test] + fn percentage_works_suggest_garbage() { + let cli = MalusCli::try_parse_from(IntoIterator::into_iter([ + "malus", + "suggest-garbage-candidate", + "--percentage", + "100", + "--bob", + ])) + .unwrap(); + assert_matches::assert_matches!(cli, MalusCli { + variant: NemesisVariant::SuggestGarbageCandidate(run), + .. + } => { + assert!(run.cli.run.base.bob); + }); + } + + #[test] + fn percentage_works_dispute_ancestor() { + let cli = MalusCli::try_parse_from(IntoIterator::into_iter([ + "malus", + "dispute-ancestor", + "--percentage", + "100", + "--bob", + ])) + .unwrap(); + assert_matches::assert_matches!(cli, MalusCli { + variant: NemesisVariant::DisputeAncestor(run), + .. + } => { + assert!(run.cli.run.base.bob); + }); + } + + #[test] + fn percentage_works_back_garbage() { + let cli = MalusCli::try_parse_from(IntoIterator::into_iter([ + "malus", + "back-garbage-candidate", + "--percentage", + "100", + "--bob", + ])) + .unwrap(); + assert_matches::assert_matches!(cli, MalusCli { + variant: NemesisVariant::BackGarbageCandidate(run), + .. + } => { + assert!(run.cli.run.base.bob); + }); + } + + #[test] + #[should_panic] + fn validate_range_for_percentage() { + let cli = MalusCli::try_parse_from(IntoIterator::into_iter([ + "malus", + "suggest-garbage-candidate", + "--percentage", + "101", + "--bob", + ])) + .unwrap(); + assert_matches::assert_matches!(cli, MalusCli { + variant: NemesisVariant::DisputeAncestor(run), + .. + } => { + assert!(run.cli.run.base.bob); + }); + } } diff --git a/node/malus/src/variants/back_garbage_candidate.rs b/node/malus/src/variants/back_garbage_candidate.rs index cf72776b5f28..b17b8bca5887 100644 --- a/node/malus/src/variants/back_garbage_candidate.rs +++ b/node/malus/src/variants/back_garbage_candidate.rs @@ -25,6 +25,7 @@ use polkadot_cli::{ OverseerConnector, OverseerGen, OverseerGenArgs, OverseerHandle, ParachainHost, ProvideRuntimeApi, }, + Cli, }; use polkadot_node_subsystem::SpawnGlue; use sp_core::traits::SpawnNamed; @@ -36,11 +37,27 @@ use crate::{ use std::sync::Arc; +#[derive(Debug, clap::Parser)] +#[clap(rename_all = "kebab-case")] +#[allow(missing_docs)] +pub struct BackGarbageCandidateOptions { + /// Determines the percentage of garbage candidates that should be backed. + /// Defaults to 100% of garbage candidates being backed. + #[clap(short, long, ignore_case = true, default_value_t = 100, value_parser = clap::value_parser!(u8).range(0..=100))] + pub percentage: u8, + + #[clap(flatten)] + pub cli: Cli, +} + /// Generates an overseer that replaces the candidate validation subsystem with our malicious /// variant. -pub(crate) struct BackGarbageCandidate; +pub(crate) struct BackGarbageCandidates { + /// The probability of behaving maliciously. + pub percentage: u8, +} -impl OverseerGen for BackGarbageCandidate { +impl OverseerGen for BackGarbageCandidates { fn generate<'a, Spawner, RuntimeClient>( &self, connector: OverseerConnector, @@ -55,6 +72,7 @@ impl OverseerGen for BackGarbageCandidate { let validation_filter = ReplaceValidationResult::new( FakeCandidateValidation::BackingAndApprovalValid, FakeCandidateValidationError::InvalidOutputs, + f64::from(self.percentage), SpawnGlue(spawner), ); diff --git a/node/malus/src/variants/common.rs b/node/malus/src/variants/common.rs index e112aa49f83e..845dac0b6fea 100644 --- a/node/malus/src/variants/common.rs +++ b/node/malus/src/variants/common.rs @@ -34,6 +34,8 @@ use polkadot_primitives::v2::{ use futures::channel::oneshot; +use rand::distributions::{Bernoulli, Distribution}; + #[derive(clap::ArgEnum, Clone, Copy, Debug, PartialEq)] #[clap(rename_all = "kebab-case")] #[non_exhaustive] @@ -109,6 +111,7 @@ impl Into for FakeCandidateValidationError { pub struct ReplaceValidationResult { fake_validation: FakeCandidateValidation, fake_validation_error: FakeCandidateValidationError, + distribution: Bernoulli, spawner: Spawner, } @@ -119,9 +122,12 @@ where pub fn new( fake_validation: FakeCandidateValidation, fake_validation_error: FakeCandidateValidationError, + percentage: f64, spawner: Spawner, ) -> Self { - Self { fake_validation, fake_validation_error, spawner } + let distribution = Bernoulli::new(percentage / 100.0) + .expect("Invalid probability! Percentage must be in range [0..=100]."); + Self { fake_validation, fake_validation_error, distribution, spawner } } /// Creates and sends the validation response for a given candidate. Queries the runtime to obtain the validation data for the @@ -202,13 +208,14 @@ where { type Message = CandidateValidationMessage; - // Capture all candidate validation requests and depending on configuration fail them. + // Capture all (approval and backing) candidate validation requests and depending on configuration fail them. fn intercept_incoming( &self, subsystem_sender: &mut Sender, msg: FromOrchestra, ) -> Option> { match msg { + // Message sent by the approval voting subsystem FromOrchestra::Communication { msg: CandidateValidationMessage::ValidateFromExhaustive( @@ -236,28 +243,84 @@ where ), }) } - create_validation_response( - validation_data, - candidate_receipt.descriptor, - sender, - ); - None + // Create the fake response with probability `p` if the `PoV` is malicious, + // where 'p' defaults to 100% for suggest-garbage-candidate variant. + let behave_maliciously = self.distribution.sample(&mut rand::thread_rng()); + match behave_maliciously { + true => { + gum::info!( + target: MALUS, + ?behave_maliciously, + "😈 Creating malicious ValidationResult::Valid message with fake candidate commitments.", + ); + + create_validation_response( + validation_data, + candidate_receipt.descriptor, + sender, + ); + None + }, + false => { + // Behave normally with probability `(1-p)` for a malicious `PoV`. + gum::info!( + target: MALUS, + ?behave_maliciously, + "😈 Passing CandidateValidationMessage::ValidateFromExhaustive to the candidate validation subsystem.", + ); + + Some(FromOrchestra::Communication { + msg: CandidateValidationMessage::ValidateFromExhaustive( + validation_data, + validation_code, + candidate_receipt, + pov, + timeout, + sender, + ), + }) + }, + } }, FakeCandidateValidation::ApprovalInvalid | FakeCandidateValidation::BackingAndApprovalInvalid => { - let validation_result = - ValidationResult::Invalid(InvalidCandidate::InvalidOutputs); + // Set the validation result to invalid with probability `p` and trigger a dispute + let behave_maliciously = self.distribution.sample(&mut rand::thread_rng()); + match behave_maliciously { + true => { + let validation_result = + ValidationResult::Invalid(InvalidCandidate::InvalidOutputs); + + gum::info!( + target: MALUS, + ?behave_maliciously, + para_id = ?candidate_receipt.descriptor.para_id, + "😈 Maliciously sending invalid validation result: {:?}.", + &validation_result, + ); - gum::debug!( - target: MALUS, - para_id = ?candidate_receipt.descriptor.para_id, - "ValidateFromExhaustive result: {:?}", - &validation_result - ); - // We're not even checking the candidate, this makes us appear faster than honest validators. - sender.send(Ok(validation_result)).unwrap(); - None + // We're not even checking the candidate, this makes us appear faster than honest validators. + sender.send(Ok(validation_result)).unwrap(); + None + }, + false => { + // Behave normally with probability `(1-p)` + gum::info!(target: MALUS, "😈 'Decided' to not act maliciously.",); + + Some(FromOrchestra::Communication { + msg: CandidateValidationMessage::ValidateFromExhaustive( + validation_data, + validation_code, + candidate_receipt, + pov, + timeout, + sender, + ), + }) + }, + } }, + // Handle FakeCandidateValidation::Disabled _ => Some(FromOrchestra::Communication { msg: CandidateValidationMessage::ValidateFromExhaustive( validation_data, @@ -270,6 +333,7 @@ where }), } }, + // Behaviour related to the backing subsystem FromOrchestra::Communication { msg: CandidateValidationMessage::ValidateFromChainState( @@ -293,27 +357,68 @@ where ), }) } - self.send_validation_response( - candidate_receipt.descriptor, - subsystem_sender.clone(), - response_sender, - ); - None + // If the `PoV` is malicious, back the candidate with some probability `p`, + // where 'p' defaults to 100% for suggest-garbage-candidate variant. + let behave_maliciously = self.distribution.sample(&mut rand::thread_rng()); + match behave_maliciously { + true => { + gum::info!( + target: MALUS, + ?behave_maliciously, + "😈 Backing candidate with malicious PoV.", + ); + + self.send_validation_response( + candidate_receipt.descriptor, + subsystem_sender.clone(), + response_sender, + ); + None + }, + // If the `PoV` is malicious, we behave normally with some probability `(1-p)` + false => Some(FromOrchestra::Communication { + msg: CandidateValidationMessage::ValidateFromChainState( + candidate_receipt, + pov, + timeout, + response_sender, + ), + }), + } }, FakeCandidateValidation::BackingInvalid | FakeCandidateValidation::BackingAndApprovalInvalid => { - let validation_result = - ValidationResult::Invalid(self.fake_validation_error.clone().into()); - gum::debug!( - target: MALUS, - para_id = ?candidate_receipt.descriptor.para_id, - "ValidateFromChainState result: {:?}", - &validation_result - ); + // Maliciously set the validation result to invalid for a valid candidate with probability `p` + let behave_maliciously = self.distribution.sample(&mut rand::thread_rng()); + match behave_maliciously { + true => { + let validation_result = ValidationResult::Invalid( + self.fake_validation_error.clone().into(), + ); + gum::info!( + target: MALUS, + para_id = ?candidate_receipt.descriptor.para_id, + "😈 Maliciously sending invalid validation result: {:?}.", + &validation_result, + ); + // We're not even checking the candidate, this makes us appear faster than honest validators. + response_sender.send(Ok(validation_result)).unwrap(); + None + }, + // With some probability `(1-p)` we behave normally + false => { + gum::info!(target: MALUS, "😈 'Decided' to not act maliciously.",); - // We're not even checking the candidate, this makes us appear faster than honest validators. - response_sender.send(Ok(validation_result)).unwrap(); - None + Some(FromOrchestra::Communication { + msg: CandidateValidationMessage::ValidateFromChainState( + candidate_receipt, + pov, + timeout, + response_sender, + ), + }) + }, + } }, _ => Some(FromOrchestra::Communication { msg: CandidateValidationMessage::ValidateFromChainState( diff --git a/node/malus/src/variants/dispute_valid_candidates.rs b/node/malus/src/variants/dispute_valid_candidates.rs index 175cdecee916..c8e6afe643c5 100644 --- a/node/malus/src/variants/dispute_valid_candidates.rs +++ b/node/malus/src/variants/dispute_valid_candidates.rs @@ -55,6 +55,11 @@ pub struct DisputeAncestorOptions { #[clap(long, arg_enum, ignore_case = true, default_value_t = FakeCandidateValidationError::InvalidOutputs)] pub fake_validation_error: FakeCandidateValidationError, + /// Determines the percentage of candidates that should be disputed. Allows for fine-tuning + /// the intensity of the behavior of the malicious node. Value must be in the range [0..=100]. + #[clap(short, long, ignore_case = true, default_value_t = 100, value_parser = clap::value_parser!(u8).range(0..=100))] + pub percentage: u8, + #[clap(flatten)] pub cli: Cli, } @@ -64,6 +69,8 @@ pub(crate) struct DisputeValidCandidates { pub fake_validation: FakeCandidateValidation, /// Fake validation error config. pub fake_validation_error: FakeCandidateValidationError, + /// The probability of behaving maliciously. + pub percentage: u8, } impl OverseerGen for DisputeValidCandidates { @@ -81,6 +88,7 @@ impl OverseerGen for DisputeValidCandidates { let validation_filter = ReplaceValidationResult::new( self.fake_validation, self.fake_validation_error, + f64::from(self.percentage), SpawnGlue(spawner.clone()), ); diff --git a/node/malus/src/variants/mod.rs b/node/malus/src/variants/mod.rs index d57580fdf8d3..6f9a9359e025 100644 --- a/node/malus/src/variants/mod.rs +++ b/node/malus/src/variants/mod.rs @@ -22,8 +22,8 @@ mod dispute_valid_candidates; mod suggest_garbage_candidate; pub(crate) use self::{ - back_garbage_candidate::BackGarbageCandidate, + back_garbage_candidate::{BackGarbageCandidateOptions, BackGarbageCandidates}, dispute_valid_candidates::{DisputeAncestorOptions, DisputeValidCandidates}, - suggest_garbage_candidate::BackGarbageCandidateWrapper, + suggest_garbage_candidate::{SuggestGarbageCandidateOptions, SuggestGarbageCandidates}, }; pub(crate) use common::*; diff --git a/node/malus/src/variants/suggest_garbage_candidate.rs b/node/malus/src/variants/suggest_garbage_candidate.rs index b8aaaa18c10d..86b0c49e7125 100644 --- a/node/malus/src/variants/suggest_garbage_candidate.rs +++ b/node/malus/src/variants/suggest_garbage_candidate.rs @@ -29,14 +29,17 @@ use polkadot_cli::{ OverseerConnector, OverseerGen, OverseerGenArgs, OverseerHandle, ParachainHost, ProvideRuntimeApi, }, + Cli, }; use polkadot_node_core_candidate_validation::find_validation_data; use polkadot_node_primitives::{AvailableData, BlockData, PoV}; -use polkadot_primitives::v2::{CandidateDescriptor, CandidateHash}; +use polkadot_primitives::v2::CandidateDescriptor; use polkadot_node_subsystem_util::request_validators; use sp_core::traits::SpawnNamed; +use rand::distributions::{Bernoulli, Distribution}; + // Filter wrapping related types. use crate::{ interceptor::*, @@ -49,28 +52,16 @@ use crate::{ // Import extra types relevant to the particular // subsystem. -use polkadot_node_subsystem::{ - messages::{CandidateBackingMessage, CollatorProtocolMessage}, - SpawnGlue, -}; +use polkadot_node_subsystem::{messages::CandidateBackingMessage, SpawnGlue}; use polkadot_primitives::v2::CandidateReceipt; -use std::{ - collections::HashMap, - sync::{Arc, Mutex}, -}; - -struct Inner { - /// Maps malicious candidate hash to original candidate hash. - /// It is used to replace outgoing collator protocol seconded messages. - map: HashMap, -} +use std::sync::Arc; /// Replace outgoing approval messages with disputes. #[derive(Clone)] struct NoteCandidate { - inner: Arc>, spawner: Spawner, + percentage: f64, } impl MessageInterceptor for NoteCandidate @@ -80,7 +71,7 @@ where { type Message = CandidateBackingMessage; - /// Intercept incoming `Second` requests from the `collator-protocol` subsystem. We take + /// Intercept incoming `Second` requests from the `collator-protocol` subsystem. fn intercept_incoming( &self, subsystem_sender: &mut Sender, @@ -88,163 +79,174 @@ where ) -> Option> { match msg { FromOrchestra::Communication { - msg: CandidateBackingMessage::Second(relay_parent, candidate, _pov), + msg: CandidateBackingMessage::Second(relay_parent, ref candidate, ref _pov), } => { gum::debug!( target: MALUS, candidate_hash = ?candidate.hash(), ?relay_parent, - "Received request to second candidate" - ); - - let pov = PoV { block_data: BlockData(MALICIOUS_POV.into()) }; - - let (sender, receiver) = std::sync::mpsc::channel(); - let mut new_sender = subsystem_sender.clone(); - let _candidate = candidate.clone(); - self.spawner.spawn_blocking( - "malus-get-validation-data", - Some("malus"), - Box::pin(async move { - gum::trace!(target: MALUS, "Requesting validators"); - let n_validators = request_validators(relay_parent, &mut new_sender) - .await - .await - .unwrap() - .unwrap() - .len(); - gum::trace!(target: MALUS, "Validators {}", n_validators); - match find_validation_data(&mut new_sender, &_candidate.descriptor()).await - { - Ok(Some((validation_data, validation_code))) => { - sender - .send((validation_data, validation_code, n_validators)) - .expect("channel is still open"); - }, - _ => { - panic!("Unable to fetch validation data"); - }, - } - }), - ); - - let (validation_data, validation_code, n_validators) = receiver.recv().unwrap(); - - let validation_data_hash = validation_data.hash(); - let validation_code_hash = validation_code.hash(); - let validation_data_relay_parent_number = validation_data.relay_parent_number; - - gum::trace!( - target: MALUS, - candidate_hash = ?candidate.hash(), - ?relay_parent, - ?n_validators, - ?validation_data_hash, - ?validation_code_hash, - ?validation_data_relay_parent_number, - "Fetched validation data." + "Received request to second candidate", ); - let malicious_available_data = - AvailableData { pov: Arc::new(pov.clone()), validation_data }; - - let pov_hash = pov.hash(); - let erasure_root = { - let chunks = - erasure::obtain_chunks_v1(n_validators as usize, &malicious_available_data) - .unwrap(); - - let branches = erasure::branches(chunks.as_ref()); - branches.root() - }; - - let (collator_id, collator_signature) = { - use polkadot_primitives::v2::CollatorPair; - use sp_core::crypto::Pair; - - let collator_pair = CollatorPair::generate().0; - let signature_payload = polkadot_primitives::v2::collator_signature_payload( - &relay_parent, - &candidate.descriptor().para_id, - &validation_data_hash, - &pov_hash, - &validation_code_hash, + // Need to draw value from Bernoulli distribution with given probability of success defined by the clap parameter. + // Note that clap parameter must be f64 since this is expected by the Bernoulli::new() function. + // It must be converted from u8, due to the lack of support for the .range() call on u64 in the clap crate. + let distribution = Bernoulli::new(self.percentage / 100.0) + .expect("Invalid probability! Percentage must be in range [0..=100]."); + + // Draw a random boolean from the Bernoulli distribution with probability of true equal to `p`. + // We use `rand::thread_rng` as the source of randomness. + let generate_malicious_candidate = distribution.sample(&mut rand::thread_rng()); + + if generate_malicious_candidate == true { + gum::debug!(target: MALUS, "😈 Suggesting malicious candidate.",); + + let pov = PoV { block_data: BlockData(MALICIOUS_POV.into()) }; + + let (sender, receiver) = std::sync::mpsc::channel(); + let mut new_sender = subsystem_sender.clone(); + let _candidate = candidate.clone(); + self.spawner.spawn_blocking( + "malus-get-validation-data", + Some("malus"), + Box::pin(async move { + gum::trace!(target: MALUS, "Requesting validators"); + let n_validators = request_validators(relay_parent, &mut new_sender) + .await + .await + .unwrap() + .unwrap() + .len(); + gum::trace!(target: MALUS, "Validators {}", n_validators); + match find_validation_data(&mut new_sender, &_candidate.descriptor()) + .await + { + Ok(Some((validation_data, validation_code))) => { + sender + .send((validation_data, validation_code, n_validators)) + .expect("channel is still open"); + }, + _ => { + panic!("Unable to fetch validation data"); + }, + } + }), ); - (collator_pair.public(), collator_pair.sign(&signature_payload)) - }; - - let malicious_commitments = - create_fake_candidate_commitments(&malicious_available_data.validation_data); - - let malicious_candidate = CandidateReceipt { - descriptor: CandidateDescriptor { - para_id: candidate.descriptor().para_id, - relay_parent, - collator: collator_id, - persisted_validation_data_hash: validation_data_hash, - pov_hash, - erasure_root, - signature: collator_signature, - para_head: malicious_commitments.head_data.hash(), - validation_code_hash, - }, - commitments_hash: malicious_commitments.hash(), - }; - let malicious_candidate_hash = malicious_candidate.hash(); - - gum::debug!( - target: MALUS, - candidate_hash = ?candidate.hash(), - ?malicious_candidate_hash, - "Created malicious candidate" - ); - - // Map malicious candidate to the original one. We need this mapping to send back the correct seconded statement - // to the collators. - self.inner - .lock() - .expect("bad lock") - .map - .insert(malicious_candidate_hash, candidate.hash()); + let (validation_data, validation_code, n_validators) = receiver.recv().unwrap(); + + let validation_data_hash = validation_data.hash(); + let validation_code_hash = validation_code.hash(); + let validation_data_relay_parent_number = validation_data.relay_parent_number; + + gum::trace!( + target: MALUS, + candidate_hash = ?candidate.hash(), + ?relay_parent, + ?n_validators, + ?validation_data_hash, + ?validation_code_hash, + ?validation_data_relay_parent_number, + "Fetched validation data." + ); - let message = FromOrchestra::Communication { - msg: CandidateBackingMessage::Second(relay_parent, malicious_candidate, pov), - }; + let malicious_available_data = + AvailableData { pov: Arc::new(pov.clone()), validation_data }; + + let pov_hash = pov.hash(); + let erasure_root = { + let chunks = erasure::obtain_chunks_v1( + n_validators as usize, + &malicious_available_data, + ) + .unwrap(); + + let branches = erasure::branches(chunks.as_ref()); + branches.root() + }; + + let (collator_id, collator_signature) = { + use polkadot_primitives::v2::CollatorPair; + use sp_core::crypto::Pair; + + let collator_pair = CollatorPair::generate().0; + let signature_payload = polkadot_primitives::v2::collator_signature_payload( + &relay_parent, + &candidate.descriptor().para_id, + &validation_data_hash, + &pov_hash, + &validation_code_hash, + ); + + (collator_pair.public(), collator_pair.sign(&signature_payload)) + }; + + let malicious_commitments = create_fake_candidate_commitments( + &malicious_available_data.validation_data, + ); - Some(message) + let malicious_candidate = CandidateReceipt { + descriptor: CandidateDescriptor { + para_id: candidate.descriptor().para_id, + relay_parent, + collator: collator_id, + persisted_validation_data_hash: validation_data_hash, + pov_hash, + erasure_root, + signature: collator_signature, + para_head: malicious_commitments.head_data.hash(), + validation_code_hash, + }, + commitments_hash: malicious_commitments.hash(), + }; + let malicious_candidate_hash = malicious_candidate.hash(); + + let message = FromOrchestra::Communication { + msg: CandidateBackingMessage::Second( + relay_parent, + malicious_candidate, + pov, + ), + }; + + gum::info!( + target: MALUS, + candidate_hash = ?candidate.hash(), + "😈 Intercepted CandidateBackingMessage::Second and created malicious candidate with hash: {:?}", + &malicious_candidate_hash + ); + Some(message) + } else { + Some(msg) + } }, FromOrchestra::Communication { msg } => Some(FromOrchestra::Communication { msg }), FromOrchestra::Signal(signal) => Some(FromOrchestra::Signal(signal)), } } +} - fn intercept_outgoing( - &self, - msg: overseer::CandidateBackingOutgoingMessages, - ) -> Option { - let msg = match msg { - overseer::CandidateBackingOutgoingMessages::CollatorProtocolMessage( - CollatorProtocolMessage::Seconded(relay_parent, statement), - ) => { - // `parachain::collator-protocol: received an unexpected `CollationSeconded`: unknown statement statement=...` - // TODO: Fix this error. We get this on colaltors because `malicious backing` creates a candidate that gets backed/included. - // It is harmless for test parachain collators, but it will prevent cumulus based collators to make progress - // as they wait for the relay chain to confirm the seconding of the collation. - overseer::CandidateBackingOutgoingMessages::CollatorProtocolMessage( - CollatorProtocolMessage::Seconded(relay_parent, statement), - ) - }, - msg => msg, - }; - Some(msg) - } +#[derive(Debug, clap::Parser)] +#[clap(rename_all = "kebab-case")] +#[allow(missing_docs)] +pub struct SuggestGarbageCandidateOptions { + /// Determines the percentage of malicious candidates that are suggested by malus, + /// based on the total number of intercepted CandidateBacking + /// Must be in the range [0..=100]. + #[clap(short, long, ignore_case = true, default_value_t = 100, value_parser = clap::value_parser!(u8).range(0..=100))] + pub percentage: u8, + + #[clap(flatten)] + pub cli: Cli, } /// Garbage candidate implementation wrapper which implements `OverseerGen` glue. -pub(crate) struct BackGarbageCandidateWrapper; +pub(crate) struct SuggestGarbageCandidates { + /// The probability of behaving maliciously. + pub percentage: u8, +} -impl OverseerGen for BackGarbageCandidateWrapper { +impl OverseerGen for SuggestGarbageCandidates { fn generate<'a, Spawner, RuntimeClient>( &self, connector: OverseerConnector, @@ -255,14 +257,21 @@ impl OverseerGen for BackGarbageCandidateWrapper { RuntimeClient::Api: ParachainHost + BabeApi + AuthorityDiscoveryApi, Spawner: 'static + SpawnNamed + Clone + Unpin, { - let inner = Inner { map: std::collections::HashMap::new() }; - let inner_mut = Arc::new(Mutex::new(inner)); - let note_candidate = - NoteCandidate { inner: inner_mut.clone(), spawner: SpawnGlue(args.spawner.clone()) }; + gum::info!( + target: MALUS, + "😈 Started Malus node with a {:?} percent chance of behaving maliciously for a given candidate.", + &self.percentage, + ); + let note_candidate = NoteCandidate { + spawner: SpawnGlue(args.spawner.clone()), + percentage: f64::from(self.percentage), + }; + let fake_valid_probability = 100.0; let validation_filter = ReplaceValidationResult::new( FakeCandidateValidation::BackingAndApprovalValid, FakeCandidateValidationError::InvalidOutputs, + fake_valid_probability, SpawnGlue(args.spawner.clone()), ); From 851a108e2a294dbb9f9777ac057a7c1f108c1ee4 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Thu, 13 Oct 2022 07:00:57 -0400 Subject: [PATCH 055/211] Separate preparation timeouts for PVF prechecking and execution (#6139) * Add some documentation * Add `compilation_timeout` parameter for PVF preparation job * Update buckets in prometheus metrics * Update prepare/queue tests * Update pvf-prechecking overview in implementer docs * Fix some CI checks --- node/core/pvf/src/host.rs | 60 ++++++++++--- node/core/pvf/src/metrics.rs | 4 +- node/core/pvf/src/prepare/pool.rs | 14 ++- node/core/pvf/src/prepare/queue.rs | 89 ++++++++++++++----- node/core/pvf/src/prepare/worker.rs | 7 +- .../implementers-guide/src/pvf-prechecking.md | 26 +++++- scripts/ci/gitlab/lingua.dic | 1 + .../functional/0001-parachains-pvf.zndsl | 16 ++-- 8 files changed, 164 insertions(+), 53 deletions(-) diff --git a/node/core/pvf/src/host.rs b/node/core/pvf/src/host.rs index 464f8d322648..6670ea48d4ec 100644 --- a/node/core/pvf/src/host.rs +++ b/node/core/pvf/src/host.rs @@ -38,6 +38,16 @@ use std::{ time::{Duration, SystemTime}, }; +/// The time period after which the precheck preparation worker is considered unresponsive and will +/// be killed. +// NOTE: If you change this make sure to fix the buckets of `pvf_preparation_time` metric. +pub const PRECHECK_COMPILATION_TIMEOUT: Duration = Duration::from_secs(60); + +/// The time period after which the execute preparation worker is considered unresponsive and will +/// be killed. +// NOTE: If you change this make sure to fix the buckets of `pvf_preparation_time` metric. +pub const EXECUTE_COMPILATION_TIMEOUT: Duration = Duration::from_secs(180); + /// An alias to not spell the type for the oneshot sender for the PVF execution result. pub(crate) type ResultSender = oneshot::Sender>; @@ -51,10 +61,11 @@ pub struct ValidationHost { } impl ValidationHost { - /// Precheck PVF with the given code, i.e. verify that it compiles within a reasonable time limit. - /// The result of execution will be sent to the provided result sender. + /// Precheck PVF with the given code, i.e. verify that it compiles within a reasonable time + /// limit. This will prepare the PVF. The result of preparation will be sent to the provided + /// result sender. /// - /// This is async to accommodate the fact a possibility of back-pressure. In the vast majority of + /// This is async to accommodate the possibility of back-pressure. In the vast majority of /// situations this function should return immediately. /// /// Returns an error if the request cannot be sent to the validation host, i.e. if it shut down. @@ -72,7 +83,7 @@ impl ValidationHost { /// Execute PVF with the given code, execution timeout, parameters and priority. /// The result of execution will be sent to the provided result sender. /// - /// This is async to accommodate the fact a possibility of back-pressure. In the vast majority of + /// This is async to accommodate the possibility of back-pressure. In the vast majority of /// situations this function should return immediately. /// /// Returns an error if the request cannot be sent to the validation host, i.e. if it shut down. @@ -92,7 +103,7 @@ impl ValidationHost { /// Sends a signal to the validation host requesting to prepare a list of the given PVFs. /// - /// This is async to accommodate the fact a possibility of back-pressure. In the vast majority of + /// This is async to accommodate the possibility of back-pressure. In the vast majority of /// situations this function should return immediately. /// /// Returns an error if the request cannot be sent to the validation host, i.e. if it shut down. @@ -418,6 +429,9 @@ async fn handle_to_host( Ok(()) } +/// Handles PVF prechecking. +/// +/// This tries to prepare the PVF by compiling the WASM blob within a given timeout ([`PRECHECK_COMPILATION_TIMEOUT`]). async fn handle_precheck_pvf( artifacts: &mut Artifacts, prepare_queue: &mut mpsc::Sender, @@ -440,12 +454,24 @@ async fn handle_precheck_pvf( } } else { artifacts.insert_preparing(artifact_id, vec![result_sender]); - send_prepare(prepare_queue, prepare::ToQueue::Enqueue { priority: Priority::Normal, pvf }) - .await?; + send_prepare( + prepare_queue, + prepare::ToQueue::Enqueue { + priority: Priority::Normal, + pvf, + compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + }, + ) + .await?; } Ok(()) } +/// Handles PVF execution. +/// +/// This will first try to prepare the PVF, if a prepared artifact does not already exist. If there is already a +/// preparation job, we coalesce the two preparation jobs. When preparing for execution, we use a more lenient timeout +/// ([`EXECUTE_COMPILATION_TIMEOUT`]) than when prechecking. async fn handle_execute_pvf( cache_path: &Path, artifacts: &mut Artifacts, @@ -462,7 +488,7 @@ async fn handle_execute_pvf( if let Some(state) = artifacts.artifact_state_mut(&artifact_id) { match state { - ArtifactState::Prepared { ref mut last_time_needed } => { + ArtifactState::Prepared { last_time_needed } => { *last_time_needed = SystemTime::now(); send_execute( @@ -485,9 +511,17 @@ async fn handle_execute_pvf( } } else { // Artifact is unknown: register it and enqueue a job with the corresponding priority and - // + // PVF. artifacts.insert_preparing(artifact_id.clone(), Vec::new()); - send_prepare(prepare_queue, prepare::ToQueue::Enqueue { priority, pvf }).await?; + send_prepare( + prepare_queue, + prepare::ToQueue::Enqueue { + priority, + pvf, + compilation_timeout: EXECUTE_COMPILATION_TIMEOUT, + }, + ) + .await?; awaiting_prepare.add(artifact_id, execution_timeout, params, result_tx); } @@ -520,7 +554,11 @@ async fn handle_heads_up( send_prepare( prepare_queue, - prepare::ToQueue::Enqueue { priority: Priority::Normal, pvf: active_pvf }, + prepare::ToQueue::Enqueue { + priority: Priority::Normal, + pvf: active_pvf, + compilation_timeout: EXECUTE_COMPILATION_TIMEOUT, + }, ) .await?; } diff --git a/node/core/pvf/src/metrics.rs b/node/core/pvf/src/metrics.rs index df0c619989f2..547ee65f3e9d 100644 --- a/node/core/pvf/src/metrics.rs +++ b/node/core/pvf/src/metrics.rs @@ -155,7 +155,8 @@ impl metrics::Metrics for Metrics { "Time spent in preparing PVF artifacts in seconds", ) .buckets(vec![ - // This is synchronized with COMPILATION_TIMEOUT=60s constant found in + // This is synchronized with the PRECHECK_COMPILATION_TIMEOUT=60s + // and EXECUTE_COMPILATION_TIMEOUT=180s constants found in // src/prepare/worker.rs 0.1, 0.5, @@ -166,6 +167,7 @@ impl metrics::Metrics for Metrics { 20.0, 30.0, 60.0, + 180.0, ]), )?, registry, diff --git a/node/core/pvf/src/prepare/pool.rs b/node/core/pvf/src/prepare/pool.rs index 4902c4c7e3b3..fad6ed167614 100644 --- a/node/core/pvf/src/prepare/pool.rs +++ b/node/core/pvf/src/prepare/pool.rs @@ -61,7 +61,12 @@ pub enum ToPool { /// /// In either case, the worker is considered busy and no further `StartWork` messages should be /// sent until either `Concluded` or `Rip` message is received. - StartWork { worker: Worker, code: Arc>, artifact_path: PathBuf }, + StartWork { + worker: Worker, + code: Arc>, + artifact_path: PathBuf, + compilation_timeout: Duration, + }, } /// A message sent from pool to its client. @@ -205,7 +210,7 @@ fn handle_to_pool( metrics.prepare_worker().on_begin_spawn(); mux.push(spawn_worker_task(program_path.to_owned(), spawn_timeout).boxed()); }, - ToPool::StartWork { worker, code, artifact_path } => { + ToPool::StartWork { worker, code, artifact_path, compilation_timeout } => { if let Some(data) = spawned.get_mut(worker) { if let Some(idle) = data.idle.take() { let preparation_timer = metrics.time_preparation(); @@ -216,6 +221,7 @@ fn handle_to_pool( code, cache_path.to_owned(), artifact_path, + compilation_timeout, preparation_timer, ) .boxed(), @@ -263,9 +269,11 @@ async fn start_work_task( code: Arc>, cache_path: PathBuf, artifact_path: PathBuf, + compilation_timeout: Duration, _preparation_timer: Option, ) -> PoolEvent { - let outcome = worker::start_work(idle, code, &cache_path, artifact_path).await; + let outcome = + worker::start_work(idle, code, &cache_path, artifact_path, compilation_timeout).await; PoolEvent::StartWork(worker, outcome) } diff --git a/node/core/pvf/src/prepare/queue.rs b/node/core/pvf/src/prepare/queue.rs index 5aa1402916d6..a77b88e00345 100644 --- a/node/core/pvf/src/prepare/queue.rs +++ b/node/core/pvf/src/prepare/queue.rs @@ -21,7 +21,10 @@ use crate::{artifacts::ArtifactId, metrics::Metrics, PrepareResult, Priority, Pv use always_assert::{always, never}; use async_std::path::PathBuf; use futures::{channel::mpsc, stream::StreamExt as _, Future, SinkExt}; -use std::collections::{HashMap, VecDeque}; +use std::{ + collections::{HashMap, VecDeque}, + time::Duration, +}; /// A request to pool. #[derive(Debug)] @@ -30,7 +33,7 @@ pub enum ToQueue { /// /// Note that it is incorrect to enqueue the same PVF again without first receiving the /// [`FromQueue`] response. - Enqueue { priority: Priority, pvf: Pvf }, + Enqueue { priority: Priority, pvf: Pvf, compilation_timeout: Duration }, } /// A response from queue. @@ -76,6 +79,8 @@ struct JobData { /// The priority of this job. Can be bumped. priority: Priority, pvf: Pvf, + /// The timeout for the preparation job. + compilation_timeout: Duration, worker: Option, } @@ -91,7 +96,7 @@ impl WorkerData { } /// A queue structured like this is prone to starving, however, we don't care that much since we expect -/// there is going to be a limited number of critical jobs and we don't really care if background starve. +/// there is going to be a limited number of critical jobs and we don't really care if background starve. #[derive(Default)] struct Unscheduled { normal: VecDeque, @@ -203,18 +208,24 @@ impl Queue { async fn handle_to_queue(queue: &mut Queue, to_queue: ToQueue) -> Result<(), Fatal> { match to_queue { - ToQueue::Enqueue { priority, pvf } => { - handle_enqueue(queue, priority, pvf).await?; + ToQueue::Enqueue { priority, pvf, compilation_timeout } => { + handle_enqueue(queue, priority, pvf, compilation_timeout).await?; }, } Ok(()) } -async fn handle_enqueue(queue: &mut Queue, priority: Priority, pvf: Pvf) -> Result<(), Fatal> { +async fn handle_enqueue( + queue: &mut Queue, + priority: Priority, + pvf: Pvf, + compilation_timeout: Duration, +) -> Result<(), Fatal> { gum::debug!( target: LOG_TARGET, validation_code_hash = ?pvf.code_hash, ?priority, + ?compilation_timeout, "PVF is enqueued for preparation.", ); queue.metrics.prepare_enqueued(); @@ -225,7 +236,7 @@ async fn handle_enqueue(queue: &mut Queue, priority: Priority, pvf: Pvf) -> Resu "second Enqueue sent for a known artifact" ) { // This function is called in response to a `Enqueue` message; - // Precondtion for `Enqueue` is that it is sent only once for a PVF; + // Precondition for `Enqueue` is that it is sent only once for a PVF; // Thus this should always be `false`; // qed. gum::warn!( @@ -236,7 +247,7 @@ async fn handle_enqueue(queue: &mut Queue, priority: Priority, pvf: Pvf) -> Resu return Ok(()) } - let job = queue.jobs.insert(JobData { priority, pvf, worker: None }); + let job = queue.jobs.insert(JobData { priority, pvf, compilation_timeout, worker: None }); queue.artifact_id_to_job.insert(artifact_id, job); if let Some(available) = find_idle_worker(queue) { @@ -424,7 +435,12 @@ async fn assign(queue: &mut Queue, worker: Worker, job: Job) -> Result<(), Fatal send_pool( &mut queue.to_pool_tx, - pool::ToPool::StartWork { worker, code: job_data.pvf.code.clone(), artifact_path }, + pool::ToPool::StartWork { + worker, + code: job_data.pvf.code.clone(), + artifact_path, + compilation_timeout: job_data.compilation_timeout, + }, ) .await?; @@ -478,7 +494,7 @@ pub fn start( #[cfg(test)] mod tests { use super::*; - use crate::error::PrepareError; + use crate::{error::PrepareError, host::PRECHECK_COMPILATION_TIMEOUT}; use assert_matches::assert_matches; use futures::{future::BoxFuture, FutureExt}; use slotmap::SlotMap; @@ -571,7 +587,6 @@ mod tests { async fn poll_ensure_to_pool_is_empty(&mut self) { use futures_timer::Delay; - use std::time::Duration; let to_pool_rx = &mut self.to_pool_rx; run_until( @@ -594,7 +609,11 @@ mod tests { async fn properly_concludes() { let mut test = Test::new(2, 2); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1) }); + test.send_queue(ToQueue::Enqueue { + priority: Priority::Normal, + pvf: pvf(1), + compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); let w = test.workers.insert(()); @@ -607,10 +626,12 @@ mod tests { #[async_std::test] async fn dont_spawn_over_soft_limit_unless_critical() { let mut test = Test::new(2, 3); + let compilation_timeout = PRECHECK_COMPILATION_TIMEOUT; - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1) }); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(2) }); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(3) }); + let priority = Priority::Normal; + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(1), compilation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(2), compilation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(3), compilation_timeout }); // Receive only two spawns. assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -631,7 +652,11 @@ mod tests { assert_matches!(test.poll_and_recv_to_pool().await, pool::ToPool::StartWork { .. }); // Enqueue a critical job. - test.send_queue(ToQueue::Enqueue { priority: Priority::Critical, pvf: pvf(4) }); + test.send_queue(ToQueue::Enqueue { + priority: Priority::Critical, + pvf: pvf(4), + compilation_timeout, + }); // 2 out of 2 are working, but there is a critical job incoming. That means that spawning // another worker is warranted. @@ -641,15 +666,24 @@ mod tests { #[async_std::test] async fn cull_unwanted() { let mut test = Test::new(1, 2); + let compilation_timeout = PRECHECK_COMPILATION_TIMEOUT; - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1) }); + test.send_queue(ToQueue::Enqueue { + priority: Priority::Normal, + pvf: pvf(1), + compilation_timeout, + }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); let w1 = test.workers.insert(()); test.send_from_pool(pool::FromPool::Spawned(w1)); assert_matches!(test.poll_and_recv_to_pool().await, pool::ToPool::StartWork { .. }); // Enqueue a critical job, which warrants spawning over the soft limit. - test.send_queue(ToQueue::Enqueue { priority: Priority::Critical, pvf: pvf(2) }); + test.send_queue(ToQueue::Enqueue { + priority: Priority::Critical, + pvf: pvf(2), + compilation_timeout, + }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); // However, before the new worker had a chance to spawn, the first worker finishes with its @@ -667,9 +701,10 @@ mod tests { async fn worker_mass_die_out_doesnt_stall_queue() { let mut test = Test::new(2, 2); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1) }); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(2) }); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(3) }); + let (priority, compilation_timeout) = (Priority::Normal, PRECHECK_COMPILATION_TIMEOUT); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(1), compilation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(2), compilation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(3), compilation_timeout }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -696,7 +731,11 @@ mod tests { async fn doesnt_resurrect_ripped_worker_if_no_work() { let mut test = Test::new(2, 2); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1) }); + test.send_queue(ToQueue::Enqueue { + priority: Priority::Normal, + pvf: pvf(1), + compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -717,7 +756,11 @@ mod tests { async fn rip_for_start_work() { let mut test = Test::new(2, 2); - test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1) }); + test.send_queue(ToQueue::Enqueue { + priority: Priority::Normal, + pvf: pvf(1), + compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); diff --git a/node/core/pvf/src/prepare/worker.rs b/node/core/pvf/src/prepare/worker.rs index a9124b3926c5..77570b47360b 100644 --- a/node/core/pvf/src/prepare/worker.rs +++ b/node/core/pvf/src/prepare/worker.rs @@ -32,10 +32,6 @@ use parity_scale_codec::{Decode, Encode}; use sp_core::hexdisplay::HexDisplay; use std::{panic, sync::Arc, time::Duration}; -/// The time period after which the preparation worker is considered unresponsive and will be killed. -// NOTE: If you change this make sure to fix the buckets of `pvf_preparation_time` metric. -const COMPILATION_TIMEOUT: Duration = Duration::from_secs(60); - /// Spawns a new worker with the given program path that acts as the worker and the spawn timeout. /// /// The program should be able to handle ` prepare-worker ` invocation. @@ -69,6 +65,7 @@ pub async fn start_work( code: Arc>, cache_path: &Path, artifact_path: PathBuf, + compilation_timeout: Duration, ) -> Outcome { let IdleWorker { mut stream, pid } = worker; @@ -103,7 +100,7 @@ pub async fn start_work( } let selected = - match async_std::future::timeout(COMPILATION_TIMEOUT, framed_recv(&mut stream)).await { + match async_std::future::timeout(compilation_timeout, framed_recv(&mut stream)).await { Ok(Ok(response_bytes)) => { // Received bytes from worker within the time limit. // By convention we expect encoded `PrepareResult`. diff --git a/roadmap/implementers-guide/src/pvf-prechecking.md b/roadmap/implementers-guide/src/pvf-prechecking.md index 0daeaf0593c7..1dc7611c0cef 100644 --- a/roadmap/implementers-guide/src/pvf-prechecking.md +++ b/roadmap/implementers-guide/src/pvf-prechecking.md @@ -1,12 +1,34 @@ # PVF Pre-checking Overview -> ⚠️ This discusses a mechanism that is currently not under-development. Follow the progress under [#3211]. +> ⚠️ This discusses a mechanism that is currently under-development. Follow the progress under [#3211]. + +## Terms + +This functionality involves several processes which may be potentially +confusing: + +- **Prechecking:** This is the process of initially checking the PVF when it is + first added. We attempt *preparation* of the PVF and make sure it succeeds + within a given timeout. +- **Execution:** This actually executes the PVF. The node may not have the + artifact from prechecking, in which case this process also includes a + *preparation* job. The timeout for preparation here is more lenient than when + prechecking. +- **Preparation:** This is the process of preparing the WASM blob and includes + both *prevalidation* and *compilation*. As prevalidation is pretty minimal + right now, preparation mostly consists of compilation. Note that *prechecking* + just consists of preparation, whereas *execution* will also prepare the PVF if + the artifact is not already found. +- **Prevalidation:** Right now this just tries to deserialize the binary with + parity-wasm. It is a part of *preparation*. +- **Compilation:** This is the process of compiling a PVF from wasm code to + machine code. It is a part of *preparation*. ## Motivation Parachains' and parathreads' validation function is described by a wasm module that we refer to as a PVF. Since it's a wasm module the typical way of executing it is to compile it to machine code. Typically an optimizing compiler consists of algorithms that are able to optimize the resulting machine code heavily. However, while those algorithms perform quite well for a typical wasm code produced by standard toolchains (e.g. rustc/LLVM), those algorithms can be abused to consume a lot of resources. Moreover, since those algorithms are rather complex there is a lot of room for a bug that can crash the compiler. -If compilation of a Parachain Validation Function (PVF) takes too long or uses too much memory, this can leave a node in limbo as to whether a candidate of that parachain is valid or not. +If compilation of a Parachain Validation Function (PVF) takes too long or uses too much memory, this can leave a node in limbo as to whether a candidate of that parachain is valid or not. The amount of time that a PVF takes to compile is a subjective resource limit and as such PVFs may be maliciously crafted so that there is e.g. a 50/50 split of validators which can and cannot compile and execute the PVF. diff --git a/scripts/ci/gitlab/lingua.dic b/scripts/ci/gitlab/lingua.dic index 3add6a276cf0..3a19233a8fb9 100644 --- a/scripts/ci/gitlab/lingua.dic +++ b/scripts/ci/gitlab/lingua.dic @@ -204,6 +204,7 @@ PoV/MS PoW/MS PR precheck +prechecking preconfigured preimage/MS preopen diff --git a/zombienet_tests/functional/0001-parachains-pvf.zndsl b/zombienet_tests/functional/0001-parachains-pvf.zndsl index 07bc356464fe..1f187498d78f 100644 --- a/zombienet_tests/functional/0001-parachains-pvf.zndsl +++ b/zombienet_tests/functional/0001-parachains-pvf.zndsl @@ -64,14 +64,14 @@ one: reports histogram polkadot_pvf_preparation_time has at least 1 samples in b two: reports histogram polkadot_pvf_preparation_time has at least 1 samples in buckets ["0.1", "0.5", "1", "2", "3", "10"] within 10 seconds # Check all buckets >= 20. -alice: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds -bob: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds -charlie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds -dave: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds -ferdie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds -eve: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds -one: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds -two: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "+Inf"] within 10 seconds +alice: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds +bob: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds +charlie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds +dave: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds +ferdie: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds +eve: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds +one: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds +two: reports histogram polkadot_pvf_preparation_time has 0 samples in buckets ["20", "30", "60", "180", "+Inf"] within 10 seconds # Check execution time. # There are two different timeout conditions: BACKING_EXECUTION_TIMEOUT(2s) and From ae4fe2246eb4534859f6e1c502d642054bf687e6 Mon Sep 17 00:00:00 2001 From: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Date: Thu, 13 Oct 2022 13:04:00 +0200 Subject: [PATCH 056/211] pallet-mmr: RPC and Runtime APIs work with block numbers (#6072) * pallet-mmr: RPC API works with block numbers * small fix * update * change types * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 418 ++++++++++++++++++-------------- node/client/src/lib.rs | 4 +- rpc/src/lib.rs | 6 +- runtime/kusama/src/lib.rs | 10 +- runtime/polkadot/src/lib.rs | 10 +- runtime/rococo/src/lib.rs | 16 +- runtime/test-runtime/src/lib.rs | 10 +- runtime/westend/src/lib.rs | 10 +- 8 files changed, 274 insertions(+), 210 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad6176d1accb..8b2d124692dc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -1533,6 +1533,12 @@ version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" +[[package]] +name = "downcast" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" + [[package]] name = "downcast-rs" version = "1.2.0" @@ -1977,6 +1983,15 @@ dependencies = [ "miniz_oxide", ] +[[package]] +name = "float-cmp" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" +dependencies = [ + "num-traits", +] + [[package]] name = "fnv" version = "1.0.7" @@ -2001,7 +2016,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", ] @@ -2016,10 +2031,16 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "fragile" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" + [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -2042,7 +2063,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "Inflector", "array-bytes", @@ -2093,7 +2114,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2104,7 +2125,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2120,7 +2141,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -2149,7 +2170,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "bitflags", "frame-metadata", @@ -2181,7 +2202,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "Inflector", "cfg-expr", @@ -2195,7 +2216,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2207,7 +2228,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro2", "quote", @@ -2217,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2240,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -2251,7 +2272,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "log", @@ -2269,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -2284,7 +2305,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-api", @@ -2293,7 +2314,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "parity-scale-codec", @@ -2464,7 +2485,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "chrono", "frame-election-provider-support", @@ -4295,6 +4316,33 @@ dependencies = [ "winapi", ] +[[package]] +name = "mockall" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e2be9a9090bc1cac2930688fa9478092a64c6a92ddc6ae0692d46b37d9cab709" +dependencies = [ + "cfg-if 1.0.0", + "downcast", + "fragile", + "lazy_static", + "mockall_derive", + "predicates", + "predicates-tree", +] + +[[package]] +name = "mockall_derive" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86d702a0530a0141cf4ed147cf5ec7be6f2c187d4e37fcbefc39cf34116bfe8f" +dependencies = [ + "cfg-if 1.0.0", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "multiaddr" version = "0.14.0" @@ -4563,6 +4611,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "normalize-line-endings" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" + [[package]] name = "ntapi" version = "0.3.6" @@ -4813,7 +4867,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -4843,7 +4897,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -4858,7 +4912,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4882,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4902,7 +4956,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4921,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4936,7 +4990,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "beefy-primitives", "frame-support", @@ -4952,7 +5006,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4975,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -4993,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +5066,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5046,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5064,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5088,7 +5142,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5101,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5119,7 +5173,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5140,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5155,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5232,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5194,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5231,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5302,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5266,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5281,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5297,7 +5351,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5368,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5334,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-api", @@ -5344,7 +5398,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5361,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5384,7 +5438,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5401,7 +5455,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5416,7 +5470,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5434,7 +5488,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5449,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5467,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5483,7 +5537,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5504,7 +5558,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5574,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5534,7 +5588,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5557,7 +5611,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5568,7 +5622,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "sp-arithmetic", @@ -5577,7 +5631,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5591,7 +5645,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5609,7 +5663,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5628,7 +5682,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-support", "frame-system", @@ -5644,7 +5698,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5659,7 +5713,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5670,7 +5724,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5687,7 +5741,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5703,7 +5757,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -5718,7 +5772,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-benchmarking", "frame-support", @@ -7677,8 +7731,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95e5a7689e456ab905c22c2b48225bb921aba7c8dfa58440d68ba13f6222a715" dependencies = [ "difflib", + "float-cmp", "itertools", + "normalize-line-endings", "predicates-core", + "regex", ] [[package]] @@ -8253,7 +8310,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8601,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "sp-core", @@ -8612,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -8639,7 +8696,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "futures-timer", @@ -8662,7 +8719,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8678,7 +8735,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8695,7 +8752,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8706,7 +8763,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "chrono", @@ -8746,7 +8803,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "fnv", "futures", @@ -8774,7 +8831,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "hash-db", "kvdb", @@ -8799,7 +8856,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -8823,7 +8880,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "fork-tree", @@ -8865,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "jsonrpsee", @@ -8887,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8900,7 +8957,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -8924,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8951,7 +9008,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "environmental", "parity-scale-codec", @@ -8967,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -8982,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9002,7 +9059,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ahash", "array-bytes", @@ -9043,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "finality-grandpa", "futures", @@ -9064,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ansi_term", "futures", @@ -9081,7 +9138,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -9096,7 +9153,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -9143,7 +9200,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "cid", "futures", @@ -9163,7 +9220,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "bitflags", @@ -9189,7 +9246,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ahash", "futures", @@ -9207,7 +9264,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "futures", @@ -9228,7 +9285,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "fork-tree", @@ -9236,6 +9293,7 @@ dependencies = [ "libp2p", "log", "lru 0.7.8", + "mockall", "parity-scale-codec", "prost 0.11.0", "prost-build 0.11.1", @@ -9256,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "futures", @@ -9275,7 +9333,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "bytes", @@ -9305,7 +9363,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "libp2p", @@ -9318,7 +9376,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9327,7 +9385,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "hash-db", @@ -9357,7 +9415,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "jsonrpsee", @@ -9380,7 +9438,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "jsonrpsee", @@ -9393,7 +9451,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "hex", @@ -9412,7 +9470,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "directories", @@ -9483,7 +9541,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -9497,7 +9555,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9516,7 +9574,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "libc", @@ -9535,7 +9593,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "chrono", "futures", @@ -9553,7 +9611,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ansi_term", "atty", @@ -9584,7 +9642,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9595,8 +9653,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ + "async-trait", "futures", "futures-timer", "linked-hash-map", @@ -9621,8 +9680,9 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ + "async-trait", "futures", "log", "serde", @@ -9634,7 +9694,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "futures-timer", @@ -10120,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "hash-db", "log", @@ -10138,7 +10198,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "blake2", "proc-macro-crate", @@ -10150,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10163,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "integer-sqrt", "num-traits", @@ -10178,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10191,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "parity-scale-codec", @@ -10203,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-api", @@ -10215,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "log", @@ -10233,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -10252,7 +10312,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "merlin", @@ -10275,7 +10335,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10289,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10302,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "base58", @@ -10348,7 +10408,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "blake2", "byteorder", @@ -10362,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro2", "quote", @@ -10373,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10382,7 +10442,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro2", "quote", @@ -10392,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "environmental", "parity-scale-codec", @@ -10403,7 +10463,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "finality-grandpa", "log", @@ -10421,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10435,7 +10495,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "bytes", "futures", @@ -10461,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "lazy_static", "sp-core", @@ -10472,7 +10532,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures", @@ -10489,7 +10549,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "thiserror", "zstd", @@ -10498,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -10514,7 +10574,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10528,7 +10588,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "sp-api", "sp-core", @@ -10538,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "backtrace", "lazy_static", @@ -10548,7 +10608,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "rustc-hash", "serde", @@ -10558,7 +10618,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "either", "hash256-std-hasher", @@ -10581,7 +10641,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10599,7 +10659,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "Inflector", "proc-macro-crate", @@ -10611,7 +10671,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "parity-scale-codec", @@ -10625,7 +10685,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10639,7 +10699,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "scale-info", @@ -10650,7 +10710,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "hash-db", "log", @@ -10672,12 +10732,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10690,7 +10750,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "log", "sp-core", @@ -10703,7 +10763,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "futures-timer", @@ -10719,7 +10779,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "sp-std", @@ -10731,7 +10791,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "sp-api", "sp-runtime", @@ -10740,7 +10800,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "async-trait", "log", @@ -10756,7 +10816,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ahash", "hash-db", @@ -10779,7 +10839,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10796,7 +10856,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10807,7 +10867,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-trait-for-tuples", "log", @@ -10820,7 +10880,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11035,7 +11095,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "platforms", ] @@ -11043,7 +11103,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11064,7 +11124,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures-util", "hyper", @@ -11077,7 +11137,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "jsonrpsee", "log", @@ -11098,7 +11158,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "array-bytes", "async-trait", @@ -11124,7 +11184,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11134,7 +11194,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11145,7 +11205,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "ansi_term", "build-helper", @@ -11858,7 +11918,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#488fc24d98cfe643402b86990ae0aff27ba927b3" +source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index 41b0048f0e46..5364cf2c5a09 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -128,7 +128,7 @@ pub trait RuntimeApiCollection: + ParachainHost + sp_block_builder::BlockBuilder + frame_system_rpc_runtime_api::AccountNonceApi - + sp_mmr_primitives::MmrApi::Hash> + + sp_mmr_primitives::MmrApi::Hash, BlockNumber> + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi @@ -149,7 +149,7 @@ where + ParachainHost + sp_block_builder::BlockBuilder + frame_system_rpc_runtime_api::AccountNonceApi - + sp_mmr_primitives::MmrApi::Hash> + + sp_mmr_primitives::MmrApi::Hash, BlockNumber> + pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi + sp_api::Metadata + sp_offchain::OffchainWorkerApi diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index fa2c61f17c25..2b3497832caa 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -108,7 +108,11 @@ where + Sync + 'static, C::Api: frame_rpc_system::AccountNonceApi, - C::Api: pallet_mmr_rpc::MmrRuntimeApi::Hash>, + C::Api: pallet_mmr_rpc::MmrRuntimeApi< + Block, + ::Hash, + BlockNumber, + >, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BabeApi, C::Api: BlockBuilder, diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 58a824ae1cc2..777d47df6af7 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1714,8 +1714,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) @@ -1739,15 +1739,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 8f6f2e4db47d..47d6325a49b2 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1807,8 +1807,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) @@ -1832,15 +1832,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index ac247248b9ea..1763613ec6c2 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1690,11 +1690,11 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { - Mmr::generate_batch_proof(vec![leaf_index]) + Mmr::generate_batch_proof(vec![block_number]) .and_then(|(leaves, proof)| Ok(( mmr::EncodableOpaqueLeaf::from_leaf(&leaves[0]), mmr::BatchProof::into_single_leaf_proof(proof)? @@ -1725,18 +1725,18 @@ sp_api::impl_runtime_apis! { Ok(Mmr::mmr_root()) } - fn generate_batch_proof(leaf_indices: Vec) + fn generate_batch_proof(block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { - Mmr::generate_batch_proof(leaf_indices) + Mmr::generate_batch_proof(block_numbers) .map(|(leaves, proof)| (leaves.into_iter().map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf)).collect(), proof)) } fn generate_historical_batch_proof( - leaf_indices: Vec, - leaves_count: mmr::LeafIndex, + block_numbers: Vec, + best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { - Mmr::generate_historical_batch_proof(leaf_indices, leaves_count).map( + Mmr::generate_historical_batch_proof(block_numbers, best_known_block_number).map( |(leaves, proof)| { ( leaves diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index a43e13eb015e..8a9e128befa8 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -919,8 +919,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) @@ -944,15 +944,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 454e367e2c15..495f67d008a2 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1448,8 +1448,8 @@ sp_api::impl_runtime_apis! { } } - impl mmr::MmrApi for Runtime { - fn generate_proof(_leaf_index: u64) + impl mmr::MmrApi for Runtime { + fn generate_proof(_block_number: BlockNumber) -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> { @@ -1477,15 +1477,15 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_leaf_indices: Vec) + fn generate_batch_proof(_block_numbers: Vec) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } fn generate_historical_batch_proof( - _leaf_indices: Vec, - _leaves_count: u64, + _block_numbers: Vec, + _best_known_block_number: BlockNumber, ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } From 8c2893048602bd39678b222071261bc66401c102 Mon Sep 17 00:00:00 2001 From: Andronik Date: Thu, 13 Oct 2022 14:31:32 +0200 Subject: [PATCH 057/211] lingua.dic is not managed by CI team (#6148) --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 37839791456b..a92dc0bb006c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,3 +2,5 @@ /.github/ @paritytech/ci @chevdor /scripts/ci/ @paritytech/ci @chevdor /.gitlab-ci.yml @paritytech/ci +# lingua.dic is not managed by CI team +/scripts/ci/gitlab/lingua.dic From 4ac7d94069a6faeb3c4145732b6d7a4b74aa798a Mon Sep 17 00:00:00 2001 From: Javier Viola Date: Thu, 13 Oct 2022 12:17:50 -0300 Subject: [PATCH 058/211] bump zombienet version (#6142) * bump version * make test required * change zombienet version * change zombienet version * bump version and typo * typo and add within --- .gitlab-ci.yml | 2 +- node/malus/integrationtests/0001-dispute-valid-block.zndsl | 2 +- scripts/ci/gitlab/pipeline/zombienet.yml | 2 +- zombienet_tests/misc/0001-paritydb.zndsl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce9be9af767a..0dd640186bb8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,7 +35,7 @@ variables: CI_IMAGE: "paritytech/ci-linux:production" DOCKER_OS: "debian:stretch" ARCH: "x86_64" - ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.67" + ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.78" PIPELINE_SCRIPTS_TAG: "v0.4" default: diff --git a/node/malus/integrationtests/0001-dispute-valid-block.zndsl b/node/malus/integrationtests/0001-dispute-valid-block.zndsl index fe0c14c791e4..f778b0231ba9 100644 --- a/node/malus/integrationtests/0001-dispute-valid-block.zndsl +++ b/node/malus/integrationtests/0001-dispute-valid-block.zndsl @@ -6,7 +6,7 @@ Creds: config alice: is up bob: is up charlie: is up -david is up +dave: is up alice: reports node_roles is 4 bob: reports node_roles is 4 alice: reports sub_libp2p_is_major_syncing is 0 diff --git a/scripts/ci/gitlab/pipeline/zombienet.yml b/scripts/ci/gitlab/pipeline/zombienet.yml index 8b8bc3abe0ae..5c6215aad2c4 100644 --- a/scripts/ci/gitlab/pipeline/zombienet.yml +++ b/scripts/ci/gitlab/pipeline/zombienet.yml @@ -88,7 +88,7 @@ zombienet-tests-parachains-disputes: - /home/nonroot/zombie-net/scripts/ci/run-test-env-manager.sh --github-remote-dir="${GH_DIR}" --test="0002-parachains-disputes.zndsl" - allow_failure: true + allow_failure: false retry: 2 tags: - zombienet-polkadot-integration-test diff --git a/zombienet_tests/misc/0001-paritydb.zndsl b/zombienet_tests/misc/0001-paritydb.zndsl index 2ed448321f78..7340fffb477e 100644 --- a/zombienet_tests/misc/0001-paritydb.zndsl +++ b/zombienet_tests/misc/0001-paritydb.zndsl @@ -30,7 +30,7 @@ validator-8: reports node_roles is 4 validator-9: reports node_roles is 4 # Ensure parachains are registered. -validator-0: parachain 2000 is registered +validator-0: parachain 2000 is registered within 20 seconds validator-0: parachain 2001 is registered validator-0: parachain 2002 is registered validator-0: parachain 2003 is registered From e307a26c8eb8d968bdd379298f142a7c555c5568 Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Thu, 13 Oct 2022 08:43:50 -0700 Subject: [PATCH 059/211] First round of implementers guide fixes (#6146) --- roadmap/implementers-guide/src/disputes-flow.md | 2 +- .../implementers-guide/src/protocol-chain-selection.md | 2 +- roadmap/implementers-guide/src/runtime/configuration.md | 2 +- roadmap/implementers-guide/src/runtime/paras.md | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/roadmap/implementers-guide/src/disputes-flow.md b/roadmap/implementers-guide/src/disputes-flow.md index 322af8e9256e..053bcfd3f2a4 100644 --- a/roadmap/implementers-guide/src/disputes-flow.md +++ b/roadmap/implementers-guide/src/disputes-flow.md @@ -96,7 +96,7 @@ Votes must be queryable by a particular validator, identified by its signing key Votes must be queryable by a particular validator, identified by a session index and the validator index valid in that session. -If there exists a negative and a positive fork for a particular block, a dispute is detected. +If there exists a negative and a positive vote for a particular block, a dispute is detected. If a dispute is detected, all currently available votes for that block must be gossiped. diff --git a/roadmap/implementers-guide/src/protocol-chain-selection.md b/roadmap/implementers-guide/src/protocol-chain-selection.md index 4f90a26949d8..dd066df43cdd 100644 --- a/roadmap/implementers-guide/src/protocol-chain-selection.md +++ b/roadmap/implementers-guide/src/protocol-chain-selection.md @@ -43,6 +43,6 @@ The leaf-selection rule based on our definitions above is simple: we take the ma Finality gadgets, as mentioned above, will often impose an additional requirement to vote on a chain containing a specific block, known as the **required** block. Although this is typically the most recently finalized block, it is possible that it may be a block that is unfinalized. When receiving such a request: 1. If the required block is the best finalized block, then select the best viable leaf. 2. If the required block is unfinalized and non-viable, then select the required block and go no further. This is likely an indication that something bad will be finalized in the network, which will never happen when approvals & disputes are functioning correctly. Nevertheless we account for the case here. -3. If the required block is unfinalized and non-viable, then iterate over the viable leaves in descending order by score and select the first one which contains the required block in its chain. Backwards iteration is a simple way to check this, but if unfinalized chains grow long then Merkle Mountain-Ranges will most likely be more efficient. +3. If the required block is unfinalized and viable, then iterate over the viable leaves in descending order by score and select the first one which contains the required block in its chain. Backwards iteration is a simple way to check this, but if unfinalized chains grow long then Merkle Mountain-Ranges will most likely be more efficient. Once selecting a leaf, the chain should be constrained to the maximum of the required block or the highest **finalizable** ancestor. diff --git a/roadmap/implementers-guide/src/runtime/configuration.md b/roadmap/implementers-guide/src/runtime/configuration.md index 739352b202b3..96d63faccedd 100644 --- a/roadmap/implementers-guide/src/runtime/configuration.md +++ b/roadmap/implementers-guide/src/runtime/configuration.md @@ -28,7 +28,7 @@ The session change routine works as follows: ## Routines ```rust -enum InconsistentErrror { +enum InconsistentError { // ... } diff --git a/roadmap/implementers-guide/src/runtime/paras.md b/roadmap/implementers-guide/src/runtime/paras.md index af2e7add54e5..a9e99c8993bf 100644 --- a/roadmap/implementers-guide/src/runtime/paras.md +++ b/roadmap/implementers-guide/src/runtime/paras.md @@ -172,7 +172,7 @@ PastCodePruning: Vec<(ParaId, BlockNumber)>; /// The change will be applied after the first parablock for this ID included which executes /// in the context of a relay chain block with a number >= `expected_at`. FutureCodeUpgrades: map ParaId => Option; -/// The actual future code of a para. +/// Hash of the actual future code of a para. FutureCodeHash: map ParaId => Option; /// This is used by the relay-chain to communicate to a parachain a go-ahead with in the upgrade procedure. /// @@ -246,8 +246,8 @@ CodeByHash: map ValidationCodeHash => Option 1. Do pruning based on all entries in `PastCodePruning` with `BlockNumber <= now`. Update the corresponding `PastCodeMeta` and `PastCode` accordingly. 1. Toggle the upgrade related signals - 1. Collect all `(para_id, expected_at)` from `UpcomingUpgrades` where `expected_at <= now` and prune them. For each para pruned set `UpgradeGoAheadSignal` to `GoAhead`. - 1. Collect all `(para_id, next_possible_upgrade_at)` from `UpgradeCooldowns` where `next_possible_upgrade_at <= now` and prune them. For each para pruned set `UpgradeRestrictionSignal` to `Present`. + 1. Collect all `(para_id, expected_at)` from `UpcomingUpgrades` where `expected_at <= now` and prune them. For each para pruned set `UpgradeGoAheadSignal` to `GoAhead`. Reserve weight for the state modification to upgrade each para pruned. + 1. Collect all `(para_id, next_possible_upgrade_at)` from `UpgradeCooldowns` where `next_possible_upgrade_at <= now`. For each para obtained this way reserve weight to remove its `UpgradeRestrictionSignal` on finalization. ## Routines @@ -275,4 +275,4 @@ In case the PVF pre-checking is enabled, or the new code is not already present ## Finalization -No finalization routine runs for this module. +Collect all `(para_id, next_possible_upgrade_at)` from `UpgradeCooldowns` where `next_possible_upgrade_at <= now` and prune them. For each para pruned remove its `UpgradeRestrictionSignal`. From efcaa57d5f9d72c1c3fa79dcd929da9cced3af74 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Fri, 14 Oct 2022 12:37:17 +0200 Subject: [PATCH 060/211] BlockId removal refactor: Backend::state_at (#6149) * BlockId removal refactor: Backend::state_at * formatting * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 358 +++++++++--------- xcm/xcm-executor/integration-tests/src/lib.rs | 113 +++--- 2 files changed, 228 insertions(+), 243 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8b2d124692dc..6417f06d3a27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -2016,7 +2016,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", ] @@ -2040,7 +2040,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -2063,7 +2063,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "Inflector", "array-bytes", @@ -2114,7 +2114,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2125,7 +2125,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2141,7 +2141,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -2170,7 +2170,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "bitflags", "frame-metadata", @@ -2202,7 +2202,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "Inflector", "cfg-expr", @@ -2216,7 +2216,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2228,7 +2228,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro2", "quote", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2261,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -2272,7 +2272,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "log", @@ -2290,7 +2290,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -2305,7 +2305,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "sp-api", @@ -2314,7 +2314,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "parity-scale-codec", @@ -2485,7 +2485,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "chrono", "frame-election-provider-support", @@ -4867,7 +4867,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -4897,7 +4897,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -4912,7 +4912,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4956,7 +4956,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4975,7 +4975,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4990,7 +4990,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "beefy-primitives", "frame-support", @@ -5006,7 +5006,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5047,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5066,7 +5066,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5100,7 +5100,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5142,7 +5142,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5173,7 +5173,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5194,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5232,7 +5232,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5248,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5268,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5302,7 +5302,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5335,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5351,7 +5351,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -5368,7 +5368,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5388,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "sp-api", @@ -5398,7 +5398,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -5415,7 +5415,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5438,7 +5438,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5455,7 +5455,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5470,7 +5470,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5488,7 +5488,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5503,7 +5503,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5521,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5537,7 +5537,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -5558,7 +5558,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5574,7 +5574,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -5588,7 +5588,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5611,7 +5611,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5622,7 +5622,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "sp-arithmetic", @@ -5631,7 +5631,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -5645,7 +5645,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5663,7 +5663,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5682,7 +5682,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-support", "frame-system", @@ -5698,7 +5698,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5713,7 +5713,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5724,7 +5724,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5741,7 +5741,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5757,7 +5757,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5772,7 +5772,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8310,7 +8310,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8658,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "sp-core", @@ -8669,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures", @@ -8696,7 +8696,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "futures-timer", @@ -8719,7 +8719,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8735,7 +8735,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8752,7 +8752,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8763,7 +8763,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "chrono", @@ -8803,7 +8803,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "fnv", "futures", @@ -8831,7 +8831,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "hash-db", "kvdb", @@ -8856,7 +8856,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures", @@ -8880,7 +8880,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "fork-tree", @@ -8922,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "jsonrpsee", @@ -8944,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8957,7 +8957,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures", @@ -8981,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "lazy_static", "lru 0.7.8", @@ -9008,7 +9008,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "environmental", "parity-scale-codec", @@ -9024,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "parity-scale-codec", @@ -9039,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9059,7 +9059,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "ahash", "array-bytes", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "finality-grandpa", "futures", @@ -9121,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "ansi_term", "futures", @@ -9138,7 +9138,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "async-trait", @@ -9153,7 +9153,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "async-trait", @@ -9200,7 +9200,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "cid", "futures", @@ -9220,7 +9220,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "bitflags", @@ -9246,7 +9246,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "ahash", "futures", @@ -9264,7 +9264,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "futures", @@ -9285,7 +9285,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "fork-tree", @@ -9314,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "futures", @@ -9333,7 +9333,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "bytes", @@ -9363,7 +9363,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "libp2p", @@ -9376,7 +9376,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9385,7 +9385,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "hash-db", @@ -9415,7 +9415,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "jsonrpsee", @@ -9438,7 +9438,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "jsonrpsee", @@ -9451,7 +9451,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "hex", @@ -9470,7 +9470,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "directories", @@ -9541,7 +9541,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "parity-scale-codec", @@ -9555,7 +9555,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9574,7 +9574,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "libc", @@ -9593,7 +9593,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "chrono", "futures", @@ -9611,7 +9611,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "ansi_term", "atty", @@ -9642,7 +9642,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9653,7 +9653,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures", @@ -9680,7 +9680,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures", @@ -9694,7 +9694,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "futures-timer", @@ -10180,7 +10180,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "hash-db", "log", @@ -10198,7 +10198,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "blake2", "proc-macro-crate", @@ -10210,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10223,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "integer-sqrt", "num-traits", @@ -10238,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10251,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "parity-scale-codec", @@ -10263,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "sp-api", @@ -10275,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "log", @@ -10293,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures", @@ -10312,7 +10312,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "merlin", @@ -10335,7 +10335,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10349,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10362,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "base58", @@ -10408,7 +10408,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "blake2", "byteorder", @@ -10422,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro2", "quote", @@ -10433,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10442,7 +10442,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro2", "quote", @@ -10452,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "environmental", "parity-scale-codec", @@ -10463,7 +10463,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "finality-grandpa", "log", @@ -10481,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10495,7 +10495,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "bytes", "futures", @@ -10521,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "lazy_static", "sp-core", @@ -10532,7 +10532,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures", @@ -10549,7 +10549,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "thiserror", "zstd", @@ -10558,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "parity-scale-codec", @@ -10574,7 +10574,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10588,7 +10588,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "sp-api", "sp-core", @@ -10598,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "backtrace", "lazy_static", @@ -10608,7 +10608,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "rustc-hash", "serde", @@ -10618,7 +10618,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "either", "hash256-std-hasher", @@ -10641,7 +10641,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10659,7 +10659,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "Inflector", "proc-macro-crate", @@ -10671,7 +10671,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "parity-scale-codec", @@ -10685,7 +10685,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10699,7 +10699,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10710,7 +10710,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "hash-db", "log", @@ -10732,12 +10732,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10750,7 +10750,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "log", "sp-core", @@ -10763,7 +10763,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "futures-timer", @@ -10779,7 +10779,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "sp-std", @@ -10791,7 +10791,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "sp-api", "sp-runtime", @@ -10800,7 +10800,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "async-trait", "log", @@ -10816,7 +10816,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "ahash", "hash-db", @@ -10839,7 +10839,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10856,7 +10856,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10867,7 +10867,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "impl-trait-for-tuples", "log", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11095,7 +11095,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "platforms", ] @@ -11103,7 +11103,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11124,7 +11124,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures-util", "hyper", @@ -11137,7 +11137,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "jsonrpsee", "log", @@ -11158,7 +11158,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "array-bytes", "async-trait", @@ -11184,7 +11184,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11194,7 +11194,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11205,7 +11205,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "ansi_term", "build-helper", @@ -11918,7 +11918,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f39c9029eb83e9432d86877f0694f643b7dd968" +source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" dependencies = [ "clap", "frame-try-runtime", diff --git a/xcm/xcm-executor/integration-tests/src/lib.rs b/xcm/xcm-executor/integration-tests/src/lib.rs index 272ceadfea01..821987531aa0 100644 --- a/xcm/xcm-executor/integration-tests/src/lib.rs +++ b/xcm/xcm-executor/integration-tests/src/lib.rs @@ -23,7 +23,7 @@ use polkadot_test_client::{ }; use polkadot_test_runtime::pallet_test_notifier; use polkadot_test_service::construct_extrinsic; -use sp_runtime::{generic::BlockId, traits::Block}; +use sp_runtime::traits::Block; use sp_state_machine::InspectState; use xcm::{latest::prelude::*, VersionedResponse, VersionedXcm}; @@ -60,17 +60,14 @@ fn basic_buy_fees_message_executes() { futures::executor::block_on(client.import(sp_consensus::BlockOrigin::Own, block)) .expect("imports the block"); - client - .state_at(&BlockId::Hash(block_hash)) - .expect("state should exist") - .inspect_state(|| { - assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( - r.event, - polkadot_test_runtime::RuntimeEvent::Xcm(pallet_xcm::Event::Attempted( - Outcome::Complete(_) - )), - ))); - }); + client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( + r.event, + polkadot_test_runtime::RuntimeEvent::Xcm(pallet_xcm::Event::Attempted( + Outcome::Complete(_) + )), + ))); + }); } #[test] @@ -104,17 +101,14 @@ fn query_response_fires() { .expect("imports the block"); let mut query_id = None; - client - .state_at(&BlockId::Hash(block_hash)) - .expect("state should exist") - .inspect_state(|| { - for r in polkadot_test_runtime::System::events().iter() { - match r.event { - TestNotifier(QueryPrepared(q)) => query_id = Some(q), - _ => (), - } + client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + for r in polkadot_test_runtime::System::events().iter() { + match r.event { + TestNotifier(QueryPrepared(q)) => query_id = Some(q), + _ => (), } - }); + } + }); let query_id = query_id.unwrap(); let mut block_builder = client.init_polkadot_block_builder(); @@ -142,25 +136,22 @@ fn query_response_fires() { futures::executor::block_on(client.import(sp_consensus::BlockOrigin::Own, block)) .expect("imports the block"); - client - .state_at(&BlockId::Hash(block_hash)) - .expect("state should exist") - .inspect_state(|| { - assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( - r.event, - polkadot_test_runtime::RuntimeEvent::Xcm(pallet_xcm::Event::ResponseReady( - q, - Response::ExecutionResult(None), - )) if q == query_id, - ))); - assert_eq!( - polkadot_test_runtime::Xcm::query(query_id), - Some(QueryStatus::Ready { - response: VersionedResponse::V2(Response::ExecutionResult(None)), - at: 2u32.into() - }), - ) - }); + client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( + r.event, + polkadot_test_runtime::RuntimeEvent::Xcm(pallet_xcm::Event::ResponseReady( + q, + Response::ExecutionResult(None), + )) if q == query_id, + ))); + assert_eq!( + polkadot_test_runtime::Xcm::query(query_id), + Some(QueryStatus::Ready { + response: VersionedResponse::V2(Response::ExecutionResult(None)), + at: 2u32.into() + }), + ) + }); } #[test] @@ -193,17 +184,14 @@ fn query_response_elicits_handler() { .expect("imports the block"); let mut query_id = None; - client - .state_at(&BlockId::Hash(block_hash)) - .expect("state should exist") - .inspect_state(|| { - for r in polkadot_test_runtime::System::events().iter() { - match r.event { - TestNotifier(NotifyQueryPrepared(q)) => query_id = Some(q), - _ => (), - } + client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + for r in polkadot_test_runtime::System::events().iter() { + match r.event { + TestNotifier(NotifyQueryPrepared(q)) => query_id = Some(q), + _ => (), } - }); + } + }); let query_id = query_id.unwrap(); let mut block_builder = client.init_polkadot_block_builder(); @@ -230,17 +218,14 @@ fn query_response_elicits_handler() { futures::executor::block_on(client.import(sp_consensus::BlockOrigin::Own, block)) .expect("imports the block"); - client - .state_at(&BlockId::Hash(block_hash)) - .expect("state should exist") - .inspect_state(|| { - assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( - r.event, - TestNotifier(ResponseReceived( - MultiLocation { parents: 0, interior: X1(Junction::AccountId32 { .. }) }, - q, - Response::ExecutionResult(None), - )) if q == query_id, - ))); - }); + client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( + r.event, + TestNotifier(ResponseReceived( + MultiLocation { parents: 0, interior: X1(Junction::AccountId32 { .. }) }, + q, + Response::ExecutionResult(None), + )) if q == query_id, + ))); + }); } From 828fa9ee95115989ca98463ab113f59cbb16aa9a Mon Sep 17 00:00:00 2001 From: code-terror Date: Sun, 16 Oct 2022 14:21:08 -0700 Subject: [PATCH 061/211] Fix fuzzing builds xcm-fuzz and erasure-coding fuzzer (#6153) * fix fuzzing builds * change Cargo.lock * change honggfuzz Co-authored-by: commented-line --- Cargo.lock | 17 ++++------------- erasure-coding/fuzzer/Cargo.toml | 1 + erasure-coding/fuzzer/src/round_trip.rs | 1 + xcm/xcm-simulator/fuzzer/Cargo.toml | 2 +- xcm/xcm-simulator/fuzzer/src/fuzz.rs | 2 +- 5 files changed, 8 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6417f06d3a27..7e6f6123422e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2750,13 +2750,14 @@ dependencies = [ [[package]] name = "honggfuzz" -version = "0.5.54" +version = "0.5.55" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bea09577d948a98a5f59b7c891e274c4fb35ad52f67782b3d0cb53b9c05301f1" +checksum = "848e9c511092e0daa0a35a63e8e6e475a3e8f870741448b9f6028d69b142f18e" dependencies = [ "arbitrary", "lazy_static", - "memmap", + "memmap2 0.5.0", + "rustc_version", ] [[package]] @@ -4185,16 +4186,6 @@ dependencies = [ "rustix", ] -[[package]] -name = "memmap" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b" -dependencies = [ - "libc", - "winapi", -] - [[package]] name = "memmap2" version = "0.2.3" diff --git a/erasure-coding/fuzzer/Cargo.toml b/erasure-coding/fuzzer/Cargo.toml index 06a85e63d2e5..b7e3702baa3a 100644 --- a/erasure-coding/fuzzer/Cargo.toml +++ b/erasure-coding/fuzzer/Cargo.toml @@ -7,6 +7,7 @@ edition = "2021" [dependencies] polkadot-erasure-coding = { path = ".." } honggfuzz = "0.5" +polkadot-primitives = { path = "../../primitives" } primitives = { package = "polkadot-node-primitives", path = "../../node/primitives/" } [[bin]] diff --git a/erasure-coding/fuzzer/src/round_trip.rs b/erasure-coding/fuzzer/src/round_trip.rs index 3d5ea5927458..daa57a566fbb 100644 --- a/erasure-coding/fuzzer/src/round_trip.rs +++ b/erasure-coding/fuzzer/src/round_trip.rs @@ -2,6 +2,7 @@ use polkadot_erasure_coding::*; use primitives::{AvailableData, BlockData, PoV}; use std::sync::Arc; use honggfuzz::fuzz; +use polkadot_primitives::v2::PersistedValidationData; fn main() { diff --git a/xcm/xcm-simulator/fuzzer/Cargo.toml b/xcm/xcm-simulator/fuzzer/Cargo.toml index f1f883b7c62f..42419be5da18 100644 --- a/xcm/xcm-simulator/fuzzer/Cargo.toml +++ b/xcm/xcm-simulator/fuzzer/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } -honggfuzz = "0.5.54" +honggfuzz = "0.5.55" scale-info = { version = "2.1.2", features = ["derive"] } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/xcm/xcm-simulator/fuzzer/src/fuzz.rs b/xcm/xcm-simulator/fuzzer/src/fuzz.rs index 691fba10cc10..70ad3c1e2cc6 100644 --- a/xcm/xcm-simulator/fuzzer/src/fuzz.rs +++ b/xcm/xcm-simulator/fuzzer/src/fuzz.rs @@ -122,7 +122,7 @@ fn main() { #[cfg(fuzzing)] { loop { - fuzz!(|data: &[u8]| { + honggfuzz::fuzz!(|data: &[u8]| { run_one_input(data); }); } From 9d4e1a18b30885af52ae655d2df9a05e041ee88d Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Mon, 17 Oct 2022 13:38:47 +0200 Subject: [PATCH 062/211] Add `force_open_hrmp_channel` Call (#6155) * add force_open_hrmp_channel call * typo * fix benchmark * Add HRMP benches to Polkadot Signed-off-by: Oliver Tale-Yazdi * add benchmark data Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi --- .../src/weights/runtime_parachains_hrmp.rs | 15 +++++++++ runtime/parachains/src/hrmp.rs | 33 +++++++++++++++++++ runtime/parachains/src/hrmp/benchmarking.rs | 26 +++++++++++++++ runtime/parachains/src/hrmp/tests.rs | 30 ++++++++++++++++- runtime/polkadot/src/lib.rs | 1 + .../src/weights/runtime_parachains_hrmp.rs | 15 +++++++++ .../src/weights/runtime_parachains_hrmp.rs | 15 +++++++++ .../src/weights/runtime_parachains_hrmp.rs | 15 +++++++++ 8 files changed, 149 insertions(+), 1 deletion(-) diff --git a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs index c7879ac8f17c..ab7a5b87291e 100644 --- a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs @@ -156,4 +156,19 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } + // Storage: Paras ParaLifecycles (r:2 w:0) + // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) + // Storage: Hrmp HrmpChannels (r:1 w:0) + // Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) + // Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) + // Storage: Dmp DownwardMessageQueueHeads (r:2 w:2) + // Storage: Dmp DownwardMessageQueues (r:2 w:2) + // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) + fn force_open_hrmp_channel() -> Weight { + Weight::from_ref_time(104_771_000 as u64) + .saturating_add(T::DbWeight::get().reads(13 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } } diff --git a/runtime/parachains/src/hrmp.rs b/runtime/parachains/src/hrmp.rs index af0cccb22512..53ad6781048f 100644 --- a/runtime/parachains/src/hrmp.rs +++ b/runtime/parachains/src/hrmp.rs @@ -58,6 +58,7 @@ pub trait WeightInfo { fn force_process_hrmp_close(c: u32) -> Weight; fn hrmp_cancel_open_request(c: u32) -> Weight; fn clean_open_channel_requests(c: u32) -> Weight; + fn force_open_hrmp_channel() -> Weight; } /// A weight info that is only suitable for testing. @@ -88,6 +89,9 @@ impl WeightInfo for TestWeightInfo { fn clean_open_channel_requests(_: u32) -> Weight { Weight::MAX } + fn force_open_hrmp_channel() -> Weight { + Weight::MAX + } } /// A description of a request to open an HRMP channel. @@ -269,6 +273,9 @@ pub mod pallet { OpenChannelAccepted(ParaId, ParaId), /// HRMP channel closed. `[by_parachain, channel_id]` ChannelClosed(ParaId, HrmpChannelId), + /// An HRMP channel was opened via Root origin. + /// `[sender, recipient, proposed_max_capacity, proposed_max_message_size]` + HrmpChannelForceOpened(ParaId, ParaId, u32, u32), } #[pallet::error] @@ -577,6 +584,32 @@ pub mod pallet { Self::deposit_event(Event::OpenChannelCanceled(origin, channel_id)); Ok(()) } + + /// Open a channel from a `sender` to a `recipient` `ParaId` using the Root origin. Although + /// opened by Root, the `max_capacity` and `max_message_size` are still subject to the Relay + /// Chain's configured limits. + /// + /// Expected use is when one of the `ParaId`s involved in the channel is governed by the + /// Relay Chain, e.g. a common good parachain. + #[pallet::weight(::WeightInfo::force_open_hrmp_channel())] + pub fn force_open_hrmp_channel( + origin: OriginFor, + sender: ParaId, + recipient: ParaId, + max_capacity: u32, + max_message_size: u32, + ) -> DispatchResult { + ensure_root(origin)?; + Self::init_open_channel(sender, recipient, max_capacity, max_message_size)?; + Self::accept_open_channel(recipient, sender)?; + Self::deposit_event(Event::HrmpChannelForceOpened( + sender, + recipient, + max_capacity, + max_message_size, + )); + Ok(()) + } } } diff --git a/runtime/parachains/src/hrmp/benchmarking.rs b/runtime/parachains/src/hrmp/benchmarking.rs index 71ea684be179..7ea14b1dc922 100644 --- a/runtime/parachains/src/hrmp/benchmarking.rs +++ b/runtime/parachains/src/hrmp/benchmarking.rs @@ -296,6 +296,32 @@ frame_benchmarking::benchmarks! { } verify { assert_eq!(HrmpOpenChannelRequestsList::::decode_len().unwrap_or_default() as u32, 0); } + + force_open_hrmp_channel { + let sender_id: ParaId = 1u32.into(); + let recipient_id: ParaId = 2u32.into(); + + // make sure para is registered, and has enough balance. + let sender_deposit: BalanceOf = + Configuration::::config().hrmp_sender_deposit.unique_saturated_into(); + let recipient_deposit: BalanceOf = + Configuration::::config().hrmp_recipient_deposit.unique_saturated_into(); + register_parachain_with_balance::(sender_id, sender_deposit); + register_parachain_with_balance::(recipient_id, recipient_deposit); + + let capacity = Configuration::::config().hrmp_channel_max_capacity; + let message_size = Configuration::::config().hrmp_channel_max_message_size; + + // make sure this channel doesn't exist + let channel_id = HrmpChannelId { sender: sender_id, recipient: recipient_id }; + assert!(HrmpOpenChannelRequests::::get(&channel_id).is_none()); + assert!(HrmpChannels::::get(&channel_id).is_none()); + }: _(frame_system::Origin::::Root, sender_id, recipient_id, capacity, message_size) + verify { + assert_last_event::( + Event::::HrmpChannelForceOpened(sender_id, recipient_id, capacity, message_size).into() + ); + } } frame_benchmarking::impl_benchmark_test_suite!( diff --git a/runtime/parachains/src/hrmp/tests.rs b/runtime/parachains/src/hrmp/tests.rs index 22824601b521..9e0d0646d057 100644 --- a/runtime/parachains/src/hrmp/tests.rs +++ b/runtime/parachains/src/hrmp/tests.rs @@ -17,7 +17,7 @@ use super::*; use crate::mock::{ new_test_ext, Configuration, Hrmp, MockGenesisConfig, Paras, ParasShared, - RuntimeEvent as MockEvent, System, Test, + RuntimeEvent as MockEvent, RuntimeOrigin, System, Test, }; use frame_support::{assert_noop, assert_ok, traits::Currency as _}; use primitives::v2::BlockNumber; @@ -194,6 +194,34 @@ fn open_channel_works() { }); } +#[test] +fn force_open_channel_works() { + let para_a = 1.into(); + let para_b = 3.into(); + + new_test_ext(GenesisConfigBuilder::default().build()).execute_with(|| { + // We need both A & B to be registered and live parachains. + register_parachain(para_a); + register_parachain(para_b); + + run_to_block(5, Some(vec![4, 5])); + Hrmp::force_open_hrmp_channel(RuntimeOrigin::root(), para_a, para_b, 2, 8).unwrap(); + Hrmp::assert_storage_consistency_exhaustive(); + assert!(System::events().iter().any(|record| record.event == + MockEvent::Hrmp(Event::HrmpChannelForceOpened(para_a, para_b, 2, 8)))); + + // Advance to a block 6, but without session change. That means that the channel has + // not been created yet. + run_to_block(6, None); + assert!(!channel_exists(para_a, para_b)); + Hrmp::assert_storage_consistency_exhaustive(); + + // Now let the session change happen and thus open the channel. + run_to_block(8, Some(vec![8])); + assert!(channel_exists(para_a, para_b)); + }); +} + #[test] fn close_channel_works() { let para_a = 5.into(); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 47d6325a49b2..fad136bc9da9 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1594,6 +1594,7 @@ mod benches { [runtime_common::paras_registrar, Registrar] [runtime_parachains::configuration, Configuration] [runtime_parachains::disputes, ParasDisputes] + [runtime_parachains::hrmp, Hrmp] [runtime_parachains::initializer, Initializer] [runtime_parachains::paras, Paras] [runtime_parachains::paras_inherent, ParaInherent] diff --git a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs index 17d03bb637af..576b25ddd718 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs @@ -154,4 +154,19 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } + // Storage: Paras ParaLifecycles (r:2 w:0) + // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) + // Storage: Hrmp HrmpChannels (r:1 w:0) + // Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) + // Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) + // Storage: Dmp DownwardMessageQueueHeads (r:2 w:2) + // Storage: Dmp DownwardMessageQueues (r:2 w:2) + // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) + fn force_open_hrmp_channel() -> Weight { + Weight::from_ref_time(104_771_000 as u64) + .saturating_add(T::DbWeight::get().reads(13 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } } diff --git a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs index 41e000095add..04db94e8f76a 100644 --- a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs @@ -160,4 +160,19 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } + // Storage: Paras ParaLifecycles (r:2 w:0) + // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) + // Storage: Hrmp HrmpChannels (r:1 w:0) + // Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) + // Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) + // Storage: Dmp DownwardMessageQueueHeads (r:2 w:2) + // Storage: Dmp DownwardMessageQueues (r:2 w:2) + // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) + fn force_open_hrmp_channel() -> Weight { + Weight::from_ref_time(104_771_000 as u64) + .saturating_add(T::DbWeight::get().reads(13 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } } diff --git a/runtime/westend/src/weights/runtime_parachains_hrmp.rs b/runtime/westend/src/weights/runtime_parachains_hrmp.rs index 67713cdf2f2d..5cb4754daa02 100644 --- a/runtime/westend/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/westend/src/weights/runtime_parachains_hrmp.rs @@ -156,4 +156,19 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } + // Storage: Paras ParaLifecycles (r:2 w:0) + // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) + // Storage: Hrmp HrmpChannels (r:1 w:0) + // Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) + // Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) + // Storage: Dmp DownwardMessageQueueHeads (r:2 w:2) + // Storage: Dmp DownwardMessageQueues (r:2 w:2) + // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) + // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) + fn force_open_hrmp_channel() -> Weight { + Weight::from_ref_time(104_771_000 as u64) + .saturating_add(T::DbWeight::get().reads(13 as u64)) + .saturating_add(T::DbWeight::get().writes(8 as u64)) + } } From 8e57f2ce9a85951f3476069de2711a3f9a500ac6 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Tue, 18 Oct 2022 11:02:41 +0200 Subject: [PATCH 063/211] Update clap to version 4 (#6128) * Move clap to 4.0.9 * Remove "deprecated" feature flag * Convert to default_value_t * update lockfile for {"substrate"} * Add group(skip) to avoid naming conflict * More group(skip) Co-authored-by: parity-processbot <> --- Cargo.lock | 948 ++++++------------ cli/Cargo.toml | 2 +- cli/src/cli.rs | 29 +- node/malus/Cargo.toml | 2 +- node/malus/src/malus.rs | 9 +- node/malus/src/variants/common.rs | 9 +- .../src/variants/dispute_valid_candidates.rs | 6 +- .../test-parachains/adder/collator/Cargo.toml | 2 +- .../test-parachains/adder/collator/src/cli.rs | 9 +- .../undying/collator/Cargo.toml | 2 +- .../undying/collator/src/cli.rs | 19 +- utils/generate-bags/Cargo.toml | 2 +- utils/generate-bags/src/main.rs | 14 +- utils/remote-ext-tests/bags-list/Cargo.toml | 2 +- utils/remote-ext-tests/bags-list/src/main.rs | 18 +- utils/staking-miner/Cargo.toml | 2 +- utils/staking-miner/src/opts.rs | 38 +- 17 files changed, 395 insertions(+), 718 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7e6f6123422e..0c5afe871760 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -312,9 +312,9 @@ dependencies = [ [[package]] name = "async-std-resolver" -version = "0.21.2" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f2f8a4a203be3325981310ab243a28e6e4ea55b6519bffce05d41ab60e09ad8" +checksum = "6ba50e24d9ee0a8950d3d03fc6d0dd10aa14b5de3b101949b4e160f7fee7c723" dependencies = [ "async-std", "async-trait", @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -515,12 +515,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "bimap" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50ae17cabbc8a38a1e3e4c1a6a664e9a09672dc14d0896fa8d865d3a5a446b07" - [[package]] name = "bincode" version = "1.3.3" @@ -628,7 +622,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" dependencies = [ - "block-padding 0.1.5", + "block-padding", "byte-tools", "byteorder", "generic-array 0.12.4", @@ -640,7 +634,6 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "block-padding 0.2.1", "generic-array 0.14.4", ] @@ -662,12 +655,6 @@ dependencies = [ "byte-tools", ] -[[package]] -name = "block-padding" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" - [[package]] name = "blocking" version = "1.1.0" @@ -922,26 +909,24 @@ dependencies = [ [[package]] name = "clap" -version = "3.2.22" +version = "4.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750" +checksum = "6bf8832993da70a4c6d13c581f4463c2bdda27b9bf1c5498dc4365543abe6d6f" dependencies = [ "atty", "bitflags", "clap_derive", "clap_lex", - "indexmap", "once_cell", "strsim", "termcolor", - "textwrap", ] [[package]] name = "clap_derive" -version = "3.2.18" +version = "4.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea0c8bce528c4be4da13ea6fead8965e95b6073585a2f05204bd8f4119f82a65" +checksum = "c42f169caba89a7d512b5418b09864543eeb4d497416c917d7137863bd2076ad" dependencies = [ "heck", "proc-macro-error", @@ -952,22 +937,13 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.2.4" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" +checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" dependencies = [ "os_str_bytes", ] -[[package]] -name = "cmake" -version = "0.1.48" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8ad8cef104ac57b68b89df3208164d228503abbdce70f6880ffa3d970e7443a" -dependencies = [ - "cc", -] - [[package]] name = "coarsetime" version = "0.1.22" @@ -1302,17 +1278,6 @@ dependencies = [ "cipher", ] -[[package]] -name = "cuckoofilter" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b810a8449931679f64cd7eef1bbd0fa315801b6d5d9cdc1ace2804d6529eee18" -dependencies = [ - "byteorder", - "fnv", - "rand 0.7.3", -] - [[package]] name = "curve25519-dalek" version = "2.1.3" @@ -1662,9 +1627,9 @@ dependencies = [ [[package]] name = "enum-as-inner" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21cdad81446a7f7dc43f6a77409efeb9733d2fa65553efef6018ef257c959b73" +checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ "heck", "proc-macro2", @@ -2016,7 +1981,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", ] @@ -2040,7 +2005,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -2063,7 +2028,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "Inflector", "array-bytes", @@ -2114,7 +2079,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2125,7 +2090,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2141,7 +2106,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -2170,7 +2135,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "bitflags", "frame-metadata", @@ -2202,7 +2167,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "Inflector", "cfg-expr", @@ -2216,7 +2181,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2228,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro2", "quote", @@ -2238,7 +2203,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2261,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -2272,7 +2237,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "log", @@ -2290,7 +2255,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2305,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2314,7 +2279,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "parity-scale-codec", @@ -2485,7 +2450,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "chrono", "frame-election-provider-support", @@ -2711,12 +2676,6 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" -[[package]] -name = "hex_fmt" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b07f60793ff0a4d9cef0f18e63b5357e06209987153a64648c972c1e5aff336f" - [[package]] name = "hmac" version = "0.8.1" @@ -2895,9 +2854,9 @@ dependencies = [ [[package]] name = "if-watch" -version = "1.0.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae8f4a3c3d4c89351ca83e120c1c00b27df945d38e05695668c9d4b4f7bc52f3" +checksum = "065c008e570a43c00de6aed9714035e5ea6a498c255323db9091722af6ee67dd" dependencies = [ "async-io", "core-foundation", @@ -3431,9 +3390,9 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a" [[package]] name = "libp2p" -version = "0.46.1" +version = "0.49.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81327106887e42d004fbdab1fef93675be2e2e07c1b95fce45e2cc813485611d" +checksum = "ec878fda12ebec479186b3914ebc48ff180fa4c51847e11a1a68bf65249e02c1" dependencies = [ "bytes", "futures", @@ -3441,12 +3400,8 @@ dependencies = [ "getrandom 0.2.3", "instant", "lazy_static", - "libp2p-autonat", "libp2p-core", - "libp2p-deflate", "libp2p-dns", - "libp2p-floodsub", - "libp2p-gossipsub", "libp2p-identify", "libp2p-kad", "libp2p-mdns", @@ -3454,49 +3409,24 @@ dependencies = [ "libp2p-mplex", "libp2p-noise", "libp2p-ping", - "libp2p-plaintext", - "libp2p-pnet", - "libp2p-relay", - "libp2p-rendezvous", "libp2p-request-response", "libp2p-swarm", "libp2p-swarm-derive", "libp2p-tcp", - "libp2p-uds", "libp2p-wasm-ext", "libp2p-websocket", "libp2p-yamux", "multiaddr", "parking_lot 0.12.1", "pin-project", - "rand 0.7.3", "smallvec", ] -[[package]] -name = "libp2p-autonat" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4decc51f3573653a9f4ecacb31b1b922dd20c25a6322bb15318ec04287ec46f9" -dependencies = [ - "async-trait", - "futures", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-request-response", - "libp2p-swarm", - "log", - "prost 0.10.3", - "prost-build 0.10.4", - "rand 0.8.5", -] - [[package]] name = "libp2p-core" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbf9b94cefab7599b2d3dff2f93bee218c6621d68590b23ede4485813cbcece6" +checksum = "799676bb0807c788065e57551c6527d461ad572162b0519d1958946ff9e0539d" dependencies = [ "asn1_der", "bs58", @@ -3507,17 +3437,15 @@ dependencies = [ "futures-timer", "instant", "lazy_static", - "libsecp256k1", "log", "multiaddr", "multihash", "multistream-select", "parking_lot 0.12.1", "pin-project", - "prost 0.10.3", - "prost-build 0.10.4", + "prost", + "prost-build", "rand 0.8.5", - "ring", "rw-stream-sink", "sha2 0.10.2", "smallvec", @@ -3527,22 +3455,11 @@ dependencies = [ "zeroize", ] -[[package]] -name = "libp2p-deflate" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0183dc2a3da1fbbf85e5b6cf51217f55b14f5daea0c455a9536eef646bfec71" -dependencies = [ - "flate2", - "futures", - "libp2p-core", -] - [[package]] name = "libp2p-dns" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cbf54723250fa5d521383be789bf60efdabe6bacfb443f87da261019a49b4b5" +checksum = "2322c9fb40d99101def6a01612ee30500c89abbbecb6297b3cd252903a4c1720" dependencies = [ "async-std-resolver", "futures", @@ -3553,57 +3470,11 @@ dependencies = [ "trust-dns-resolver", ] -[[package]] -name = "libp2p-floodsub" -version = "0.37.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98a4b6ffd53e355775d24b76f583fdda54b3284806f678499b57913adb94f231" -dependencies = [ - "cuckoofilter", - "fnv", - "futures", - "libp2p-core", - "libp2p-swarm", - "log", - "prost 0.10.3", - "prost-build 0.10.4", - "rand 0.7.3", - "smallvec", -] - -[[package]] -name = "libp2p-gossipsub" -version = "0.39.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74b4b888cfbeb1f5551acd3aa1366e01bf88ede26cc3c4645d0d2d004d5ca7b0" -dependencies = [ - "asynchronous-codec", - "base64", - "byteorder", - "bytes", - "fnv", - "futures", - "hex_fmt", - "instant", - "libp2p-core", - "libp2p-swarm", - "log", - "prometheus-client", - "prost 0.10.3", - "prost-build 0.10.4", - "rand 0.7.3", - "regex", - "sha2 0.10.2", - "smallvec", - "unsigned-varint", - "wasm-timer", -] - [[package]] name = "libp2p-identify" -version = "0.37.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c50b585518f8efd06f93ac2f976bd672e17cdac794644b3117edd078e96bda06" +checksum = "dcf9a121f699e8719bda2e6e9e9b6ddafc6cff4602471d6481c1067930ccb29b" dependencies = [ "asynchronous-codec", "futures", @@ -3611,9 +3482,9 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "lru 0.7.8", - "prost 0.10.3", - "prost-build 0.10.4", + "lru 0.8.0", + "prost", + "prost-build", "prost-codec", "smallvec", "thiserror", @@ -3622,9 +3493,9 @@ dependencies = [ [[package]] name = "libp2p-kad" -version = "0.38.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "740862893bb5f06ac24acc9d49bdeadc3a5e52e51818a30a25c1f3519da2c851" +checksum = "6721c200e2021f6c3fab8b6cf0272ead8912d871610ee194ebd628cecf428f22" dependencies = [ "arrayvec 0.7.2", "asynchronous-codec", @@ -3637,9 +3508,9 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "prost 0.10.3", - "prost-build 0.10.4", - "rand 0.7.3", + "prost", + "prost-build", + "rand 0.8.5", "sha2 0.10.2", "smallvec", "thiserror", @@ -3650,16 +3521,15 @@ dependencies = [ [[package]] name = "libp2p-mdns" -version = "0.38.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66e5e5919509603281033fd16306c61df7a4428ce274b67af5e14b07de5cdcb2" +checksum = "761704e727f7d68d58d7bc2231eafae5fc1b9814de24290f126df09d4bd37a15" dependencies = [ "async-io", "data-encoding", "dns-parser", "futures", "if-watch", - "lazy_static", "libp2p-core", "libp2p-swarm", "log", @@ -3671,25 +3541,23 @@ dependencies = [ [[package]] name = "libp2p-metrics" -version = "0.7.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef8aff4a1abef42328fbb30b17c853fff9be986dc39af17ee39f9c5f755c5e0c" +checksum = "9ee31b08e78b7b8bfd1c4204a9dd8a87b4fcdf6dafc57eb51701c1c264a81cb9" dependencies = [ "libp2p-core", - "libp2p-gossipsub", "libp2p-identify", "libp2p-kad", "libp2p-ping", - "libp2p-relay", "libp2p-swarm", "prometheus-client", ] [[package]] name = "libp2p-mplex" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61fd1b20638ec209c5075dfb2e8ce6a7ea4ec3cd3ad7b77f7a477c06d53322e2" +checksum = "692664acfd98652de739a8acbb0a0d670f1d67190a49be6b4395e22c37337d89" dependencies = [ "asynchronous-codec", "bytes", @@ -3698,16 +3566,16 @@ dependencies = [ "log", "nohash-hasher", "parking_lot 0.12.1", - "rand 0.7.3", + "rand 0.8.5", "smallvec", "unsigned-varint", ] [[package]] name = "libp2p-noise" -version = "0.37.0" +version = "0.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "762408cb5d84b49a600422d7f9a42c18012d8da6ebcd570f9a4a4290ba41fb6f" +checksum = "048155686bd81fe6cb5efdef0c6290f25ad32a0a42e8f4f72625cf6a505a206f" dependencies = [ "bytes", "curve25519-dalek 3.2.0", @@ -3715,8 +3583,8 @@ dependencies = [ "lazy_static", "libp2p-core", "log", - "prost 0.10.3", - "prost-build 0.10.4", + "prost", + "prost-build", "rand 0.8.5", "sha2 0.10.2", "snow", @@ -3727,105 +3595,25 @@ dependencies = [ [[package]] name = "libp2p-ping" -version = "0.37.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "100a6934ae1dbf8a693a4e7dd1d730fd60b774dafc45688ed63b554497c6c925" -dependencies = [ - "futures", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-swarm", - "log", - "rand 0.7.3", - "void", -] - -[[package]] -name = "libp2p-plaintext" -version = "0.34.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be27bf0820a6238a4e06365b096d428271cce85a129cf16f2fe9eb1610c4df86" -dependencies = [ - "asynchronous-codec", - "bytes", - "futures", - "libp2p-core", - "log", - "prost 0.10.3", - "prost-build 0.10.4", - "unsigned-varint", - "void", -] - -[[package]] -name = "libp2p-pnet" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1a458bbda880107b5b36fcb9b5a1ef0c329685da0e203ed692a8ebe64cc92c" -dependencies = [ - "futures", - "log", - "pin-project", - "rand 0.7.3", - "salsa20", - "sha3 0.9.1", -] - -[[package]] -name = "libp2p-relay" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4931547ee0cce03971ccc1733ff05bb0c4349fd89120a39e9861e2bbe18843c3" -dependencies = [ - "asynchronous-codec", - "bytes", - "either", - "futures", - "futures-timer", - "instant", - "libp2p-core", - "libp2p-swarm", - "log", - "pin-project", - "prost 0.10.3", - "prost-build 0.10.4", - "prost-codec", - "rand 0.8.5", - "smallvec", - "static_assertions", - "thiserror", - "void", -] - -[[package]] -name = "libp2p-rendezvous" -version = "0.7.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9511c9672ba33284838e349623319c8cad2d18cfad243ae46c6b7e8a2982ea4e" +checksum = "7228b9318d34689521349a86eb39a3c3a802c9efc99a0568062ffb80913e3f91" dependencies = [ - "asynchronous-codec", - "bimap", "futures", "futures-timer", "instant", "libp2p-core", "libp2p-swarm", "log", - "prost 0.10.3", - "prost-build 0.10.4", "rand 0.8.5", - "sha2 0.10.2", - "thiserror", - "unsigned-varint", "void", ] [[package]] name = "libp2p-request-response" -version = "0.19.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "508a189e2795d892c8f5c1fa1e9e0b1845d32d7b0b249dbf7b05b18811361843" +checksum = "8827af16a017b65311a410bb626205a9ad92ec0473967618425039fa5231adc1" dependencies = [ "async-trait", "bytes", @@ -3834,16 +3622,16 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "rand 0.7.3", + "rand 0.8.5", "smallvec", "unsigned-varint", ] [[package]] name = "libp2p-swarm" -version = "0.37.0" +version = "0.40.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95ac5be6c2de2d1ff3f7693fda6faf8a827b1f3e808202277783fea9f527d114" +checksum = "46d13df7c37807965d82930c0e4b04a659efcb6cca237373b206043db5398ecf" dependencies = [ "either", "fnv", @@ -3853,7 +3641,7 @@ dependencies = [ "libp2p-core", "log", "pin-project", - "rand 0.7.3", + "rand 0.8.5", "smallvec", "thiserror", "void", @@ -3861,48 +3649,36 @@ dependencies = [ [[package]] name = "libp2p-swarm-derive" -version = "0.28.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f54a64b6957249e0ce782f8abf41d97f69330d02bf229f0672d864f0650cc76" +checksum = "a0eddc4497a8b5a506013c40e8189864f9c3a00db2b25671f428ae9007f3ba32" dependencies = [ + "heck", "quote", "syn", ] [[package]] name = "libp2p-tcp" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a6771dc19aa3c65d6af9a8c65222bfc8fcd446630ddca487acd161fa6096f3b" +checksum = "9839d96761491c6d3e238e70554b856956fca0ab60feb9de2cd08eed4473fa92" dependencies = [ "async-io", "futures", "futures-timer", "if-watch", - "ipnet", "libc", "libp2p-core", "log", "socket2", ] -[[package]] -name = "libp2p-uds" -version = "0.33.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d125e3e5f0d58f3c6ac21815b20cf4b6a88b8db9dc26368ea821838f4161fd4d" -dependencies = [ - "async-std", - "futures", - "libp2p-core", - "log", -] - [[package]] name = "libp2p-wasm-ext" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec894790eec3c1608f8d1a8a0bdf0dbeb79ed4de2dce964222011c2896dfa05a" +checksum = "a17b5b8e7a73e379e47b1b77f8a82c4721e97eca01abcd18e9cd91a23ca6ce97" dependencies = [ "futures", "js-sys", @@ -3914,9 +3690,9 @@ dependencies = [ [[package]] name = "libp2p-websocket" -version = "0.36.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9808e57e81be76ff841c106b4c5974fb4d41a233a7bdd2afbf1687ac6def3818" +checksum = "3758ae6f89b2531a24b6d9f5776bda6a626b60a57600d7185d43dfa75ca5ecc4" dependencies = [ "either", "futures", @@ -3933,12 +3709,13 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.38.0" +version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6dea686217a06072033dc025631932810e2f6ad784e4fafa42e27d311c7a81c" +checksum = "30f079097a21ad017fc8139460630286f02488c8c13b26affb46623aa20d8845" dependencies = [ "futures", "libp2p-core", + "log", "parking_lot 0.12.1", "thiserror", "yamux", @@ -4376,7 +4153,7 @@ dependencies = [ "digest 0.10.3", "multihash-derive", "sha2 0.10.2", - "sha3 0.10.0", + "sha3", "unsigned-varint", ] @@ -4402,9 +4179,9 @@ checksum = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" [[package]] name = "multistream-select" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "363a84be6453a70e63513660f4894ef815daf88e3356bffcda9ca27d810ce83b" +checksum = "9bc41247ec209813e2fd414d6e16b9d94297dacf3cd613fa6ef09cd4d9755c10" dependencies = [ "bytes", "futures", @@ -4490,9 +4267,9 @@ dependencies = [ [[package]] name = "netlink-packet-route" -version = "0.11.0" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "733ea73609acfd7fa7ddadfb7bf709b0471668c456ad9513685af543a06342b2" +checksum = "d9ea4302b9759a7a88242299225ea3688e63c85ea136371bb6cf94fd674efaab" dependencies = [ "anyhow", "bitflags", @@ -4516,23 +4293,24 @@ dependencies = [ [[package]] name = "netlink-proto" -version = "0.9.2" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef8785b8141e8432aa45fceb922a7e876d7da3fad37fa7e7ec702ace3aa0826b" +checksum = "65b4b14489ab424703c092062176d52ba55485a89c076b4f9db05092b7223aa6" dependencies = [ "bytes", "futures", "log", "netlink-packet-core", "netlink-sys", + "thiserror", "tokio", ] [[package]] name = "netlink-sys" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c9f9547a08241bee7b6558b9b98e1f290d187de8b7cfca2bbb4937bcaa8f8" +checksum = "92b654097027250401127914afb37cb1f311df6610a9891ff07a757e94199027" dependencies = [ "async-io", "bytes", @@ -4541,19 +4319,6 @@ dependencies = [ "log", ] -[[package]] -name = "nix" -version = "0.22.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4916f159ed8e5de0082076562152a76b7a1f64a01fd9d1e0fea002c37624faf" -dependencies = [ - "bitflags", - "cc", - "cfg-if 1.0.0", - "libc", - "memoffset", -] - [[package]] name = "nix" version = "0.23.1" @@ -4840,15 +4605,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "owning_ref" -version = "0.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff55baddef9e4ad00f88b6c743a2a8062d4c6ade126c2a528644b8e444d52ce" -dependencies = [ - "stable_deref_trait", -] - [[package]] name = "owo-colors" version = "3.2.0" @@ -4858,7 +4614,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4872,7 +4628,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -4888,7 +4644,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -4903,7 +4659,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4927,7 +4683,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4947,7 +4703,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4966,7 +4722,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +4737,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "beefy-primitives", "frame-support", @@ -4997,7 +4753,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -5020,7 +4776,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5038,7 +4794,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5057,7 +4813,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5074,7 +4830,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5091,7 +4847,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5109,7 +4865,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5133,7 +4889,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5146,7 +4902,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5164,7 +4920,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5185,7 +4941,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5200,7 +4956,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5223,7 +4979,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5239,7 +4995,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5259,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5276,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5293,7 +5049,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5311,7 +5067,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5326,7 +5082,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5342,7 +5098,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -5359,7 +5115,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5379,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "sp-api", @@ -5389,7 +5145,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -5406,7 +5162,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5429,7 +5185,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5446,7 +5202,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5461,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5479,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5494,7 +5250,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5512,7 +5268,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5528,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -5549,7 +5305,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5565,7 +5321,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -5579,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5602,7 +5358,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5613,7 +5369,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "sp-arithmetic", @@ -5622,7 +5378,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -5636,7 +5392,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5654,7 +5410,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5673,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-support", "frame-system", @@ -5689,7 +5445,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5704,7 +5460,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5715,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5732,7 +5488,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5748,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5763,7 +5519,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-benchmarking", "frame-support", @@ -7845,21 +7601,21 @@ dependencies = [ [[package]] name = "prometheus-client" -version = "0.16.0" +version = "0.18.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1abe0255c04d15f571427a2d1e00099016506cf3297b53853acd2b7eb87825" +checksum = "83cd1b99916654a69008fd66b4f9397fbe08e6e51dfe23d4417acf5d3b8cb87c" dependencies = [ "dtoa", "itoa 1.0.1", - "owning_ref", + "parking_lot 0.12.1", "prometheus-client-derive-text-encode", ] [[package]] name = "prometheus-client-derive-text-encode" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e8e12d01b9d66ad9eb4529c57666b6263fc1993cb30261d83ead658fdd932652" +checksum = "66a455fbcb954c1a7decf3c586e860fd7889cddf4b8e164be736dbac95a953cd" dependencies = [ "proc-macro2", "quote", @@ -7877,16 +7633,6 @@ dependencies = [ "regex", ] -[[package]] -name = "prost" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc03e116981ff7d8da8e5c220e374587b98d294af7ba7dd7fda761158f00086f" -dependencies = [ - "bytes", - "prost-derive 0.10.1", -] - [[package]] name = "prost" version = "0.11.0" @@ -7894,29 +7640,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "399c3c31cdec40583bb68f0b18403400d01ec4289c383aa047560439952c4dd7" dependencies = [ "bytes", - "prost-derive 0.11.0", -] - -[[package]] -name = "prost-build" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae5a4388762d5815a9fc0dea33c56b021cdc8dde0c55e0c9ca57197254b0cab" -dependencies = [ - "bytes", - "cfg-if 1.0.0", - "cmake", - "heck", - "itertools", - "lazy_static", - "log", - "multimap", - "petgraph", - "prost 0.10.3", - "prost-types 0.10.1", - "regex", - "tempfile", - "which", + "prost-derive", ] [[package]] @@ -7932,8 +7656,8 @@ dependencies = [ "log", "multimap", "petgraph", - "prost 0.11.0", - "prost-types 0.11.1", + "prost", + "prost-types", "regex", "tempfile", "which", @@ -7941,30 +7665,17 @@ dependencies = [ [[package]] name = "prost-codec" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00af1e92c33b4813cc79fda3f2dbf56af5169709be0202df730e9ebc3e4cd007" +checksum = "011ae9ff8359df7915f97302d591cdd9e0e27fbd5a4ddc5bd13b71079bb20987" dependencies = [ "asynchronous-codec", "bytes", - "prost 0.10.3", + "prost", "thiserror", "unsigned-varint", ] -[[package]] -name = "prost-derive" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc" -dependencies = [ - "anyhow", - "itertools", - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "prost-derive" version = "0.11.0" @@ -7978,16 +7689,6 @@ dependencies = [ "syn", ] -[[package]] -name = "prost-types" -version = "0.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d0a014229361011dc8e69c8a1ec6c2e8d0f2af7c91e3ea3f5b2170298461e68" -dependencies = [ - "bytes", - "prost 0.10.3", -] - [[package]] name = "prost-types" version = "0.11.1" @@ -7995,7 +7696,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dfaa718ad76a44b3415e6c4d53b17c8f99160dcb3a99b10470fce8ad43f6e3e" dependencies = [ "bytes", - "prost 0.11.0", + "prost", ] [[package]] @@ -8301,7 +8002,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8518,16 +8219,16 @@ dependencies = [ [[package]] name = "rtnetlink" -version = "0.9.1" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f54290e54521dac3de4149d83ddf9f62a359b3cc93bcb494a794a41e6f4744b" +checksum = "322c53fd76a18698f1c27381d58091de3a043d356aa5bd0d510608b565f469a0" dependencies = [ "async-global-executor", "futures", "log", "netlink-packet-route", "netlink-proto", - "nix 0.22.3", + "nix 0.24.1", "thiserror", ] @@ -8628,15 +8329,6 @@ version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c9613b5a66ab9ba26415184cfc41156594925a9cf3a2057e57f31ff145f6568" -[[package]] -name = "salsa20" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c0fbb5f676da676c260ba276a8f43a8dc67cf02d1438423aeb1c677a7212686" -dependencies = [ - "cipher", -] - [[package]] name = "same-file" version = "1.0.6" @@ -8649,7 +8341,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "sp-core", @@ -8660,7 +8352,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures", @@ -8669,8 +8361,8 @@ dependencies = [ "libp2p", "log", "parity-scale-codec", - "prost 0.11.0", - "prost-build 0.11.1", + "prost", + "prost-build", "rand 0.7.3", "sc-client-api", "sc-network-common", @@ -8687,7 +8379,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "futures-timer", @@ -8710,7 +8402,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8726,7 +8418,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8743,7 +8435,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8754,7 +8446,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "chrono", @@ -8794,7 +8486,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "fnv", "futures", @@ -8822,7 +8514,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "hash-db", "kvdb", @@ -8847,7 +8539,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures", @@ -8871,7 +8563,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "fork-tree", @@ -8913,7 +8605,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "jsonrpsee", @@ -8935,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8948,7 +8640,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures", @@ -8972,7 +8664,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8999,7 +8691,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "environmental", "parity-scale-codec", @@ -9015,7 +8707,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "parity-scale-codec", @@ -9030,7 +8722,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "cfg-if 1.0.0", "libc", @@ -9050,7 +8742,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "ahash", "array-bytes", @@ -9091,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "finality-grandpa", "futures", @@ -9112,7 +8804,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "ansi_term", "futures", @@ -9129,7 +8821,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "async-trait", @@ -9144,7 +8836,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "async-trait", @@ -9166,7 +8858,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "prost 0.11.0", + "prost", "rand 0.7.3", "sc-block-builder", "sc-client-api", @@ -9191,14 +8883,14 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "cid", "futures", "libp2p", "log", - "prost 0.11.0", - "prost-build 0.11.1", + "prost", + "prost-build", "sc-client-api", "sc-network-common", "sp-blockchain", @@ -9211,7 +8903,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "bitflags", @@ -9221,7 +8913,7 @@ dependencies = [ "libp2p", "linked_hash_set", "parity-scale-codec", - "prost-build 0.11.1", + "prost-build", "sc-consensus", "sc-peerset", "serde", @@ -9237,7 +8929,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "ahash", "futures", @@ -9255,15 +8947,15 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "futures", "libp2p", "log", "parity-scale-codec", - "prost 0.11.0", - "prost-build 0.11.1", + "prost", + "prost-build", "sc-client-api", "sc-network-common", "sc-peerset", @@ -9276,7 +8968,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "fork-tree", @@ -9286,12 +8978,13 @@ dependencies = [ "lru 0.7.8", "mockall", "parity-scale-codec", - "prost 0.11.0", - "prost-build 0.11.1", + "prost", + "prost-build", "sc-client-api", "sc-consensus", "sc-network-common", "sc-peerset", + "sc-utils", "smallvec", "sp-arithmetic", "sp-blockchain", @@ -9305,7 +8998,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "futures", @@ -9324,7 +9017,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "bytes", @@ -9354,7 +9047,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "libp2p", @@ -9367,7 +9060,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9376,7 +9069,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "hash-db", @@ -9406,7 +9099,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "jsonrpsee", @@ -9429,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "jsonrpsee", @@ -9442,7 +9135,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "hex", @@ -9461,7 +9154,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "directories", @@ -9532,7 +9225,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "parity-scale-codec", @@ -9546,7 +9239,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9565,7 +9258,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "libc", @@ -9584,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "chrono", "futures", @@ -9602,7 +9295,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "ansi_term", "atty", @@ -9633,7 +9326,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9644,7 +9337,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures", @@ -9671,7 +9364,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures", @@ -9685,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "futures-timer", @@ -9991,18 +9684,6 @@ dependencies = [ "digest 0.10.3", ] -[[package]] -name = "sha3" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" -dependencies = [ - "block-buffer 0.9.0", - "digest 0.9.0", - "keccak", - "opaque-debug 0.3.0", -] - [[package]] name = "sha3" version = "0.10.0" @@ -10171,7 +9852,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "hash-db", "log", @@ -10189,7 +9870,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "blake2", "proc-macro-crate", @@ -10201,7 +9882,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10214,7 +9895,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "integer-sqrt", "num-traits", @@ -10229,7 +9910,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10242,7 +9923,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "parity-scale-codec", @@ -10254,7 +9935,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "sp-api", @@ -10266,7 +9947,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "log", @@ -10284,7 +9965,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures", @@ -10303,7 +9984,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "merlin", @@ -10326,7 +10007,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10340,7 +10021,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10353,7 +10034,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "base58", @@ -10399,13 +10080,13 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "blake2", "byteorder", "digest 0.10.3", "sha2 0.10.2", - "sha3 0.10.0", + "sha3", "sp-std", "twox-hash", ] @@ -10413,7 +10094,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro2", "quote", @@ -10424,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10433,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro2", "quote", @@ -10443,7 +10124,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "environmental", "parity-scale-codec", @@ -10454,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "finality-grandpa", "log", @@ -10472,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10486,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "bytes", "futures", @@ -10512,7 +10193,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "lazy_static", "sp-core", @@ -10523,7 +10204,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures", @@ -10540,7 +10221,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "thiserror", "zstd", @@ -10549,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "parity-scale-codec", @@ -10565,7 +10246,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10579,7 +10260,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "sp-api", "sp-core", @@ -10589,7 +10270,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "backtrace", "lazy_static", @@ -10599,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "rustc-hash", "serde", @@ -10609,7 +10290,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "either", "hash256-std-hasher", @@ -10632,7 +10313,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10650,7 +10331,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "Inflector", "proc-macro-crate", @@ -10662,7 +10343,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "parity-scale-codec", @@ -10676,7 +10357,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10690,7 +10371,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10701,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "hash-db", "log", @@ -10723,12 +10404,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10741,7 +10422,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "log", "sp-core", @@ -10754,7 +10435,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "futures-timer", @@ -10770,7 +10451,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "sp-std", @@ -10782,7 +10463,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "sp-api", "sp-runtime", @@ -10791,7 +10472,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "async-trait", "log", @@ -10807,7 +10488,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "ahash", "hash-db", @@ -10830,7 +10511,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10847,7 +10528,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10858,7 +10539,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "impl-trait-for-tuples", "log", @@ -10871,7 +10552,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -11086,7 +10767,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "platforms", ] @@ -11094,7 +10775,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -11115,7 +10796,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures-util", "hyper", @@ -11128,7 +10809,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "jsonrpsee", "log", @@ -11149,7 +10830,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "array-bytes", "async-trait", @@ -11175,7 +10856,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "futures", "substrate-test-utils-derive", @@ -11185,7 +10866,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -11196,7 +10877,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "ansi_term", "build-helper", @@ -11441,12 +11122,6 @@ dependencies = [ "sp-runtime", ] -[[package]] -name = "textwrap" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16" - [[package]] name = "thiserror" version = "1.0.31" @@ -11859,9 +11534,9 @@ dependencies = [ [[package]] name = "trust-dns-proto" -version = "0.21.2" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c31f240f59877c3d4bb3b3ea0ec5a6a0cff07323580ff8c7a605cd7d08b255d" +checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" dependencies = [ "async-trait", "cfg-if 1.0.0", @@ -11873,30 +11548,30 @@ dependencies = [ "idna", "ipnet", "lazy_static", - "log", "rand 0.8.5", "smallvec", "thiserror", "tinyvec", + "tracing", "url", ] [[package]] name = "trust-dns-resolver" -version = "0.21.2" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4ba72c2ea84515690c9fcef4c6c660bb9df3036ed1051686de84605b74fd558" +checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" dependencies = [ "cfg-if 1.0.0", "futures-util", "ipconfig", "lazy_static", - "log", "lru-cache", "parking_lot 0.12.1", "resolv-conf", "smallvec", "thiserror", + "tracing", "trust-dns-proto", ] @@ -11909,7 +11584,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f3139874cb50f9028ecba9bdbd3004e7f3f228f5" +source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" dependencies = [ "clap", "frame-try-runtime", @@ -11929,6 +11604,7 @@ dependencies = [ "sp-runtime", "sp-state-machine", "sp-version", + "sp-weights", "zstd", ] @@ -12705,15 +12381,15 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.29.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aac7fef12f4b59cd0a29339406cc9203ab44e440ddff6b3f5a41455349fa9cf3" +checksum = "45296b64204227616fdbf2614cefa4c236b98ee64dfaaaa435207ed99fe7829f" dependencies = [ - "windows_aarch64_msvc 0.29.0", - "windows_i686_gnu 0.29.0", - "windows_i686_msvc 0.29.0", - "windows_x86_64_gnu 0.29.0", - "windows_x86_64_msvc 0.29.0", + "windows_aarch64_msvc 0.34.0", + "windows_i686_gnu 0.34.0", + "windows_i686_msvc 0.34.0", + "windows_x86_64_gnu 0.34.0", + "windows_x86_64_msvc 0.34.0", ] [[package]] @@ -12744,15 +12420,15 @@ dependencies = [ [[package]] name = "windows_aarch64_msvc" -version = "0.29.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3d027175d00b01e0cbeb97d6ab6ebe03b12330a35786cbaca5252b1c4bf5d9b" +checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5" [[package]] name = "windows_aarch64_msvc" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8e92753b1c443191654ec532f14c199742964a061be25d77d7a96f09db20bf5" +checksum = "17cffbe740121affb56fad0fc0e421804adf0ae00891205213b5cecd30db881d" [[package]] name = "windows_aarch64_msvc" @@ -12762,15 +12438,15 @@ checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" [[package]] name = "windows_i686_gnu" -version = "0.29.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8793f59f7b8e8b01eda1a652b2697d87b93097198ae85f823b969ca5b89bba58" +checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615" [[package]] name = "windows_i686_gnu" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a711c68811799e017b6038e0922cb27a5e2f43a2ddb609fe0b6f3eeda9de615" +checksum = "2564fde759adb79129d9b4f54be42b32c89970c18ebf93124ca8870a498688ed" [[package]] name = "windows_i686_gnu" @@ -12780,15 +12456,15 @@ checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" [[package]] name = "windows_i686_msvc" -version = "0.29.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8602f6c418b67024be2996c512f5f995de3ba417f4c75af68401ab8756796ae4" +checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172" [[package]] name = "windows_i686_msvc" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "146c11bb1a02615db74680b32a68e2d61f553cc24c4eb5b4ca10311740e44172" +checksum = "9cd9d32ba70453522332c14d38814bceeb747d80b3958676007acadd7e166956" [[package]] name = "windows_i686_msvc" @@ -12798,15 +12474,15 @@ checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" [[package]] name = "windows_x86_64_gnu" -version = "0.29.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d615f419543e0bd7d2b3323af0d86ff19cbc4f816e6453f36a2c2ce889c354" +checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc" [[package]] name = "windows_x86_64_gnu" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c912b12f7454c6620635bbff3450962753834be2a594819bd5e945af18ec64bc" +checksum = "cfce6deae227ee8d356d19effc141a509cc503dfd1f850622ec4b0f84428e1f4" [[package]] name = "windows_x86_64_gnu" @@ -12816,15 +12492,15 @@ checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" [[package]] name = "windows_x86_64_msvc" -version = "0.29.0" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "11d95421d9ed3672c280884da53201a5c46b7b2765ca6faf34b0d71cf34a3561" +checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" [[package]] name = "windows_x86_64_msvc" -version = "0.32.0" +version = "0.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "504a2476202769977a040c6364301a3f65d0cc9e3fb08600b2bda150a0488316" +checksum = "d19538ccc21819d01deaf88d6a17eae6596a12e9aafdbb97916fb49896d89de9" [[package]] name = "windows_x86_64_msvc" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 1be1b63c0cfb..726fecda1513 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -14,7 +14,7 @@ wasm-opt = false crate-type = ["cdylib", "rlib"] [dependencies] -clap = { version = "3.1", features = ["derive"], optional = true } +clap = { version = "4.0.9", features = ["derive"], optional = true } log = "0.4.17" thiserror = "1.0.31" futures = "0.3.21" diff --git a/cli/src/cli.rs b/cli/src/cli.rs index 43e49019c019..a6b7f4a3d5c9 100644 --- a/cli/src/cli.rs +++ b/cli/src/cli.rs @@ -43,16 +43,16 @@ pub enum Subcommand { Revert(sc_cli::RevertCmd), #[allow(missing_docs)] - #[clap(name = "prepare-worker", hide = true)] + #[command(name = "prepare-worker", hide = true)] PvfPrepareWorker(ValidationWorkerCommand), #[allow(missing_docs)] - #[clap(name = "execute-worker", hide = true)] + #[command(name = "execute-worker", hide = true)] PvfExecuteWorker(ValidationWorkerCommand), /// Sub-commands concerned with benchmarking. /// The pallet benchmarking moved to the `pallet` sub-command. - #[clap(subcommand)] + #[command(subcommand)] Benchmark(frame_benchmarking_cli::BenchmarkCmd), /// Runs performance checks such as PVF compilation in order to measure machine @@ -68,7 +68,7 @@ pub enum Subcommand { TryRuntime, /// Key management CLI utilities - #[clap(subcommand)] + #[command(subcommand)] Key(sc_cli::KeySubcommand), /// Db meta columns information. @@ -84,21 +84,22 @@ pub struct ValidationWorkerCommand { #[allow(missing_docs)] #[derive(Debug, Parser)] +#[group(skip)] pub struct RunCmd { #[allow(missing_docs)] #[clap(flatten)] pub base: sc_cli::RunCmd, /// Force using Kusama native runtime. - #[clap(long = "force-kusama")] + #[arg(long = "force-kusama")] pub force_kusama: bool, /// Force using Westend native runtime. - #[clap(long = "force-westend")] + #[arg(long = "force-westend")] pub force_westend: bool, /// Force using Rococo native runtime. - #[clap(long = "force-rococo")] + #[arg(long = "force-rococo")] pub force_rococo: bool, /// Setup a GRANDPA scheduled voting pause. @@ -107,25 +108,25 @@ pub struct RunCmd { /// blocks). After the given block number is finalized the GRANDPA voter /// will temporarily stop voting for new blocks until the given delay has /// elapsed (i.e. until a block at height `pause_block + delay` is imported). - #[clap(long = "grandpa-pause", number_of_values(2))] + #[arg(long = "grandpa-pause", num_args = 2)] pub grandpa_pause: Vec, /// Enable the BEEFY gadget (only on Rococo or Wococo for now). - #[clap(long)] + #[arg(long)] pub beefy: bool, /// Add the destination address to the jaeger agent. /// /// Must be valid socket address, of format `IP:Port` /// commonly `127.0.0.1:6831`. - #[clap(long)] + #[arg(long)] pub jaeger_agent: Option, /// Add the destination address to the `pyroscope` agent. /// /// Must be valid socket address, of format `IP:Port` /// commonly `127.0.0.1:4040`. - #[clap(long)] + #[arg(long)] pub pyroscope_server: Option, /// Disable automatic hardware benchmarks. @@ -135,20 +136,20 @@ pub struct RunCmd { /// /// The results are then printed out in the logs, and also sent as part of /// telemetry, if telemetry is enabled. - #[clap(long)] + #[arg(long)] pub no_hardware_benchmarks: bool, /// Overseer message capacity override. /// /// **Dangerous!** Do not touch unless explicitly adviced to. - #[clap(long)] + #[arg(long)] pub overseer_channel_capacity_override: Option, } #[allow(missing_docs)] #[derive(Debug, Parser)] pub struct Cli { - #[clap(subcommand)] + #[command(subcommand)] pub subcommand: Option, #[clap(flatten)] pub run: RunCmd, diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index 9548857a03ed..e7fe9ebc8aa6 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -29,7 +29,7 @@ assert_matches = "1.5" async-trait = "0.1.57" sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -clap = { version = "3.2.21", features = ["derive"] } +clap = { version = "4.0.9", features = ["derive"] } futures = "0.3.21" futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../gum/" } diff --git a/node/malus/src/malus.rs b/node/malus/src/malus.rs index 13e232198ea6..bb466d4ba4de 100644 --- a/node/malus/src/malus.rs +++ b/node/malus/src/malus.rs @@ -28,8 +28,7 @@ use variants::*; /// Define the different variants of behavior. #[derive(Debug, Parser)] -#[clap(about = "Malus - the nemesis of polkadot.", version)] -#[clap(rename_all = "kebab-case")] +#[command(about = "Malus - the nemesis of polkadot.", version, rename_all = "kebab-case")] enum NemesisVariant { /// Suggest a candidate with an invalid proof of validity. SuggestGarbageCandidate(SuggestGarbageCandidateOptions), @@ -39,18 +38,18 @@ enum NemesisVariant { DisputeAncestor(DisputeAncestorOptions), #[allow(missing_docs)] - #[clap(name = "prepare-worker", hide = true)] + #[command(name = "prepare-worker", hide = true)] PvfPrepareWorker(polkadot_cli::ValidationWorkerCommand), #[allow(missing_docs)] - #[clap(name = "execute-worker", hide = true)] + #[command(name = "execute-worker", hide = true)] PvfExecuteWorker(polkadot_cli::ValidationWorkerCommand), } #[derive(Debug, Parser)] #[allow(missing_docs)] struct MalusCli { - #[clap(subcommand)] + #[command(subcommand)] pub variant: NemesisVariant, /// Sets the minimum delay between the best and finalized block. pub finality_delay: Option, diff --git a/node/malus/src/variants/common.rs b/node/malus/src/variants/common.rs index 845dac0b6fea..610b43bc33a4 100644 --- a/node/malus/src/variants/common.rs +++ b/node/malus/src/variants/common.rs @@ -33,11 +33,10 @@ use polkadot_primitives::v2::{ }; use futures::channel::oneshot; - use rand::distributions::{Bernoulli, Distribution}; -#[derive(clap::ArgEnum, Clone, Copy, Debug, PartialEq)] -#[clap(rename_all = "kebab-case")] +#[derive(clap::ValueEnum, Clone, Copy, Debug, PartialEq)] +#[value(rename_all = "kebab-case")] #[non_exhaustive] pub enum FakeCandidateValidation { Disabled, @@ -50,8 +49,8 @@ pub enum FakeCandidateValidation { } /// Candidate invalidity details -#[derive(clap::ArgEnum, Clone, Copy, Debug, PartialEq)] -#[clap(rename_all = "kebab-case")] +#[derive(clap::ValueEnum, Clone, Copy, Debug, PartialEq)] +#[value(rename_all = "kebab-case")] pub enum FakeCandidateValidationError { /// Validation outputs check doesn't pass. InvalidOutputs, diff --git a/node/malus/src/variants/dispute_valid_candidates.rs b/node/malus/src/variants/dispute_valid_candidates.rs index c8e6afe643c5..cea058023d6f 100644 --- a/node/malus/src/variants/dispute_valid_candidates.rs +++ b/node/malus/src/variants/dispute_valid_candidates.rs @@ -41,18 +41,18 @@ use crate::{interceptor::*, variants::ReplaceValidationResult}; use std::sync::Arc; #[derive(Debug, clap::Parser)] -#[clap(rename_all = "kebab-case")] +#[command(rename_all = "kebab-case")] #[allow(missing_docs)] pub struct DisputeAncestorOptions { /// Malicious candidate validation subsystem configuration. When enabled, node PVF execution is skipped /// during backing and/or approval and it's result can by specified by this option and `--fake-validation-error` /// for invalid candidate outcomes. - #[clap(long, arg_enum, ignore_case = true, default_value_t = FakeCandidateValidation::BackingAndApprovalInvalid)] + #[arg(long, value_enum, ignore_case = true, default_value_t = FakeCandidateValidation::BackingAndApprovalInvalid)] pub fake_validation: FakeCandidateValidation, /// Applies only when `--fake-validation` is configured to reject candidates as invalid. It allows /// to specify the exact error to return from the malicious candidate validation subsystem. - #[clap(long, arg_enum, ignore_case = true, default_value_t = FakeCandidateValidationError::InvalidOutputs)] + #[arg(long, value_enum, ignore_case = true, default_value_t = FakeCandidateValidationError::InvalidOutputs)] pub fake_validation_error: FakeCandidateValidationError, /// Determines the percentage of candidates that should be disputed. Allows for fine-tuning diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index 0463711130d2..6b41824b2e76 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -15,7 +15,7 @@ path = "bin/puppet_worker.rs" [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } -clap = { version = "3.1", features = ["derive"] } +clap = { version = "4.0.9", features = ["derive"] } futures = "0.3.21" futures-timer = "3.0.2" log = "0.4.17" diff --git a/parachain/test-parachains/adder/collator/src/cli.rs b/parachain/test-parachains/adder/collator/src/cli.rs index 8e55a7821f3d..a71837c4663a 100644 --- a/parachain/test-parachains/adder/collator/src/cli.rs +++ b/parachain/test-parachains/adder/collator/src/cli.rs @@ -23,11 +23,11 @@ use sc_cli::{RuntimeVersion, SubstrateCli}; #[derive(Debug, Parser)] pub enum Subcommand { /// Export the genesis state of the parachain. - #[clap(name = "export-genesis-state")] + #[command(name = "export-genesis-state")] ExportGenesisState(ExportGenesisStateCommand), /// Export the genesis wasm of the parachain. - #[clap(name = "export-genesis-wasm")] + #[command(name = "export-genesis-wasm")] ExportGenesisWasm(ExportGenesisWasmCommand), } @@ -41,20 +41,21 @@ pub struct ExportGenesisWasmCommand {} #[allow(missing_docs)] #[derive(Debug, Parser)] +#[group(skip)] pub struct RunCmd { #[allow(missing_docs)] #[clap(flatten)] pub base: sc_cli::RunCmd, /// Id of the parachain this collator collates for. - #[clap(long)] + #[arg(long)] pub parachain_id: Option, } #[allow(missing_docs)] #[derive(Debug, Parser)] pub struct Cli { - #[clap(subcommand)] + #[command(subcommand)] pub subcommand: Option, #[clap(flatten)] diff --git a/parachain/test-parachains/undying/collator/Cargo.toml b/parachain/test-parachains/undying/collator/Cargo.toml index a9b5eed27e6d..d62a34700ebf 100644 --- a/parachain/test-parachains/undying/collator/Cargo.toml +++ b/parachain/test-parachains/undying/collator/Cargo.toml @@ -15,7 +15,7 @@ path = "bin/puppet_worker.rs" [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } -clap = { version = "3.1", features = ["derive"] } +clap = { version = "4.0.9", features = ["derive"] } futures = "0.3.19" futures-timer = "3.0.2" log = "0.4.17" diff --git a/parachain/test-parachains/undying/collator/src/cli.rs b/parachain/test-parachains/undying/collator/src/cli.rs index 4f1ff06e7472..703a0bfd46f6 100644 --- a/parachain/test-parachains/undying/collator/src/cli.rs +++ b/parachain/test-parachains/undying/collator/src/cli.rs @@ -23,11 +23,11 @@ use sc_cli::{RuntimeVersion, SubstrateCli}; #[derive(Debug, Parser)] pub enum Subcommand { /// Export the genesis state of the parachain. - #[clap(name = "export-genesis-state")] + #[command(name = "export-genesis-state")] ExportGenesisState(ExportGenesisStateCommand), /// Export the genesis wasm of the parachain. - #[clap(name = "export-genesis-wasm")] + #[command(name = "export-genesis-wasm")] ExportGenesisWasm(ExportGenesisWasmCommand), } @@ -35,16 +35,16 @@ pub enum Subcommand { #[derive(Debug, Parser)] pub struct ExportGenesisStateCommand { /// Id of the parachain this collator collates for. - #[clap(long, default_value = "100")] + #[arg(long, default_value_t = 100)] pub parachain_id: u32, /// The target raw PoV size in bytes. Minimum value is 64. - #[clap(long, default_value = "1024")] + #[arg(long, default_value_t = 1024)] pub pov_size: usize, /// The PVF execution complexity. Actually specifies how many iterations/signatures /// we compute per block. - #[clap(long, default_value = "1")] + #[arg(long, default_value_t = 1)] pub pvf_complexity: u32, } @@ -54,29 +54,30 @@ pub struct ExportGenesisWasmCommand {} #[allow(missing_docs)] #[derive(Debug, Parser)] +#[group(skip)] pub struct RunCmd { #[allow(missing_docs)] #[clap(flatten)] pub base: sc_cli::RunCmd, /// Id of the parachain this collator collates for. - #[clap(long, default_value = "2000")] + #[arg(long, default_value_t = 2000)] pub parachain_id: u32, /// The target raw PoV size in bytes. Minimum value is 64. - #[clap(long, default_value = "1024")] + #[arg(long, default_value_t = 1024)] pub pov_size: usize, /// The PVF execution complexity. Actually specifies how many iterations/signatures /// we compute per block. - #[clap(long, default_value = "1")] + #[arg(long, default_value_t = 1)] pub pvf_complexity: u32, } #[allow(missing_docs)] #[derive(Debug, Parser)] pub struct Cli { - #[clap(subcommand)] + #[command(subcommand)] pub subcommand: Option, #[clap(flatten)] diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index a8ffb6b1c9ee..5b455d83ef6e 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Parity Technologies "] edition = "2021" [dependencies] -clap = { version = "3.1", features = ["derive"] } +clap = { version = "4.0.9", features = ["derive"] } generate-bags = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/utils/generate-bags/src/main.rs b/utils/generate-bags/src/main.rs index 9f5dbada3e93..409b28b5b79d 100644 --- a/utils/generate-bags/src/main.rs +++ b/utils/generate-bags/src/main.rs @@ -20,15 +20,15 @@ //! touched again. It can be reused to regenerate a wholly different //! quantity of bags, or if the existential deposit changes, etc. -use clap::{ArgEnum, Parser}; +use clap::{Parser, ValueEnum}; use generate_bags::generate_thresholds; use kusama_runtime::Runtime as KusamaRuntime; use polkadot_runtime::Runtime as PolkadotRuntime; use std::path::{Path, PathBuf}; use westend_runtime::Runtime as WestendRuntime; -#[derive(Clone, Debug, ArgEnum)] -#[clap(rename_all = "PascalCase")] +#[derive(Clone, Debug, ValueEnum)] +#[value(rename_all = "PascalCase")] enum Runtime { Westend, Kusama, @@ -50,22 +50,22 @@ impl Runtime { #[derive(Debug, Parser)] struct Opt { /// How many bags to generate. - #[clap(long, default_value = "200")] + #[arg(long, default_value_t = 200)] n_bags: usize, /// Which runtime to generate. - #[clap(long, ignore_case = true, arg_enum, default_value = "Polkadot")] + #[arg(long, ignore_case = true, value_enum, default_value_t = Runtime::Polkadot)] runtime: Runtime, /// Where to write the output. output: PathBuf, /// The total issuance of the native currency. - #[clap(short, long)] + #[arg(short, long)] total_issuance: u128, /// The minimum account balance (i.e. existential deposit) for the native currency. - #[clap(short, long)] + #[arg(short, long)] minimum_balance: u128, } diff --git a/utils/remote-ext-tests/bags-list/Cargo.toml b/utils/remote-ext-tests/bags-list/Cargo.toml index d3999c779ef1..a726e6353499 100644 --- a/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/utils/remote-ext-tests/bags-list/Cargo.toml @@ -17,6 +17,6 @@ sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master frame-system = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } -clap = { version = "3.1", features = ["derive"] } +clap = { version = "4.0.9", features = ["derive"] } log = "0.4.17" tokio = { version = "1.19.2", features = ["macros"] } diff --git a/utils/remote-ext-tests/bags-list/src/main.rs b/utils/remote-ext-tests/bags-list/src/main.rs index 0fafa5e96f7a..53d81c4b4e05 100644 --- a/utils/remote-ext-tests/bags-list/src/main.rs +++ b/utils/remote-ext-tests/bags-list/src/main.rs @@ -16,18 +16,18 @@ //! Remote tests for bags-list pallet. -use clap::{ArgEnum, Parser}; +use clap::{Parser, ValueEnum}; -#[derive(Clone, Debug, ArgEnum)] -#[clap(rename_all = "PascalCase")] +#[derive(Clone, Debug, ValueEnum)] +#[value(rename_all = "PascalCase")] enum Command { CheckMigration, SanityCheck, Snapshot, } -#[derive(Clone, Debug, ArgEnum)] -#[clap(rename_all = "PascalCase")] +#[derive(Clone, Debug, ValueEnum)] +#[value(rename_all = "PascalCase")] enum Runtime { Polkadot, Kusama, @@ -36,13 +36,13 @@ enum Runtime { #[derive(Parser)] struct Cli { - #[clap(long, short, default_value = "wss://kusama-rpc.polkadot.io:443")] + #[arg(long, short, default_value = "wss://kusama-rpc.polkadot.io:443")] uri: String, - #[clap(long, short, ignore_case = true, arg_enum, default_value = "kusama")] + #[arg(long, short, ignore_case = true, value_enum, default_value_t = Runtime::Kusama)] runtime: Runtime, - #[clap(long, short, ignore_case = true, arg_enum, default_value = "SanityCheck")] + #[arg(long, short, ignore_case = true, value_enum, default_value_t = Command::SanityCheck)] command: Command, - #[clap(long, short)] + #[arg(long, short)] snapshot_limit: Option, } diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 1d0e4f4f54a4..bd0171f12b70 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } -clap = { version = "3.1", features = ["derive", "env"] } +clap = { version = "4.0.9", features = ["derive", "env"] } tracing-subscriber = { version = "0.3.11", features = ["env-filter"] } jsonrpsee = { version = "0.15.1", features = ["ws-client", "macros"] } log = "0.4.17" diff --git a/utils/staking-miner/src/opts.rs b/utils/staking-miner/src/opts.rs index f43744ad45e8..0a6c50cda90a 100644 --- a/utils/staking-miner/src/opts.rs +++ b/utils/staking-miner/src/opts.rs @@ -21,21 +21,21 @@ use std::str::FromStr; #[derive(Debug, Clone, Parser)] #[cfg_attr(test, derive(PartialEq))] -#[clap(author, version, about)] +#[command(author, version, about)] pub(crate) struct Opt { /// The `ws` node to connect to. - #[clap(long, short, default_value = DEFAULT_URI, env = "URI", global = true)] + #[arg(long, short, default_value = DEFAULT_URI, env = "URI", global = true)] pub uri: String, /// WS connection timeout in number of seconds. - #[clap(long, parse(try_from_str), default_value_t = 60)] + #[arg(long, default_value_t = 60)] pub connection_timeout: usize, /// WS request timeout in number of seconds. - #[clap(long, parse(try_from_str), default_value_t = 60 * 10)] + #[arg(long, default_value_t = 60 * 10)] pub request_timeout: usize, - #[clap(subcommand)] + #[command(subcommand)] pub command: Command, } @@ -65,7 +65,7 @@ pub(crate) struct MonitorConfig { /// /// WARNING: Don't use an account with a large stash for this. Based on how the bot is /// configured, it might re-try and lose funds through transaction fees/deposits. - #[clap(long, short, env = "SEED")] + #[arg(long, short, env = "SEED")] pub seed_or_path: String, /// They type of event to listen to. @@ -73,11 +73,11 @@ pub(crate) struct MonitorConfig { /// Typically, finalized is safer and there is no chance of anything going wrong, but it can be /// slower. It is recommended to use finalized, if the duration of the signed phase is longer /// than the the finality delay. - #[clap(long, default_value = "head", possible_values = &["head", "finalized"])] + #[arg(long, default_value = "head", value_parser = ["head", "finalized"])] pub listen: String, /// The solver algorithm to use. - #[clap(subcommand)] + #[command(subcommand)] pub solver: Solver, /// Submission strategy to use. @@ -89,7 +89,7 @@ pub(crate) struct MonitorConfig { /// `--submission-strategy always`: always submit. /// /// `--submission-strategy "percent-better "`: submit if the submission is `n` percent better. - #[clap(long, parse(try_from_str), default_value = "if-leading")] + #[arg(long, default_value = "if-leading")] pub submission_strategy: SubmissionStrategy, /// Delay in number seconds to wait until starting mining a solution. @@ -100,7 +100,7 @@ pub(crate) struct MonitorConfig { /// /// When this is enabled and there are competing solutions, your solution might not be submitted /// if the scores are equal. - #[clap(long, parse(try_from_str), default_value_t = 0)] + #[arg(long, default_value_t = 0)] pub delay: usize, } @@ -114,19 +114,19 @@ pub(crate) struct DryRunConfig { /// /// WARNING: Don't use an account with a large stash for this. Based on how the bot is /// configured, it might re-try and lose funds through transaction fees/deposits. - #[clap(long, short, env = "SEED")] + #[arg(long, short, env = "SEED")] pub seed_or_path: String, /// The block hash at which scraping happens. If none is provided, the latest head is used. - #[clap(long)] + #[arg(long)] pub at: Option, /// The solver algorithm to use. - #[clap(subcommand)] + #[command(subcommand)] pub solver: Solver, /// Force create a new snapshot, else expect one to exist onchain. - #[clap(long)] + #[arg(long)] pub force_snapshot: bool, } @@ -134,11 +134,11 @@ pub(crate) struct DryRunConfig { #[cfg_attr(test, derive(PartialEq))] pub(crate) struct EmergencySolutionConfig { /// The block hash at which scraping happens. If none is provided, the latest head is used. - #[clap(long)] + #[arg(long)] pub at: Option, /// The solver algorithm to use. - #[clap(subcommand)] + #[command(subcommand)] pub solver: Solver, /// The number of top backed winners to take. All are taken, if not provided. @@ -149,7 +149,7 @@ pub(crate) struct EmergencySolutionConfig { #[cfg_attr(test, derive(PartialEq))] pub(crate) struct InfoOpts { /// Serialize the output as json - #[clap(long, short)] + #[arg(long, short)] pub json: bool, } @@ -170,11 +170,11 @@ pub enum SubmissionStrategy { #[cfg_attr(test, derive(PartialEq))] pub(crate) enum Solver { SeqPhragmen { - #[clap(long, default_value = "10")] + #[arg(long, default_value_t = 10)] iterations: usize, }, PhragMMS { - #[clap(long, default_value = "10")] + #[arg(long, default_value_t = 10)] iterations: usize, }, } From 4e4fb3128d222ae3734f6c8f2e6ad3489576f283 Mon Sep 17 00:00:00 2001 From: Andronik Date: Tue, 18 Oct 2022 15:15:49 +0200 Subject: [PATCH 064/211] availability-recovery: use `IfDisconnected::TryConnect` for chunks (#6081) * availability-recovery: use `IfDisconnected::TryConnect` for chunks * fix tests --- node/network/availability-recovery/src/lib.rs | 2 +- node/network/availability-recovery/src/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/network/availability-recovery/src/lib.rs b/node/network/availability-recovery/src/lib.rs index f2f92cc54490..a07f4e0baa52 100644 --- a/node/network/availability-recovery/src/lib.rs +++ b/node/network/availability-recovery/src/lib.rs @@ -362,7 +362,7 @@ impl RequestChunksFromValidators { sender .send_message(NetworkBridgeTxMessage::SendRequests( requests, - IfDisconnected::ImmediateError, + IfDisconnected::TryConnect, )) .await; } diff --git a/node/network/availability-recovery/src/tests.rs b/node/network/availability-recovery/src/tests.rs index 8a5191e70b26..3e898088c7f9 100644 --- a/node/network/availability-recovery/src/tests.rs +++ b/node/network/availability-recovery/src/tests.rs @@ -311,7 +311,7 @@ impl TestState { AllMessages::NetworkBridgeTx( NetworkBridgeTxMessage::SendRequests( requests, - IfDisconnected::ImmediateError, + _if_disconnected, ) ) => { for req in requests { From 6e1baff5de3246dc14548c8f3b17633077ba8f6a Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Tue, 18 Oct 2022 16:01:26 +0200 Subject: [PATCH 065/211] BlockId removal: refactor: StorageProvider (#6160) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * BlockId removal: refactor: StorageProvider It changes the arguments of `Backend::StorageProvider` trait from: block: `BlockId` to: hash: `&Block::Hash` * Update node/client/src/lib.rs Co-authored-by: Bastian Köcher * update lockfile for {"substrate"} Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> --- Cargo.lock | 359 +++++++++++++++++++++-------------------- node/client/src/lib.rs | 36 ++--- 2 files changed, 198 insertions(+), 197 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c5afe871760..bfe222666e5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "beefy-primitives", "sp-api", @@ -502,10 +502,11 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", + "serde", "sp-api", "sp-application-crypto", "sp-core", @@ -1981,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", ] @@ -2005,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -2028,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "Inflector", "array-bytes", @@ -2079,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2090,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2106,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -2135,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "bitflags", "frame-metadata", @@ -2167,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "Inflector", "cfg-expr", @@ -2181,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2193,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro2", "quote", @@ -2203,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2226,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -2237,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "log", @@ -2255,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -2270,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "sp-api", @@ -2279,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "parity-scale-codec", @@ -2450,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "chrono", "frame-election-provider-support", @@ -4614,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4628,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -4644,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -4659,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4683,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4703,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4722,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4737,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "beefy-primitives", "frame-support", @@ -4753,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4776,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4794,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4813,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4830,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4847,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4865,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4889,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4902,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4920,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4941,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4956,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4979,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4995,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5049,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5067,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5082,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5098,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -5115,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5135,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "sp-api", @@ -5145,7 +5146,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -5162,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5185,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5202,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5217,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5235,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5250,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5268,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5284,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -5305,7 +5306,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5321,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -5335,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5358,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5369,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "sp-arithmetic", @@ -5378,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -5392,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5410,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5429,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-support", "frame-system", @@ -5445,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5460,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5471,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5488,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5504,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5519,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-benchmarking", "frame-support", @@ -8002,7 +8003,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8341,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "sp-core", @@ -8352,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures", @@ -8379,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "futures-timer", @@ -8402,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8418,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8435,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8446,7 +8447,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "chrono", @@ -8486,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "fnv", "futures", @@ -8514,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "hash-db", "kvdb", @@ -8539,7 +8540,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures", @@ -8563,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "fork-tree", @@ -8605,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "jsonrpsee", @@ -8627,7 +8628,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8640,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures", @@ -8664,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8691,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "environmental", "parity-scale-codec", @@ -8707,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "parity-scale-codec", @@ -8722,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8742,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "ahash", "array-bytes", @@ -8783,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "finality-grandpa", "futures", @@ -8804,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "ansi_term", "futures", @@ -8821,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "async-trait", @@ -8836,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "async-trait", @@ -8883,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "cid", "futures", @@ -8903,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "bitflags", @@ -8929,7 +8930,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "ahash", "futures", @@ -8947,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "futures", @@ -8968,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "fork-tree", @@ -8998,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "futures", @@ -9017,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "bytes", @@ -9047,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "libp2p", @@ -9060,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9069,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "hash-db", @@ -9099,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "jsonrpsee", @@ -9122,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "jsonrpsee", @@ -9135,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "hex", @@ -9154,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "directories", @@ -9225,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "parity-scale-codec", @@ -9239,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9258,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "libc", @@ -9277,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "chrono", "futures", @@ -9295,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "ansi_term", "atty", @@ -9326,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9337,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures", @@ -9364,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures", @@ -9378,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "futures-timer", @@ -9852,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "hash-db", "log", @@ -9870,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "blake2", "proc-macro-crate", @@ -9882,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", @@ -9895,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "integer-sqrt", "num-traits", @@ -9910,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", @@ -9923,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "parity-scale-codec", @@ -9935,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "sp-api", @@ -9947,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "log", @@ -9965,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures", @@ -9984,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "merlin", @@ -10007,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10021,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10034,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "base58", @@ -10080,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "blake2", "byteorder", @@ -10094,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro2", "quote", @@ -10105,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10114,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro2", "quote", @@ -10124,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "environmental", "parity-scale-codec", @@ -10135,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "finality-grandpa", "log", @@ -10153,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10167,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "bytes", "futures", @@ -10193,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "lazy_static", "sp-core", @@ -10204,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures", @@ -10221,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "thiserror", "zstd", @@ -10230,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "parity-scale-codec", @@ -10246,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10260,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "sp-api", "sp-core", @@ -10270,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "backtrace", "lazy_static", @@ -10280,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "rustc-hash", "serde", @@ -10290,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "either", "hash256-std-hasher", @@ -10313,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10331,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "Inflector", "proc-macro-crate", @@ -10343,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "parity-scale-codec", @@ -10357,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10371,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10382,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "hash-db", "log", @@ -10404,12 +10405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10422,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "log", "sp-core", @@ -10435,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "futures-timer", @@ -10451,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "sp-std", @@ -10463,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "sp-api", "sp-runtime", @@ -10472,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "async-trait", "log", @@ -10488,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "ahash", "hash-db", @@ -10511,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10528,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10539,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "impl-trait-for-tuples", "log", @@ -10552,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10767,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "platforms", ] @@ -10775,7 +10776,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10796,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures-util", "hyper", @@ -10809,7 +10810,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "jsonrpsee", "log", @@ -10830,7 +10831,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "array-bytes", "async-trait", @@ -10856,7 +10857,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10866,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10877,7 +10878,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "ansi_term", "build-helper", @@ -11584,7 +11585,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8a4408c53ae2a1a0ef6cb2f7b603887a231c16f" +source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index 5364cf2c5a09..a254973b99c2 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -421,63 +421,63 @@ impl sc_client_api::BlockBackend for Client { impl sc_client_api::StorageProvider for Client { fn storage( &self, - id: &BlockId, + hash: &::Hash, key: &StorageKey, ) -> sp_blockchain::Result> { with_client! { self, client, { - client.storage(id, key) + client.storage(hash, key) } } } fn storage_keys( &self, - id: &BlockId, + hash: &::Hash, key_prefix: &StorageKey, ) -> sp_blockchain::Result> { with_client! { self, client, { - client.storage_keys(id, key_prefix) + client.storage_keys(hash, key_prefix) } } } fn storage_hash( &self, - id: &BlockId, + hash: &::Hash, key: &StorageKey, ) -> sp_blockchain::Result::Hash>> { with_client! { self, client, { - client.storage_hash(id, key) + client.storage_hash(hash, key) } } } fn storage_pairs( &self, - id: &BlockId, + hash: &::Hash, key_prefix: &StorageKey, ) -> sp_blockchain::Result> { with_client! { self, client, { - client.storage_pairs(id, key_prefix) + client.storage_pairs(hash, key_prefix) } } } fn storage_keys_iter<'a>( &self, - id: &BlockId, + hash: &::Hash, prefix: Option<&'a StorageKey>, start_key: Option<&StorageKey>, ) -> sp_blockchain::Result< @@ -487,14 +487,14 @@ impl sc_client_api::StorageProvider for Client { self, client, { - client.storage_keys_iter(id, prefix, start_key) + client.storage_keys_iter(hash, prefix, start_key) } } } fn child_storage( &self, - id: &BlockId, + hash: &::Hash, child_info: &ChildInfo, key: &StorageKey, ) -> sp_blockchain::Result> { @@ -502,14 +502,14 @@ impl sc_client_api::StorageProvider for Client { self, client, { - client.child_storage(id, child_info, key) + client.child_storage(hash, child_info, key) } } } fn child_storage_keys( &self, - id: &BlockId, + hash: &::Hash, child_info: &ChildInfo, key_prefix: &StorageKey, ) -> sp_blockchain::Result> { @@ -517,14 +517,14 @@ impl sc_client_api::StorageProvider for Client { self, client, { - client.child_storage_keys(id, child_info, key_prefix) + client.child_storage_keys(hash, child_info, key_prefix) } } } fn child_storage_keys_iter<'a>( &self, - id: &BlockId, + hash: &::Hash, child_info: ChildInfo, prefix: Option<&'a StorageKey>, start_key: Option<&StorageKey>, @@ -535,14 +535,14 @@ impl sc_client_api::StorageProvider for Client { self, client, { - client.child_storage_keys_iter(id, child_info, prefix, start_key) + client.child_storage_keys_iter(hash, child_info, prefix, start_key) } } } fn child_storage_hash( &self, - id: &BlockId, + hash: &::Hash, child_info: &ChildInfo, key: &StorageKey, ) -> sp_blockchain::Result::Hash>> { @@ -550,7 +550,7 @@ impl sc_client_api::StorageProvider for Client { self, client, { - client.child_storage_hash(id, child_info, key) + client.child_storage_hash(hash, child_info, key) } } } From 503d8e18b0d276b58fbef28aff8e2a910cfaa823 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Tue, 18 Oct 2022 19:13:28 +0200 Subject: [PATCH 066/211] Bump substrate (#6164) --- Cargo.lock | 358 ++++++++++++++++++++++++++--------------------------- 1 file changed, 179 insertions(+), 179 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bfe222666e5e..0307bbc453d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -1982,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "log", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "chrono", "frame-election-provider-support", @@ -4615,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4942,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -4980,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "sp-api", @@ -5146,7 +5146,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5186,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5203,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5306,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5359,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "sp-arithmetic", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5411,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-support", "frame-system", @@ -5446,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5472,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-benchmarking", "frame-support", @@ -8003,7 +8003,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "env_logger 0.9.0", "jsonrpsee", @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "sp-core", @@ -8353,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "futures-timer", @@ -8403,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8436,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8447,7 +8447,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "chrono", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "fnv", "futures", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "hash-db", "kvdb", @@ -8540,7 +8540,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures", @@ -8564,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "fork-tree", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "jsonrpsee", @@ -8628,7 +8628,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8641,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures", @@ -8665,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "environmental", "parity-scale-codec", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "parity-scale-codec", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "ahash", "array-bytes", @@ -8784,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "finality-grandpa", "futures", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "ansi_term", "futures", @@ -8822,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "async-trait", @@ -8837,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "async-trait", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "cid", "futures", @@ -8904,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "bitflags", @@ -8930,7 +8930,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "ahash", "futures", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "futures", @@ -8969,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "fork-tree", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "futures", @@ -9018,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "bytes", @@ -9048,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "libp2p", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "hash-db", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "jsonrpsee", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "jsonrpsee", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "hex", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "directories", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "parity-scale-codec", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "libc", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "chrono", "futures", @@ -9296,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "ansi_term", "atty", @@ -9327,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9338,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures", @@ -9365,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "hash-db", "log", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "base58", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "blake2", "byteorder", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro2", "quote", @@ -10106,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro2", "quote", @@ -10125,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "environmental", "parity-scale-codec", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "finality-grandpa", "log", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "bytes", "futures", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "parity-scale-codec", @@ -10247,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -10261,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "sp-api", "sp-core", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "backtrace", "lazy_static", @@ -10281,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "rustc-hash", "serde", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "either", "hash256-std-hasher", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10332,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "Inflector", "proc-macro-crate", @@ -10344,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "parity-scale-codec", @@ -10358,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "hash-db", "log", @@ -10405,12 +10405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10423,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "log", "sp-core", @@ -10436,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "futures-timer", @@ -10452,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "sp-std", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "sp-api", "sp-runtime", @@ -10473,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "async-trait", "log", @@ -10489,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "ahash", "hash-db", @@ -10512,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "impl-trait-for-tuples", "log", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10768,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "platforms", ] @@ -10776,7 +10776,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures-util", "hyper", @@ -10810,7 +10810,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "jsonrpsee", "log", @@ -10831,7 +10831,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "array-bytes", "async-trait", @@ -10857,7 +10857,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10867,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10878,7 +10878,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "ansi_term", "build-helper", @@ -11585,7 +11585,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e34b840b8818856a5bb8dbfe91d5b8a918e44fb8" +source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" dependencies = [ "clap", "frame-try-runtime", From f1e36fe769fb5475a8f1e81747eddfab87127ce3 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Tue, 18 Oct 2022 20:09:37 +0200 Subject: [PATCH 067/211] companion for #12212 (#6162) * companion for #12212 * cargo fmt * fix build * update Cargo.lock * update Cargo.lock --- Cargo.lock | 377 +++++++++++++++++--------------- Cargo.toml | 2 +- tests/common.rs | 8 +- utils/staking-miner/src/main.rs | 9 +- 4 files changed, 207 insertions(+), 189 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0307bbc453d8..fa13fa8365a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -1982,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "log", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "chrono", "frame-election-provider-support", @@ -4615,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4942,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4980,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "sp-api", @@ -5146,7 +5146,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5186,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5203,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5306,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5359,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "sp-arithmetic", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5411,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-support", "frame-system", @@ -5446,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5472,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5889,7 +5889,7 @@ dependencies = [ "parity-util-mem", "polkadot-cli", "polkadot-core-primitives", - "remote-externalities", + "substrate-rpc-client", "tempfile", "tokio", ] @@ -8003,10 +8003,9 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "env_logger 0.9.0", - "jsonrpsee", "log", "parity-scale-codec", "serde", @@ -8015,6 +8014,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-version", + "substrate-rpc-client", ] [[package]] @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "sp-core", @@ -8353,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "futures-timer", @@ -8403,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8436,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8447,7 +8447,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "chrono", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "fnv", "futures", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "hash-db", "kvdb", @@ -8540,7 +8540,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures", @@ -8564,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "fork-tree", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "jsonrpsee", @@ -8628,7 +8628,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8641,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures", @@ -8665,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "environmental", "parity-scale-codec", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "parity-scale-codec", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "ahash", "array-bytes", @@ -8784,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "finality-grandpa", "futures", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "ansi_term", "futures", @@ -8822,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "async-trait", @@ -8837,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "async-trait", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "cid", "futures", @@ -8904,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "bitflags", @@ -8930,7 +8930,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "ahash", "futures", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "futures", @@ -8969,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "fork-tree", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "futures", @@ -9018,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "bytes", @@ -9048,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "libp2p", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "hash-db", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "jsonrpsee", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "jsonrpsee", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "hex", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "directories", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "parity-scale-codec", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "libc", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "chrono", "futures", @@ -9296,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "ansi_term", "atty", @@ -9327,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9338,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures", @@ -9365,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "hash-db", "log", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "base58", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "blake2", "byteorder", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro2", "quote", @@ -10106,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro2", "quote", @@ -10125,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "environmental", "parity-scale-codec", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "finality-grandpa", "log", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "bytes", "futures", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "parity-scale-codec", @@ -10247,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10261,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "sp-api", "sp-core", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "backtrace", "lazy_static", @@ -10281,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "rustc-hash", "serde", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "either", "hash256-std-hasher", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10332,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "Inflector", "proc-macro-crate", @@ -10344,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "parity-scale-codec", @@ -10358,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "hash-db", "log", @@ -10405,12 +10405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10423,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "log", "sp-core", @@ -10436,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "futures-timer", @@ -10452,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "sp-std", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "sp-api", "sp-runtime", @@ -10473,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "async-trait", "log", @@ -10489,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "ahash", "hash-db", @@ -10512,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "impl-trait-for-tuples", "log", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10768,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "platforms", ] @@ -10776,7 +10776,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures-util", "hyper", @@ -10807,10 +10807,23 @@ dependencies = [ "tokio", ] +[[package]] +name = "substrate-rpc-client" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +dependencies = [ + "async-trait", + "jsonrpsee", + "log", + "sc-rpc-api", + "serde", + "sp-runtime", +] + [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "jsonrpsee", "log", @@ -10831,7 +10844,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "array-bytes", "async-trait", @@ -10857,7 +10870,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10867,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10878,7 +10891,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "ansi_term", "build-helper", @@ -11585,11 +11598,10 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#487ac5cf3958380a15b5edc599c13ddbb62e76b1" +source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" dependencies = [ "clap", "frame-try-runtime", - "jsonrpsee", "log", "parity-scale-codec", "remote-externalities", @@ -11606,6 +11618,7 @@ dependencies = [ "sp-state-machine", "sp-version", "sp-weights", + "substrate-rpc-client", "zstd", ] diff --git a/Cargo.toml b/Cargo.toml index 0ed0892593d9..45e0df1d0fcb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ assert_cmd = "2.0.4" nix = "0.24.1" tempfile = "3.2.0" tokio = "1.19.2" -remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +substrate-rpc-client = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-core-primitives = { path = "core-primitives" } [workspace] diff --git a/tests/common.rs b/tests/common.rs index 325bffd125ad..3f040208972c 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -14,14 +14,14 @@ // You should have received a copy of the GNU General Public License // along with Substrate. If not, see . -use polkadot_core_primitives::Block; -use remote_externalities::rpc_api::RpcService; +use polkadot_core_primitives::{Block, Hash, Header}; use std::{ io::{BufRead, BufReader, Read}, process::{Child, ExitStatus}, thread, time::Duration, }; +use substrate_rpc_client::{ws_client, ChainApi}; use tokio::time::timeout; /// Wait for the given `child` the given amount of `secs`. @@ -56,12 +56,12 @@ async fn wait_n_finalized_blocks_from(n: usize, url: &str) { let mut interval = tokio::time::interval(Duration::from_secs(6)); loop { - let rpc_service = match RpcService::new(url, false).await { + let rpc = match ws_client(url).await { Ok(rpc_service) => rpc_service, Err(_) => continue, }; - if let Ok(block) = rpc_service.get_finalized_head::().await { + if let Ok(block) = ChainApi::<(), Hash, Header, Block>::finalized_head(&rpc).await { built_blocks.insert(block); if built_blocks.len() > n { break diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index b10f87950445..4a7784f371e0 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -295,11 +295,16 @@ frame_support::parameter_types! { /// Build the Ext at hash with all the data of `ElectionProviderMultiPhase` and any additional /// pallets. -async fn create_election_ext( +async fn create_election_ext( client: SharedRpcClient, at: Option, additional: Vec, -) -> Result> { +) -> Result> +where + T: EPM::Config, + B: BlockT, + B::Header: DeserializeOwned, +{ use frame_support::{storage::generator::StorageMap, traits::PalletInfo}; use sp_core::hashing::twox_128; From 41a9d84b15288aa785fba78fc8356f0fc3a105a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 13:06:03 +0300 Subject: [PATCH 068/211] Bump docker/setup-buildx-action from 2.0.0 to 2.1.0 (#6141) * Bump docker/setup-buildx-action from 2.0.0 to 2.1.0 Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/dc7b9719a96d48369863986a06765841d7ea23f6...95cb08cb2672c73d4ffd2f422e6d11953d2a9c70) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * match hash with version Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sergejs Kostjucenko --- .github/workflows/release-50_publish-docker-release.yml | 2 +- .github/workflows/release-51_publish-docker-manual.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-50_publish-docker-release.yml b/.github/workflows/release-50_publish-docker-release.yml index bb74b32e8000..5a9d683bc3b3 100644 --- a/.github/workflows/release-50_publish-docker-release.yml +++ b/.github/workflows/release-50_publish-docker-release.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v1.7 + uses: docker/setup-buildx-action@95cb08cb2672c73d4ffd2f422e6d11953d2a9c70 # v2.1.0 - name: Cache Docker layers uses: actions/cache@v3 with: diff --git a/.github/workflows/release-51_publish-docker-manual.yml b/.github/workflows/release-51_publish-docker-manual.yml index 3caea3e3c3c9..e0bcf99a8d60 100644 --- a/.github/workflows/release-51_publish-docker-manual.yml +++ b/.github/workflows/release-51_publish-docker-manual.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6 # v1.7 + uses: docker/setup-buildx-action@95cb08cb2672c73d4ffd2f422e6d11953d2a9c70 # v2.1.0 - name: Cache Docker layers uses: actions/cache@v3 with: From e090658172daceaf144e4793ba3f60ff1831fb4a Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Wed, 19 Oct 2022 21:45:23 +0100 Subject: [PATCH 069/211] Companion for EPM duplicate submissions (#6115) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * make it work * add migration * fix * Update utils/staking-miner/src/opts.rs Co-authored-by: Niklas Adolfsson * Update utils/staking-miner/src/monitor.rs * small tweaks * Update utils/staking-miner/src/opts.rs Co-authored-by: Bastian Köcher * fmt * fix print' * fmt * update lockfile for {"substrate"} Co-authored-by: Niklas Adolfsson Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> --- Cargo.lock | 360 ++++++++++++++--------------- runtime/kusama/src/lib.rs | 1 + runtime/polkadot/src/lib.rs | 1 + runtime/westend/src/lib.rs | 1 + utils/staking-miner/src/main.rs | 31 ++- utils/staking-miner/src/monitor.rs | 122 +++++++--- utils/staking-miner/src/opts.rs | 24 +- 7 files changed, 310 insertions(+), 230 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fa13fa8365a8..61c38f422d07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -1982,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "log", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "chrono", "frame-election-provider-support", @@ -4615,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4942,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -4980,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "sp-api", @@ -5146,7 +5146,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5186,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5203,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5306,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5359,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "sp-arithmetic", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5411,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-support", "frame-system", @@ -5446,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5472,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-benchmarking", "frame-support", @@ -8003,7 +8003,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "env_logger 0.9.0", "log", @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "sp-core", @@ -8353,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "futures-timer", @@ -8403,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8436,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8447,7 +8447,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "chrono", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "fnv", "futures", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "hash-db", "kvdb", @@ -8540,7 +8540,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures", @@ -8564,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "fork-tree", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "jsonrpsee", @@ -8628,7 +8628,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8641,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures", @@ -8665,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "environmental", "parity-scale-codec", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "parity-scale-codec", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "ahash", "array-bytes", @@ -8784,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "finality-grandpa", "futures", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "ansi_term", "futures", @@ -8822,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "async-trait", @@ -8837,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "async-trait", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "cid", "futures", @@ -8904,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "bitflags", @@ -8930,7 +8930,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "ahash", "futures", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "futures", @@ -8969,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "fork-tree", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "futures", @@ -9018,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "bytes", @@ -9048,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "libp2p", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "hash-db", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "jsonrpsee", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "jsonrpsee", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "hex", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "directories", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "parity-scale-codec", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "libc", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "chrono", "futures", @@ -9296,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "ansi_term", "atty", @@ -9327,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9338,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures", @@ -9365,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "hash-db", "log", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "base58", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "blake2", "byteorder", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro2", "quote", @@ -10106,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro2", "quote", @@ -10125,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "environmental", "parity-scale-codec", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "finality-grandpa", "log", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "bytes", "futures", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "parity-scale-codec", @@ -10247,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -10261,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "sp-api", "sp-core", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "backtrace", "lazy_static", @@ -10281,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "rustc-hash", "serde", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "either", "hash256-std-hasher", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10332,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "Inflector", "proc-macro-crate", @@ -10344,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "parity-scale-codec", @@ -10358,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "hash-db", "log", @@ -10405,12 +10405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10423,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "log", "sp-core", @@ -10436,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "futures-timer", @@ -10452,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "sp-std", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "sp-api", "sp-runtime", @@ -10473,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "log", @@ -10489,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "ahash", "hash-db", @@ -10512,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "impl-trait-for-tuples", "log", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10768,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "platforms", ] @@ -10776,7 +10776,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures-util", "hyper", @@ -10810,7 +10810,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "async-trait", "jsonrpsee", @@ -10823,7 +10823,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "jsonrpsee", "log", @@ -10844,7 +10844,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "array-bytes", "async-trait", @@ -10870,7 +10870,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "ansi_term", "build-helper", @@ -11598,7 +11598,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#49734dd1d72a00b9d3b87ba397661a63e0e17af3" +source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 777d47df6af7..83651f7164b9 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1478,6 +1478,7 @@ pub type Executive = frame_executive::Executive< pallet_multisig::migrations::v1::MigrateToV1, // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, + pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, ), >; /// The payload being signed in the transactions. diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index fad136bc9da9..5a5df70e079a 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1571,6 +1571,7 @@ pub type Executive = frame_executive::Executive< pallet_multisig::migrations::v1::MigrateToV1, // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, + pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, ), >; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 495f67d008a2..b9ef6a34316b 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1222,6 +1222,7 @@ pub type Executive = frame_executive::Executive< pallet_multisig::migrations::v1::MigrateToV1, // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, + pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, ), >; /// The payload being signed in transactions. diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 4a7784f371e0..6e5b53423548 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -253,6 +253,7 @@ enum Error { AlreadySubmitted, VersionMismatch, StrategyNotSatisfied, + QueueFull, Other(String), } @@ -425,6 +426,7 @@ fn mine_dpos(ext: &mut Ext) -> Result<(), Error> { pub(crate) async fn check_versions( rpc: &SharedRpcClient, + print: bool, ) -> Result<(), Error> { let linked_version = T::Version::get(); let on_chain_version = rpc @@ -432,10 +434,31 @@ pub(crate) async fn check_versions( .await .expect("runtime version RPC should always work; qed"); - log::debug!(target: LOG_TARGET, "linked version {:?}", linked_version); - log::debug!(target: LOG_TARGET, "on-chain version {:?}", on_chain_version); + let do_print = || { + log::info!( + target: LOG_TARGET, + "linked version {:?}", + (&linked_version.spec_name, &linked_version.spec_version) + ); + log::info!( + target: LOG_TARGET, + "on-chain version {:?}", + (&on_chain_version.spec_name, &on_chain_version.spec_version) + ); + }; + + if print { + do_print(); + } - if linked_version != on_chain_version { + // we relax the checking here a bit, which should not cause any issues in production (a chain + // that messes up its spec name is highly unlikely), but it allows us to do easier testing. + if linked_version.spec_name != on_chain_version.spec_name || + linked_version.spec_version != on_chain_version.spec_version + { + if !print { + do_print(); + } log::error!( target: LOG_TARGET, "VERSION MISMATCH: any transaction will fail with bad-proof" @@ -563,7 +586,7 @@ async fn main() { log::info!(target: LOG_TARGET, "connected to chain {:?}", chain); any_runtime_unit! { - check_versions::(&rpc).await + check_versions::(&rpc, true).await }; let outcome = any_runtime! { diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 30f1b2ded908..0780ef881fce 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -64,7 +64,7 @@ where .map_err::, _>(Into::into)? .unwrap_or_default(); - for (_score, idx) in indices { + for (_score, _bn, idx) in indices { let key = StorageKey(EPM::SignedSubmissionsMap::::hashed_key_for(idx)); if let Some(submission) = rpc @@ -81,20 +81,36 @@ where Ok(()) } +/// `true` if `our_score` should pass the onchain `best_score` with the given strategy. +pub(crate) fn score_passes_strategy( + our_score: sp_npos_elections::ElectionScore, + best_score: sp_npos_elections::ElectionScore, + strategy: SubmissionStrategy, +) -> bool { + match strategy { + SubmissionStrategy::Always => true, + SubmissionStrategy::IfLeading => + our_score == best_score || + our_score.strict_threshold_better(best_score, Perbill::zero()), + SubmissionStrategy::ClaimBetterThan(epsilon) => + our_score.strict_threshold_better(best_score, epsilon), + SubmissionStrategy::ClaimNoWorseThan(epsilon) => + !best_score.strict_threshold_better(our_score, epsilon), + } +} + /// Reads all current solutions and checks the scores according to the `SubmissionStrategy`. -async fn ensure_no_better_solution( +async fn ensure_strategy_met( rpc: &SharedRpcClient, at: Hash, score: sp_npos_elections::ElectionScore, strategy: SubmissionStrategy, max_submissions: u32, ) -> Result<(), Error> { - let epsilon = match strategy { - // don't care about current scores. - SubmissionStrategy::Always => return Ok(()), - SubmissionStrategy::IfLeading => Perbill::zero(), - SubmissionStrategy::ClaimBetterThan(epsilon) => epsilon, - }; + // don't care about current scores. + if matches!(strategy, SubmissionStrategy::Always) { + return Ok(()) + } let indices_key = StorageKey(EPM::SignedSubmissionIndices::::hashed_key().to_vec()); @@ -104,34 +120,16 @@ async fn ensure_no_better_solution( .map_err::, _>(Into::into)? .unwrap_or_default(); - let mut is_best_score = true; - let mut scores = 0; - - log::debug!(target: LOG_TARGET, "submitted solutions on chain: {:?}", indices); - - // BTreeMap is ordered, take last to get the max score. - for (curr_max_score, _) in indices.into_iter() { - if !score.strict_threshold_better(curr_max_score, epsilon) { - log::warn!(target: LOG_TARGET, "mined score is not better; skipping to submit"); - is_best_score = false; - } - - if score == curr_max_score { - log::warn!( - target: LOG_TARGET, - "mined score has the same score as already submitted score" - ); - } - - // Indices can't be bigger than u32::MAX so can't overflow. - scores += 1; + // we check the queue here as well. Could be checked elsewhere. + if indices.len() as u32 >= max_submissions { + return Err(Error::::QueueFull) } - if scores == max_submissions { - log::warn!(target: LOG_TARGET, "The submissions queue is full"); - } + // default score is all zeros, any score is better than it. + let best_score = indices.last().map(|(score, _, _)| *score).unwrap_or_default(); + log::debug!(target: LOG_TARGET, "best onchain score is {:?}", best_score); - if is_best_score { + if score_passes_strategy(score, best_score, strategy) { Ok(()) } else { Err(Error::StrategyNotSatisfied) @@ -233,7 +231,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { // block on this because if this fails there is no way to recover from // that error i.e, upgrade/downgrade required. - if let Err(err) = crate::check_versions::(&rpc).await { + if let Err(err) = crate::check_versions::(&rpc, false).await { let _ = tx.send(err.into()); return; } @@ -314,9 +312,14 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { } }; - let ensure_no_better_fut = tokio::spawn(async move { - ensure_no_better_solution::(&rpc1, latest_head, score, config.submission_strategy, - SignedMaxSubmissions::get()).await + let ensure_strategy_met_fut = tokio::spawn(async move { + ensure_strategy_met::( + &rpc1, + latest_head, + score, + config.submission_strategy, + SignedMaxSubmissions::get() + ).await }); let ensure_signed_phase_fut = tokio::spawn(async move { @@ -325,7 +328,7 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { // Run the calls in parallel and return once all has completed or any failed. if let Err(err) = tokio::try_join!( - flatten(ensure_no_better_fut), + flatten(ensure_strategy_met_fut), flatten(ensure_signed_phase_fut), ) { log::debug!(target: LOG_TARGET, "Skipping to submit at block {}; {}", at.number, err); @@ -420,3 +423,46 @@ macro_rules! monitor_cmd_for { ($runtime:tt) => { paste::paste! { monitor_cmd_for!(polkadot); monitor_cmd_for!(kusama); monitor_cmd_for!(westend); + +#[cfg(test)] +pub mod tests { + use super::*; + + #[test] + fn score_passes_strategy_works() { + let s = |x| sp_npos_elections::ElectionScore { minimal_stake: x, ..Default::default() }; + let two = Perbill::from_percent(2); + + // anything passes Always + assert!(score_passes_strategy(s(0), s(0), SubmissionStrategy::Always)); + assert!(score_passes_strategy(s(5), s(0), SubmissionStrategy::Always)); + assert!(score_passes_strategy(s(5), s(10), SubmissionStrategy::Always)); + + // if leading + assert!(score_passes_strategy(s(0), s(0), SubmissionStrategy::IfLeading)); + assert!(score_passes_strategy(s(1), s(0), SubmissionStrategy::IfLeading)); + assert!(score_passes_strategy(s(2), s(0), SubmissionStrategy::IfLeading)); + assert!(!score_passes_strategy(s(5), s(10), SubmissionStrategy::IfLeading)); + assert!(!score_passes_strategy(s(9), s(10), SubmissionStrategy::IfLeading)); + assert!(score_passes_strategy(s(10), s(10), SubmissionStrategy::IfLeading)); + + // if better by 2% + assert!(!score_passes_strategy(s(50), s(100), SubmissionStrategy::ClaimBetterThan(two))); + assert!(!score_passes_strategy(s(100), s(100), SubmissionStrategy::ClaimBetterThan(two))); + assert!(!score_passes_strategy(s(101), s(100), SubmissionStrategy::ClaimBetterThan(two))); + assert!(!score_passes_strategy(s(102), s(100), SubmissionStrategy::ClaimBetterThan(two))); + assert!(score_passes_strategy(s(103), s(100), SubmissionStrategy::ClaimBetterThan(two))); + assert!(score_passes_strategy(s(150), s(100), SubmissionStrategy::ClaimBetterThan(two))); + + // if no less than 2% worse + assert!(!score_passes_strategy(s(50), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(!score_passes_strategy(s(97), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(score_passes_strategy(s(98), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(score_passes_strategy(s(99), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(score_passes_strategy(s(100), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(score_passes_strategy(s(101), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(score_passes_strategy(s(102), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(score_passes_strategy(s(103), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + assert!(score_passes_strategy(s(150), s(100), SubmissionStrategy::ClaimNoWorseThan(two))); + } +} diff --git a/utils/staking-miner/src/opts.rs b/utils/staking-miner/src/opts.rs index 0a6c50cda90a..d7690a21205b 100644 --- a/utils/staking-miner/src/opts.rs +++ b/utils/staking-miner/src/opts.rs @@ -89,7 +89,9 @@ pub(crate) struct MonitorConfig { /// `--submission-strategy always`: always submit. /// /// `--submission-strategy "percent-better "`: submit if the submission is `n` percent better. - #[arg(long, default_value = "if-leading")] + /// + /// `--submission-strategy "no-worse-than "`: submit if submission is no more than `n` percent worse. + #[clap(long, default_value = "if-leading")] pub submission_strategy: SubmissionStrategy, /// Delay in number seconds to wait until starting mining a solution. @@ -157,12 +159,14 @@ pub(crate) struct InfoOpts { #[derive(Debug, Copy, Clone)] #[cfg_attr(test, derive(PartialEq))] pub enum SubmissionStrategy { - // Only submit if at the time, we are the best. - IfLeading, - // Always submit. + /// Always submit. Always, - // Submit if we are leading, or if the solution that's leading is more that the given `Perbill` - // better than us. This helps detect obviously fake solutions and still combat them. + /// Only submit if at the time, we are the best (or equal to it). + IfLeading, + /// Submit if we are no worse than `Perbill` worse than the best. + ClaimNoWorseThan(Perbill), + /// Submit if we are leading, or if the solution that's leading is more that the given `Perbill` + /// better than us. This helps detect obviously fake solutions and still combat them. ClaimBetterThan(Perbill), } @@ -185,6 +189,7 @@ pub(crate) enum Solver { /// * --submission-strategy if-leading: only submit if leading /// * --submission-strategy always: always submit /// * --submission-strategy "percent-better ": submit if submission is `n` percent better. +/// * --submission-strategy "no-worse-than": submit if submission is no more than `n` percent worse. /// impl FromStr for SubmissionStrategy { type Err = String; @@ -196,8 +201,11 @@ impl FromStr for SubmissionStrategy { Self::IfLeading } else if s == "always" { Self::Always - } else if s.starts_with("percent-better ") { - let percent: u32 = s[15..].parse().map_err(|e| format!("{:?}", e))?; + } else if let Some(percent) = s.strip_prefix("no-worse-than ") { + let percent: u32 = percent.parse().map_err(|e| format!("{:?}", e))?; + Self::ClaimNoWorseThan(Perbill::from_percent(percent)) + } else if let Some(percent) = s.strip_prefix("percent-better ") { + let percent: u32 = percent.parse().map_err(|e| format!("{:?}", e))?; Self::ClaimBetterThan(Perbill::from_percent(percent)) } else { return Err(s.into()) From 906d9115c1158ca915fc09bebe1e11baec9e4a16 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 20 Oct 2022 17:23:13 +0100 Subject: [PATCH 070/211] try and fix build (#6170) --- Cargo.lock | 360 ++++++++++++++++++++++++------------------------- cli/Cargo.toml | 2 +- 2 files changed, 181 insertions(+), 181 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 61c38f422d07..1bd75cddc0b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -1982,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "log", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "chrono", "frame-election-provider-support", @@ -4615,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4942,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4980,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "sp-api", @@ -5146,7 +5146,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5186,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5203,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5306,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5359,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "sp-arithmetic", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5411,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-support", "frame-system", @@ -5446,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5472,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8003,7 +8003,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "env_logger 0.9.0", "log", @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "sp-core", @@ -8353,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "futures-timer", @@ -8403,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8436,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8447,7 +8447,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "chrono", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "fnv", "futures", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "hash-db", "kvdb", @@ -8540,7 +8540,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures", @@ -8564,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "fork-tree", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "jsonrpsee", @@ -8628,7 +8628,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8641,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures", @@ -8665,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "environmental", "parity-scale-codec", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "parity-scale-codec", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "ahash", "array-bytes", @@ -8784,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "finality-grandpa", "futures", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "ansi_term", "futures", @@ -8822,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "async-trait", @@ -8837,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "async-trait", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "cid", "futures", @@ -8904,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "bitflags", @@ -8930,7 +8930,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "ahash", "futures", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "futures", @@ -8969,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "fork-tree", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "futures", @@ -9018,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "bytes", @@ -9048,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "libp2p", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "hash-db", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "jsonrpsee", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "jsonrpsee", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "hex", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "directories", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "parity-scale-codec", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "libc", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "chrono", "futures", @@ -9296,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "ansi_term", "atty", @@ -9327,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9338,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures", @@ -9365,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "hash-db", "log", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "base58", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "blake2", "byteorder", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro2", "quote", @@ -10106,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro2", "quote", @@ -10125,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "environmental", "parity-scale-codec", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "finality-grandpa", "log", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "bytes", "futures", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "parity-scale-codec", @@ -10247,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10261,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "sp-api", "sp-core", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "backtrace", "lazy_static", @@ -10281,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "rustc-hash", "serde", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "either", "hash256-std-hasher", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10332,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "Inflector", "proc-macro-crate", @@ -10344,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "parity-scale-codec", @@ -10358,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "hash-db", "log", @@ -10405,12 +10405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10423,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "log", "sp-core", @@ -10436,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "futures-timer", @@ -10452,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "sp-std", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "sp-api", "sp-runtime", @@ -10473,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "log", @@ -10489,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "ahash", "hash-db", @@ -10512,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "impl-trait-for-tuples", "log", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10768,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "platforms", ] @@ -10776,7 +10776,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures-util", "hyper", @@ -10810,7 +10810,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "async-trait", "jsonrpsee", @@ -10823,7 +10823,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "jsonrpsee", "log", @@ -10844,7 +10844,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "array-bytes", "async-trait", @@ -10870,7 +10870,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "ansi_term", "build-helper", @@ -11598,7 +11598,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#076be6d28cbe3acea5a67d668f1cf545d5c13064" +source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" dependencies = [ "clap", "frame-try-runtime", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 726fecda1513..bedf2e76366a 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -63,7 +63,7 @@ runtime-benchmarks = [ ] trie-memory-tracker = ["sp-trie/memory-tracker"] full-node = ["service/full-node"] -try-runtime = ["service/try-runtime"] +try-runtime = ["service/try-runtime", "try-runtime-cli/try-runtime"] fast-runtime = ["service/fast-runtime"] pyroscope = ["pyro"] hostperfcheck = ["polkadot-performance-test"] From 0fd106c04e5f57f6342f8e000d471d0f819f7b61 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Sat, 22 Oct 2022 06:08:53 +0200 Subject: [PATCH 071/211] sync versions with current release (0.9.31) (#6176) * Bump spec_version to 9310 * bump transaction_version (0.9.31) (#6171) * Bump transaction_version for polkadot * Bump transaction_version for kusama * Bump transaction_version for rococo * Bump transaction_version for westend * Bump transaction_version for polkadot * Bump transaction_version for kusama * Bump transaction_version for rococo * Bump transaction_version for westend * Bump crate versions (0.9.31) --- Cargo.lock | 166 +++++++++--------- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- core-primitives/Cargo.toml | 2 +- erasure-coding/Cargo.toml | 2 +- erasure-coding/fuzzer/Cargo.toml | 2 +- node/client/Cargo.toml | 2 +- node/collation-generation/Cargo.toml | 2 +- node/core/approval-voting/Cargo.toml | 2 +- node/core/av-store/Cargo.toml | 2 +- node/core/backing/Cargo.toml | 2 +- node/core/bitfield-signing/Cargo.toml | 2 +- node/core/candidate-validation/Cargo.toml | 2 +- node/core/chain-api/Cargo.toml | 2 +- node/core/chain-selection/Cargo.toml | 2 +- node/core/dispute-coordinator/Cargo.toml | 2 +- node/core/parachains-inherent/Cargo.toml | 2 +- node/core/provisioner/Cargo.toml | 2 +- node/core/pvf-checker/Cargo.toml | 2 +- node/core/pvf/Cargo.toml | 2 +- node/core/runtime-api/Cargo.toml | 2 +- node/gum/Cargo.toml | 2 +- node/gum/proc-macro/Cargo.toml | 2 +- node/jaeger/Cargo.toml | 2 +- node/malus/Cargo.toml | 2 +- node/metrics/Cargo.toml | 2 +- node/network/approval-distribution/Cargo.toml | 2 +- .../availability-distribution/Cargo.toml | 2 +- node/network/availability-recovery/Cargo.toml | 2 +- node/network/bitfield-distribution/Cargo.toml | 2 +- node/network/bridge/Cargo.toml | 2 +- node/network/collator-protocol/Cargo.toml | 2 +- node/network/dispute-distribution/Cargo.toml | 2 +- node/network/gossip-support/Cargo.toml | 2 +- node/network/protocol/Cargo.toml | 2 +- .../network/statement-distribution/Cargo.toml | 2 +- node/overseer/Cargo.toml | 2 +- node/primitives/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- node/subsystem-test-helpers/Cargo.toml | 2 +- node/subsystem-types/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- node/subsystem/Cargo.toml | 2 +- node/test/client/Cargo.toml | 2 +- node/test/performance-test/Cargo.toml | 2 +- node/test/service/Cargo.toml | 2 +- node/zombienet-backchannel/Cargo.toml | 2 +- parachain/Cargo.toml | 2 +- parachain/test-parachains/Cargo.toml | 2 +- parachain/test-parachains/adder/Cargo.toml | 2 +- .../test-parachains/adder/collator/Cargo.toml | 2 +- parachain/test-parachains/halt/Cargo.toml | 2 +- parachain/test-parachains/undying/Cargo.toml | 2 +- .../undying/collator/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- primitives/test-helpers/Cargo.toml | 2 +- rpc/Cargo.toml | 2 +- runtime/common/Cargo.toml | 2 +- runtime/common/slot_range_helper/Cargo.toml | 2 +- runtime/kusama/Cargo.toml | 2 +- runtime/kusama/constants/Cargo.toml | 2 +- runtime/kusama/src/lib.rs | 4 +- runtime/metrics/Cargo.toml | 2 +- runtime/parachains/Cargo.toml | 2 +- runtime/polkadot/Cargo.toml | 2 +- runtime/polkadot/constants/Cargo.toml | 2 +- runtime/polkadot/src/lib.rs | 4 +- runtime/rococo/Cargo.toml | 2 +- runtime/rococo/constants/Cargo.toml | 2 +- runtime/rococo/src/lib.rs | 4 +- runtime/test-runtime/Cargo.toml | 2 +- runtime/test-runtime/constants/Cargo.toml | 2 +- runtime/westend/Cargo.toml | 2 +- runtime/westend/constants/Cargo.toml | 2 +- runtime/westend/src/lib.rs | 4 +- statement-table/Cargo.toml | 2 +- utils/generate-bags/Cargo.toml | 2 +- utils/remote-ext-tests/bags-list/Cargo.toml | 2 +- utils/staking-miner/Cargo.toml | 2 +- xcm/Cargo.toml | 2 +- xcm/pallet-xcm-benchmarks/Cargo.toml | 2 +- xcm/pallet-xcm/Cargo.toml | 2 +- xcm/procedural/Cargo.toml | 2 +- xcm/xcm-builder/Cargo.toml | 2 +- xcm/xcm-executor/Cargo.toml | 2 +- xcm/xcm-executor/integration-tests/Cargo.toml | 2 +- xcm/xcm-simulator/Cargo.toml | 2 +- xcm/xcm-simulator/example/Cargo.toml | 2 +- xcm/xcm-simulator/fuzzer/Cargo.toml | 2 +- 89 files changed, 175 insertions(+), 175 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1bd75cddc0b5..f80f54c13db4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3174,7 +3174,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-primitives", "bitvec", @@ -3279,7 +3279,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "polkadot-primitives", @@ -5534,7 +5534,7 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "frame-system", @@ -5556,7 +5556,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-benchmarking", "frame-support", @@ -5881,7 +5881,7 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "polkadot" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_cmd", "color-eyre", @@ -5896,7 +5896,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "env_logger 0.9.0", @@ -5920,7 +5920,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "bitvec", @@ -5945,7 +5945,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "derive_more", @@ -5974,7 +5974,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "env_logger 0.9.0", @@ -6003,7 +6003,7 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.29" +version = "0.9.31" dependencies = [ "clap", "frame-benchmarking-cli", @@ -6029,7 +6029,7 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -6071,7 +6071,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.29" +version = "0.9.31" dependencies = [ "always-assert", "assert_matches", @@ -6100,7 +6100,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.29" +version = "0.9.31" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -6112,7 +6112,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -6144,7 +6144,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.29" +version = "0.9.31" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -6157,7 +6157,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -6184,7 +6184,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.29" +version = "0.9.31" dependencies = [ "always-assert", "assert_matches", @@ -6213,7 +6213,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.29" +version = "0.9.31" dependencies = [ "futures", "parity-scale-codec", @@ -6232,7 +6232,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -6271,7 +6271,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "bitvec", @@ -6299,7 +6299,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "bitvec", @@ -6325,7 +6325,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.29" +version = "0.9.31" dependencies = [ "futures", "polkadot-node-subsystem", @@ -6341,7 +6341,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -6363,7 +6363,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.29" +version = "0.9.31" dependencies = [ "futures", "maplit", @@ -6382,7 +6382,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "futures", @@ -6403,7 +6403,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "fatality", @@ -6430,7 +6430,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.29" +version = "0.9.31" dependencies = [ "async-trait", "futures", @@ -6446,7 +6446,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.29" +version = "0.9.31" dependencies = [ "bitvec", "fatality", @@ -6467,7 +6467,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.29" +version = "0.9.31" dependencies = [ "always-assert", "assert_matches", @@ -6501,7 +6501,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.29" +version = "0.9.31" dependencies = [ "futures", "futures-timer", @@ -6524,7 +6524,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.29" +version = "0.9.31" dependencies = [ "futures", "memory-lru", @@ -6546,7 +6546,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.29" +version = "0.9.31" dependencies = [ "async-std", "lazy_static", @@ -6563,7 +6563,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_cmd", "bs58", @@ -6591,7 +6591,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.29" +version = "0.9.31" dependencies = [ "async-trait", "derive_more", @@ -6614,7 +6614,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.29" +version = "0.9.31" dependencies = [ "bounded-vec", "futures", @@ -6636,7 +6636,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.29" +version = "0.9.31" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -6645,7 +6645,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" -version = "0.9.29" +version = "0.9.31" dependencies = [ "async-trait", "futures", @@ -6663,7 +6663,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.29" +version = "0.9.31" dependencies = [ "async-trait", "derive_more", @@ -6685,7 +6685,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -6725,7 +6725,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -6751,7 +6751,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.29" +version = "0.9.31" dependencies = [ "derive_more", "frame-support", @@ -6767,7 +6767,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.29" +version = "0.9.31" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -6781,7 +6781,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.29" +version = "0.9.31" dependencies = [ "bitvec", "frame-system", @@ -6810,7 +6810,7 @@ dependencies = [ [[package]] name = "polkadot-primitives-test-helpers" -version = "0.9.29" +version = "0.9.31" dependencies = [ "polkadot-primitives", "rand 0.8.5", @@ -6822,7 +6822,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -6853,7 +6853,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-primitives", "bitvec", @@ -6949,7 +6949,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-primitives", "bitvec", @@ -7000,7 +7000,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "polkadot-primitives", @@ -7011,7 +7011,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.29" +version = "0.9.31" dependencies = [ "bs58", "parity-scale-codec", @@ -7022,7 +7022,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "bitflags", @@ -7073,7 +7073,7 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -7185,7 +7185,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.29" +version = "0.9.31" dependencies = [ "arrayvec 0.5.2", "assert_matches", @@ -7216,7 +7216,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.29" +version = "0.9.31" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -7225,7 +7225,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" -version = "0.9.29" +version = "0.9.31" dependencies = [ "futures", "parity-scale-codec", @@ -7251,7 +7251,7 @@ dependencies = [ [[package]] name = "polkadot-test-malus" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "async-trait", @@ -7280,7 +7280,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-primitives", "bitvec", @@ -7345,7 +7345,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-benchmarking", "frame-system", @@ -7400,7 +7400,7 @@ dependencies = [ [[package]] name = "polkadot-voter-bags" -version = "0.9.29" +version = "0.9.31" dependencies = [ "clap", "generate-bags", @@ -7983,7 +7983,7 @@ checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" [[package]] name = "remote-ext-tests-bags-list" -version = "0.9.29" +version = "0.9.31" dependencies = [ "clap", "frame-system", @@ -8111,7 +8111,7 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -8199,7 +8199,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "polkadot-primitives", @@ -9777,7 +9777,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" -version = "0.9.29" +version = "0.9.31" dependencies = [ "enumn", "parity-scale-codec", @@ -10605,7 +10605,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staking-miner" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_cmd", "clap", @@ -11030,7 +11030,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-parachain-adder" -version = "0.9.29" +version = "0.9.31" dependencies = [ "dlmalloc", "parity-scale-codec", @@ -11043,7 +11043,7 @@ dependencies = [ [[package]] name = "test-parachain-adder-collator" -version = "0.9.29" +version = "0.9.31" dependencies = [ "clap", "futures", @@ -11069,14 +11069,14 @@ dependencies = [ [[package]] name = "test-parachain-halt" -version = "0.9.29" +version = "0.9.31" dependencies = [ "substrate-wasm-builder", ] [[package]] name = "test-parachain-undying" -version = "0.9.29" +version = "0.9.31" dependencies = [ "dlmalloc", "log", @@ -11090,7 +11090,7 @@ dependencies = [ [[package]] name = "test-parachain-undying-collator" -version = "0.9.29" +version = "0.9.31" dependencies = [ "clap", "futures", @@ -11116,7 +11116,7 @@ dependencies = [ [[package]] name = "test-parachains" -version = "0.9.29" +version = "0.9.31" dependencies = [ "parity-scale-codec", "sp-core", @@ -11127,7 +11127,7 @@ dependencies = [ [[package]] name = "test-runtime-constants" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "polkadot-primitives", @@ -11442,7 +11442,7 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.29" +version = "0.9.31" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -11452,7 +11452,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.29" +version = "0.9.31" dependencies = [ "assert_matches", "expander 0.0.6", @@ -12240,7 +12240,7 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.29" +version = "0.9.31" dependencies = [ "beefy-primitives", "bitvec", @@ -12336,7 +12336,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "polkadot-primitives", @@ -12562,7 +12562,7 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.29" +version = "0.9.31" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -12575,7 +12575,7 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "frame-system", @@ -12598,7 +12598,7 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-benchmarking", "frame-support", @@ -12615,7 +12615,7 @@ dependencies = [ [[package]] name = "xcm-executor-integration-tests" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "frame-system", @@ -12635,7 +12635,7 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "0.9.29" +version = "0.9.31" dependencies = [ "Inflector", "proc-macro2", @@ -12645,7 +12645,7 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "parity-scale-codec", @@ -12661,7 +12661,7 @@ dependencies = [ [[package]] name = "xcm-simulator-example" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "frame-system", @@ -12684,7 +12684,7 @@ dependencies = [ [[package]] name = "xcm-simulator-fuzzer" -version = "0.9.29" +version = "0.9.31" dependencies = [ "frame-support", "frame-system", @@ -12743,7 +12743,7 @@ dependencies = [ [[package]] name = "zombienet-backchannel" -version = "0.9.29" +version = "0.9.31" dependencies = [ "futures-util", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index 45e0df1d0fcb..d6ff78d801e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ path = "src/main.rs" name = "polkadot" description = "Implementation of a `https://polkadot.network` node in Rust based on the Substrate framework." license = "GPL-3.0-only" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" rust-version = "1.57.0" # custom profiles diff --git a/cli/Cargo.toml b/cli/Cargo.toml index bedf2e76366a..c1fe95795328 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-cli" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Polkadot Relay-chain Client Node" edition = "2021" diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index a10b80b0c30f..2c6fe070522d 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-core-primitives" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/erasure-coding/Cargo.toml b/erasure-coding/Cargo.toml index f259470ad418..0a6c4002a1c5 100644 --- a/erasure-coding/Cargo.toml +++ b/erasure-coding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-erasure-coding" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/erasure-coding/fuzzer/Cargo.toml b/erasure-coding/fuzzer/Cargo.toml index b7e3702baa3a..6c8ad88e3955 100644 --- a/erasure-coding/fuzzer/Cargo.toml +++ b/erasure-coding/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erasure_coding_fuzzer" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index f252ade32892..4889ecb6ecef 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-client" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/collation-generation/Cargo.toml b/node/collation-generation/Cargo.toml index fdffe1922a64..46eaf83b4498 100644 --- a/node/collation-generation/Cargo.toml +++ b/node/collation-generation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-collation-generation" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index 25fb51eb712b..bf580c3bf348 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-approval-voting" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index 4cec2cb637b9..a4a39df77668 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-av-store" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index 474cac5908b0..bf52d54167fc 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-backing" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/bitfield-signing/Cargo.toml b/node/core/bitfield-signing/Cargo.toml index c10c60518235..54aa27766b7b 100644 --- a/node/core/bitfield-signing/Cargo.toml +++ b/node/core/bitfield-signing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-bitfield-signing" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index 29464f603340..8634cfe5a75e 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-candidate-validation" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/chain-api/Cargo.toml b/node/core/chain-api/Cargo.toml index 51d860ce2f0a..19cff83c9fdf 100644 --- a/node/core/chain-api/Cargo.toml +++ b/node/core/chain-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-chain-api" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index df6a5c24f10e..1e505a4df98d 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "polkadot-node-core-chain-selection" description = "Chain Selection Subsystem" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index fd89b599f63c..19eff42d4ad3 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index cfb4605449b3..c38b45944d5b 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-parachains-inherent" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/provisioner/Cargo.toml b/node/core/provisioner/Cargo.toml index 77d0794754a6..6fbdc8cf0435 100644 --- a/node/core/provisioner/Cargo.toml +++ b/node/core/provisioner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-provisioner" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/pvf-checker/Cargo.toml b/node/core/pvf-checker/Cargo.toml index ce348e73855f..b0881042e957 100644 --- a/node/core/pvf-checker/Cargo.toml +++ b/node/core/pvf-checker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-pvf-checker" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index c4f6073ce4c7..8bcecf55475e 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-pvf" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index b7a9895e0c67..ff7ea662603c 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-runtime-api" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/gum/Cargo.toml b/node/gum/Cargo.toml index a0a17877dd07..c9338cd71a81 100644 --- a/node/gum/Cargo.toml +++ b/node/gum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-gum" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Stick logs together with the TraceID as provided by tempo" diff --git a/node/gum/proc-macro/Cargo.toml b/node/gum/proc-macro/Cargo.toml index 95c845b5efb1..7fa597f759fe 100644 --- a/node/gum/proc-macro/Cargo.toml +++ b/node/gum/proc-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-gum-proc-macro" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition." diff --git a/node/jaeger/Cargo.toml b/node/jaeger/Cargo.toml index b47999aa0e32..2042d6cb60d7 100644 --- a/node/jaeger/Cargo.toml +++ b/node/jaeger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-jaeger" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo" diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index e7fe9ebc8aa6..2f78fa43bdf2 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -2,7 +2,7 @@ name = "polkadot-test-malus" description = "Misbehaving nodes for local testnets, system and Simnet tests." license = "GPL-3.0-only" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" readme = "README.md" diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index ba9843d24031..26ea24766e53 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-metrics" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem metric helpers" diff --git a/node/network/approval-distribution/Cargo.toml b/node/network/approval-distribution/Cargo.toml index fa0e4fff2c91..b6efa097ac28 100644 --- a/node/network/approval-distribution/Cargo.toml +++ b/node/network/approval-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-approval-distribution" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index 3e8626c18898..3e0924a4a86b 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-distribution" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/availability-recovery/Cargo.toml b/node/network/availability-recovery/Cargo.toml index 86f6237740fa..a82f2360a0fc 100644 --- a/node/network/availability-recovery/Cargo.toml +++ b/node/network/availability-recovery/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-recovery" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index 45df93f00e29..6e819fbe7cf4 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-bitfield-distribution" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/bridge/Cargo.toml b/node/network/bridge/Cargo.toml index 809c06a76b81..4ca402536000 100644 --- a/node/network/bridge/Cargo.toml +++ b/node/network/bridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-network-bridge" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index e089719106b5..cae4ec2b1730 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-collator-protocol" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/dispute-distribution/Cargo.toml b/node/network/dispute-distribution/Cargo.toml index a731175f0521..d70d41f6916f 100644 --- a/node/network/dispute-distribution/Cargo.toml +++ b/node/network/dispute-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-dispute-distribution" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index 38e9a5730178..fa99366c098d 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-gossip-support" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index 465cb8d6f984..c3fa1faedb67 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-network-protocol" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Primitives types for the Node-side" diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index a173ee865e20..1490ed01142a 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-distribution" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Statement Distribution Subsystem" edition = "2021" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 8ee3fc6fb3cd..3aaa74e22da1 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-overseer" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 2e916df6a87e..3f0865b1e033 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-primitives" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Primitives types for the Node-side" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 63a5f189a32a..82109f2e6ce4 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-service" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" rust-version = "1.60" diff --git a/node/subsystem-test-helpers/Cargo.toml b/node/subsystem-test-helpers/Cargo.toml index aa91f4c88695..de4b0ae0a388 100644 --- a/node/subsystem-test-helpers/Cargo.toml +++ b/node/subsystem-test-helpers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-test-helpers" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index 2b997128b8e2..acd66a067241 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-types" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 26eca7aa8f1f..ab886c0c4078 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-util" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem/Cargo.toml b/node/subsystem/Cargo.toml index 4d6523b6567a..1d783f748b45 100644 --- a/node/subsystem/Cargo.toml +++ b/node/subsystem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions and the generated overseer" diff --git a/node/test/client/Cargo.toml b/node/test/client/Cargo.toml index 64df4beebda7..712f2a902c2d 100644 --- a/node/test/client/Cargo.toml +++ b/node/test/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-client" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/test/performance-test/Cargo.toml b/node/test/performance-test/Cargo.toml index 583b80e3c2f4..55d74ad62f1d 100644 --- a/node/test/performance-test/Cargo.toml +++ b/node/test/performance-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-performance-test" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index c4ff1923eb2d..87111241b25a 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-service" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/zombienet-backchannel/Cargo.toml b/node/zombienet-backchannel/Cargo.toml index 7976ceed52dc..74cd56ec521a 100644 --- a/node/zombienet-backchannel/Cargo.toml +++ b/node/zombienet-backchannel/Cargo.toml @@ -2,7 +2,7 @@ name = "zombienet-backchannel" description = "Zombienet backchannel to notify test runner and coordinate with malus actors." license = "GPL-3.0-only" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" readme = "README.md" diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index c07ec98d7cb9..665a7b0986cc 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-parachain" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Types and utilities for creating and working with parachains" edition = "2021" diff --git a/parachain/test-parachains/Cargo.toml b/parachain/test-parachains/Cargo.toml index e1877440b070..8ed8ae6211c4 100644 --- a/parachain/test-parachains/Cargo.toml +++ b/parachain/test-parachains/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachains" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Integration tests using the test-parachains" edition = "2021" diff --git a/parachain/test-parachains/adder/Cargo.toml b/parachain/test-parachains/adder/Cargo.toml index f54809c34df2..42ffaf728ac5 100644 --- a/parachain/test-parachains/adder/Cargo.toml +++ b/parachain/test-parachains/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-adder" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Test parachain which adds to a number as its state transition" edition = "2021" diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index 6b41824b2e76..132fe2c0a527 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-adder-collator" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Collator for the adder test parachain" edition = "2021" diff --git a/parachain/test-parachains/halt/Cargo.toml b/parachain/test-parachains/halt/Cargo.toml index 954d64abc9c4..3a9096c4d56b 100644 --- a/parachain/test-parachains/halt/Cargo.toml +++ b/parachain/test-parachains/halt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-halt" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Test parachain which executes forever" edition = "2021" diff --git a/parachain/test-parachains/undying/Cargo.toml b/parachain/test-parachains/undying/Cargo.toml index 4bc3e6d08b68..ab27c07781c5 100644 --- a/parachain/test-parachains/undying/Cargo.toml +++ b/parachain/test-parachains/undying/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-undying" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Test parachain for zombienet integration tests" edition = "2021" diff --git a/parachain/test-parachains/undying/collator/Cargo.toml b/parachain/test-parachains/undying/collator/Cargo.toml index d62a34700ebf..f8198f8e4006 100644 --- a/parachain/test-parachains/undying/collator/Cargo.toml +++ b/parachain/test-parachains/undying/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-undying-collator" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Collator for the undying test parachain" edition = "2021" diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 67fc2d31cee8..043e309d6786 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/primitives/test-helpers/Cargo.toml b/primitives/test-helpers/Cargo.toml index bbd6f45a45bd..3ea45e12df7f 100644 --- a/primitives/test-helpers/Cargo.toml +++ b/primitives/test-helpers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives-test-helpers" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 570f156190b4..401eec5a30d9 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-rpc" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index e8abacf5e9cb..9ee5de41188d 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-common" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/common/slot_range_helper/Cargo.toml b/runtime/common/slot_range_helper/Cargo.toml index d255ab04ef6d..0cd436955827 100644 --- a/runtime/common/slot_range_helper/Cargo.toml +++ b/runtime/common/slot_range_helper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "slot-range-helper" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index ee9d859b84b3..72500677c534 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kusama-runtime" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/kusama/constants/Cargo.toml b/runtime/kusama/constants/Cargo.toml index 4498a22dc214..6f85387f743d 100644 --- a/runtime/kusama/constants/Cargo.toml +++ b/runtime/kusama/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kusama-runtime-constants" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 83651f7164b9..58fcbece44f0 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -123,13 +123,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 9290, + spec_version: 9310, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], - transaction_version: 13, + transaction_version: 15, state_version: 0, }; diff --git a/runtime/metrics/Cargo.toml b/runtime/metrics/Cargo.toml index 97f9c4373900..efa7569d1130 100644 --- a/runtime/metrics/Cargo.toml +++ b/runtime/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-metrics" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index 3f34566013e6..4361f443d9a9 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-parachains" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index dddfd3a7b63c..9809fb8ff843 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/polkadot/constants/Cargo.toml b/runtime/polkadot/constants/Cargo.toml index 00a31ed619bb..953ff98c2d5b 100644 --- a/runtime/polkadot/constants/Cargo.toml +++ b/runtime/polkadot/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-constants" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5a5df70e079a..e1a138ab5e0f 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -113,13 +113,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 9290, + spec_version: 9310, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], - transaction_version: 14, + transaction_version: 16, state_version: 0, }; diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index c437aaaf6d5c..9adf0d5caae3 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rococo-runtime" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/rococo/constants/Cargo.toml b/runtime/rococo/constants/Cargo.toml index 70a523dad94e..ec520965684b 100644 --- a/runtime/rococo/constants/Cargo.toml +++ b/runtime/rococo/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rococo-runtime-constants" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 1763613ec6c2..1ce9e1d2dee9 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -108,13 +108,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("rococo"), impl_name: create_runtime_str!("parity-rococo-v2.0"), authoring_version: 0, - spec_version: 9290, + spec_version: 9310, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], - transaction_version: 13, + transaction_version: 15, state_version: 0, }; diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index c4f10e7d6db4..e05ee85c6250 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-runtime" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/test-runtime/constants/Cargo.toml b/runtime/test-runtime/constants/Cargo.toml index 35c2ebf10d9d..4f6f144c2b61 100644 --- a/runtime/test-runtime/constants/Cargo.toml +++ b/runtime/test-runtime/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runtime-constants" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 45a75e86f4ce..d5efbb28d5a4 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "westend-runtime" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/westend/constants/Cargo.toml b/runtime/westend/constants/Cargo.toml index fa4868616d34..d891ea0aa3a3 100644 --- a/runtime/westend/constants/Cargo.toml +++ b/runtime/westend/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "westend-runtime-constants" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index b9ef6a34316b..d77675eb86b2 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -109,13 +109,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westend"), impl_name: create_runtime_str!("parity-westend"), authoring_version: 2, - spec_version: 9290, + spec_version: 9310, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], - transaction_version: 12, + transaction_version: 14, state_version: 0, }; diff --git a/statement-table/Cargo.toml b/statement-table/Cargo.toml index 06973daff94b..81b4be51c8e4 100644 --- a/statement-table/Cargo.toml +++ b/statement-table/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-table" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index 5b455d83ef6e..8f2d8e79e1e5 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-voter-bags" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/remote-ext-tests/bags-list/Cargo.toml b/utils/remote-ext-tests/bags-list/Cargo.toml index a726e6353499..20dc36fd5385 100644 --- a/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/utils/remote-ext-tests/bags-list/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "remote-ext-tests-bags-list" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index bd0171f12b70..45cb5fec6d1a 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "staking-miner" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] edition = "2021" diff --git a/xcm/Cargo.toml b/xcm/Cargo.toml index d8d93a1951ae..5a2e6813b0b4 100644 --- a/xcm/Cargo.toml +++ b/xcm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "The basic XCM datastructures." edition = "2021" diff --git a/xcm/pallet-xcm-benchmarks/Cargo.toml b/xcm/pallet-xcm-benchmarks/Cargo.toml index 5c48219a6d1e..a4fd91004e66 100644 --- a/xcm/pallet-xcm-benchmarks/Cargo.toml +++ b/xcm/pallet-xcm-benchmarks/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-xcm-benchmarks" authors = ["Parity Technologies "] edition = "2021" -version = "0.9.29" +version = "0.9.31" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/xcm/pallet-xcm/Cargo.toml b/xcm/pallet-xcm/Cargo.toml index e090859dce8c..a5b6ad7de395 100644 --- a/xcm/pallet-xcm/Cargo.toml +++ b/xcm/pallet-xcm/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "pallet-xcm" -version = "0.9.29" +version = "0.9.31" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } diff --git a/xcm/procedural/Cargo.toml b/xcm/procedural/Cargo.toml index eb03022be5a2..14a7d068db68 100644 --- a/xcm/procedural/Cargo.toml +++ b/xcm/procedural/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Parity Technologies "] name = "xcm-procedural" -version = "0.9.29" +version = "0.9.31" edition = "2021" [lib] diff --git a/xcm/xcm-builder/Cargo.toml b/xcm/xcm-builder/Cargo.toml index 35936e068c67..3b3f97fd823c 100644 --- a/xcm/xcm-builder/Cargo.toml +++ b/xcm/xcm-builder/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-builder" description = "Tools & types for building with XCM and its executor." -version = "0.9.29" +version = "0.9.31" [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } diff --git a/xcm/xcm-executor/Cargo.toml b/xcm/xcm-executor/Cargo.toml index 493dbbd3e869..1f9842887eae 100644 --- a/xcm/xcm-executor/Cargo.toml +++ b/xcm/xcm-executor/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-executor" description = "An abstract and configurable XCM message executor." -version = "0.9.29" +version = "0.9.31" [dependencies] impl-trait-for-tuples = "0.2.2" diff --git a/xcm/xcm-executor/integration-tests/Cargo.toml b/xcm/xcm-executor/integration-tests/Cargo.toml index 3a7359ab94ec..9e5adab26286 100644 --- a/xcm/xcm-executor/integration-tests/Cargo.toml +++ b/xcm/xcm-executor/integration-tests/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-executor-integration-tests" description = "Integration tests for the XCM Executor" -version = "0.9.29" +version = "0.9.31" [dependencies] frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/xcm/xcm-simulator/Cargo.toml b/xcm/xcm-simulator/Cargo.toml index d9edc64d5198..4c3c45c404b7 100644 --- a/xcm/xcm-simulator/Cargo.toml +++ b/xcm/xcm-simulator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Test kit to simulate cross-chain message passing and XCM execution" edition = "2021" diff --git a/xcm/xcm-simulator/example/Cargo.toml b/xcm/xcm-simulator/example/Cargo.toml index ed6ff1eb639f..7fa6ade69fc5 100644 --- a/xcm/xcm-simulator/example/Cargo.toml +++ b/xcm/xcm-simulator/example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator-example" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." edition = "2021" diff --git a/xcm/xcm-simulator/fuzzer/Cargo.toml b/xcm/xcm-simulator/fuzzer/Cargo.toml index 42419be5da18..7ecff2f8c021 100644 --- a/xcm/xcm-simulator/fuzzer/Cargo.toml +++ b/xcm/xcm-simulator/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator-fuzzer" -version = "0.9.29" +version = "0.9.31" authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." edition = "2021" From a06097555c3d811184a30bed85d1238eca4ae2d6 Mon Sep 17 00:00:00 2001 From: Boluwatife Bakre Date: Sat, 22 Oct 2022 09:39:11 +0100 Subject: [PATCH 072/211] Use a more typesafe approach for managing indexed data (#6150) * Fix for issue #2403 * Nightly fmt * Quick documentation fixes * Default Implementation * iter() function integrated * Implemented iter functionalities * Fmt * small change * updates node-network * updates in dispute-coordinator * Updates * benchmarking fix * minor fix * test fixes in runtime api * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * Removal of [index], shorting of FromIterator, Renaming of GroupValidators to ValidatorGroups * Removal of ops import * documentation fixes for spell check * implementation of generic type * Refactoring * Test and documentation fixes * minor test fix * minor test fix * minor test fix * Update node/network/statement-distribution/src/lib.rs Co-authored-by: Andronik * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * removed IterMut * Update node/core/dispute-coordinator/src/import.rs Co-authored-by: Andronik * Update node/core/dispute-coordinator/src/initialized.rs Co-authored-by: Andronik * Update primitives/src/v2/mod.rs Co-authored-by: Andronik * fmt * IterMut * documentation update Co-authored-by: Andronik * minor adjustments and new TypeIndex trait * spelling fix * TypeIndex fix Co-authored-by: Andronik --- node/core/approval-voting/src/criteria.rs | 24 ++-- node/core/approval-voting/src/import.rs | 44 +++++--- node/core/approval-voting/src/lib.rs | 4 +- node/core/approval-voting/src/tests.rs | 35 +++--- node/core/dispute-coordinator/src/import.rs | 12 +- .../dispute-coordinator/src/initialized.rs | 15 ++- node/core/dispute-coordinator/src/tests.rs | 16 +-- node/core/runtime-api/src/tests.rs | 4 +- .../src/tests/mock.rs | 13 ++- node/network/availability-recovery/src/lib.rs | 6 +- .../availability-recovery/src/tests.rs | 10 +- .../src/collator_side/mod.rs | 6 +- .../src/collator_side/tests.rs | 10 +- .../dispute-distribution/src/sender/mod.rs | 4 +- .../dispute-distribution/src/tests/mock.rs | 6 +- node/network/gossip-support/src/tests.rs | 5 +- .../network/statement-distribution/src/lib.rs | 15 ++- .../statement-distribution/src/tests.rs | 10 +- node/primitives/src/disputes/message.rs | 10 +- .../src/rolling_session_window.rs | 4 +- node/subsystem-util/src/runtime/mod.rs | 13 ++- primitives/src/v2/mod.rs | 105 +++++++++++++++++- runtime/parachains/src/builder.rs | 15 +-- runtime/parachains/src/disputes.rs | 3 +- runtime/parachains/src/disputes/slashing.rs | 2 +- .../src/disputes/slashing/benchmarking.rs | 2 +- runtime/parachains/src/session_info.rs | 4 +- runtime/parachains/src/session_info/tests.rs | 2 +- 28 files changed, 261 insertions(+), 138 deletions(-) diff --git a/node/core/approval-voting/src/criteria.rs b/node/core/approval-voting/src/criteria.rs index d7bedc9b0a7f..fea71d79c098 100644 --- a/node/core/approval-voting/src/criteria.rs +++ b/node/core/approval-voting/src/criteria.rs @@ -21,7 +21,8 @@ use polkadot_node_primitives::approval::{ self as approval_types, AssignmentCert, AssignmentCertKind, DelayTranche, RelayVRFStory, }; use polkadot_primitives::v2::{ - AssignmentId, AssignmentPair, CandidateHash, CoreIndex, GroupIndex, SessionInfo, ValidatorIndex, + AssignmentId, AssignmentPair, CandidateHash, CoreIndex, GroupIndex, IndexedVec, SessionInfo, + ValidatorIndex, }; use sc_keystore::LocalKeystore; use sp_application_crypto::ByteArray; @@ -138,7 +139,7 @@ pub(crate) struct Config { /// The assignment public keys for validators. assignment_keys: Vec, /// The groups of validators assigned to each core. - validator_groups: Vec>, + validator_groups: IndexedVec>, /// The number of availability cores used by the protocol during this session. n_cores: u32, /// The zeroth delay tranche width. @@ -541,11 +542,11 @@ pub(crate) fn check_assignment_cert( } fn is_in_backing_group( - validator_groups: &[Vec], + validator_groups: &IndexedVec>, validator: ValidatorIndex, group: GroupIndex, ) -> bool { - validator_groups.get(group.0 as usize).map_or(false, |g| g.contains(&validator)) + validator_groups.get(group).map_or(false, |g| g.contains(&validator)) } #[cfg(test)] @@ -590,7 +591,10 @@ mod tests { .collect() } - fn basic_groups(n_validators: usize, n_groups: usize) -> Vec> { + fn basic_groups( + n_validators: usize, + n_groups: usize, + ) -> IndexedVec> { let size = n_validators / n_groups; let big_groups = n_validators % n_groups; let scraps = n_groups * size; @@ -631,10 +635,10 @@ mod tests { Sr25519Keyring::Bob, Sr25519Keyring::Charlie, ]), - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0)], vec![ValidatorIndex(1), ValidatorIndex(2)], - ], + ]), n_cores: 2, zeroth_delay_tranche_width: 10, relay_vrf_modulo_samples: 3, @@ -666,10 +670,10 @@ mod tests { Sr25519Keyring::Bob, Sr25519Keyring::Charlie, ]), - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0)], vec![ValidatorIndex(1), ValidatorIndex(2)], - ], + ]), n_cores: 2, zeroth_delay_tranche_width: 10, relay_vrf_modulo_samples: 3, @@ -696,7 +700,7 @@ mod tests { Sr25519Keyring::Bob, Sr25519Keyring::Charlie, ]), - validator_groups: vec![], + validator_groups: Default::default(), n_cores: 0, zeroth_delay_tranche_width: 10, relay_vrf_modulo_samples: 3, diff --git a/node/core/approval-voting/src/import.rs b/node/core/approval-voting/src/import.rs index 5413c271e0d6..df713143750f 100644 --- a/node/core/approval-voting/src/import.rs +++ b/node/core/approval-voting/src/import.rs @@ -620,7 +620,9 @@ pub(crate) mod tests { use polkadot_node_subsystem::messages::{AllMessages, ApprovalVotingMessage}; use polkadot_node_subsystem_test_helpers::make_subsystem_context; use polkadot_node_subsystem_util::database::Database; - use polkadot_primitives::v2::{Id as ParaId, SessionInfo, ValidatorIndex}; + use polkadot_primitives::v2::{ + Id as ParaId, IndexedVec, SessionInfo, ValidatorId, ValidatorIndex, + }; pub(crate) use sp_consensus_babe::{ digests::{CompatibleDigestItem, PreDigest, SecondaryVRFPreDigest}, AllowedSlots, BabeEpochConfiguration, Epoch as BabeEpoch, @@ -713,10 +715,10 @@ pub(crate) mod tests { fn dummy_session_info(index: SessionIndex) -> SessionInfo { SessionInfo { - validators: Vec::new(), + validators: Default::default(), discovery_keys: Vec::new(), assignment_keys: Vec::new(), - validator_groups: Vec::new(), + validator_groups: Default::default(), n_cores: index as _, zeroth_delay_tranche_width: index as _, relay_vrf_modulo_samples: index as _, @@ -1174,21 +1176,27 @@ pub(crate) mod tests { let session = 5; let irrelevant = 666; - let session_info = SessionInfo { - validators: vec![Sr25519Keyring::Alice.public().into(); 6], - discovery_keys: Vec::new(), - assignment_keys: Vec::new(), - validator_groups: vec![vec![ValidatorIndex(0); 5], vec![ValidatorIndex(0); 2]], - n_cores: 6, - needed_approvals: 2, - zeroth_delay_tranche_width: irrelevant, - relay_vrf_modulo_samples: irrelevant, - n_delay_tranches: irrelevant, - no_show_slots: irrelevant, - active_validator_indices: Vec::new(), - dispute_period: 6, - random_seed: [0u8; 32], - }; + let session_info = + SessionInfo { + validators: IndexedVec::::from( + vec![Sr25519Keyring::Alice.public().into(); 6], + ), + discovery_keys: Vec::new(), + assignment_keys: Vec::new(), + validator_groups: IndexedVec::>::from(vec![ + vec![ValidatorIndex(0); 5], + vec![ValidatorIndex(0); 2], + ]), + n_cores: 6, + needed_approvals: 2, + zeroth_delay_tranche_width: irrelevant, + relay_vrf_modulo_samples: irrelevant, + n_delay_tranches: irrelevant, + no_show_slots: irrelevant, + active_validator_indices: Vec::new(), + dispute_period: 6, + random_seed: [0u8; 32], + }; let slot = Slot::from(10); diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index 467d8be612e9..cff420fa46b6 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -1803,7 +1803,7 @@ fn check_and_import_approval( )), }; - let pubkey = match session_info.validators.get(approval.validator.0 as usize) { + let pubkey = match session_info.validators.get(approval.validator) { Some(k) => k, None => respond_early!(ApprovalCheckResult::Bad( ApprovalCheckError::InvalidValidatorIndex(approval.validator), @@ -2503,7 +2503,7 @@ async fn issue_approval( }, }; - let validator_pubkey = match session_info.validators.get(validator_index.0 as usize) { + let validator_pubkey = match session_info.validators.get(validator_index) { Some(p) => p, None => { gum::warn!( diff --git a/node/core/approval-voting/src/tests.rs b/node/core/approval-voting/src/tests.rs index bdb7a8c929b3..d5c8d3c01da4 100644 --- a/node/core/approval-voting/src/tests.rs +++ b/node/core/approval-voting/src/tests.rs @@ -32,7 +32,7 @@ use polkadot_node_subsystem_test_helpers as test_helpers; use polkadot_node_subsystem_util::TimeoutExt; use polkadot_overseer::HeadSupportsParachains; use polkadot_primitives::v2::{ - CandidateCommitments, CandidateEvent, CoreIndex, GroupIndex, Header, Id as ParaId, + CandidateCommitments, CandidateEvent, CoreIndex, GroupIndex, Header, Id as ParaId, IndexedVec, ValidationCode, ValidatorSignature, }; use std::time::Duration; @@ -739,7 +739,10 @@ fn session_info(keys: &[Sr25519Keyring]) -> SessionInfo { validators: keys.iter().map(|v| v.public().into()).collect(), discovery_keys: keys.iter().map(|v| v.public().into()).collect(), assignment_keys: keys.iter().map(|v| v.public().into()).collect(), - validator_groups: vec![vec![ValidatorIndex(0)], vec![ValidatorIndex(1)]], + validator_groups: IndexedVec::>::from(vec![ + vec![ValidatorIndex(0)], + vec![ValidatorIndex(1)], + ]), n_cores: keys.len() as _, needed_approvals: 2, zeroth_delay_tranche_width: 5, @@ -1552,11 +1555,11 @@ fn subsystem_second_approval_import_only_schedules_wakeups() { Sr25519Keyring::Eve, ]; let session_info = SessionInfo { - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2)], vec![ValidatorIndex(3), ValidatorIndex(4)], - ], + ]), needed_approvals: 1, ..session_info(&validators) }; @@ -1889,11 +1892,11 @@ fn import_checked_approval_updates_entries_and_schedules() { Sr25519Keyring::Eve, ]; let session_info = SessionInfo { - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2)], vec![ValidatorIndex(3), ValidatorIndex(4)], - ], + ]), ..session_info(&validators) }; @@ -2046,11 +2049,11 @@ fn subsystem_import_checked_approval_sets_one_block_bit_at_a_time() { Sr25519Keyring::Eve, ]; let session_info = SessionInfo { - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2)], vec![ValidatorIndex(3), ValidatorIndex(4)], - ], + ]), ..session_info(&validators) }; @@ -2336,11 +2339,11 @@ fn subsystem_validate_approvals_cache() { Sr25519Keyring::Eve, ]; let session_info = SessionInfo { - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2)], vec![ValidatorIndex(3), ValidatorIndex(4)], - ], + ]), ..session_info(&validators) }; @@ -2548,11 +2551,11 @@ where Sr25519Keyring::Ferdie, ]; let session_info = SessionInfo { - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2), ValidatorIndex(3)], vec![ValidatorIndex(4), ValidatorIndex(5)], - ], + ]), relay_vrf_modulo_samples: 2, no_show_slots, ..session_info(&validators) @@ -2868,11 +2871,11 @@ fn pre_covers_dont_stall_approval() { Sr25519Keyring::One, ]; let session_info = SessionInfo { - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2), ValidatorIndex(5)], vec![ValidatorIndex(3), ValidatorIndex(4)], - ], + ]), ..session_info(&validators) }; @@ -3045,11 +3048,11 @@ fn waits_until_approving_assignments_are_old_enough() { Sr25519Keyring::One, ]; let session_info = SessionInfo { - validator_groups: vec![ + validator_groups: IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2), ValidatorIndex(5)], vec![ValidatorIndex(3), ValidatorIndex(4)], - ], + ]), ..session_info(&validators) }; diff --git a/node/core/dispute-coordinator/src/import.rs b/node/core/dispute-coordinator/src/import.rs index 020d04792191..8eb3d173dcf7 100644 --- a/node/core/dispute-coordinator/src/import.rs +++ b/node/core/dispute-coordinator/src/import.rs @@ -31,8 +31,8 @@ use std::collections::{BTreeMap, HashMap, HashSet}; use polkadot_node_primitives::{CandidateVotes, SignedDisputeStatement}; use polkadot_node_subsystem_util::rolling_session_window::RollingSessionWindow; use polkadot_primitives::v2::{ - CandidateReceipt, DisputeStatement, SessionIndex, SessionInfo, ValidDisputeStatementKind, - ValidatorId, ValidatorIndex, ValidatorPair, ValidatorSignature, + CandidateReceipt, DisputeStatement, IndexedVec, SessionIndex, SessionInfo, + ValidDisputeStatementKind, ValidatorId, ValidatorIndex, ValidatorPair, ValidatorSignature, }; use sc_keystore::LocalKeystore; @@ -63,7 +63,7 @@ impl<'a> CandidateEnvironment<'a> { } /// Validators in the candidate's session. - pub fn validators(&self) -> &Vec { + pub fn validators(&self) -> &IndexedVec { &self.session.validators } @@ -229,7 +229,7 @@ impl CandidateVoteState { for (statement, val_index) in statements { if env .validators() - .get(val_index.0 as usize) + .get(val_index) .map_or(true, |v| v != statement.validator_public()) { gum::error!( @@ -488,7 +488,7 @@ impl ImportResult { for (index, sig) in approval_votes.into_iter() { debug_assert!( { - let pub_key = &env.session_info().validators[index.0 as usize]; + let pub_key = &env.session_info().validators.get(index).expect("indices are validated by approval-voting subsystem; qed"); let candidate_hash = votes.candidate_receipt.hash(); let session_index = env.session_index(); DisputeStatement::Valid(ValidDisputeStatementKind::ApprovalChecking) @@ -538,7 +538,7 @@ impl ImportResult { /// That is all `ValidatorIndex`es we have private keys for. Usually this will only be one. fn find_controlled_validator_indices( keystore: &LocalKeystore, - validators: &[ValidatorId], + validators: &IndexedVec, ) -> HashSet { let mut controlled = HashSet::new(); for (index, validator) in validators.iter().enumerate() { diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 5f29245f33f8..9229f61f3a78 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -372,7 +372,7 @@ impl Initialized { .filter_map(|(validator_index, attestation)| { let validator_public: ValidatorId = session_info .validators - .get(validator_index.0 as usize) + .get(validator_index) .or_else(|| { gum::error!( target: LOG_TARGET, @@ -473,7 +473,7 @@ impl Initialized { let validator_public: ValidatorId = session_info .validators - .get(validator_index.0 as usize) + .get(validator_index) .or_else(|| { gum::error!( target: LOG_TARGET, @@ -903,7 +903,7 @@ impl Initialized { let no_votes = Vec::new(); let our_approval_votes = new_state.own_approval_votes().unwrap_or(&no_votes); for (validator_index, sig) in our_approval_votes { - let pub_key = match env.validators().get(validator_index.0 as usize) { + let pub_key = match env.validators().get(*validator_index) { None => { gum::error!( target: LOG_TARGET, @@ -1097,7 +1097,10 @@ impl Initialized { valid, candidate_hash, session, - env.validators()[index.0 as usize].clone(), + env.validators() + .get(*index) + .expect("`controlled_indices` are derived from `validators`; qed") + .clone(), ) .await; @@ -1238,7 +1241,7 @@ fn make_dispute_message( our_vote.candidate_hash().clone(), our_vote.session_index(), validators - .get(validator_index.0 as usize) + .get(*validator_index) .ok_or(DisputeMessageCreationError::InvalidValidatorIndex)? .clone(), validator_signature.clone(), @@ -1253,7 +1256,7 @@ fn make_dispute_message( our_vote.candidate_hash().clone(), our_vote.session_index(), validators - .get(validator_index.0 as usize) + .get(*validator_index) .ok_or(DisputeMessageCreationError::InvalidValidatorIndex)? .clone(), validator_signature.clone(), diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index aaef00999259..c6fe328d9537 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -58,9 +58,9 @@ use polkadot_node_subsystem::{ use polkadot_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; use polkadot_primitives::v2::{ ApprovalVote, BlockNumber, CandidateCommitments, CandidateHash, CandidateReceipt, - DisputeStatement, Hash, Header, MultiDisputeStatementSet, ScrapedOnChainVotes, SessionIndex, - SessionInfo, SigningContext, ValidDisputeStatementKind, ValidatorId, ValidatorIndex, - ValidatorSignature, + DisputeStatement, GroupIndex, Hash, Header, IndexedVec, MultiDisputeStatementSet, + ScrapedOnChainVotes, SessionIndex, SessionInfo, SigningContext, ValidDisputeStatementKind, + ValidatorId, ValidatorIndex, ValidatorSignature, }; use crate::{ @@ -125,8 +125,8 @@ impl MockClock { struct TestState { validators: Vec, - validator_public: Vec, - validator_groups: Vec>, + validator_public: IndexedVec, + validator_groups: IndexedVec>, master_keystore: Arc, subsystem_keystore: Arc, db: Arc, @@ -163,11 +163,11 @@ impl Default for TestState { .map(|k| ValidatorId::from(k.0.public())) .collect(); - let validator_groups = vec![ + let validator_groups = IndexedVec::>::from(vec![ vec![ValidatorIndex(0), ValidatorIndex(1)], vec![ValidatorIndex(2), ValidatorIndex(3)], vec![ValidatorIndex(4), ValidatorIndex(5), ValidatorIndex(6)], - ]; + ]); let master_keystore = make_keystore(validators.iter().map(|v| v.1.clone())).into(); let subsystem_keystore = @@ -431,7 +431,7 @@ impl TestState { session: SessionIndex, valid: bool, ) -> SignedDisputeStatement { - let public = self.validator_public[index.0 as usize].clone(); + let public = self.validator_public.get(index).unwrap().clone(); let keystore = self.master_keystore.clone() as SyncCryptoStorePtr; diff --git a/node/core/runtime-api/src/tests.rs b/node/core/runtime-api/src/tests.rs index 2fab84179433..45286431e49d 100644 --- a/node/core/runtime-api/src/tests.rs +++ b/node/core/runtime-api/src/tests.rs @@ -522,10 +522,10 @@ fn requests_session_index_for_child() { fn dummy_session_info() -> SessionInfo { SessionInfo { - validators: vec![], + validators: Default::default(), discovery_keys: vec![], assignment_keys: vec![], - validator_groups: vec![], + validator_groups: Default::default(), n_cores: 4u32, zeroth_delay_tranche_width: 0u32, relay_vrf_modulo_samples: 0u32, diff --git a/node/network/availability-distribution/src/tests/mock.rs b/node/network/availability-distribution/src/tests/mock.rs index 86be0a1e230d..15ea1ab1bc53 100644 --- a/node/network/availability-distribution/src/tests/mock.rs +++ b/node/network/availability-distribution/src/tests/mock.rs @@ -24,8 +24,8 @@ use polkadot_erasure_coding::{branches, obtain_chunks_v1 as obtain_chunks}; use polkadot_node_primitives::{AvailableData, BlockData, ErasureChunk, PoV, Proof}; use polkadot_primitives::v2::{ CandidateCommitments, CandidateDescriptor, CandidateHash, CommittedCandidateReceipt, - GroupIndex, Hash, HeadData, Id as ParaId, OccupiedCore, PersistedValidationData, SessionInfo, - ValidatorIndex, + GroupIndex, Hash, HeadData, Id as ParaId, IndexedVec, OccupiedCore, PersistedValidationData, + SessionInfo, ValidatorIndex, }; use polkadot_primitives_test_helpers::{ dummy_collator, dummy_collator_signature, dummy_hash, dummy_validation_code, @@ -43,10 +43,11 @@ pub fn make_session_info() -> SessionInfo { Sr25519Keyring::One, ]; - let validator_groups: Vec> = [vec![5, 0, 3], vec![1, 6, 2, 4]] - .iter() - .map(|g| g.into_iter().map(|v| ValidatorIndex(*v)).collect()) - .collect(); + let validator_groups: IndexedVec> = + [vec![5, 0, 3], vec![1, 6, 2, 4]] + .iter() + .map(|g| g.into_iter().map(|v| ValidatorIndex(*v)).collect()) + .collect(); SessionInfo { discovery_keys: validators.iter().map(|k| k.public().into()).collect(), diff --git a/node/network/availability-recovery/src/lib.rs b/node/network/availability-recovery/src/lib.rs index a07f4e0baa52..4ca28c955f9e 100644 --- a/node/network/availability-recovery/src/lib.rs +++ b/node/network/availability-recovery/src/lib.rs @@ -58,7 +58,7 @@ use polkadot_node_subsystem::{ use polkadot_node_subsystem_util::request_session_info; use polkadot_primitives::v2::{ AuthorityDiscoveryId, BlakeTwo256, BlockNumber, CandidateHash, CandidateReceipt, GroupIndex, - Hash, HashT, SessionIndex, SessionInfo, ValidatorId, ValidatorIndex, + Hash, HashT, IndexedVec, SessionIndex, SessionInfo, ValidatorId, ValidatorIndex, }; mod error; @@ -134,7 +134,7 @@ struct RecoveryParams { validator_authority_keys: Vec, /// Validators relevant to this `RecoveryTask`. - validators: Vec, + validators: IndexedVec, /// The number of pieces needed. threshold: usize, @@ -871,7 +871,7 @@ async fn launch_recovery_task( }; let phase = backing_group - .and_then(|g| session_info.validator_groups.get(g.0 as usize)) + .and_then(|g| session_info.validator_groups.get(g)) .map(|group| Source::RequestFromBackers(RequestFromBackers::new(group.clone()))) .unwrap_or_else(|| { Source::RequestChunks(RequestChunksFromValidators::new(params.validators.len() as _)) diff --git a/node/network/availability-recovery/src/tests.rs b/node/network/availability-recovery/src/tests.rs index 3e898088c7f9..c77278f645c1 100644 --- a/node/network/availability-recovery/src/tests.rs +++ b/node/network/availability-recovery/src/tests.rs @@ -36,7 +36,9 @@ use polkadot_node_subsystem::{ }; use polkadot_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; use polkadot_node_subsystem_util::TimeoutExt; -use polkadot_primitives::v2::{AuthorityDiscoveryId, Hash, HeadData, PersistedValidationData}; +use polkadot_primitives::v2::{ + AuthorityDiscoveryId, Hash, HeadData, IndexedVec, PersistedValidationData, ValidatorId, +}; use polkadot_primitives_test_helpers::{dummy_candidate_receipt, dummy_hash}; type VirtualOverseer = TestSubsystemContextHandle; @@ -179,7 +181,7 @@ impl Has { #[derive(Clone)] struct TestState { validators: Vec, - validator_public: Vec, + validator_public: IndexedVec, validator_authority_id: Vec, current: Hash, candidate: CandidateReceipt, @@ -218,7 +220,7 @@ impl TestState { validators: self.validator_public.clone(), discovery_keys: self.validator_authority_id.clone(), // all validators in the same group. - validator_groups: vec![(0..self.validators.len()).map(|i| ValidatorIndex(i as _)).collect()], + validator_groups: IndexedVec::>::from(vec![(0..self.validators.len()).map(|i| ValidatorIndex(i as _)).collect()]), assignment_keys: vec![], n_cores: 0, zeroth_delay_tranche_width: 0, @@ -402,7 +404,7 @@ impl TestState { } } -fn validator_pubkeys(val_ids: &[Sr25519Keyring]) -> Vec { +fn validator_pubkeys(val_ids: &[Sr25519Keyring]) -> IndexedVec { val_ids.iter().map(|v| v.public().into()).collect() } diff --git a/node/network/collator-protocol/src/collator_side/mod.rs b/node/network/collator-protocol/src/collator_side/mod.rs index 4f2eea2ca747..7a603a8a404a 100644 --- a/node/network/collator-protocol/src/collator_side/mod.rs +++ b/node/network/collator-protocol/src/collator_side/mod.rs @@ -448,10 +448,8 @@ async fn determine_our_validators( let rotation_info = get_group_rotation_info(ctx.sender(), relay_parent).await?; let current_group_index = rotation_info.group_for_core(core_index, cores); - let current_validators = groups - .get(current_group_index.0 as usize) - .map(|v| v.as_slice()) - .unwrap_or_default(); + let current_validators = + groups.get(current_group_index).map(|v| v.as_slice()).unwrap_or_default(); let validators = &info.discovery_keys; diff --git a/node/network/collator-protocol/src/collator_side/tests.rs b/node/network/collator-protocol/src/collator_side/tests.rs index c20a2d6c97a5..6575259b37b3 100644 --- a/node/network/collator-protocol/src/collator_side/tests.rs +++ b/node/network/collator-protocol/src/collator_side/tests.rs @@ -44,8 +44,8 @@ use polkadot_node_subsystem::{ use polkadot_node_subsystem_test_helpers as test_helpers; use polkadot_node_subsystem_util::TimeoutExt; use polkadot_primitives::v2::{ - AuthorityDiscoveryId, CollatorPair, GroupRotationInfo, ScheduledCore, SessionIndex, - SessionInfo, ValidatorId, ValidatorIndex, + AuthorityDiscoveryId, CollatorPair, GroupIndex, GroupRotationInfo, IndexedVec, ScheduledCore, + SessionIndex, SessionInfo, ValidatorId, ValidatorIndex, }; use polkadot_primitives_test_helpers::TestCandidateBuilder; @@ -62,7 +62,7 @@ struct TestState { session_index: SessionIndex, } -fn validator_pubkeys(val_ids: &[Sr25519Keyring]) -> Vec { +fn validator_pubkeys(val_ids: &[Sr25519Keyring]) -> IndexedVec { val_ids.iter().map(|v| v.public().into()).collect() } @@ -135,7 +135,7 @@ impl TestState { fn current_group_validator_indices(&self) -> &[ValidatorIndex] { let core_num = self.availability_cores.len(); let GroupIndex(group_idx) = self.group_rotation_info.group_for_core(CoreIndex(0), core_num); - &self.session_info.validator_groups[group_idx as usize] + &self.session_info.validator_groups.get(GroupIndex::from(group_idx)).unwrap() } fn current_session_index(&self) -> SessionIndex { @@ -367,7 +367,7 @@ async fn distribute_collation( )) => { assert_eq!(relay_parent, test_state.relay_parent); tx.send(Ok(( - test_state.session_info.validator_groups.clone(), + test_state.session_info.validator_groups.to_vec(), test_state.group_rotation_info.clone(), ))) .unwrap(); diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index 09b902173ede..331fe12c61e2 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -299,7 +299,7 @@ impl DisputeSender { let valid_public = info .session_info .validators - .get(valid_index.0 as usize) + .get(*valid_index) .ok_or(JfyiError::InvalidStatementFromCoordinator)?; let valid_signed = SignedDisputeStatement::new_checked( DisputeStatement::Valid(kind.clone()), @@ -314,7 +314,7 @@ impl DisputeSender { let invalid_public = info .session_info .validators - .get(invalid_index.0 as usize) + .get(*invalid_index) .ok_or(JfyiError::InvalidValidatorIndexFromCoordinator)?; let invalid_signed = SignedDisputeStatement::new_checked( DisputeStatement::Invalid(kind.clone()), diff --git a/node/network/dispute-distribution/src/tests/mock.rs b/node/network/dispute-distribution/src/tests/mock.rs index aa2a4485d480..bc64734d57a0 100644 --- a/node/network/dispute-distribution/src/tests/mock.rs +++ b/node/network/dispute-distribution/src/tests/mock.rs @@ -84,7 +84,7 @@ pub static ref MOCK_SESSION_INFO: SessionInfo = .map(|k| MOCK_VALIDATORS_DISCOVERY_KEYS.get(&k).unwrap().clone()) .collect(), assignment_keys: vec![], - validator_groups: vec![], + validator_groups: Default::default(), n_cores: 0, zeroth_delay_tranche_width: 0, relay_vrf_modulo_samples: 0, @@ -104,9 +104,9 @@ pub static ref MOCK_NEXT_SESSION_INFO: SessionInfo = .iter() .map(|k| MOCK_VALIDATORS_DISCOVERY_KEYS.get(&k).unwrap().clone()) .collect(), - validators: vec![], + validators: Default::default(), assignment_keys: vec![], - validator_groups: vec![], + validator_groups: Default::default(), n_cores: 0, zeroth_delay_tranche_width: 0, relay_vrf_modulo_samples: 0, diff --git a/node/network/gossip-support/src/tests.rs b/node/network/gossip-support/src/tests.rs index 79f2a9a6db42..4b2b91f7cdba 100644 --- a/node/network/gossip-support/src/tests.rs +++ b/node/network/gossip-support/src/tests.rs @@ -37,6 +37,7 @@ use polkadot_node_subsystem::{ }; use polkadot_node_subsystem_test_helpers as test_helpers; use polkadot_node_subsystem_util::TimeoutExt as _; +use polkadot_primitives::v2::{GroupIndex, IndexedVec}; use test_helpers::mock::make_ferdie_keystore; use super::*; @@ -219,7 +220,9 @@ fn make_session_info() -> SessionInfo { validators: AUTHORITY_KEYRINGS.iter().map(|k| k.public().into()).collect(), discovery_keys: AUTHORITIES.clone(), assignment_keys: AUTHORITY_KEYRINGS.iter().map(|k| k.public().into()).collect(), - validator_groups: vec![all_validator_indices], + validator_groups: IndexedVec::>::from(vec![ + all_validator_indices, + ]), n_cores: 1, zeroth_delay_tranche_width: 1, relay_vrf_modulo_samples: 1, diff --git a/node/network/statement-distribution/src/lib.rs b/node/network/statement-distribution/src/lib.rs index 17ca5d8ea4ac..c0ac09dbe3f8 100644 --- a/node/network/statement-distribution/src/lib.rs +++ b/node/network/statement-distribution/src/lib.rs @@ -47,8 +47,8 @@ use polkadot_node_subsystem::{ }; use polkadot_primitives::v2::{ AuthorityDiscoveryId, CandidateHash, CommittedCandidateReceipt, CompactStatement, Hash, - SignedStatement, SigningContext, UncheckedSignedStatement, ValidatorId, ValidatorIndex, - ValidatorSignature, + IndexedVec, SignedStatement, SigningContext, UncheckedSignedStatement, ValidatorId, + ValidatorIndex, ValidatorSignature, }; use futures::{ @@ -665,7 +665,7 @@ struct ActiveHeadData { /// Large statements we are waiting for with associated meta data. waiting_large_statements: HashMap, /// The parachain validators at the head's child session index. - validators: Vec, + validators: IndexedVec, /// The current session index of this fork. session_index: sp_staking::SessionIndex, /// How many `Seconded` statements we've seen per validator. @@ -676,7 +676,7 @@ struct ActiveHeadData { impl ActiveHeadData { fn new( - validators: Vec, + validators: IndexedVec, session_index: sp_staking::SessionIndex, span: PerLeafSpan, ) -> Self { @@ -878,7 +878,7 @@ fn check_statement_signature( SigningContext { session_index: head.session_index, parent_hash: relay_parent }; head.validators - .get(statement.unchecked_validator_index().0 as usize) + .get(statement.unchecked_validator_index()) .ok_or_else(|| statement.clone()) .and_then(|v| statement.try_into_checked(&signing_context, v)) } @@ -2072,7 +2072,10 @@ impl StatementDistributionSubsystem { // directly: let group_peers = { if let Some(our_group) = validator_info.our_group { - let our_group = &session_info.validator_groups[our_group.0 as usize]; + let our_group = &session_info + .validator_groups + .get(our_group) + .expect("`our_group` is derived from `validator_groups`; qed"); our_group .into_iter() diff --git a/node/network/statement-distribution/src/tests.rs b/node/network/statement-distribution/src/tests.rs index f3b9db00aef4..c1636557fdca 100644 --- a/node/network/statement-distribution/src/tests.rs +++ b/node/network/statement-distribution/src/tests.rs @@ -35,7 +35,9 @@ use polkadot_node_subsystem::{ ActivatedLeaf, LeafStatus, }; use polkadot_node_subsystem_test_helpers::mock::make_ferdie_keystore; -use polkadot_primitives::v2::{Hash, Id as ParaId, SessionInfo, ValidationCode}; +use polkadot_primitives::v2::{ + GroupIndex, Hash, Id as ParaId, IndexedVec, SessionInfo, ValidationCode, ValidatorId, +}; use polkadot_primitives_test_helpers::{ dummy_committed_candidate_receipt, dummy_hash, AlwaysZeroRng, }; @@ -83,7 +85,7 @@ fn active_head_accepts_only_2_seconded_per_validator() { }; let mut head_data = ActiveHeadData::new( - validators, + IndexedVec::::from(validators), session_index, PerLeafSpan::new(Arc::new(jaeger::Span::Disabled), "test"), ); @@ -429,7 +431,7 @@ fn peer_view_update_sends_messages() { let new_head_data = { let mut data = ActiveHeadData::new( - validators, + IndexedVec::::from(validators), session_index, PerLeafSpan::new(Arc::new(jaeger::Span::Disabled), "test"), ); @@ -2319,7 +2321,7 @@ fn handle_multiple_seconded_statements() { } fn make_session_info(validators: Vec, groups: Vec>) -> SessionInfo { - let validator_groups: Vec> = groups + let validator_groups: IndexedVec> = groups .iter() .map(|g| g.into_iter().map(|v| ValidatorIndex(*v)).collect()) .collect(); diff --git a/node/primitives/src/disputes/message.rs b/node/primitives/src/disputes/message.rs index 88a65ab04015..93d4e804f906 100644 --- a/node/primitives/src/disputes/message.rs +++ b/node/primitives/src/disputes/message.rs @@ -135,11 +135,11 @@ impl DisputeMessage { let valid_id = session_info .validators - .get(valid_index.0 as usize) + .get(valid_index) .ok_or(Error::ValidStatementInvalidValidatorIndex)?; let invalid_id = session_info .validators - .get(invalid_index.0 as usize) + .get(invalid_index) .ok_or(Error::InvalidStatementInvalidValidatorIndex)?; if valid_id != valid_statement.validator_public() { @@ -223,8 +223,7 @@ impl UncheckedDisputeMessage { let vote_valid = { let ValidDisputeVote { validator_index, signature, kind } = valid_vote; - let validator_public = - session_info.validators.get(validator_index.0 as usize).ok_or(())?.clone(); + let validator_public = session_info.validators.get(validator_index).ok_or(())?.clone(); ( SignedDisputeStatement::new_checked( @@ -240,8 +239,7 @@ impl UncheckedDisputeMessage { let vote_invalid = { let InvalidDisputeVote { validator_index, signature, kind } = invalid_vote; - let validator_public = - session_info.validators.get(validator_index.0 as usize).ok_or(())?.clone(); + let validator_public = session_info.validators.get(validator_index).ok_or(())?.clone(); ( SignedDisputeStatement::new_checked( diff --git a/node/subsystem-util/src/rolling_session_window.rs b/node/subsystem-util/src/rolling_session_window.rs index 0ff2dc6deb13..700feb2ccff8 100644 --- a/node/subsystem-util/src/rolling_session_window.rs +++ b/node/subsystem-util/src/rolling_session_window.rs @@ -399,10 +399,10 @@ mod tests { fn dummy_session_info(index: SessionIndex) -> SessionInfo { SessionInfo { - validators: Vec::new(), + validators: Default::default(), discovery_keys: Vec::new(), assignment_keys: Vec::new(), - validator_groups: Vec::new(), + validator_groups: Default::default(), n_cores: index as _, zeroth_delay_tranche_width: index as _, relay_vrf_modulo_samples: index as _, diff --git a/node/subsystem-util/src/runtime/mod.rs b/node/subsystem-util/src/runtime/mod.rs index 7fcae2c57b09..5b8baad0f94f 100644 --- a/node/subsystem-util/src/runtime/mod.rs +++ b/node/subsystem-util/src/runtime/mod.rs @@ -27,9 +27,9 @@ use sp_keystore::{CryptoStore, SyncCryptoStorePtr}; use polkadot_node_subsystem::{messages::RuntimeApiMessage, overseer, SubsystemSender}; use polkadot_primitives::v2::{ - CandidateEvent, CoreState, EncodeAs, GroupIndex, GroupRotationInfo, Hash, OccupiedCore, - ScrapedOnChainVotes, SessionIndex, SessionInfo, Signed, SigningContext, UncheckedSigned, - ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex, + CandidateEvent, CoreState, EncodeAs, GroupIndex, GroupRotationInfo, Hash, IndexedVec, + OccupiedCore, ScrapedOnChainVotes, SessionIndex, SessionInfo, Signed, SigningContext, + UncheckedSigned, ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex, }; use crate::{ @@ -228,7 +228,10 @@ impl RuntimeInfo { /// Get our `ValidatorIndex`. /// /// Returns: None if we are not a validator. - async fn get_our_index(&self, validators: &[ValidatorId]) -> Option { + async fn get_our_index( + &self, + validators: &IndexedVec, + ) -> Option { let keystore = self.keystore.as_ref()?; for (i, v) in validators.iter().enumerate() { if CryptoStore::has_keys(&**keystore, &[(v.to_raw_vec(), ValidatorId::ID)]).await { @@ -254,7 +257,7 @@ where session_info .validators - .get(signed.unchecked_validator_index().0 as usize) + .get(signed.unchecked_validator_index()) .ok_or_else(|| signed.clone()) .and_then(|v| signed.try_into_checked(&signing_context, v)) } diff --git a/primitives/src/v2/mod.rs b/primitives/src/v2/mod.rs index e31d0e4d36f9..ea1f4fcca0b9 100644 --- a/primitives/src/v2/mod.rs +++ b/primitives/src/v2/mod.rs @@ -19,7 +19,12 @@ use bitvec::vec::BitVec; use parity_scale_codec::{Decode, Encode}; use scale_info::TypeInfo; -use sp_std::prelude::*; +use sp_std::{ + marker::PhantomData, + prelude::*, + slice::{Iter, IterMut}, + vec::IntoIter, +}; use application_crypto::KeyTypeId; use inherents::InherentIdentifier; @@ -123,6 +128,12 @@ impl MallocSizeOf for ValidatorId { } } +/// Trait required for type specific indices e.g. `ValidatorIndex` and `GroupIndex` +pub trait TypeIndex { + /// Returns the index associated to this value. + fn type_index(&self) -> usize; +} + /// Index of the validator is used as a lightweight replacement of the `ValidatorId` when appropriate. #[derive(Eq, Ord, PartialEq, PartialOrd, Copy, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] #[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash, MallocSizeOf))] @@ -135,6 +146,12 @@ impl From for ValidatorIndex { } } +impl TypeIndex for ValidatorIndex { + fn type_index(&self) -> usize { + self.0 as usize + } +} + application_crypto::with_pair! { /// A Parachain validator keypair. pub type ValidatorPair = validator_app::Pair; @@ -779,6 +796,12 @@ impl From for CoreIndex { } } +impl TypeIndex for CoreIndex { + fn type_index(&self) -> usize { + self.0 as usize + } +} + /// The unique (during session) index of a validator group. #[derive(Encode, Decode, Default, Clone, Copy, Debug, PartialEq, Eq, TypeInfo)] #[cfg_attr(feature = "std", derive(Hash, MallocSizeOf))] @@ -790,6 +813,12 @@ impl From for GroupIndex { } } +impl TypeIndex for GroupIndex { + fn type_index(&self) -> usize { + self.0 as usize + } +} + /// A claim on authoring the next block for a given parathread. #[derive(Clone, Encode, Decode, TypeInfo, RuntimeDebug)] #[cfg_attr(feature = "std", derive(PartialEq))] @@ -1569,6 +1598,72 @@ impl CompactStatement { } } +/// `IndexedVec` struct indexed by type specific indices. +#[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo)] +#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +pub struct IndexedVec(Vec, PhantomData K>); + +impl Default for IndexedVec { + fn default() -> Self { + Self(vec![], PhantomData) + } +} + +impl From> for IndexedVec { + fn from(validators: Vec) -> Self { + Self(validators, PhantomData) + } +} + +impl FromIterator for IndexedVec { + fn from_iter>(iter: T) -> Self { + Self(Vec::from_iter(iter), PhantomData) + } +} + +impl IndexedVec +where + V: Clone, +{ + /// Returns a reference to an element indexed using `K`. + pub fn get(&self, index: K) -> Option<&V> + where + K: TypeIndex, + { + self.0.get(index.type_index()) + } + + /// Returns number of elements in vector. + pub fn len(&self) -> usize { + self.0.len() + } + + /// Returns contained vector. + pub fn to_vec(&self) -> Vec { + self.0.clone() + } + + /// Returns an iterator over the underlying vector. + pub fn iter(&self) -> Iter<'_, V> { + self.0.iter() + } + + /// Returns a mutable iterator over the underlying vector. + pub fn iter_mut(&mut self) -> IterMut<'_, V> { + self.0.iter_mut() + } + + /// Creates a consuming iterator. + pub fn into_iter(self) -> IntoIter { + self.0.into_iter() + } + + /// Returns true if the underlying container is empty. + pub fn is_empty(&self) -> bool { + self.0.is_empty() + } +} + /// The maximum number of validators `f` which may safely be faulty. /// /// The total number of validators is `n = 3f + e` where `e in { 1, 2, 3 }`. @@ -1603,7 +1698,7 @@ pub struct SessionInfo { /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148). /// /// `SessionInfo::validators` will be limited to to `max_validators` when set. - pub validators: Vec, + pub validators: IndexedVec, /// Validators' authority discovery keys for the session in canonical ordering. /// /// NOTE: The first `validators.len()` entries will match the corresponding validators in @@ -1626,7 +1721,7 @@ pub struct SessionInfo { /// Validators in shuffled ordering - these are the validator groups as produced /// by the `Scheduler` module for the session and are typically referred to by /// `GroupIndex`. - pub validator_groups: Vec>, + pub validator_groups: IndexedVec>, /// The number of availability cores used by the protocol during this session. pub n_cores: u32, /// The zeroth delay tranche width. @@ -1679,7 +1774,7 @@ pub struct OldV1SessionInfo { /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148). /// /// `SessionInfo::validators` will be limited to to `max_validators` when set. - pub validators: Vec, + pub validators: IndexedVec, /// Validators' authority discovery keys for the session in canonical ordering. /// /// NOTE: The first `validators.len()` entries will match the corresponding validators in @@ -1702,7 +1797,7 @@ pub struct OldV1SessionInfo { /// Validators in shuffled ordering - these are the validator groups as produced /// by the `Scheduler` module for the session and are typically referred to by /// `GroupIndex`. - pub validator_groups: Vec>, + pub validator_groups: IndexedVec>, /// The number of availability cores used by the protocol during this session. pub n_cores: u32, /// The zeroth delay tranche width. diff --git a/runtime/parachains/src/builder.rs b/runtime/parachains/src/builder.rs index 42f54ecb3417..f4bc58f2d4f2 100644 --- a/runtime/parachains/src/builder.rs +++ b/runtime/parachains/src/builder.rs @@ -25,9 +25,10 @@ use primitives::v2::{ collator_signature_payload, AvailabilityBitfield, BackedCandidate, CandidateCommitments, CandidateDescriptor, CandidateHash, CollatorId, CollatorSignature, CommittedCandidateReceipt, CompactStatement, CoreIndex, CoreOccupied, DisputeStatement, DisputeStatementSet, GroupIndex, - HeadData, Id as ParaId, InherentData as ParachainsInherentData, InvalidDisputeStatementKind, - PersistedValidationData, SessionIndex, SigningContext, UncheckedSigned, - ValidDisputeStatementKind, ValidationCode, ValidatorId, ValidatorIndex, ValidityAttestation, + HeadData, Id as ParaId, IndexedVec, InherentData as ParachainsInherentData, + InvalidDisputeStatementKind, PersistedValidationData, SessionIndex, SigningContext, + UncheckedSigned, ValidDisputeStatementKind, ValidationCode, ValidatorId, ValidatorIndex, + ValidityAttestation, }; use sp_core::{sr25519, H256}; use sp_runtime::{ @@ -65,7 +66,7 @@ fn byte32_slice_from(n: u32) -> [u8; 32] { /// Paras inherent `enter` benchmark scenario builder. pub(crate) struct BenchBuilder { /// Active validators. Validators should be declared prior to all other setup. - validators: Option>, + validators: Option>, /// Starting block number; we expect it to get incremented on session setup. block_number: T::BlockNumber, /// Starting session; we expect it to get incremented on session setup. @@ -410,7 +411,7 @@ impl BenchBuilder { assert_eq!(>::session_index(), target_session); // We need to refetch validators since they have been shuffled. - let validators_shuffled: Vec<_> = session_info::Pallet::::session_info(target_session) + let validators_shuffled = session_info::Pallet::::session_info(target_session) .unwrap() .validators .clone(); @@ -549,7 +550,7 @@ impl BenchBuilder { .iter() .take(*num_votes as usize) .map(|val_idx| { - let public = validators.get(val_idx.0 as usize).unwrap(); + let public = validators.get(*val_idx).unwrap(); let sig = UncheckedSigned::::benchmark_sign( public, CompactStatement::Valid(candidate_hash.clone()), @@ -606,7 +607,7 @@ impl BenchBuilder { self.dispute_statements.get(&seed).cloned().unwrap_or(validators.len() as u32); let statements = (0..statements_len) .map(|validator_index| { - let validator_public = &validators.get(validator_index as usize).expect("Test case is not borked. `ValidatorIndex` out of bounds of `ValidatorId`s."); + let validator_public = &validators.get(ValidatorIndex::from(validator_index)).expect("Test case is not borked. `ValidatorIndex` out of bounds of `ValidatorId`s."); // We need dispute statements on each side. And we don't want a revert log // so we make sure that we have a super majority with valid statements. diff --git a/runtime/parachains/src/disputes.rs b/runtime/parachains/src/disputes.rs index a26eccad0daf..9f458421e2ed 100644 --- a/runtime/parachains/src/disputes.rs +++ b/runtime/parachains/src/disputes.rs @@ -985,8 +985,7 @@ impl Pallet { let mut importer = DisputeStateImporter::new(dispute_state, now); for (i, (statement, validator_index, signature)) in set.statements.iter().enumerate() { // assure the validator index and is present in the session info - let validator_public = match session_info.validators.get(validator_index.0 as usize) - { + let validator_public = match session_info.validators.get(*validator_index) { None => { filter.remove_index(i); continue diff --git a/runtime/parachains/src/disputes/slashing.rs b/runtime/parachains/src/disputes/slashing.rs index fd6708de6ba0..2dfdc87c4b4e 100644 --- a/runtime/parachains/src/disputes/slashing.rs +++ b/runtime/parachains/src/disputes/slashing.rs @@ -257,7 +257,7 @@ where let keys = losers .into_iter() - .filter_map(|i| session_info.validators.get(i.0 as usize).cloned().map(|id| (i, id))) + .filter_map(|i| session_info.validators.get(i).cloned().map(|id| (i, id))) .collect(); let unapplied = PendingSlashes { keys, kind }; >::insert(session_index, candidate_hash, unapplied); diff --git a/runtime/parachains/src/disputes/slashing/benchmarking.rs b/runtime/parachains/src/disputes/slashing/benchmarking.rs index 2a21c3a0f62b..552172dc1901 100644 --- a/runtime/parachains/src/disputes/slashing/benchmarking.rs +++ b/runtime/parachains/src/disputes/slashing/benchmarking.rs @@ -80,7 +80,7 @@ where let session_index = crate::shared::Pallet::::session_index(); let session_info = crate::session_info::Pallet::::session_info(session_index); let session_info = session_info.unwrap(); - let validator_id = session_info.validators[0].clone(); + let validator_id = session_info.validators.get(ValidatorIndex::from(0)).unwrap().clone(); let key = (PARACHAIN_KEY_TYPE_ID, validator_id.clone()); let key_owner_proof = pallet_session::historical::Pallet::::prove(key).unwrap(); diff --git a/runtime/parachains/src/session_info.rs b/runtime/parachains/src/session_info.rs index c903638423c2..cbd67a200a16 100644 --- a/runtime/parachains/src/session_info.rs +++ b/runtime/parachains/src/session_info.rs @@ -126,12 +126,12 @@ impl Pallet { let dispute_period = config.dispute_period; - let validators = notification.validators.clone(); + let validators = notification.validators.clone().into(); let discovery_keys = ::authorities(); let assignment_keys = AssignmentKeysUnsafe::::get(); let active_set = >::active_validator_indices(); - let validator_groups = >::validator_groups(); + let validator_groups = >::validator_groups().into(); let n_cores = >::availability_cores().len() as u32; let zeroth_delay_tranche_width = config.zeroth_delay_tranche_width; let relay_vrf_modulo_samples = config.relay_vrf_modulo_samples; diff --git a/runtime/parachains/src/session_info/tests.rs b/runtime/parachains/src/session_info/tests.rs index 168bd3d1cc27..7bf68736b572 100644 --- a/runtime/parachains/src/session_info/tests.rs +++ b/runtime/parachains/src/session_info/tests.rs @@ -201,7 +201,7 @@ fn session_info_active_subsets() { }); let session = Sessions::::get(&1).unwrap(); - assert_eq!(session.validators, validators); + assert_eq!(session.validators.to_vec(), validators); assert_eq!( session.discovery_keys, take_active_subset_and_inactive(&active_set, &unscrambled_discovery), From f610ffc05876d4b98a14cee245b4cc27bd3c0c15 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Mon, 24 Oct 2022 02:56:41 -0400 Subject: [PATCH 073/211] Add missing prerequisite in README for implementers guide (#6181) --- roadmap/implementers-guide/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roadmap/implementers-guide/README.md b/roadmap/implementers-guide/README.md index 70a10a26a765..367a756e0200 100644 --- a/roadmap/implementers-guide/README.md +++ b/roadmap/implementers-guide/README.md @@ -12,7 +12,7 @@ sudo apt-get install graphviz # for Ubuntu/Debian Then install and build the book: ```sh -cargo install mdbook mdbook-linkcheck mdbook-graphviz +cargo install mdbook mdbook-linkcheck mdbook-graphviz mdbook-mermaid mdbook serve roadmap/implementers-guide open http://localhost:3000 ``` From 37d2b0f2df3677d20ee6d86e6f9ef7ee21c33dc5 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Tue, 25 Oct 2022 15:22:29 -0400 Subject: [PATCH 074/211] Companion for #12457 (Bounded Multisig) (#6172) * u16 -> u32 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 360 ++++++++++++++++++------------------ runtime/kusama/src/lib.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- runtime/rococo/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 5 files changed, 184 insertions(+), 184 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f80f54c13db4..5731615552ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -1982,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "log", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "chrono", "frame-election-provider-support", @@ -4615,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4942,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4980,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "sp-api", @@ -5146,7 +5146,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5186,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5203,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5306,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5359,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "sp-arithmetic", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5411,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-support", "frame-system", @@ -5446,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5472,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-benchmarking", "frame-support", @@ -8003,7 +8003,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "env_logger 0.9.0", "log", @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "sp-core", @@ -8353,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "futures-timer", @@ -8403,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8436,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8447,7 +8447,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "chrono", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "fnv", "futures", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "hash-db", "kvdb", @@ -8540,7 +8540,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures", @@ -8564,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "fork-tree", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "jsonrpsee", @@ -8628,7 +8628,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8641,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures", @@ -8665,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "environmental", "parity-scale-codec", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "parity-scale-codec", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "ahash", "array-bytes", @@ -8784,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "finality-grandpa", "futures", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "ansi_term", "futures", @@ -8822,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "async-trait", @@ -8837,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "async-trait", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "cid", "futures", @@ -8904,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "bitflags", @@ -8930,7 +8930,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "ahash", "futures", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "futures", @@ -8969,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "fork-tree", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "futures", @@ -9018,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "bytes", @@ -9048,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "libp2p", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "hash-db", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "jsonrpsee", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "jsonrpsee", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "hex", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "directories", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "parity-scale-codec", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "libc", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "chrono", "futures", @@ -9296,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "ansi_term", "atty", @@ -9327,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9338,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures", @@ -9365,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "hash-db", "log", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "base58", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "blake2", "byteorder", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro2", "quote", @@ -10106,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro2", "quote", @@ -10125,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "environmental", "parity-scale-codec", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "finality-grandpa", "log", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "bytes", "futures", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "parity-scale-codec", @@ -10247,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10261,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "sp-api", "sp-core", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "backtrace", "lazy_static", @@ -10281,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "rustc-hash", "serde", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "either", "hash256-std-hasher", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10332,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "Inflector", "proc-macro-crate", @@ -10344,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "parity-scale-codec", @@ -10358,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "hash-db", "log", @@ -10405,12 +10405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10423,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "log", "sp-core", @@ -10436,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "futures-timer", @@ -10452,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "sp-std", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "sp-api", "sp-runtime", @@ -10473,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "log", @@ -10489,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "ahash", "hash-db", @@ -10512,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "impl-trait-for-tuples", "log", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10768,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "platforms", ] @@ -10776,7 +10776,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures-util", "hyper", @@ -10810,7 +10810,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "async-trait", "jsonrpsee", @@ -10823,7 +10823,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "jsonrpsee", "log", @@ -10844,7 +10844,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "array-bytes", "async-trait", @@ -10870,7 +10870,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "ansi_term", "build-helper", @@ -11598,7 +11598,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#f5ed51def33950ac24709eb11940790ca446421d" +source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 58fcbece44f0..e05b8ba8eb88 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -868,7 +868,7 @@ parameter_types! { pub const DepositBase: Balance = deposit(1, 88); // Additional storage item size of 32 bytes. pub const DepositFactor: Balance = deposit(0, 32); - pub const MaxSignatories: u16 = 100; + pub const MaxSignatories: u32 = 100; } impl pallet_multisig::Config for Runtime { diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index e1a138ab5e0f..6b898230c209 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1018,7 +1018,7 @@ parameter_types! { pub const DepositBase: Balance = deposit(1, 88); // Additional storage item size of 32 bytes. pub const DepositFactor: Balance = deposit(0, 32); - pub const MaxSignatories: u16 = 100; + pub const MaxSignatories: u32 = 100; } impl pallet_multisig::Config for Runtime { diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 1ce9e1d2dee9..ba5b4b66f427 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -793,7 +793,7 @@ parameter_types! { pub const DepositBase: Balance = deposit(1, 88); // Additional storage item size of 32 bytes. pub const DepositFactor: Balance = deposit(0, 32); - pub const MaxSignatories: u16 = 100; + pub const MaxSignatories: u32 = 100; } impl pallet_multisig::Config for Runtime { diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index d77675eb86b2..db6700f4eae8 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -679,7 +679,7 @@ parameter_types! { pub const DepositBase: Balance = deposit(1, 88); // Additional storage item size of 32 bytes. pub const DepositFactor: Balance = deposit(0, 32); - pub const MaxSignatories: u16 = 100; + pub const MaxSignatories: u32 = 100; } impl pallet_multisig::Config for Runtime { From 29bf46767a4a59ef0aacab06b098d82475b8421f Mon Sep 17 00:00:00 2001 From: Marcin S Date: Wed, 26 Oct 2022 11:49:51 -0400 Subject: [PATCH 075/211] Make some fixes to logging in PVF subsystem (#6180) * Log exit status code for workers * Make log for execute job conclusion match prepare job conclusion Trace log for conclusion of prepare job: ```rs gum::debug!( target: LOG_TARGET, validation_code_hash = ?artifact_id.code_hash, ?worker, ?rip, "prepare worker concluded", ); ``` Co-authored-by: parity-processbot <> --- node/core/pvf/src/execute/queue.rs | 4 ++-- node/core/pvf/src/executor_intf.rs | 2 +- node/core/pvf/src/worker_common.rs | 18 +++++++++++++++--- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/node/core/pvf/src/execute/queue.rs b/node/core/pvf/src/execute/queue.rs index 23ed115b7f09..9b240e02df17 100644 --- a/node/core/pvf/src/execute/queue.rs +++ b/node/core/pvf/src/execute/queue.rs @@ -247,9 +247,9 @@ fn handle_job_finish( gum::debug!( target: LOG_TARGET, validation_code_hash = ?artifact_id.code_hash, + ?worker, worker_rip = idle_worker.is_none(), - ?result, - "job finished.", + "execute worker concluded", ); // First we send the result. It may fail due the other end of the channel being dropped, that's diff --git a/node/core/pvf/src/executor_intf.rs b/node/core/pvf/src/executor_intf.rs index 55e94922ed26..6827fb636eac 100644 --- a/node/core/pvf/src/executor_intf.rs +++ b/node/core/pvf/src/executor_intf.rs @@ -129,7 +129,7 @@ impl Executor { // 2. It cannot and does not limit the stack space consumed by Rust code. // // Meaning that if the wasm code leaves no stack space for Rust code, then the Rust code - // and that will abort the process as well. + // will abort and that will abort the process as well. // // Typically on Linux the main thread gets the stack size specified by the `ulimit` and // typically it's configured to 8 MiB. Rust's spawned threads are 2 MiB. OTOH, the diff --git a/node/core/pvf/src/worker_common.rs b/node/core/pvf/src/worker_common.rs index 8614b07d8166..572e3717832b 100644 --- a/node/core/pvf/src/worker_common.rs +++ b/node/core/pvf/src/worker_common.rs @@ -200,7 +200,7 @@ pub enum SpawnErr { /// This is a representation of a potentially running worker. Drop it and the process will be killed. /// /// A worker's handle is also a future that resolves when it's detected that the worker's process -/// has been terminated. Since the worker is running in another process it is obviously not necessarily +/// has been terminated. Since the worker is running in another process it is obviously not necessary /// to poll this future to make the worker run, it's only for termination detection. /// /// This future relies on the fact that a child process's stdout `fd` is closed upon it's termination. @@ -209,6 +209,7 @@ pub struct WorkerHandle { child: async_process::Child, #[pin] stdout: async_process::ChildStdout, + program: PathBuf, drop_box: Box<[u8]>, } @@ -233,6 +234,7 @@ impl WorkerHandle { Ok(WorkerHandle { child, stdout, + program: program.as_ref().to_path_buf(), // We don't expect the bytes to be ever read. But in case we do, we should not use a buffer // of a small size, because otherwise if the child process does return any data we will end up // issuing a syscall for each byte. We also prefer not to do allocate that on the stack, since @@ -267,9 +269,19 @@ impl futures::Future for WorkerHandle { cx.waker().wake_by_ref(); Poll::Pending }, - Err(_) => { + Err(err) => { // The implementation is guaranteed to not to return `WouldBlock` and Interrupted. This - // leaves us with a legit errors which we suppose were due to termination. + // leaves us with legit errors which we suppose were due to termination. + + // Log the status code. + gum::debug!( + target: LOG_TARGET, + worker_pid = %me.child.id(), + status_code = ?me.child.try_status(), + "pvf worker ({}): {:?}", + me.program.display(), + err, + ); Poll::Ready(()) }, } From 11221b5a5636e1896b63700767a5f2891643bbe7 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 27 Oct 2022 00:02:46 +0200 Subject: [PATCH 076/211] Co #12558: Update `pallet-multisig` benches (#6188) * Typo Signed-off-by: Oliver Tale-Yazdi * Add multisig weights Signed-off-by: Oliver Tale-Yazdi * Update multisig weights Signed-off-by: Oliver Tale-Yazdi * update lockfile for {"substrate"} Signed-off-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> --- Cargo.lock | 360 +++++++++--------- runtime/kusama/src/weights/pallet_multisig.rs | 120 +++--- runtime/parachains/src/mock.rs | 2 +- .../polkadot/src/weights/pallet_multisig.rs | 120 +++--- runtime/rococo/src/weights/pallet_multisig.rs | 120 +++--- .../westend/src/weights/pallet_multisig.rs | 120 +++--- 6 files changed, 354 insertions(+), 488 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5731615552ef..52eb19d302db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -1982,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "log", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "chrono", "frame-election-provider-support", @@ -4615,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4942,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4957,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -4980,7 +4980,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5033,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5050,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5083,7 +5083,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5099,7 +5099,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5116,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "sp-api", @@ -5146,7 +5146,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -5163,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5186,7 +5186,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5203,7 +5203,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5236,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5251,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5269,7 +5269,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5285,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5306,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5359,7 +5359,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "sp-arithmetic", @@ -5379,7 +5379,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5411,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-support", "frame-system", @@ -5446,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5472,7 +5472,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5520,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-benchmarking", "frame-support", @@ -8003,7 +8003,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "env_logger 0.9.0", "log", @@ -8342,7 +8342,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "sp-core", @@ -8353,7 +8353,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "futures-timer", @@ -8403,7 +8403,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8436,7 +8436,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8447,7 +8447,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "chrono", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "fnv", "futures", @@ -8515,7 +8515,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "hash-db", "kvdb", @@ -8540,7 +8540,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures", @@ -8564,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "fork-tree", @@ -8606,7 +8606,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "jsonrpsee", @@ -8628,7 +8628,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8641,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures", @@ -8665,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "environmental", "parity-scale-codec", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "parity-scale-codec", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "ahash", "array-bytes", @@ -8784,7 +8784,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "finality-grandpa", "futures", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "ansi_term", "futures", @@ -8822,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "async-trait", @@ -8837,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "async-trait", @@ -8884,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "cid", "futures", @@ -8904,7 +8904,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "bitflags", @@ -8930,7 +8930,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "ahash", "futures", @@ -8948,7 +8948,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "futures", @@ -8969,7 +8969,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "fork-tree", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "futures", @@ -9018,7 +9018,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "bytes", @@ -9048,7 +9048,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "libp2p", @@ -9061,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "hash-db", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "jsonrpsee", @@ -9123,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "jsonrpsee", @@ -9136,7 +9136,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "hex", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "directories", @@ -9226,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "parity-scale-codec", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9259,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "libc", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "chrono", "futures", @@ -9296,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "ansi_term", "atty", @@ -9327,7 +9327,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9338,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures", @@ -9365,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "hash-db", "log", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "base58", @@ -10081,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "blake2", "byteorder", @@ -10095,7 +10095,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro2", "quote", @@ -10106,7 +10106,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro2", "quote", @@ -10125,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "environmental", "parity-scale-codec", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "finality-grandpa", "log", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10168,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "bytes", "futures", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "parity-scale-codec", @@ -10247,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10261,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "sp-api", "sp-core", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "backtrace", "lazy_static", @@ -10281,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "rustc-hash", "serde", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "either", "hash256-std-hasher", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10332,7 +10332,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "Inflector", "proc-macro-crate", @@ -10344,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "parity-scale-codec", @@ -10358,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "hash-db", "log", @@ -10405,12 +10405,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10423,7 +10423,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "log", "sp-core", @@ -10436,7 +10436,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "futures-timer", @@ -10452,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "sp-std", @@ -10464,7 +10464,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "sp-api", "sp-runtime", @@ -10473,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "log", @@ -10489,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "ahash", "hash-db", @@ -10512,7 +10512,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "impl-trait-for-tuples", "log", @@ -10553,7 +10553,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10768,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "platforms", ] @@ -10776,7 +10776,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10797,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures-util", "hyper", @@ -10810,7 +10810,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "async-trait", "jsonrpsee", @@ -10823,7 +10823,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "jsonrpsee", "log", @@ -10844,7 +10844,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "array-bytes", "async-trait", @@ -10870,7 +10870,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "ansi_term", "build-helper", @@ -11598,7 +11598,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#65a870ab4a7fff46a307eacc0ae3a8f7f0f61f5e" +source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/weights/pallet_multisig.rs b/runtime/kusama/src/weights/pallet_multisig.rs index 8734b8800cfa..b034fafcd8cc 100644 --- a/runtime/kusama/src/weights/pallet_multisig.rs +++ b/runtime/kusama/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -28,17 +28,17 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic=* +// --extrinsic= // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ +// --output=runtime/kusama/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_multisig`. @@ -46,115 +46,81 @@ 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 { - Weight::from_ref_time(14_892_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 14_233 nanoseconds. + Weight::from_ref_time(14_763_390 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(479 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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 { - Weight::from_ref_time(36_762_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 42_837 nanoseconds. + Weight::from_ref_time(34_846_149 as u64) + // Standard Error: 646 + .saturating_add(Weight::from_ref_time(89_482 as u64).saturating_mul(s as u64)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_465 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - /// The range of component `s` is `[2, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(38_454_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) /// 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 { - Weight::from_ref_time(27_278_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 32_269 nanoseconds. + Weight::from_ref_time(25_447_784 as u64) + // Standard Error: 499 + .saturating_add(Weight::from_ref_time(74_525 as u64).saturating_mul(s as u64)) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(1_457 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - /// The range of component `s` is `[3, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(39_820_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) /// 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 { - Weight::from_ref_time(48_748_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 46_096 nanoseconds. + Weight::from_ref_time(37_139_587 as u64) + // Standard Error: 602 + .saturating_add(Weight::from_ref_time(104_199 as u64).saturating_mul(s as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_478 as u64).saturating_mul(z as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_ref_time(32_837_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 31_572 nanoseconds. + Weight::from_ref_time(33_475_485 as u64) + // Standard Error: 972 + .saturating_add(Weight::from_ref_time(91_041 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_ref_time(23_222_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(92_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_861 nanoseconds. + Weight::from_ref_time(23_986_670 as u64) + // Standard Error: 660 + .saturating_add(Weight::from_ref_time(79_765 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_complete(s: u32, ) -> Weight { - Weight::from_ref_time(60_799_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_ref_time(49_388_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 31_375 nanoseconds. + Weight::from_ref_time(33_657_765 as u64) + // Standard Error: 931 + .saturating_add(Weight::from_ref_time(84_177 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/parachains/src/mock.rs b/runtime/parachains/src/mock.rs index bc576fa9d4a6..3e6ed79a77c2 100644 --- a/runtime/parachains/src/mock.rs +++ b/runtime/parachains/src/mock.rs @@ -377,7 +377,7 @@ std::thread_local! { static PROCESSED: RefCell> = RefCell::new(vec![]); } -/// Return which messages have been processed by `pocess_upward_message` and clear the buffer. +/// Return which messages have been processed by `process_upward_message` and clear the buffer. pub fn take_processed() -> Vec<(ParaId, UpwardMessage)> { PROCESSED.with(|opt_hook| std::mem::take(&mut *opt_hook.borrow_mut())) } diff --git a/runtime/polkadot/src/weights/pallet_multisig.rs b/runtime/polkadot/src/weights/pallet_multisig.rs index 669eac53c453..cd8a795eeaa3 100644 --- a/runtime/polkadot/src/weights/pallet_multisig.rs +++ b/runtime/polkadot/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -28,17 +28,17 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic=* +// --extrinsic= // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights/ +// --output=runtime/polkadot/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_multisig`. @@ -46,115 +46,81 @@ 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 { - Weight::from_ref_time(14_564_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 14_333 nanoseconds. + Weight::from_ref_time(14_680_513 as u64) + // Standard Error: 3 + .saturating_add(Weight::from_ref_time(478 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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 { - Weight::from_ref_time(36_007_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 41_940 nanoseconds. + Weight::from_ref_time(34_164_952 as u64) + // Standard Error: 758 + .saturating_add(Weight::from_ref_time(84_361 as u64).saturating_mul(s as u64)) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_515 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - /// The range of component `s` is `[2, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(37_644_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(68_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) /// 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 { - Weight::from_ref_time(26_146_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 32_061 nanoseconds. + Weight::from_ref_time(25_242_175 as u64) + // Standard Error: 488 + .saturating_add(Weight::from_ref_time(74_544 as u64).saturating_mul(s as u64)) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(1_451 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - /// The range of component `s` is `[3, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(38_712_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) /// 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 { - Weight::from_ref_time(47_690_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 45_799 nanoseconds. + Weight::from_ref_time(36_673_371 as u64) + // Standard Error: 602 + .saturating_add(Weight::from_ref_time(105_602 as u64).saturating_mul(s as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_ref_time(32_053_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 30_746 nanoseconds. + Weight::from_ref_time(33_495_066 as u64) + // Standard Error: 1_027 + .saturating_add(Weight::from_ref_time(85_901 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_ref_time(22_641_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_939 nanoseconds. + Weight::from_ref_time(23_359_812 as u64) + // Standard Error: 626 + .saturating_add(Weight::from_ref_time(86_183 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_complete(s: u32, ) -> Weight { - Weight::from_ref_time(57_308_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_ref_time(47_050_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 32_246 nanoseconds. + Weight::from_ref_time(33_400_827 as u64) + // Standard Error: 746 + .saturating_add(Weight::from_ref_time(85_743 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index 7a6fd3346d79..300e4704ef8d 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -28,131 +28,99 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic=* +// --extrinsic= // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/ +// --output=runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_multisig`. 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 { - Weight::from_ref_time(15_357_000 as u64) + fn as_multi_threshold_1(z: u32, ) -> Weight { + // Minimum execution time: 14_582 nanoseconds. + Weight::from_ref_time(15_014_888 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(490 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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 { - Weight::from_ref_time(34_635_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 41_651 nanoseconds. + Weight::from_ref_time(34_224_425 as u64) + // Standard Error: 735 + .saturating_add(Weight::from_ref_time(80_357 as u64).saturating_mul(s as u64)) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - /// The range of component `s` is `[2, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(35_863_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) /// 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 { - Weight::from_ref_time(26_665_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(55_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 31_520 nanoseconds. + Weight::from_ref_time(24_283_932 as u64) + // Standard Error: 615 + .saturating_add(Weight::from_ref_time(80_034 as u64).saturating_mul(s as u64)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_490 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - /// The range of component `s` is `[3, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(37_789_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) /// 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 { - Weight::from_ref_time(46_827_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 44_639 nanoseconds. + Weight::from_ref_time(35_788_014 as u64) + // Standard Error: 655 + .saturating_add(Weight::from_ref_time(103_738 as u64).saturating_mul(s as u64)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_480 as u64).saturating_mul(z as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_ref_time(31_062_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 30_092 nanoseconds. + Weight::from_ref_time(32_588_553 as u64) + // Standard Error: 1_203 + .saturating_add(Weight::from_ref_time(88_907 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_ref_time(22_903_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_743 nanoseconds. + Weight::from_ref_time(23_807_430 as u64) + // Standard Error: 828 + .saturating_add(Weight::from_ref_time(75_548 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_complete(s: u32, ) -> Weight { - Weight::from_ref_time(55_802_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_ref_time(48_468_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 29_786 nanoseconds. + Weight::from_ref_time(32_090_251 as u64) + // Standard Error: 904 + .saturating_add(Weight::from_ref_time(84_395 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/westend/src/weights/pallet_multisig.rs b/runtime/westend/src/weights/pallet_multisig.rs index ce0150b0ab56..e15f0973adae 100644 --- a/runtime/westend/src/weights/pallet_multisig.rs +++ b/runtime/westend/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -28,17 +28,17 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic=* +// --extrinsic= // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/westend/src/weights/ +// --output=runtime/westend/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_multisig`. @@ -46,115 +46,81 @@ 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 { - Weight::from_ref_time(15_026_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 14_417 nanoseconds. + Weight::from_ref_time(14_932_092 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(482 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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 { - Weight::from_ref_time(35_447_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 41_482 nanoseconds. + Weight::from_ref_time(34_353_792 as u64) + // Standard Error: 791 + .saturating_add(Weight::from_ref_time(81_017 as u64).saturating_mul(s as u64)) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_468 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) - /// The range of component `s` is `[2, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_create_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(37_226_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) /// 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 { - Weight::from_ref_time(26_727_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(z as u64)) + // Minimum execution time: 32_410 nanoseconds. + Weight::from_ref_time(25_806_543 as u64) + // Standard Error: 602 + .saturating_add(Weight::from_ref_time(74_253 as u64).saturating_mul(s as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_463 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - /// The range of component `s` is `[3, 100]`. - /// The range of component `z` is `[0, 10000]`. - fn as_multi_approve_store(s: u32, z: u32, ) -> Weight { - Weight::from_ref_time(39_863_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(56_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) // Storage: System Account (r:1 w:1) /// 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 { - Weight::from_ref_time(48_095_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(s as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(z as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 46_059 nanoseconds. + Weight::from_ref_time(37_295_248 as u64) + // Standard Error: 604 + .saturating_add(Weight::from_ref_time(104_164 as u64).saturating_mul(s as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64)) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - Weight::from_ref_time(31_927_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 29_952 nanoseconds. + Weight::from_ref_time(32_697_678 as u64) + // Standard Error: 857 + .saturating_add(Weight::from_ref_time(86_644 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - Weight::from_ref_time(23_774_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 22_298 nanoseconds. + Weight::from_ref_time(23_997_404 as u64) + // Standard Error: 855 + .saturating_add(Weight::from_ref_time(82_455 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) - // Storage: System Account (r:1 w:1) - /// The range of component `s` is `[2, 100]`. - fn approve_as_multi_complete(s: u32, ) -> Weight { - Weight::from_ref_time(58_611_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - } - // Storage: Multisig Multisigs (r:1 w:1) - // Storage: Multisig Calls (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - Weight::from_ref_time(47_858_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + // Minimum execution time: 31_615 nanoseconds. + Weight::from_ref_time(33_932_527 as u64) + // Standard Error: 823 + .saturating_add(Weight::from_ref_time(87_873 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(1 as u64)) + .saturating_add(T::DbWeight::get().writes(1 as u64)) } } From ef8d1a72f8081fdcee28b7434697b3978ec93a05 Mon Sep 17 00:00:00 2001 From: Dan Shields <35669742+NukeManDan@users.noreply.github.com> Date: Thu, 27 Oct 2022 06:04:56 -0600 Subject: [PATCH 077/211] Update impl guide README (#6197) * update impl guide readme * Update README.md --- roadmap/implementers-guide/README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/roadmap/implementers-guide/README.md b/roadmap/implementers-guide/README.md index 367a756e0200..1775fb44d876 100644 --- a/roadmap/implementers-guide/README.md +++ b/roadmap/implementers-guide/README.md @@ -1,7 +1,14 @@ # The Polkadot Parachain Host Implementers' Guide The implementers' guide is compiled from several source files with [`mdBook`](https://github.com/rust-lang/mdBook). -To view it live, locally, from the repo root: + +## Hosted build + +This is avalible at https://paritytech.github.io/polkadot/book/ + +## Local build + +To view it locally from the repo root: Ensure graphviz is installed: ```sh @@ -16,3 +23,7 @@ cargo install mdbook mdbook-linkcheck mdbook-graphviz mdbook-mermaid mdbook serve roadmap/implementers-guide open http://localhost:3000 ``` + +## Specification + +See also the Polkadot specificaton [hosted](https://spec.polkadot.network/), and it's [source](https://github.com/w3f/polkadot-spec)). From d17ee12922b069423b0d9eb562d579eaebe0940e Mon Sep 17 00:00:00 2001 From: Roman Useinov Date: Sat, 29 Oct 2022 16:02:33 +0200 Subject: [PATCH 078/211] [Companion] StakingInterface adjustments (#6199) * [Companion] StakingInterface adjustments * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 369 ++++++++++++++++++------------------ runtime/kusama/src/lib.rs | 6 +- runtime/polkadot/src/lib.rs | 6 +- runtime/westend/src/lib.rs | 6 +- 4 files changed, 192 insertions(+), 195 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 52eb19d302db..ede6cb7363dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -1581,15 +1581,15 @@ dependencies = [ [[package]] name = "ed25519-zebra" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "403ef3e961ab98f0ba902771d29f842058578bb1ce7e3c59dad5a6a93e784c69" +checksum = "7c24f403d068ad0b359e577a77f92392118be3f3c927538f2bb544a5ecd828c6" dependencies = [ "curve25519-dalek 3.2.0", + "hashbrown", "hex", "rand_core 0.6.3", "sha2 0.9.8", - "thiserror", "zeroize", ] @@ -1982,7 +1982,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2006,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2029,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2107,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2136,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2182,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2204,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2227,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2238,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "log", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2271,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2451,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "chrono", "frame-election-provider-support", @@ -4615,7 +4615,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4629,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4660,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4795,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4848,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4866,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4890,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,16 +4921,13 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "log", - "pallet-balances", - "pallet-staking", - "pallet-timestamp", "parity-scale-codec", "scale-info", "sp-io", @@ -4942,7 +4939,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4957,7 +4954,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -4980,7 +4977,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4996,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5016,7 +5013,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5033,7 +5030,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5050,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5068,7 +5065,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5083,7 +5080,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5099,7 +5096,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -5116,7 +5113,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5136,7 +5133,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "sp-api", @@ -5146,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -5163,7 +5160,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5186,7 +5183,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5203,7 +5200,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5218,7 +5215,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5236,7 +5233,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5251,7 +5248,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5269,7 +5266,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5285,7 +5282,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -5306,7 +5303,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5319,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -5336,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5359,7 +5356,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5370,7 +5367,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "sp-arithmetic", @@ -5379,7 +5376,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -5393,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5411,7 +5408,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5430,7 +5427,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-support", "frame-system", @@ -5446,7 +5443,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5461,7 +5458,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5472,7 +5469,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5505,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -5520,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-benchmarking", "frame-support", @@ -8003,7 +8000,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "env_logger 0.9.0", "log", @@ -8342,7 +8339,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "sp-core", @@ -8353,7 +8350,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures", @@ -8380,7 +8377,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "futures-timer", @@ -8403,7 +8400,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8419,7 +8416,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8436,7 +8433,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8447,7 +8444,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "chrono", @@ -8487,7 +8484,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "fnv", "futures", @@ -8515,7 +8512,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "hash-db", "kvdb", @@ -8540,7 +8537,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures", @@ -8564,7 +8561,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "fork-tree", @@ -8606,7 +8603,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "jsonrpsee", @@ -8628,7 +8625,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8641,7 +8638,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures", @@ -8665,7 +8662,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8692,7 +8689,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "environmental", "parity-scale-codec", @@ -8708,7 +8705,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "parity-scale-codec", @@ -8723,7 +8720,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8743,7 +8740,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "ahash", "array-bytes", @@ -8784,7 +8781,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "finality-grandpa", "futures", @@ -8805,7 +8802,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "ansi_term", "futures", @@ -8822,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "async-trait", @@ -8837,7 +8834,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "async-trait", @@ -8884,7 +8881,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "cid", "futures", @@ -8904,7 +8901,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "bitflags", @@ -8930,7 +8927,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "ahash", "futures", @@ -8948,7 +8945,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "futures", @@ -8969,7 +8966,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "fork-tree", @@ -8999,7 +8996,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "futures", @@ -9018,7 +9015,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "bytes", @@ -9048,7 +9045,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "libp2p", @@ -9061,7 +9058,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9070,7 +9067,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "hash-db", @@ -9100,7 +9097,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "jsonrpsee", @@ -9123,7 +9120,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "jsonrpsee", @@ -9136,7 +9133,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "hex", @@ -9155,7 +9152,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "directories", @@ -9226,7 +9223,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "parity-scale-codec", @@ -9240,7 +9237,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9259,7 +9256,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "libc", @@ -9278,7 +9275,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "chrono", "futures", @@ -9296,7 +9293,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "ansi_term", "atty", @@ -9327,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9338,7 +9335,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures", @@ -9365,7 +9362,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures", @@ -9379,7 +9376,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9850,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "hash-db", "log", @@ -9871,7 +9868,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9880,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9893,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9908,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9933,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9945,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "log", @@ -9966,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures", @@ -9985,7 +9982,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10019,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10032,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "base58", @@ -10081,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "blake2", "byteorder", @@ -10095,7 +10092,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro2", "quote", @@ -10106,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10115,7 +10112,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro2", "quote", @@ -10125,7 +10122,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "environmental", "parity-scale-codec", @@ -10136,7 +10133,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "finality-grandpa", "log", @@ -10154,7 +10151,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10168,7 +10165,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "bytes", "futures", @@ -10194,7 +10191,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10202,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures", @@ -10222,7 +10219,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10228,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "parity-scale-codec", @@ -10247,7 +10244,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -10261,7 +10258,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "sp-api", "sp-core", @@ -10271,7 +10268,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "backtrace", "lazy_static", @@ -10281,7 +10278,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "rustc-hash", "serde", @@ -10291,7 +10288,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "either", "hash256-std-hasher", @@ -10314,7 +10311,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10332,7 +10329,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "Inflector", "proc-macro-crate", @@ -10344,7 +10341,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "parity-scale-codec", @@ -10358,7 +10355,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -10372,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10380,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "hash-db", "log", @@ -10405,12 +10402,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10423,7 +10420,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "log", "sp-core", @@ -10436,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "futures-timer", @@ -10452,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "sp-std", @@ -10464,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "sp-api", "sp-runtime", @@ -10473,7 +10470,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "log", @@ -10489,7 +10486,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "ahash", "hash-db", @@ -10512,7 +10509,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10529,7 +10526,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10540,7 +10537,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "impl-trait-for-tuples", "log", @@ -10553,7 +10550,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10768,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "platforms", ] @@ -10776,7 +10773,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10797,7 +10794,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures-util", "hyper", @@ -10810,7 +10807,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "async-trait", "jsonrpsee", @@ -10823,7 +10820,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "jsonrpsee", "log", @@ -10844,7 +10841,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "array-bytes", "async-trait", @@ -10870,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10880,7 +10877,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10891,7 +10888,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "ansi_term", "build-helper", @@ -11598,7 +11595,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#696bdc67af5fd83aca318263dbd405593b043ba3" +source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index e05b8ba8eb88..8a7c09c2f823 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -612,13 +612,14 @@ impl pallet_staking::Config for Runtime { impl pallet_fast_unstake::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type DepositCurrency = Balances; + type Currency = Balances; type Deposit = frame_support::traits::ConstU128<{ CENTS * 100 }>; type ControlOrigin = EitherOfDiverse< EnsureRoot, pallet_collective::EnsureProportionAtLeast, >; type WeightInfo = weights::pallet_fast_unstake::WeightInfo; + type Staking = Staking; } parameter_types! { @@ -1284,11 +1285,10 @@ impl pallet_nomination_pools::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_nomination_pools::WeightInfo; type Currency = Balances; - type CurrencyBalance = Balance; type RewardCounter = FixedU128; type BalanceToU256 = BalanceToU256; type U256ToBalance = U256ToBalance; - type StakingInterface = Staking; + type Staking = Staking; type PostUnbondingPoolsWindow = ConstU32<4>; type MaxMetadataLen = ConstU32<256>; // we use the same number of allowed unlocking chunks as with staking. diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 6b898230c209..6ef11ab08d7e 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -569,13 +569,14 @@ impl pallet_staking::Config for Runtime { impl pallet_fast_unstake::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type DepositCurrency = Balances; + type Currency = Balances; type Deposit = frame_support::traits::ConstU128<{ UNITS }>; type ControlOrigin = EitherOfDiverse< EnsureRoot, pallet_collective::EnsureProportionAtLeast, >; type WeightInfo = weights::pallet_fast_unstake::WeightInfo; + type Staking = Staking; } parameter_types! { @@ -1378,11 +1379,10 @@ parameter_types! { impl pallet_nomination_pools::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; - type CurrencyBalance = Balance; type RewardCounter = FixedU128; type BalanceToU256 = runtime_common::BalanceToU256; type U256ToBalance = runtime_common::U256ToBalance; - type StakingInterface = Staking; + type Staking = Staking; type PostUnbondingPoolsWindow = frame_support::traits::ConstU32<4>; type MaxMetadataLen = frame_support::traits::ConstU32<256>; // we use the same number of allowed unlocking chunks as with staking. diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index db6700f4eae8..b2190853f9c1 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -517,10 +517,11 @@ impl pallet_staking::Config for Runtime { impl pallet_fast_unstake::Config for Runtime { type RuntimeEvent = RuntimeEvent; - type DepositCurrency = Balances; + type Currency = Balances; type Deposit = frame_support::traits::ConstU128<{ UNITS }>; type ControlOrigin = EnsureRoot; type WeightInfo = weights::pallet_fast_unstake::WeightInfo; + type Staking = Staking; } parameter_types! { @@ -1060,11 +1061,10 @@ impl pallet_nomination_pools::Config for Runtime { type RuntimeEvent = RuntimeEvent; type WeightInfo = weights::pallet_nomination_pools::WeightInfo; type Currency = Balances; - type CurrencyBalance = Balance; type RewardCounter = FixedU128; type BalanceToU256 = BalanceToU256; type U256ToBalance = U256ToBalance; - type StakingInterface = Staking; + type Staking = Staking; type PostUnbondingPoolsWindow = ConstU32<4>; type MaxMetadataLen = ConstU32<256>; // we use the same number of allowed unlocking chunks as with staking. From b77710b7e8ac77dd8a498fb0692f0328ee6808b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= Date: Sun, 30 Oct 2022 16:50:30 +0100 Subject: [PATCH 079/211] Companion for update `wasm-opt` (#6209) * Update cc * Update regex * Update thiserror * Update anyhow * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 522 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 306 insertions(+), 216 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ede6cb7363dd..57bb4caa966d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -99,9 +99,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.51" +version = "1.0.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b26702f315f53b6071259e15dd9d64528213b44d61de1ec926eca7715d62203" +checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" [[package]] name = "approx" @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -785,9 +785,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.72" +version = "1.0.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee" +checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" dependencies = [ "jobserver", ] @@ -957,6 +957,16 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "codespan-reporting" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" +dependencies = [ + "termcolor", + "unicode-width", +] + [[package]] name = "color-eyre" version = "0.6.1" @@ -1318,6 +1328,50 @@ dependencies = [ "zeroize", ] +[[package]] +name = "cxx" +version = "1.0.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b7d4e43b25d3c994662706a1d4fcfc32aaa6afd287502c111b237093bb23f3a" +dependencies = [ + "cc", + "cxxbridge-flags", + "cxxbridge-macro", + "link-cplusplus", +] + +[[package]] +name = "cxx-build" +version = "1.0.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84f8829ddc213e2c1368e51a2564c552b65a8cb6a28f31e576270ac81d5e5827" +dependencies = [ + "cc", + "codespan-reporting", + "once_cell", + "proc-macro2", + "quote", + "scratch", + "syn", +] + +[[package]] +name = "cxxbridge-flags" +version = "1.0.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e72537424b474af1460806647c41d4b6d35d09ef7fe031c5c2fa5766047cc56a" + +[[package]] +name = "cxxbridge-macro" +version = "1.0.80" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "309e4fb93eed90e1e14bea0da16b209f81813ba9fc7830c20ed151dd7bc0a4d7" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "data-encoding" version = "2.3.2" @@ -1982,7 +2036,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", ] @@ -2006,7 +2060,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -2029,7 +2083,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2134,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2107,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -2136,7 +2190,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "bitflags", "frame-metadata", @@ -2168,7 +2222,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "Inflector", "cfg-expr", @@ -2182,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2194,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro2", "quote", @@ -2204,7 +2258,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2227,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -2238,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "log", @@ -2256,7 +2310,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -2271,7 +2325,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "sp-api", @@ -2280,7 +2334,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "parity-scale-codec", @@ -2451,7 +2505,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "chrono", "frame-election-provider-support", @@ -3797,6 +3851,15 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "link-cplusplus" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369" +dependencies = [ + "cc", +] + [[package]] name = "linked-hash-map" version = "0.5.4" @@ -4615,7 +4678,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4629,7 +4692,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -4645,7 +4708,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -4660,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4747,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4704,7 +4767,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4723,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4738,7 +4801,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "beefy-primitives", "frame-support", @@ -4754,7 +4817,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4777,7 +4840,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4795,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4831,7 +4894,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4848,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4866,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4890,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4903,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4984,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4939,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4954,7 +5017,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4977,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4993,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5013,7 +5076,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5030,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5047,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5065,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5080,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5096,7 +5159,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -5113,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5133,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "sp-api", @@ -5143,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -5160,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5183,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5200,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5215,7 +5278,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5233,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5248,7 +5311,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5266,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5282,7 +5345,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -5303,7 +5366,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5319,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -5333,7 +5396,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5356,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5367,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "sp-arithmetic", @@ -5376,7 +5439,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -5390,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5408,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5427,7 +5490,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-support", "frame-system", @@ -5443,7 +5506,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5458,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5469,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5486,7 +5549,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5565,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5517,7 +5580,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5657,15 +5720,6 @@ dependencies = [ "synstructure", ] -[[package]] -name = "parity-wasm" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16ad52817c4d343339b3bc2e26861bd21478eda0b7509acf83505727000512ac" -dependencies = [ - "byteorder", -] - [[package]] name = "parity-wasm" version = "0.45.0" @@ -7954,9 +8008,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.5" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286" +checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" dependencies = [ "aho-corasick", "memchr", @@ -7974,9 +8028,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.6.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" [[package]] name = "remote-ext-tests-bags-list" @@ -8000,7 +8054,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "env_logger 0.9.0", "log", @@ -8339,7 +8393,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "sp-core", @@ -8350,7 +8404,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures", @@ -8377,7 +8431,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "futures-timer", @@ -8400,7 +8454,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8416,7 +8470,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8433,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8444,7 +8498,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "chrono", @@ -8484,7 +8538,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "fnv", "futures", @@ -8512,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "hash-db", "kvdb", @@ -8537,7 +8591,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures", @@ -8561,7 +8615,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "fork-tree", @@ -8603,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "jsonrpsee", @@ -8625,7 +8679,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8638,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures", @@ -8662,7 +8716,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8689,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "environmental", "parity-scale-codec", @@ -8705,7 +8759,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "parity-scale-codec", @@ -8720,14 +8774,14 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "cfg-if 1.0.0", "libc", "log", "once_cell", "parity-scale-codec", - "parity-wasm 0.45.0", + "parity-wasm", "rustix", "sc-allocator", "sc-executor-common", @@ -8740,7 +8794,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "ahash", "array-bytes", @@ -8781,7 +8835,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "finality-grandpa", "futures", @@ -8802,7 +8856,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "ansi_term", "futures", @@ -8819,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "async-trait", @@ -8834,7 +8888,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "async-trait", @@ -8881,7 +8935,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "cid", "futures", @@ -8901,7 +8955,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "bitflags", @@ -8927,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "ahash", "futures", @@ -8945,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "futures", @@ -8966,7 +9020,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "fork-tree", @@ -8996,7 +9050,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "futures", @@ -9015,7 +9069,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "bytes", @@ -9045,7 +9099,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "libp2p", @@ -9058,7 +9112,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9067,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "hash-db", @@ -9097,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "jsonrpsee", @@ -9120,7 +9174,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "jsonrpsee", @@ -9133,7 +9187,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "hex", @@ -9152,7 +9206,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "directories", @@ -9223,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "parity-scale-codec", @@ -9237,7 +9291,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9256,7 +9310,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "libc", @@ -9275,7 +9329,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "chrono", "futures", @@ -9293,7 +9347,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "ansi_term", "atty", @@ -9324,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9335,7 +9389,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures", @@ -9362,7 +9416,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures", @@ -9376,7 +9430,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "futures-timer", @@ -9446,6 +9500,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +[[package]] +name = "scratch" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" + [[package]] name = "sct" version = "0.7.0" @@ -9850,7 +9910,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "hash-db", "log", @@ -9868,7 +9928,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "blake2", "proc-macro-crate", @@ -9880,7 +9940,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -9893,7 +9953,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "integer-sqrt", "num-traits", @@ -9908,7 +9968,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -9921,7 +9981,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "parity-scale-codec", @@ -9933,7 +9993,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "sp-api", @@ -9945,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "log", @@ -9963,7 +10023,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures", @@ -9982,7 +10042,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "merlin", @@ -10005,7 +10065,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10019,7 +10079,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10032,7 +10092,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "base58", @@ -10078,7 +10138,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "blake2", "byteorder", @@ -10092,7 +10152,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro2", "quote", @@ -10103,7 +10163,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10112,7 +10172,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro2", "quote", @@ -10122,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "environmental", "parity-scale-codec", @@ -10133,7 +10193,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "finality-grandpa", "log", @@ -10151,7 +10211,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10165,7 +10225,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "bytes", "futures", @@ -10191,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "lazy_static", "sp-core", @@ -10202,7 +10262,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures", @@ -10219,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "thiserror", "zstd", @@ -10228,7 +10288,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "parity-scale-codec", @@ -10244,7 +10304,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10258,7 +10318,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "sp-api", "sp-core", @@ -10268,7 +10328,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "backtrace", "lazy_static", @@ -10278,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "rustc-hash", "serde", @@ -10288,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "either", "hash256-std-hasher", @@ -10311,7 +10371,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10329,7 +10389,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "Inflector", "proc-macro-crate", @@ -10341,7 +10401,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "parity-scale-codec", @@ -10355,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10369,7 +10429,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10380,7 +10440,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "hash-db", "log", @@ -10402,12 +10462,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10420,7 +10480,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "log", "sp-core", @@ -10433,7 +10493,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "futures-timer", @@ -10449,7 +10509,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "sp-std", @@ -10461,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "sp-api", "sp-runtime", @@ -10470,7 +10530,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "log", @@ -10486,7 +10546,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "ahash", "hash-db", @@ -10509,11 +10569,11 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "impl-serde", "parity-scale-codec", - "parity-wasm 0.45.0", + "parity-wasm", "scale-info", "serde", "sp-core-hashing-proc-macro", @@ -10526,7 +10586,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10537,7 +10597,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "impl-trait-for-tuples", "log", @@ -10550,7 +10610,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10765,7 +10825,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "platforms", ] @@ -10773,7 +10833,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10794,7 +10854,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures-util", "hyper", @@ -10807,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "async-trait", "jsonrpsee", @@ -10820,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "jsonrpsee", "log", @@ -10841,7 +10901,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "array-bytes", "async-trait", @@ -10867,7 +10927,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10877,7 +10937,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10888,7 +10948,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "ansi_term", "build-helper", @@ -10899,7 +10959,7 @@ dependencies = [ "tempfile", "toml", "walkdir", - "wasm-gc-api", + "wasm-opt", ] [[package]] @@ -11135,18 +11195,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.31" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a" +checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.31" +version = "1.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a" +checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" dependencies = [ "proc-macro2", "quote", @@ -11595,7 +11655,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#e8cbc1e87ed84b1abf3176326a90cff991534b30" +source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" dependencies = [ "clap", "frame-try-runtime", @@ -11951,23 +12011,53 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0237232789cf037d5480773fe568aac745bfe2afbc11a863e97901780a6b47cc" [[package]] -name = "wasm-gc-api" -version = "0.1.11" +name = "wasm-instrument" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0c32691b6c7e6c14e7f8fd55361a9088b507aa49620fcd06c09b3a1082186b9" +checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd" dependencies = [ - "log", - "parity-wasm 0.32.0", - "rustc-demangle", + "parity-wasm", ] [[package]] -name = "wasm-instrument" -version = "0.3.0" +name = "wasm-opt" +version = "0.110.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa1dafb3e60065305741e83db35c6c2584bb3725b692b5b66148a38d72ace6cd" +checksum = "b68e8037b4daf711393f4be2056246d12d975651b14d581520ad5d1f19219cec" dependencies = [ - "parity-wasm 0.45.0", + "anyhow", + "libc", + "strum", + "strum_macros", + "tempfile", + "thiserror", + "wasm-opt-cxx-sys", + "wasm-opt-sys", +] + +[[package]] +name = "wasm-opt-cxx-sys" +version = "0.110.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91adbad477e97bba3fbd21dd7bfb594e7ad5ceb9169ab1c93ab9cb0ada636b6f" +dependencies = [ + "anyhow", + "cxx", + "cxx-build", + "wasm-opt-sys", +] + +[[package]] +name = "wasm-opt-sys" +version = "0.110.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec4fa5a322a4e6ac22fd141f498d56afbdbf9df5debeac32380d2dcaa3e06941" +dependencies = [ + "anyhow", + "cc", + "cxx", + "cxx-build", + "regex", ] [[package]] @@ -11991,7 +12081,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc13b3c219ca9aafeec59150d80d89851df02e0061bc357b4d66fc55a8d38787" dependencies = [ - "parity-wasm 0.45.0", + "parity-wasm", "wasmi-validation", "wasmi_core", ] @@ -12002,7 +12092,7 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91ff416ad1ff0c42e5a926ed5d5fab74c0f098749aa0ad8b2a34b982ce0e867b" dependencies = [ - "parity-wasm 0.45.0", + "parity-wasm", ] [[package]] From e3f67317030ce6358596780370c8d221f3a65191 Mon Sep 17 00:00:00 2001 From: eskimor Date: Sun, 30 Oct 2022 17:15:42 +0100 Subject: [PATCH 080/211] Make ValidateUnsigned available on all chains for paras. (#6214) Co-authored-by: eskimor --- runtime/kusama/src/lib.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- runtime/rococo/src/lib.rs | 2 +- runtime/test-runtime/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 8a7c09c2f823..d64dfaef012d 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1406,7 +1406,7 @@ construct_runtime! { ParaInclusion: parachains_inclusion::{Pallet, Call, Storage, Event} = 53, ParaInherent: parachains_paras_inherent::{Pallet, Call, Storage, Inherent} = 54, ParaScheduler: parachains_scheduler::{Pallet, Storage} = 55, - Paras: parachains_paras::{Pallet, Call, Storage, Event, Config} = 56, + Paras: parachains_paras::{Pallet, Call, Storage, Event, Config, ValidateUnsigned} = 56, Initializer: parachains_initializer::{Pallet, Call, Storage} = 57, Dmp: parachains_dmp::{Pallet, Call, Storage} = 58, Ump: parachains_ump::{Pallet, Call, Storage, Event} = 59, diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 6ef11ab08d7e..b13dd7561dfe 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1498,7 +1498,7 @@ construct_runtime! { ParaInclusion: parachains_inclusion::{Pallet, Call, Storage, Event} = 53, ParaInherent: parachains_paras_inherent::{Pallet, Call, Storage, Inherent} = 54, ParaScheduler: parachains_scheduler::{Pallet, Storage} = 55, - Paras: parachains_paras::{Pallet, Call, Storage, Event, Config} = 56, + Paras: parachains_paras::{Pallet, Call, Storage, Event, Config, ValidateUnsigned} = 56, Initializer: parachains_initializer::{Pallet, Call, Storage} = 57, Dmp: parachains_dmp::{Pallet, Call, Storage} = 58, Ump: parachains_ump::{Pallet, Call, Storage, Event} = 59, diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index ba5b4b66f427..b46d9a15469a 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1385,7 +1385,7 @@ construct_runtime! { ParaInclusion: parachains_inclusion::{Pallet, Call, Storage, Event} = 53, ParaInherent: parachains_paras_inherent::{Pallet, Call, Storage, Inherent} = 54, ParaScheduler: parachains_scheduler::{Pallet, Storage} = 55, - Paras: parachains_paras::{Pallet, Call, Storage, Event, Config} = 56, + Paras: parachains_paras::{Pallet, Call, Storage, Event, Config, ValidateUnsigned} = 56, Initializer: parachains_initializer::{Pallet, Call, Storage} = 57, Dmp: parachains_dmp::{Pallet, Call, Storage} = 58, Ump: parachains_ump::{Pallet, Call, Storage, Event} = 59, diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 8a9e128befa8..7fba0e20d9fe 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -696,7 +696,7 @@ construct_runtime! { ParaInclusion: parachains_inclusion::{Pallet, Call, Storage, Event}, ParaInherent: parachains_paras_inherent::{Pallet, Call, Storage, Inherent}, Initializer: parachains_initializer::{Pallet, Call, Storage}, - Paras: parachains_paras::{Pallet, Call, Storage, Event}, + Paras: parachains_paras::{Pallet, Call, Storage, Event, ValidateUnsigned}, ParasShared: parachains_shared::{Pallet, Call, Storage}, Scheduler: parachains_scheduler::{Pallet, Storage}, ParasSudoWrapper: paras_sudo_wrapper::{Pallet, Call}, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index b2190853f9c1..c61992367dbe 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1148,7 +1148,7 @@ construct_runtime! { ParaInclusion: parachains_inclusion::{Pallet, Call, Storage, Event} = 44, ParaInherent: parachains_paras_inherent::{Pallet, Call, Storage, Inherent} = 45, ParaScheduler: parachains_scheduler::{Pallet, Storage} = 46, - Paras: parachains_paras::{Pallet, Call, Storage, Event, Config} = 47, + Paras: parachains_paras::{Pallet, Call, Storage, Event, Config, ValidateUnsigned} = 47, Initializer: parachains_initializer::{Pallet, Call, Storage} = 48, Dmp: parachains_dmp::{Pallet, Call, Storage} = 49, Ump: parachains_ump::{Pallet, Call, Storage, Event} = 50, From 5d05f2ac6fe749a1fcc72942cc9b8681831eb105 Mon Sep 17 00:00:00 2001 From: Javier Viola Date: Mon, 31 Oct 2022 13:17:06 -0300 Subject: [PATCH 081/211] fix upgrade node test, use latest as base image (#6215) --- scripts/ci/gitlab/pipeline/zombienet.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/ci/gitlab/pipeline/zombienet.yml b/scripts/ci/gitlab/pipeline/zombienet.yml index 5c6215aad2c4..b088f20c55ff 100644 --- a/scripts/ci/gitlab/pipeline/zombienet.yml +++ b/scripts/ci/gitlab/pipeline/zombienet.yml @@ -202,8 +202,7 @@ zombienet-tests-misc-upgrade-node: - echo "${PARACHAINS_IMAGE_NAME} ${PARACHAINS_IMAGE_TAG}" - echo "${GH_DIR}" - export DEBUG=zombie,zombie::network-node - - BUILD_RELEASE_VERSION="$(cat ./artifacts/BUILD_RELEASE_VERSION)" - - export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:${BUILD_RELEASE_VERSION}" + - export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:latest" - export COL_IMAGE=${COLLATOR_IMAGE_NAME}:${COLLATOR_IMAGE_TAG} - BUILD_LINUX_JOB_ID="$(cat ./artifacts/BUILD_LINUX_JOB_ID)" - export POLKADOT_PR_BIN_URL="https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/${BUILD_LINUX_JOB_ID}/artifacts/raw/artifacts/polkadot" From 0bc8fddc19a628fd304a170c6a5f3c1cdd771b72 Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Mon, 31 Oct 2022 20:57:50 +0100 Subject: [PATCH 082/211] Check if approval voting db is empty on startup (#6219) * Add approval voting db sanity check Signed-off-by: Andrei Sandu * add newline back Signed-off-by: Andrei Sandu * no need for overlay to read Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- node/core/approval-voting/src/lib.rs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index cff420fa46b6..e9757071f15e 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -378,6 +378,25 @@ impl ApprovalVotingSubsystem { } } +// Checks and logs approval vote db state. It is perfectly normal to start with an +// empty approval vote DB if we changed DB type or the node will sync from scratch. +fn db_sanity_check(db: Arc, config: DatabaseConfig) -> SubsystemResult<()> { + let backend = DbBackend::new(db, config); + let all_blocks = backend.load_all_blocks()?; + + if all_blocks.is_empty() { + gum::info!(target: LOG_TARGET, "Starting with an empty approval vote DB.",); + } else { + gum::debug!( + target: LOG_TARGET, + "Starting with {} blocks in approval vote DB.", + all_blocks.len() + ); + } + + Ok(()) +} + #[overseer::subsystem(ApprovalVoting, error = SubsystemError, prefix = self::overseer)] impl ApprovalVotingSubsystem { fn start(self, ctx: Context) -> SpawnedSubsystem { @@ -732,6 +751,10 @@ async fn run( where B: Backend, { + if let Err(err) = db_sanity_check(subsystem.db, subsystem.db_config) { + gum::warn!(target: LOG_TARGET, ?err, "Could not run approval vote DB sanity check"); + } + let mut state = State { session_window: None, keystore: subsystem.keystore, From 9081d712bbad41f3ca52b75dd9d61480e3dfbf68 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 1 Nov 2022 10:59:53 -0400 Subject: [PATCH 083/211] PVF timeouts follow-up (#6151) * Rename timeout consts and timeout parameter; bump leniency * Update implementor's guide with info about PVFs * Make glossary a bit easier to read * Add a note to LENIENT_PREPARATION_TIMEOUT * Remove PVF-specific section from glossary * Fix some typos --- node/core/pvf/src/artifacts.rs | 4 +- node/core/pvf/src/host.rs | 31 ++++---- node/core/pvf/src/metrics.rs | 9 ++- node/core/pvf/src/prepare/pool.rs | 10 +-- node/core/pvf/src/prepare/queue.rs | 48 ++++++------ node/core/pvf/src/prepare/worker.rs | 4 +- node/core/pvf/src/pvf.rs | 2 +- node/primitives/src/lib.rs | 6 +- roadmap/implementers-guide/src/glossary.md | 78 ++++++++++--------- .../implementers-guide/src/pvf-prechecking.md | 42 ++++------ 10 files changed, 118 insertions(+), 116 deletions(-) diff --git a/node/core/pvf/src/artifacts.rs b/node/core/pvf/src/artifacts.rs index 49d1be75fed4..32f487cfc062 100644 --- a/node/core/pvf/src/artifacts.rs +++ b/node/core/pvf/src/artifacts.rs @@ -96,7 +96,7 @@ pub enum ArtifactState { /// That means that the artifact should be accessible through the path obtained by the artifact /// id (unless, it was removed externally). Prepared { - /// The time when the artifact was the last time needed. + /// The time when the artifact was last needed. /// /// This is updated when we get the heads up for this artifact or when we just discover /// this file. @@ -120,7 +120,7 @@ impl Artifacts { /// /// The recognized artifacts will be filled in the table and unrecognized will be removed. pub async fn new(cache_path: &Path) -> Self { - // Make sure that the cache path directory and all it's parents are created. + // Make sure that the cache path directory and all its parents are created. // First delete the entire cache. Nodes are long-running so this should populate shortly. let _ = async_std::fs::remove_dir_all(cache_path).await; let _ = async_std::fs::create_dir_all(cache_path).await; diff --git a/node/core/pvf/src/host.rs b/node/core/pvf/src/host.rs index 6670ea48d4ec..69f2e07b56cc 100644 --- a/node/core/pvf/src/host.rs +++ b/node/core/pvf/src/host.rs @@ -38,15 +38,16 @@ use std::{ time::{Duration, SystemTime}, }; -/// The time period after which the precheck preparation worker is considered unresponsive and will -/// be killed. +/// For prechecking requests, the time period after which the preparation worker is considered +/// unresponsive and will be killed. // NOTE: If you change this make sure to fix the buckets of `pvf_preparation_time` metric. -pub const PRECHECK_COMPILATION_TIMEOUT: Duration = Duration::from_secs(60); +pub const PRECHECK_PREPARATION_TIMEOUT: Duration = Duration::from_secs(60); -/// The time period after which the execute preparation worker is considered unresponsive and will -/// be killed. +/// For execution and heads-up requests, the time period after which the preparation worker is +/// considered unresponsive and will be killed. More lenient than the timeout for prechecking to +/// prevent honest validators from timing out on valid PVFs. // NOTE: If you change this make sure to fix the buckets of `pvf_preparation_time` metric. -pub const EXECUTE_COMPILATION_TIMEOUT: Duration = Duration::from_secs(180); +pub const LENIENT_PREPARATION_TIMEOUT: Duration = Duration::from_secs(360); /// An alias to not spell the type for the oneshot sender for the PVF execution result. pub(crate) type ResultSender = oneshot::Sender>; @@ -429,9 +430,10 @@ async fn handle_to_host( Ok(()) } -/// Handles PVF prechecking. +/// Handles PVF prechecking requests. /// -/// This tries to prepare the PVF by compiling the WASM blob within a given timeout ([`PRECHECK_COMPILATION_TIMEOUT`]). +/// This tries to prepare the PVF by compiling the WASM blob within a given timeout +/// ([`PRECHECK_PREPARATION_TIMEOUT`]). async fn handle_precheck_pvf( artifacts: &mut Artifacts, prepare_queue: &mut mpsc::Sender, @@ -459,7 +461,7 @@ async fn handle_precheck_pvf( prepare::ToQueue::Enqueue { priority: Priority::Normal, pvf, - compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + preparation_timeout: PRECHECK_PREPARATION_TIMEOUT, }, ) .await?; @@ -469,9 +471,10 @@ async fn handle_precheck_pvf( /// Handles PVF execution. /// -/// This will first try to prepare the PVF, if a prepared artifact does not already exist. If there is already a -/// preparation job, we coalesce the two preparation jobs. When preparing for execution, we use a more lenient timeout -/// ([`EXECUTE_COMPILATION_TIMEOUT`]) than when prechecking. +/// This will first try to prepare the PVF, if a prepared artifact does not already exist. If there +/// is already a preparation job, we coalesce the two preparation jobs. When preparing for +/// execution, we use a more lenient timeout ([`LENIENT_PREPARATION_TIMEOUT`]) than when +/// prechecking. async fn handle_execute_pvf( cache_path: &Path, artifacts: &mut Artifacts, @@ -518,7 +521,7 @@ async fn handle_execute_pvf( prepare::ToQueue::Enqueue { priority, pvf, - compilation_timeout: EXECUTE_COMPILATION_TIMEOUT, + preparation_timeout: LENIENT_PREPARATION_TIMEOUT, }, ) .await?; @@ -557,7 +560,7 @@ async fn handle_heads_up( prepare::ToQueue::Enqueue { priority: Priority::Normal, pvf: active_pvf, - compilation_timeout: EXECUTE_COMPILATION_TIMEOUT, + preparation_timeout: LENIENT_PREPARATION_TIMEOUT, }, ) .await?; diff --git a/node/core/pvf/src/metrics.rs b/node/core/pvf/src/metrics.rs index 547ee65f3e9d..20965ec7dbd7 100644 --- a/node/core/pvf/src/metrics.rs +++ b/node/core/pvf/src/metrics.rs @@ -155,8 +155,8 @@ impl metrics::Metrics for Metrics { "Time spent in preparing PVF artifacts in seconds", ) .buckets(vec![ - // This is synchronized with the PRECHECK_COMPILATION_TIMEOUT=60s - // and EXECUTE_COMPILATION_TIMEOUT=180s constants found in + // This is synchronized with the PRECHECK_PREPARATION_TIMEOUT=60s + // and LENIENT_PREPARATION_TIMEOUT=360s constants found in // src/prepare/worker.rs 0.1, 0.5, @@ -167,7 +167,10 @@ impl metrics::Metrics for Metrics { 20.0, 30.0, 60.0, - 180.0, + 120.0, + 240.0, + 360.0, + 480.0, ]), )?, registry, diff --git a/node/core/pvf/src/prepare/pool.rs b/node/core/pvf/src/prepare/pool.rs index fad6ed167614..9ba64be97555 100644 --- a/node/core/pvf/src/prepare/pool.rs +++ b/node/core/pvf/src/prepare/pool.rs @@ -65,7 +65,7 @@ pub enum ToPool { worker: Worker, code: Arc>, artifact_path: PathBuf, - compilation_timeout: Duration, + preparation_timeout: Duration, }, } @@ -210,7 +210,7 @@ fn handle_to_pool( metrics.prepare_worker().on_begin_spawn(); mux.push(spawn_worker_task(program_path.to_owned(), spawn_timeout).boxed()); }, - ToPool::StartWork { worker, code, artifact_path, compilation_timeout } => { + ToPool::StartWork { worker, code, artifact_path, preparation_timeout } => { if let Some(data) = spawned.get_mut(worker) { if let Some(idle) = data.idle.take() { let preparation_timer = metrics.time_preparation(); @@ -221,7 +221,7 @@ fn handle_to_pool( code, cache_path.to_owned(), artifact_path, - compilation_timeout, + preparation_timeout, preparation_timer, ) .boxed(), @@ -269,11 +269,11 @@ async fn start_work_task( code: Arc>, cache_path: PathBuf, artifact_path: PathBuf, - compilation_timeout: Duration, + preparation_timeout: Duration, _preparation_timer: Option, ) -> PoolEvent { let outcome = - worker::start_work(idle, code, &cache_path, artifact_path, compilation_timeout).await; + worker::start_work(idle, code, &cache_path, artifact_path, preparation_timeout).await; PoolEvent::StartWork(worker, outcome) } diff --git a/node/core/pvf/src/prepare/queue.rs b/node/core/pvf/src/prepare/queue.rs index a77b88e00345..ae0757d80461 100644 --- a/node/core/pvf/src/prepare/queue.rs +++ b/node/core/pvf/src/prepare/queue.rs @@ -33,7 +33,7 @@ pub enum ToQueue { /// /// Note that it is incorrect to enqueue the same PVF again without first receiving the /// [`FromQueue`] response. - Enqueue { priority: Priority, pvf: Pvf, compilation_timeout: Duration }, + Enqueue { priority: Priority, pvf: Pvf, preparation_timeout: Duration }, } /// A response from queue. @@ -80,7 +80,7 @@ struct JobData { priority: Priority, pvf: Pvf, /// The timeout for the preparation job. - compilation_timeout: Duration, + preparation_timeout: Duration, worker: Option, } @@ -208,8 +208,8 @@ impl Queue { async fn handle_to_queue(queue: &mut Queue, to_queue: ToQueue) -> Result<(), Fatal> { match to_queue { - ToQueue::Enqueue { priority, pvf, compilation_timeout } => { - handle_enqueue(queue, priority, pvf, compilation_timeout).await?; + ToQueue::Enqueue { priority, pvf, preparation_timeout } => { + handle_enqueue(queue, priority, pvf, preparation_timeout).await?; }, } Ok(()) @@ -219,13 +219,13 @@ async fn handle_enqueue( queue: &mut Queue, priority: Priority, pvf: Pvf, - compilation_timeout: Duration, + preparation_timeout: Duration, ) -> Result<(), Fatal> { gum::debug!( target: LOG_TARGET, validation_code_hash = ?pvf.code_hash, ?priority, - ?compilation_timeout, + ?preparation_timeout, "PVF is enqueued for preparation.", ); queue.metrics.prepare_enqueued(); @@ -247,7 +247,7 @@ async fn handle_enqueue( return Ok(()) } - let job = queue.jobs.insert(JobData { priority, pvf, compilation_timeout, worker: None }); + let job = queue.jobs.insert(JobData { priority, pvf, preparation_timeout, worker: None }); queue.artifact_id_to_job.insert(artifact_id, job); if let Some(available) = find_idle_worker(queue) { @@ -439,7 +439,7 @@ async fn assign(queue: &mut Queue, worker: Worker, job: Job) -> Result<(), Fatal worker, code: job_data.pvf.code.clone(), artifact_path, - compilation_timeout: job_data.compilation_timeout, + preparation_timeout: job_data.preparation_timeout, }, ) .await?; @@ -494,7 +494,7 @@ pub fn start( #[cfg(test)] mod tests { use super::*; - use crate::{error::PrepareError, host::PRECHECK_COMPILATION_TIMEOUT}; + use crate::{error::PrepareError, host::PRECHECK_PREPARATION_TIMEOUT}; use assert_matches::assert_matches; use futures::{future::BoxFuture, FutureExt}; use slotmap::SlotMap; @@ -612,7 +612,7 @@ mod tests { test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1), - compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + preparation_timeout: PRECHECK_PREPARATION_TIMEOUT, }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -626,12 +626,12 @@ mod tests { #[async_std::test] async fn dont_spawn_over_soft_limit_unless_critical() { let mut test = Test::new(2, 3); - let compilation_timeout = PRECHECK_COMPILATION_TIMEOUT; + let preparation_timeout = PRECHECK_PREPARATION_TIMEOUT; let priority = Priority::Normal; - test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(1), compilation_timeout }); - test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(2), compilation_timeout }); - test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(3), compilation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(1), preparation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(2), preparation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(3), preparation_timeout }); // Receive only two spawns. assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -655,7 +655,7 @@ mod tests { test.send_queue(ToQueue::Enqueue { priority: Priority::Critical, pvf: pvf(4), - compilation_timeout, + preparation_timeout, }); // 2 out of 2 are working, but there is a critical job incoming. That means that spawning @@ -666,12 +666,12 @@ mod tests { #[async_std::test] async fn cull_unwanted() { let mut test = Test::new(1, 2); - let compilation_timeout = PRECHECK_COMPILATION_TIMEOUT; + let preparation_timeout = PRECHECK_PREPARATION_TIMEOUT; test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1), - compilation_timeout, + preparation_timeout, }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); let w1 = test.workers.insert(()); @@ -682,7 +682,7 @@ mod tests { test.send_queue(ToQueue::Enqueue { priority: Priority::Critical, pvf: pvf(2), - compilation_timeout, + preparation_timeout, }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -701,10 +701,10 @@ mod tests { async fn worker_mass_die_out_doesnt_stall_queue() { let mut test = Test::new(2, 2); - let (priority, compilation_timeout) = (Priority::Normal, PRECHECK_COMPILATION_TIMEOUT); - test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(1), compilation_timeout }); - test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(2), compilation_timeout }); - test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(3), compilation_timeout }); + let (priority, preparation_timeout) = (Priority::Normal, PRECHECK_PREPARATION_TIMEOUT); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(1), preparation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(2), preparation_timeout }); + test.send_queue(ToQueue::Enqueue { priority, pvf: pvf(3), preparation_timeout }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -734,7 +734,7 @@ mod tests { test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1), - compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + preparation_timeout: PRECHECK_PREPARATION_TIMEOUT, }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); @@ -759,7 +759,7 @@ mod tests { test.send_queue(ToQueue::Enqueue { priority: Priority::Normal, pvf: pvf(1), - compilation_timeout: PRECHECK_COMPILATION_TIMEOUT, + preparation_timeout: PRECHECK_PREPARATION_TIMEOUT, }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Spawn); diff --git a/node/core/pvf/src/prepare/worker.rs b/node/core/pvf/src/prepare/worker.rs index 77570b47360b..1cf512894740 100644 --- a/node/core/pvf/src/prepare/worker.rs +++ b/node/core/pvf/src/prepare/worker.rs @@ -65,7 +65,7 @@ pub async fn start_work( code: Arc>, cache_path: &Path, artifact_path: PathBuf, - compilation_timeout: Duration, + preparation_timeout: Duration, ) -> Outcome { let IdleWorker { mut stream, pid } = worker; @@ -100,7 +100,7 @@ pub async fn start_work( } let selected = - match async_std::future::timeout(compilation_timeout, framed_recv(&mut stream)).await { + match async_std::future::timeout(preparation_timeout, framed_recv(&mut stream)).await { Ok(Ok(response_bytes)) => { // Received bytes from worker within the time limit. // By convention we expect encoded `PrepareResult`. diff --git a/node/core/pvf/src/pvf.rs b/node/core/pvf/src/pvf.rs index 901cc1c70d6e..d06968a13d43 100644 --- a/node/core/pvf/src/pvf.rs +++ b/node/core/pvf/src/pvf.rs @@ -19,7 +19,7 @@ use polkadot_parachain::primitives::ValidationCodeHash; use sp_core::blake2_256; use std::{fmt, sync::Arc}; -/// A struct that carries code of a parachain validation function and it's hash. +/// A struct that carries code of a parachain validation function and its hash. /// /// Should be cheap to clone. #[derive(Clone)] diff --git a/node/primitives/src/lib.rs b/node/primitives/src/lib.rs index 4551ce9855e3..e75181b900e9 100644 --- a/node/primitives/src/lib.rs +++ b/node/primitives/src/lib.rs @@ -71,7 +71,7 @@ pub const BACKING_EXECUTION_TIMEOUT: Duration = Duration::from_secs(2); /// /// This is deliberately much longer than the backing execution timeout to /// ensure that in the absence of extremely large disparities between hardware, -/// blocks that pass backing are considerd executable by approval checkers or +/// blocks that pass backing are considered executable by approval checkers or /// dispute participants. pub const APPROVAL_EXECUTION_TIMEOUT: Duration = Duration::from_secs(12); @@ -90,9 +90,7 @@ pub const MAX_FINALITY_LAG: u32 = 500; pub struct SessionWindowSize(SessionIndex); #[macro_export] -/// Create a new checked `SessionWindowSize` -/// -/// which cannot be 0. +/// Create a new checked `SessionWindowSize` which cannot be 0. macro_rules! new_session_window_size { (0) => { compile_error!("Must be non zero"); diff --git a/roadmap/implementers-guide/src/glossary.md b/roadmap/implementers-guide/src/glossary.md index a64c5bd00a50..8612d8834cb8 100644 --- a/roadmap/implementers-guide/src/glossary.md +++ b/roadmap/implementers-guide/src/glossary.md @@ -2,44 +2,50 @@ Here you can find definitions of a bunch of jargon, usually specific to the Polkadot project. -- BABE: (Blind Assignment for Blockchain Extension). The algorithm validators use to safely extend the Relay Chain. See [the Polkadot wiki][0] for more information. -- Backable Candidate: A Parachain Candidate which is backed by a majority of validators assigned to a given parachain. -- Backed Candidate: A Backable Candidate noted in a relay-chain block -- Backing: A set of statements proving that a Parachain Candidate is backable. -- Collator: A node who generates Proofs-of-Validity (PoV) for blocks of a specific parachain. -- DMP: (Downward Message Passing). Message passing from the relay-chain to a parachain. Also there is a runtime parachains module with the same name. -- DMQ: (Downward Message Queue). A message queue for messages from the relay-chain down to a parachain. A parachain has +- **BABE:** (Blind Assignment for Blockchain Extension). The algorithm validators use to safely extend the Relay Chain. See [the Polkadot wiki][0] for more information. +- **Backable Candidate:** A Parachain Candidate which is backed by a majority of validators assigned to a given parachain. +- **Backed Candidate:** A Backable Candidate noted in a relay-chain block +- **Backing:** A set of statements proving that a Parachain Candidate is backable. +- **Collator:** A node who generates Proofs-of-Validity (PoV) for blocks of a specific parachain. +- **DMP:** (Downward Message Passing). Message passing from the relay-chain to a parachain. Also there is a runtime parachains module with the same name. +- **DMQ:** (Downward Message Queue). A message queue for messages from the relay-chain down to a parachain. A parachain has exactly one downward message queue. -- Extrinsic: An element of a relay-chain block which triggers a specific entry-point of a runtime module with given arguments. -- GRANDPA: (Ghost-based Recursive ANcestor Deriving Prefix Agreement). The algorithm validators use to guarantee finality of the Relay Chain. -- HRMP: (Horizontally Relay-routed Message Passing). A mechanism for message passing between parachains (hence horizontal) that leverages the relay-chain storage. Predates XCMP. Also there is a runtime parachains module with the same name. -- Inclusion Pipeline: The set of steps taken to carry a Parachain Candidate from authoring, to backing, to availability and full inclusion in an active fork of its parachain. -- Module: A component of the Runtime logic, encapsulating storage, routines, and entry-points. -- Module Entry Point: A recipient of new information presented to the Runtime. This may trigger routines. -- Module Routine: A piece of code executed within a module by block initialization, closing, or upon an entry point being triggered. This may execute computation, and read or write storage. -- MQC: (Message Queue Chain). A cryptographic data structure that resembles an append-only linked list which doesn't store original values but only their hashes. The whole structure is described by a single hash, referred as a "head". When a value is appended, it's contents hashed with the previous head creating a hash that becomes a new head. -- Node: A participant in the Polkadot network, who follows the protocols of communication and connection to other nodes. Nodes form a peer-to-peer network topology without a central authority. -- Parachain Candidate, or Candidate: A proposed block for inclusion into a parachain. -- Parablock: A block in a parachain. -- Parachain: A constituent chain secured by the Relay Chain's validators. -- Parachain Validators: A subset of validators assigned during a period of time to back candidates for a specific parachain -- Parathread: A parachain which is scheduled on a pay-as-you-go basis. -- PDK (Parachain Development Kit): A toolset that allows one to develop a parachain. Cumulus is a PDK. -- Preimage: In our context, if `H(X) = Y` where `H` is a hash function and `Y` is the hash, then `X` is the hash preimage. -- Proof-of-Validity (PoV): A stateless-client proof that a parachain candidate is valid, with respect to some validation function. -- Relay Parent: A block in the relay chain, referred to in a context where work is being done in the context of the state at this block. -- Router: The router module is a meta module that consists of three runtime modules responsible for routing messages between paras and the relay chain. The three separate runtime modules are: Dmp, Ump, Hrmp, each responsible for the respective part of message routing. -- Runtime: The relay-chain state machine. -- Runtime Module: See Module. -- Runtime API: A means for the node-side behavior to access structured information based on the state of a fork of the blockchain. -- Secondary Checker: A validator who has been randomly selected to perform secondary approval checks on a parablock which is pending approval. -- Subsystem: A long-running task which is responsible for carrying out a particular category of work. -- UMP: (Upward Message Passing) A vertical message passing mechanism from a parachain to the relay chain. -- Validator: Specially-selected node in the network who is responsible for validating parachain blocks and issuing attestations about their validity. -- Validation Function: A piece of Wasm code that describes the state-transition function of a parachain. -- VMP: (Vertical Message Passing) A family of mechanisms that are responsible for message exchange between the relay chain and parachains. -- XCMP (Cross-Chain Message Passing) A type of horizontal message passing (i.e. between parachains) that allows secure message passing directly between parachains and has minimal resource requirements from the relay chain, thus highly scalable. +- **Extrinsic:** An element of a relay-chain block which triggers a specific entry-point of a runtime module with given arguments. +- **GRANDPA:** (Ghost-based Recursive ANcestor Deriving Prefix Agreement). The algorithm validators use to guarantee finality of the Relay Chain. +- **HRMP:** (Horizontally Relay-routed Message Passing). A mechanism for message passing between parachains (hence horizontal) that leverages the relay-chain storage. Predates XCMP. Also there is a runtime parachains module with the same name. +- **Inclusion Pipeline:** The set of steps taken to carry a Parachain Candidate from authoring, to backing, to availability and full inclusion in an active fork of its parachain. +- **Module:** A component of the Runtime logic, encapsulating storage, routines, and entry-points. +- **Module Entry Point:** A recipient of new information presented to the Runtime. This may trigger routines. +- **Module Routine:** A piece of code executed within a module by block initialization, closing, or upon an entry point being triggered. This may execute computation, and read or write storage. +- **MQC:** (Message Queue Chain). A cryptographic data structure that resembles an append-only linked list which doesn't store original values but only their hashes. The whole structure is described by a single hash, referred as a "head". When a value is appended, it's contents hashed with the previous head creating a hash that becomes a new head. +- **Node:** A participant in the Polkadot network, who follows the protocols of communication and connection to other nodes. Nodes form a peer-to-peer network topology without a central authority. +- **Parachain Candidate, or Candidate:** A proposed block for inclusion into a parachain. +- **Parablock:** A block in a parachain. +- **Parachain:** A constituent chain secured by the Relay Chain's validators. +- **Parachain Validators:** A subset of validators assigned during a period of time to back candidates for a specific parachain +- **Parathread:** A parachain which is scheduled on a pay-as-you-go basis. +- **PDK (Parachain Development Kit):** A toolset that allows one to develop a parachain. Cumulus is a PDK. +- **Preimage:** In our context, if `H(X) = Y` where `H` is a hash function and `Y` is the hash, then `X` is the hash preimage. +- **Proof-of-Validity (PoV):** A stateless-client proof that a parachain candidate is valid, with respect to some validation function. +- **PVF:** Parachain Validation Function. The validation code that is run by validators on parachains or parathreads. +- **PVF Prechecking:** This is the process of initially checking the PVF when it is first added. We attempt preparation of the PVF and make sure it succeeds within a given timeout. +- **PVF Preparation:** This is the process of preparing the WASM blob and includes both prevalidation and compilation. As prevalidation is pretty minimal right now, preparation mostly consists of compilation. +- **Relay Parent:** A block in the relay chain, referred to in a context where work is being done in the context of the state at this block. +- **Router:** The router module is a meta module that consists of three runtime modules responsible for routing messages between paras and the relay chain. The three separate runtime modules are: Dmp, Ump, Hrmp, each responsible for the respective part of message routing. +- **Runtime:** The relay-chain state machine. +- **Runtime Module:** See Module. +- **Runtime API:** A means for the node-side behavior to access structured information based on the state of a fork of the blockchain. +- **Secondary Checker:** A validator who has been randomly selected to perform secondary approval checks on a parablock which is pending approval. +- **Subsystem:** A long-running task which is responsible for carrying out a particular category of work. +- **UMP:** (Upward Message Passing) A vertical message passing mechanism from a parachain to the relay chain. +- **Validator:** Specially-selected node in the network who is responsible for validating parachain blocks and issuing attestations about their validity. +- **Validation Function:** A piece of Wasm code that describes the state-transition function of a parachain. +- **VMP:** (Vertical Message Passing) A family of mechanisms that are responsible for message exchange between the relay chain and parachains. +- **XCMP:** (Cross-Chain Message Passing) A type of horizontal message passing (i.e. between parachains) that allows secure message passing directly between parachains and has minimal resource requirements from the relay chain, thus highly scalable. + +## See Also Also of use is the [Substrate Glossary](https://substrate.dev/docs/en/knowledgebase/getting-started/glossary). [0]: https://wiki.polkadot.network/docs/learn-consensus +[1]: #pvf diff --git a/roadmap/implementers-guide/src/pvf-prechecking.md b/roadmap/implementers-guide/src/pvf-prechecking.md index 1dc7611c0cef..4dce61d2a83b 100644 --- a/roadmap/implementers-guide/src/pvf-prechecking.md +++ b/roadmap/implementers-guide/src/pvf-prechecking.md @@ -1,32 +1,12 @@ # PVF Pre-checking Overview -> ⚠️ This discusses a mechanism that is currently under-development. Follow the progress under [#3211]. - -## Terms - -This functionality involves several processes which may be potentially -confusing: - -- **Prechecking:** This is the process of initially checking the PVF when it is - first added. We attempt *preparation* of the PVF and make sure it succeeds - within a given timeout. -- **Execution:** This actually executes the PVF. The node may not have the - artifact from prechecking, in which case this process also includes a - *preparation* job. The timeout for preparation here is more lenient than when - prechecking. -- **Preparation:** This is the process of preparing the WASM blob and includes - both *prevalidation* and *compilation*. As prevalidation is pretty minimal - right now, preparation mostly consists of compilation. Note that *prechecking* - just consists of preparation, whereas *execution* will also prepare the PVF if - the artifact is not already found. -- **Prevalidation:** Right now this just tries to deserialize the binary with - parity-wasm. It is a part of *preparation*. -- **Compilation:** This is the process of compiling a PVF from wasm code to - machine code. It is a part of *preparation*. +> ⚠️ This discusses a mechanism that is currently under-development. Follow the progress under [#3211][3211]. ## Motivation -Parachains' and parathreads' validation function is described by a wasm module that we refer to as a PVF. Since it's a wasm module the typical way of executing it is to compile it to machine code. Typically an optimizing compiler consists of algorithms that are able to optimize the resulting machine code heavily. However, while those algorithms perform quite well for a typical wasm code produced by standard toolchains (e.g. rustc/LLVM), those algorithms can be abused to consume a lot of resources. Moreover, since those algorithms are rather complex there is a lot of room for a bug that can crash the compiler. +Parachains' and parathreads' validation function is described by a wasm module that we refer to as a PVF. Since a PVF is a wasm module the typical way of executing it is to compile it to machine code. + +Typically an optimizing compiler consists of algorithms that are able to optimize the resulting machine code heavily. However, while those algorithms perform quite well for a typical wasm code produced by standard toolchains (e.g. rustc/LLVM), those algorithms can be abused to consume a lot of resources. Moreover, since those algorithms are rather complex there is a lot of room for a bug that can crash the compiler. If compilation of a Parachain Validation Function (PVF) takes too long or uses too much memory, this can leave a node in limbo as to whether a candidate of that parachain is valid or not. @@ -66,7 +46,19 @@ The logic described above is implemented by the [paras] module. On the node-side, there is a PVF pre-checking [subsystem][pvf-prechecker-subsystem] that scans the chain for new PVFs via using [runtime APIs][pvf-runtime-api]. Upon finding a new PVF, the subsystem will initiate a PVF pre-checking request and wait for the result. Whenever the result is obtained, the subsystem will use the [runtime API][pvf-runtime-api] to submit a vote for the PVF. The vote is an unsigned transaction. The vote will be distributed via the gossip similarly to a normal transaction. Eventually a block producer will include the vote into the block where it will be handled by the [runtime][paras]. -[#3211]: https://github.com/paritytech/polkadot/issues/3211 +## Pre-checking Summary + +Parachains' and parathreads' validation function is described by a wasm module that we refer to as a PVF. + +In order to make the PVF usable for candidate validation it has to be registered on-chain. + +As part of the registration process, it has to go through pre-checking. Pre-checking is a game of attempting preparation and reporting the results back on-chain. + +We define preparation as a process that: validates the consistency of the wasm binary (aka prevalidation) and the compilation of the wasm module into machine code (refered to as artifact). + +Besides pre-checking, preparation can also be triggered by execution, since a compiled artifact is needed for the execution. If an artifact already exists, execution will skip preparation. If it does do preparation, execution uses a more lenient timeout than preparation, to avoid the situation where honest validators fail on valid, pre-checked PVFs. + +[3211]: https://github.com/paritytech/polkadot/issues/3211 [paras]: runtime/paras.md [pvf-runtime-api]: runtime-api/pvf-prechecking.md [pvf-prechecker-subsystem]: node/utility/pvf-prechecker.md From 980414082123ce5c0f543e47f415ab2d25cb7a0a Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Tue, 1 Nov 2022 18:22:46 +0100 Subject: [PATCH 084/211] BlockId removal: refactor: BlockBackend::block_body (#6223) * BlockId removal: refactor: BlockBackend::block_body It changes the arguments of `BlockBackend::block_body` method from: `BlockId` to: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 360 ++++++++++++++++++++--------------------- node/client/src/lib.rs | 4 +- 2 files changed, 182 insertions(+), 182 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57bb4caa966d..057516a9e0ae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -2036,7 +2036,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", ] @@ -2060,7 +2060,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -2083,7 +2083,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "Inflector", "array-bytes", @@ -2134,7 +2134,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "bitflags", "frame-metadata", @@ -2222,7 +2222,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "Inflector", "cfg-expr", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro2", "quote", @@ -2258,7 +2258,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -2292,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "log", @@ -2310,7 +2310,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2325,7 +2325,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2334,7 +2334,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "parity-scale-codec", @@ -2505,7 +2505,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "chrono", "frame-election-provider-support", @@ -4678,7 +4678,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4692,7 +4692,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -4708,7 +4708,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4747,7 +4747,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4767,7 +4767,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4801,7 +4801,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "beefy-primitives", "frame-support", @@ -4817,7 +4817,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4840,7 +4840,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4858,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4877,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4894,7 +4894,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4966,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4984,7 +4984,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5002,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5017,7 +5017,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5040,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5056,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5076,7 +5076,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5110,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5128,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5143,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5159,7 +5159,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5196,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "sp-api", @@ -5206,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5246,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5278,7 +5278,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5311,7 +5311,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5345,7 +5345,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -5366,7 +5366,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5382,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -5396,7 +5396,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5419,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "sp-arithmetic", @@ -5439,7 +5439,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -5453,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5471,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5490,7 +5490,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-support", "frame-system", @@ -5506,7 +5506,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5521,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5532,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5549,7 +5549,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5565,7 +5565,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5580,7 +5580,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8054,7 +8054,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "env_logger 0.9.0", "log", @@ -8393,7 +8393,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "sp-core", @@ -8404,7 +8404,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures", @@ -8431,7 +8431,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "futures-timer", @@ -8454,7 +8454,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8470,7 +8470,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8487,7 +8487,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8498,7 +8498,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "chrono", @@ -8538,7 +8538,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "fnv", "futures", @@ -8566,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "hash-db", "kvdb", @@ -8591,7 +8591,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures", @@ -8615,7 +8615,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "fork-tree", @@ -8657,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "jsonrpsee", @@ -8679,7 +8679,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8692,7 +8692,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures", @@ -8716,7 +8716,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "environmental", "parity-scale-codec", @@ -8759,7 +8759,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "parity-scale-codec", @@ -8774,7 +8774,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8794,7 +8794,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "ahash", "array-bytes", @@ -8835,7 +8835,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "finality-grandpa", "futures", @@ -8856,7 +8856,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "ansi_term", "futures", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "async-trait", @@ -8888,7 +8888,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "async-trait", @@ -8935,7 +8935,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "cid", "futures", @@ -8955,7 +8955,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "bitflags", @@ -8981,7 +8981,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "ahash", "futures", @@ -8999,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "futures", @@ -9020,7 +9020,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "fork-tree", @@ -9050,7 +9050,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "futures", @@ -9069,7 +9069,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "bytes", @@ -9099,7 +9099,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "libp2p", @@ -9112,7 +9112,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9121,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "hash-db", @@ -9151,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "jsonrpsee", @@ -9174,7 +9174,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "jsonrpsee", @@ -9187,7 +9187,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "hex", @@ -9206,7 +9206,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "directories", @@ -9277,7 +9277,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "parity-scale-codec", @@ -9291,7 +9291,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9310,7 +9310,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "libc", @@ -9329,7 +9329,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "chrono", "futures", @@ -9347,7 +9347,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "ansi_term", "atty", @@ -9378,7 +9378,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9389,7 +9389,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures", @@ -9416,7 +9416,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures", @@ -9430,7 +9430,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "futures-timer", @@ -9910,7 +9910,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "hash-db", "log", @@ -9928,7 +9928,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "blake2", "proc-macro-crate", @@ -9940,7 +9940,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9953,7 +9953,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "integer-sqrt", "num-traits", @@ -9968,7 +9968,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9981,7 +9981,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "parity-scale-codec", @@ -9993,7 +9993,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "sp-api", @@ -10005,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "log", @@ -10023,7 +10023,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures", @@ -10042,7 +10042,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "merlin", @@ -10065,7 +10065,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10079,7 +10079,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10092,7 +10092,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "base58", @@ -10138,7 +10138,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "blake2", "byteorder", @@ -10152,7 +10152,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro2", "quote", @@ -10163,7 +10163,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10172,7 +10172,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro2", "quote", @@ -10182,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "environmental", "parity-scale-codec", @@ -10193,7 +10193,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "finality-grandpa", "log", @@ -10211,7 +10211,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10225,7 +10225,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "bytes", "futures", @@ -10251,7 +10251,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "lazy_static", "sp-core", @@ -10262,7 +10262,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures", @@ -10279,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "thiserror", "zstd", @@ -10288,7 +10288,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "parity-scale-codec", @@ -10304,7 +10304,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10318,7 +10318,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "sp-api", "sp-core", @@ -10328,7 +10328,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "backtrace", "lazy_static", @@ -10338,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "rustc-hash", "serde", @@ -10348,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "either", "hash256-std-hasher", @@ -10371,7 +10371,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10389,7 +10389,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "Inflector", "proc-macro-crate", @@ -10401,7 +10401,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "parity-scale-codec", @@ -10415,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10429,7 +10429,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10440,7 +10440,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "hash-db", "log", @@ -10462,12 +10462,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10480,7 +10480,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "log", "sp-core", @@ -10493,7 +10493,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "futures-timer", @@ -10509,7 +10509,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "sp-std", @@ -10521,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "sp-api", "sp-runtime", @@ -10530,7 +10530,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "log", @@ -10546,7 +10546,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "ahash", "hash-db", @@ -10569,7 +10569,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10586,7 +10586,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10597,7 +10597,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "impl-trait-for-tuples", "log", @@ -10610,7 +10610,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10825,7 +10825,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "platforms", ] @@ -10833,7 +10833,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10854,7 +10854,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures-util", "hyper", @@ -10867,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "async-trait", "jsonrpsee", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "jsonrpsee", "log", @@ -10901,7 +10901,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "array-bytes", "async-trait", @@ -10927,7 +10927,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10937,7 +10937,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10948,7 +10948,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "ansi_term", "build-helper", @@ -11655,7 +11655,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0e33b4e9a3deb0a3637f0c618c6c8ac24f36c0d2" +source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index a254973b99c2..b52048ba6d78 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -327,13 +327,13 @@ impl UsageProvider for Client { impl sc_client_api::BlockBackend for Client { fn block_body( &self, - id: &BlockId, + hash: &::Hash, ) -> sp_blockchain::Result::Extrinsic>>> { with_client! { self, client, { - client.block_body(id) + client.block_body(hash) } } } From 71766709fc8ba8abf7dab0b79540887a2fb7a901 Mon Sep 17 00:00:00 2001 From: alexgparity <115470171+alexgparity@users.noreply.github.com> Date: Tue, 1 Nov 2022 18:34:16 +0100 Subject: [PATCH 085/211] Replace parachain/parathread boolean by enum (#6198) * Replace parachain/parathread boolean by enum * Address PR comments * Update dependencies * ParaType -> ParaKind * Swap enum field order to avoid migration * Rename paratype field to parakind * Manual en-/decocing of Parakind * Manual TypeInfo for ParaKind * rename field back to parachain * minor * Update runtime/parachains/src/paras/mod.rs Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Manual serde Serialize and Deserialize for ParaKind * cargo fmt * Update runtime/parachains/src/paras/mod.rs Co-authored-by: Andronik * Add test for serde_json encoding/decoding * Move serde_json dep to dev-deps Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: Andronik --- Cargo.lock | 1 + node/test/service/src/lib.rs | 4 +- runtime/common/src/paras_registrar.rs | 7 +- runtime/parachains/Cargo.toml | 1 + runtime/parachains/src/builder.rs | 3 +- runtime/parachains/src/hrmp/benchmarking.rs | 4 +- runtime/parachains/src/hrmp/tests.rs | 11 ++- runtime/parachains/src/inclusion/tests.rs | 46 +++++++--- runtime/parachains/src/initializer/tests.rs | 3 +- .../src/paras/benchmarking/pvf_check.rs | 4 +- runtime/parachains/src/paras/mod.rs | 85 ++++++++++++++++-- runtime/parachains/src/paras/tests.rs | 84 +++++++++++++----- runtime/parachains/src/scheduler/tests.rs | 88 +++++++++---------- 13 files changed, 240 insertions(+), 101 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 057516a9e0ae..e3a07d8afeae 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7104,6 +7104,7 @@ dependencies = [ "sc-keystore", "scale-info", "serde", + "serde_json", "sp-api", "sp-application-crypto", "sp-core", diff --git a/node/test/service/src/lib.rs b/node/test/service/src/lib.rs index 8fe31ce2b5b4..831f0c85aaaa 100644 --- a/node/test/service/src/lib.rs +++ b/node/test/service/src/lib.rs @@ -27,7 +27,7 @@ use polkadot_node_subsystem::messages::{CollationGenerationMessage, CollatorProt use polkadot_overseer::Handle; use polkadot_primitives::v2::{Balance, CollatorPair, HeadData, Id as ParaId, ValidationCode}; use polkadot_runtime_common::BlockHashCount; -use polkadot_runtime_parachains::paras::ParaGenesisArgs; +use polkadot_runtime_parachains::paras::{ParaGenesisArgs, ParaKind}; use polkadot_service::{ ClientHandle, Error, ExecuteWithClient, FullClient, IsCollator, NewFull, PrometheusConfig, }; @@ -305,7 +305,7 @@ impl PolkadotTestNode { genesis: ParaGenesisArgs { genesis_head: genesis_head.into(), validation_code: validation_code.into(), - parachain: true, + para_kind: ParaKind::Parachain, }, }; diff --git a/runtime/common/src/paras_registrar.rs b/runtime/common/src/paras_registrar.rs index 7245cd92d304..bfcc91e3ba71 100644 --- a/runtime/common/src/paras_registrar.rs +++ b/runtime/common/src/paras_registrar.rs @@ -35,6 +35,7 @@ use sp_std::{prelude::*, result}; use crate::traits::{OnSwap, Registrar}; pub use pallet::*; use parity_scale_codec::{Decode, Encode}; +use runtime_parachains::paras::ParaKind; use scale_info::TypeInfo; use sp_runtime::{ traits::{CheckedSub, Saturating}, @@ -570,7 +571,7 @@ impl Pallet { }; ensure!(paras::Pallet::::lifecycle(id).is_none(), Error::::AlreadyRegistered); let (genesis, deposit) = - Self::validate_onboarding_data(genesis_head, validation_code, false)?; + Self::validate_onboarding_data(genesis_head, validation_code, ParaKind::Parathread)?; let deposit = deposit_override.unwrap_or(deposit); if let Some(additional) = deposit.checked_sub(&deposited) { @@ -613,7 +614,7 @@ impl Pallet { fn validate_onboarding_data( genesis_head: HeadData, validation_code: ValidationCode, - parachain: bool, + para_kind: ParaKind, ) -> Result<(ParaGenesisArgs, BalanceOf), sp_runtime::DispatchError> { let config = configuration::Pallet::::config(); ensure!(validation_code.0.len() > 0, Error::::EmptyCode); @@ -628,7 +629,7 @@ impl Pallet { .saturating_add(per_byte_fee.saturating_mul((genesis_head.0.len() as u32).into())) .saturating_add(per_byte_fee.saturating_mul((validation_code.0.len() as u32).into())); - Ok((ParaGenesisArgs { genesis_head, validation_code, parachain }, deposit)) + Ok((ParaGenesisArgs { genesis_head, validation_code, para_kind }, deposit)) } /// Swap a parachain and parathread, which involves scheduling an appropriate lifecycle update. diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index 4361f443d9a9..cb8b989ccdda 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -57,6 +57,7 @@ test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../pri sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } thousands = "0.2.0" assert_matches = "1" +serde_json = "1.0.85" [features] default = ["std"] diff --git a/runtime/parachains/src/builder.rs b/runtime/parachains/src/builder.rs index f4bc58f2d4f2..9a1c16e6aa1d 100644 --- a/runtime/parachains/src/builder.rs +++ b/runtime/parachains/src/builder.rs @@ -16,6 +16,7 @@ use crate::{ configuration, inclusion, initializer, paras, + paras::ParaKind, paras_inherent::{self}, scheduler, session_info, shared, }; @@ -345,7 +346,7 @@ impl BenchBuilder { paras::ParaGenesisArgs { genesis_head: Self::mock_head_data(), validation_code: mock_validation_code(), - parachain: true, + para_kind: ParaKind::Parachain, }, ) .unwrap(); diff --git a/runtime/parachains/src/hrmp/benchmarking.rs b/runtime/parachains/src/hrmp/benchmarking.rs index 7ea14b1dc922..562e735e6a50 100644 --- a/runtime/parachains/src/hrmp/benchmarking.rs +++ b/runtime/parachains/src/hrmp/benchmarking.rs @@ -17,7 +17,7 @@ use crate::{ configuration::Pallet as Configuration, hrmp::{Pallet as Hrmp, *}, - paras::{Pallet as Paras, ParachainsCache}, + paras::{Pallet as Paras, ParaKind, ParachainsCache}, shared::Pallet as Shared, }; use frame_support::{assert_ok, traits::Currency}; @@ -31,7 +31,7 @@ fn register_parachain_with_balance(id: ParaId, balance: BalanceOf) &mut parachains, id, &crate::paras::ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: vec![1].into(), validation_code: vec![1].into(), }, diff --git a/runtime/parachains/src/hrmp/tests.rs b/runtime/parachains/src/hrmp/tests.rs index 9e0d0646d057..85cdc459ffb9 100644 --- a/runtime/parachains/src/hrmp/tests.rs +++ b/runtime/parachains/src/hrmp/tests.rs @@ -15,9 +15,12 @@ // along with Polkadot. If not, see . use super::*; -use crate::mock::{ - new_test_ext, Configuration, Hrmp, MockGenesisConfig, Paras, ParasShared, - RuntimeEvent as MockEvent, RuntimeOrigin, System, Test, +use crate::{ + mock::{ + new_test_ext, Configuration, Hrmp, MockGenesisConfig, Paras, ParasShared, + RuntimeEvent as MockEvent, RuntimeOrigin, System, Test, + }, + paras::ParaKind, }; use frame_support::{assert_noop, assert_ok, traits::Currency as _}; use primitives::v2::BlockNumber; @@ -130,7 +133,7 @@ fn register_parachain_with_balance(id: ParaId, balance: Balance) { assert_ok!(Paras::schedule_para_initialize( id, crate::paras::ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: vec![1].into(), validation_code: vec![1].into(), }, diff --git a/runtime/parachains/src/inclusion/tests.rs b/runtime/parachains/src/inclusion/tests.rs index de3199c366a7..00369fb67e75 100644 --- a/runtime/parachains/src/inclusion/tests.rs +++ b/runtime/parachains/src/inclusion/tests.rs @@ -22,7 +22,7 @@ use crate::{ new_test_ext, Configuration, MockGenesisConfig, ParaInclusion, Paras, ParasShared, System, Test, }, - paras::ParaGenesisArgs, + paras::{ParaGenesisArgs, ParaKind}, paras_inherent::DisputedBitfield, scheduler::AssignmentKind, }; @@ -51,18 +51,18 @@ fn default_config() -> HostConfiguration { config } -pub(crate) fn genesis_config(paras: Vec<(ParaId, bool)>) -> MockGenesisConfig { +pub(crate) fn genesis_config(paras: Vec<(ParaId, ParaKind)>) -> MockGenesisConfig { MockGenesisConfig { paras: paras::GenesisConfig { paras: paras .into_iter() - .map(|(id, is_chain)| { + .map(|(id, para_kind)| { ( id, ParaGenesisArgs { genesis_head: Vec::new().into(), validation_code: dummy_validation_code(), - parachain: is_chain, + para_kind, }, ) }) @@ -310,7 +310,11 @@ fn collect_pending_cleans_up_pending() { let chain_b = ParaId::from(2_u32); let thread_a = ParaId::from(3_u32); - let paras = vec![(chain_a, true), (chain_b, true), (thread_a, false)]; + let paras = vec![ + (chain_a, ParaKind::Parachain), + (chain_b, ParaKind::Parachain), + (thread_a, ParaKind::Parathread), + ]; new_test_ext(genesis_config(paras)).execute_with(|| { let default_candidate = TestCandidateBuilder::default().build(); >::insert( @@ -368,7 +372,11 @@ fn bitfield_checks() { let chain_b = ParaId::from(2_u32); let thread_a = ParaId::from(3_u32); - let paras = vec![(chain_a, true), (chain_b, true), (thread_a, false)]; + let paras = vec![ + (chain_a, ParaKind::Parachain), + (chain_b, ParaKind::Parachain), + (thread_a, ParaKind::Parathread), + ]; let validators = vec![ Sr25519Keyring::Alice, Sr25519Keyring::Bob, @@ -711,7 +719,11 @@ fn supermajority_bitfields_trigger_availability() { let chain_b = ParaId::from(2_u32); let thread_a = ParaId::from(3_u32); - let paras = vec![(chain_a, true), (chain_b, true), (thread_a, false)]; + let paras = vec![ + (chain_a, ParaKind::Parachain), + (chain_b, ParaKind::Parachain), + (thread_a, ParaKind::Parathread), + ]; let validators = vec![ Sr25519Keyring::Alice, Sr25519Keyring::Bob, @@ -899,7 +911,11 @@ fn candidate_checks() { // The block number of the relay-parent for testing. const RELAY_PARENT_NUM: BlockNumber = 4; - let paras = vec![(chain_a, true), (chain_b, true), (thread_a, false)]; + let paras = vec![ + (chain_a, ParaKind::Parachain), + (chain_b, ParaKind::Parachain), + (thread_a, ParaKind::Parathread), + ]; let validators = vec![ Sr25519Keyring::Alice, Sr25519Keyring::Bob, @@ -1442,7 +1458,11 @@ fn backing_works() { // The block number of the relay-parent for testing. const RELAY_PARENT_NUM: BlockNumber = 4; - let paras = vec![(chain_a, true), (chain_b, true), (thread_a, false)]; + let paras = vec![ + (chain_a, ParaKind::Parachain), + (chain_b, ParaKind::Parachain), + (thread_a, ParaKind::Parathread), + ]; let validators = vec![ Sr25519Keyring::Alice, Sr25519Keyring::Bob, @@ -1722,7 +1742,7 @@ fn can_include_candidate_with_ok_code_upgrade() { // The block number of the relay-parent for testing. const RELAY_PARENT_NUM: BlockNumber = 4; - let paras = vec![(chain_a, true)]; + let paras = vec![(chain_a, ParaKind::Parachain)]; let validators = vec![ Sr25519Keyring::Alice, Sr25519Keyring::Bob, @@ -1827,7 +1847,11 @@ fn session_change_wipes() { let chain_b = ParaId::from(2_u32); let thread_a = ParaId::from(3_u32); - let paras = vec![(chain_a, true), (chain_b, true), (thread_a, false)]; + let paras = vec![ + (chain_a, ParaKind::Parachain), + (chain_b, ParaKind::Parachain), + (thread_a, ParaKind::Parathread), + ]; let validators = vec![ Sr25519Keyring::Alice, Sr25519Keyring::Bob, diff --git a/runtime/parachains/src/initializer/tests.rs b/runtime/parachains/src/initializer/tests.rs index 7fdf8b6b4a57..d1d884200527 100644 --- a/runtime/parachains/src/initializer/tests.rs +++ b/runtime/parachains/src/initializer/tests.rs @@ -21,6 +21,7 @@ use crate::mock::{ use primitives::v2::{HeadData, Id as ParaId}; use test_helpers::dummy_validation_code; +use crate::paras::ParaKind; use frame_support::{ assert_ok, traits::{OnFinalize, OnInitialize}, @@ -90,7 +91,7 @@ fn scheduled_cleanup_performed() { let c = ParaId::from(123); let mock_genesis = crate::paras::ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: HeadData(vec![4, 5, 6]), validation_code: dummy_validation_code(), }; diff --git a/runtime/parachains/src/paras/benchmarking/pvf_check.rs b/runtime/parachains/src/paras/benchmarking/pvf_check.rs index a89315c2857b..e1400ac4297d 100644 --- a/runtime/parachains/src/paras/benchmarking/pvf_check.rs +++ b/runtime/parachains/src/paras/benchmarking/pvf_check.rs @@ -140,7 +140,7 @@ where &mut parachains, id, &ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: HeadData(vec![1, 2, 3, 4]), validation_code: old_validation_code, }, @@ -159,7 +159,7 @@ where let r = Pallet::::schedule_para_initialize( id, ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: HeadData(vec![1, 2, 3, 4]), validation_code: validation_code(), }, diff --git a/runtime/parachains/src/paras/mod.rs b/runtime/parachains/src/paras/mod.rs index 273db30e2839..3c5744b96546 100644 --- a/runtime/parachains/src/paras/mod.rs +++ b/runtime/parachains/src/paras/mod.rs @@ -115,7 +115,7 @@ use primitives::v2::{ ConsensusLog, HeadData, Id as ParaId, PvfCheckStatement, SessionIndex, UpgradeGoAhead, UpgradeRestriction, ValidationCode, ValidationCodeHash, ValidatorSignature, }; -use scale_info::TypeInfo; +use scale_info::{Type, TypeInfo}; use sp_core::RuntimeDebug; use sp_runtime::{ traits::{AppVerify, One, Saturating}, @@ -291,8 +291,76 @@ pub struct ParaGenesisArgs { pub genesis_head: HeadData, /// The initial validation code to use. pub validation_code: ValidationCode, - /// True if parachain, false if parathread. - pub parachain: bool, + /// Parachain or Parathread. + #[cfg_attr(feature = "std", serde(rename = "parachain"))] + pub para_kind: ParaKind, +} + +/// Distinguishes between Parachain and Parathread +#[derive(PartialEq, Eq, Clone, RuntimeDebug)] +pub enum ParaKind { + Parathread, + Parachain, +} + +#[cfg(feature = "std")] +impl Serialize for ParaKind { + fn serialize(&self, serializer: S) -> Result + where + S: serde::Serializer, + { + match self { + ParaKind::Parachain => serializer.serialize_bool(true), + ParaKind::Parathread => serializer.serialize_bool(false), + } + } +} + +#[cfg(feature = "std")] +impl<'de> Deserialize<'de> for ParaKind { + fn deserialize(deserializer: D) -> Result + where + D: serde::Deserializer<'de>, + { + match serde::de::Deserialize::deserialize(deserializer) { + Ok(true) => Ok(ParaKind::Parachain), + Ok(false) => Ok(ParaKind::Parathread), + _ => Err(serde::de::Error::custom("invalid ParaKind serde representation")), + } + } +} + +// Manual encoding, decoding, and TypeInfo as the parakind field in ParaGenesisArgs used to be a bool +impl Encode for ParaKind { + fn size_hint(&self) -> usize { + true.size_hint() + } + + fn using_encoded R>(&self, f: F) -> R { + match self { + ParaKind::Parachain => true.using_encoded(f), + ParaKind::Parathread => false.using_encoded(f), + } + } +} + +impl Decode for ParaKind { + fn decode( + input: &mut I, + ) -> Result { + match bool::decode(input) { + Ok(true) => Ok(ParaKind::Parachain), + Ok(false) => Ok(ParaKind::Parathread), + _ => Err("Invalid ParaKind representation".into()), + } + } +} + +impl TypeInfo for ParaKind { + type Identity = bool; + fn type_info() -> Type { + bool::type_info() + } } /// This enum describes a reason why a particular PVF pre-checking vote was initiated. When the @@ -2021,11 +2089,12 @@ impl Pallet { id: ParaId, genesis_data: &ParaGenesisArgs, ) { - if genesis_data.parachain { - parachains.add(id); - ParaLifecycles::::insert(&id, ParaLifecycle::Parachain); - } else { - ParaLifecycles::::insert(&id, ParaLifecycle::Parathread); + match genesis_data.para_kind { + ParaKind::Parachain => { + parachains.add(id); + ParaLifecycles::::insert(&id, ParaLifecycle::Parachain); + }, + ParaKind::Parathread => ParaLifecycles::::insert(&id, ParaLifecycle::Parathread), } // HACK: see the notice in `schedule_para_initialize`. diff --git a/runtime/parachains/src/paras/tests.rs b/runtime/parachains/src/paras/tests.rs index 766fa00d01b3..f110e2a0d38a 100644 --- a/runtime/parachains/src/paras/tests.rs +++ b/runtime/parachains/src/paras/tests.rs @@ -222,7 +222,7 @@ fn schedule_para_init_rejects_empty_code() { Paras::schedule_para_initialize( 1000.into(), ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: dummy_head_data(), validation_code: ValidationCode(vec![]), } @@ -233,7 +233,7 @@ fn schedule_para_init_rejects_empty_code() { assert_ok!(Paras::schedule_para_initialize( 1000.into(), ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: dummy_head_data(), validation_code: ValidationCode(vec![1]), } @@ -248,7 +248,7 @@ fn para_past_code_pruning_in_initialize() { ( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: dummy_validation_code(), }, @@ -256,7 +256,7 @@ fn para_past_code_pruning_in_initialize() { ( 1u32.into(), ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: dummy_head_data(), validation_code: dummy_validation_code(), }, @@ -316,7 +316,7 @@ fn note_new_head_sets_head() { let paras = vec![( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: dummy_validation_code(), }, @@ -349,7 +349,7 @@ fn note_past_code_sets_up_pruning_correctly() { ( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: dummy_validation_code(), }, @@ -357,7 +357,7 @@ fn note_past_code_sets_up_pruning_correctly() { ( 1u32.into(), ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: dummy_head_data(), validation_code: dummy_validation_code(), }, @@ -402,7 +402,7 @@ fn code_upgrade_applied_after_delay() { let paras = vec![( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: original_code.clone(), }, @@ -505,7 +505,7 @@ fn code_upgrade_applied_after_delay_even_when_late() { let paras = vec![( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: original_code.clone(), }, @@ -590,7 +590,7 @@ fn submit_code_change_when_not_allowed_is_err() { let paras = vec![( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: vec![1, 2, 3].into(), }, @@ -658,7 +658,7 @@ fn upgrade_restriction_elapsed_doesnt_mean_can_upgrade() { let paras = vec![( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: vec![1, 2, 3].into(), }, @@ -721,7 +721,7 @@ fn full_parachain_cleanup_storage() { let paras = vec![( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: original_code.clone(), }, @@ -827,7 +827,7 @@ fn cannot_offboard_ongoing_pvf_check() { let paras = vec![( para_id, ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: Default::default(), validation_code: existing_code, }, @@ -900,7 +900,7 @@ fn para_incoming_at_session() { assert_ok!(Paras::schedule_para_initialize( b, ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: vec![1].into(), validation_code: code_b.clone(), }, @@ -909,7 +909,7 @@ fn para_incoming_at_session() { assert_ok!(Paras::schedule_para_initialize( a, ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: vec![2].into(), validation_code: code_a.clone(), }, @@ -918,7 +918,7 @@ fn para_incoming_at_session() { assert_ok!(Paras::schedule_para_initialize( c, ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: vec![3].into(), validation_code: code_c.clone(), }, @@ -994,7 +994,7 @@ fn code_hash_at_returns_up_to_end_of_code_retention_period() { let paras = vec![( 0u32.into(), ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: dummy_head_data(), validation_code: vec![1, 2, 3].into(), }, @@ -1084,7 +1084,7 @@ fn pvf_check_coalescing_onboarding_and_upgrade() { let paras = vec![( a, ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: Default::default(), validation_code: existing_code, }, @@ -1117,7 +1117,7 @@ fn pvf_check_coalescing_onboarding_and_upgrade() { assert_ok!(Paras::schedule_para_initialize( b, ParaGenesisArgs { - parachain: true, + para_kind: ParaKind::Parachain, genesis_head: vec![2].into(), validation_code: validation_code.clone(), }, @@ -1185,7 +1185,7 @@ fn pvf_check_onboarding_reject_on_expiry() { assert_ok!(Paras::schedule_para_initialize( a, ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: vec![2].into(), validation_code: validation_code.clone(), }, @@ -1224,7 +1224,7 @@ fn pvf_check_upgrade_reject() { let paras = vec![( a, ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: Default::default(), validation_code: old_code, }, @@ -1359,7 +1359,7 @@ fn pvf_check_submit_vote() { assert_ok!(Paras::schedule_para_initialize( 1000.into(), ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: vec![2].into(), validation_code: code_a.clone(), }, @@ -1446,7 +1446,7 @@ fn include_pvf_check_statement_refunds_weight() { let paras = vec![( a, ParaGenesisArgs { - parachain: false, + para_kind: ParaKind::Parathread, genesis_head: Default::default(), validation_code: old_code, }, @@ -1723,3 +1723,41 @@ fn verify_upgrade_restriction_signal_is_externally_accessible() { ); }); } + +#[test] +fn parakind_encodes_decodes_to_bool_scale() { + let chain_kind = ParaKind::Parachain.encode(); + let chain_bool = true.encode(); + assert_eq!(chain_kind, chain_bool); + + let chain_dec = ParaKind::decode(&mut chain_kind.as_slice()); + assert_eq!(chain_dec, Ok(ParaKind::Parachain)); + + let thread_kind = ParaKind::Parathread.encode(); + let thread_bool = false.encode(); + assert_eq!(thread_kind, thread_bool); + + let thread_dec = ParaKind::decode(&mut thread_kind.as_slice()); + assert_eq!(thread_dec, Ok(ParaKind::Parathread)); + + assert_eq!(bool::type_info(), ParaKind::type_info()); +} + +#[test] +fn parakind_encodes_decodes_to_bool_serde() { + let chain = ParaKind::Parachain; + let ser_chain = serde_json::to_string(&ParaKind::Parachain).unwrap(); + let de_chain: ParaKind = serde_json::from_str(&ser_chain).unwrap(); + assert_eq!(chain, de_chain); + + let ser_true = serde_json::to_string(&true).unwrap(); + assert_eq!(ser_true, ser_chain); + + let thread = ParaKind::Parathread; + let ser_thread = serde_json::to_string(&thread).unwrap(); + let de_thread: ParaKind = serde_json::from_str(&ser_thread).unwrap(); + assert_eq!(thread, de_thread); + + let ser_false = serde_json::to_string(&false).unwrap(); + assert_eq!(ser_false, ser_thread); +} diff --git a/runtime/parachains/src/scheduler/tests.rs b/runtime/parachains/src/scheduler/tests.rs index b2b5e4236dd5..40ff9db82871 100644 --- a/runtime/parachains/src/scheduler/tests.rs +++ b/runtime/parachains/src/scheduler/tests.rs @@ -26,16 +26,16 @@ use crate::{ mock::{ new_test_ext, Configuration, MockGenesisConfig, Paras, ParasShared, Scheduler, System, Test, }, - paras::ParaGenesisArgs, + paras::{ParaGenesisArgs, ParaKind}, }; -fn schedule_blank_para(id: ParaId, is_chain: bool) { +fn schedule_blank_para(id: ParaId, parakind: ParaKind) { assert_ok!(Paras::schedule_para_initialize( id, ParaGenesisArgs { genesis_head: Vec::new().into(), validation_code: vec![1, 2, 3].into(), - parachain: is_chain, + para_kind: parakind, } )); } @@ -122,7 +122,7 @@ fn add_parathread_claim_works() { let collator = CollatorId::from(Sr25519Keyring::Alice.public()); new_test_ext(genesis_config).execute_with(|| { - schedule_blank_para(thread_id, false); + schedule_blank_para(thread_id, ParaKind::Parathread); assert!(!Paras::is_parathread(thread_id)); @@ -203,7 +203,7 @@ fn cannot_add_claim_when_no_parathread_cores() { let collator = CollatorId::from(Sr25519Keyring::Alice.public()); new_test_ext(genesis_config).execute_with(|| { - schedule_blank_para(thread_id, false); + schedule_blank_para(thread_id, ParaKind::Parathread); assert!(!Paras::is_parathread(thread_id)); @@ -239,9 +239,9 @@ fn session_change_prunes_cores_beyond_retries_and_those_from_non_live_parathread // threads a, b, and c will be live in next session, but not d. { - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); - schedule_blank_para(thread_c, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); + schedule_blank_para(thread_c, ParaKind::Parathread); } // set up a queue as if `n_cores` was 4 and with some with many retries. @@ -334,8 +334,8 @@ fn session_change_shuffles_validators() { let chain_b = ParaId::from(2_u32); // ensure that we have 5 groups by registering 2 parachains. - schedule_blank_para(chain_a, true); - schedule_blank_para(chain_b, true); + schedule_blank_para(chain_a, ParaKind::Parachain); + schedule_blank_para(chain_b, ParaKind::Parachain); run_to_block(1, |number| match number { 1 => Some(SessionChangeNotification { @@ -392,9 +392,9 @@ fn session_change_takes_only_max_per_core() { let chain_c = ParaId::from(3_u32); // ensure that we have 5 groups by registering 2 parachains. - schedule_blank_para(chain_a, true); - schedule_blank_para(chain_b, true); - schedule_blank_para(chain_c, false); + schedule_blank_para(chain_a, ParaKind::Parachain); + schedule_blank_para(chain_b, ParaKind::Parachain); + schedule_blank_para(chain_c, ParaKind::Parathread); run_to_block(1, |number| match number { 1 => Some(SessionChangeNotification { @@ -447,13 +447,13 @@ fn schedule_schedules() { assert_eq!(default_config().parathread_cores, 3); // register 2 parachains - schedule_blank_para(chain_a, true); - schedule_blank_para(chain_b, true); + schedule_blank_para(chain_a, ParaKind::Parachain); + schedule_blank_para(chain_b, ParaKind::Parachain); // and 3 parathreads - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); - schedule_blank_para(thread_c, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); + schedule_blank_para(thread_c, ParaKind::Parathread); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -574,15 +574,15 @@ fn schedule_schedules_including_just_freed() { assert_eq!(default_config().parathread_cores, 3); // register 2 parachains - schedule_blank_para(chain_a, true); - schedule_blank_para(chain_b, true); + schedule_blank_para(chain_a, ParaKind::Parachain); + schedule_blank_para(chain_b, ParaKind::Parachain); // and 5 parathreads - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); - schedule_blank_para(thread_c, false); - schedule_blank_para(thread_d, false); - schedule_blank_para(thread_e, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); + schedule_blank_para(thread_c, ParaKind::Parathread); + schedule_blank_para(thread_d, ParaKind::Parathread); + schedule_blank_para(thread_e, ParaKind::Parathread); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -743,9 +743,9 @@ fn schedule_clears_availability_cores() { assert_eq!(default_config().parathread_cores, 3); // register 3 parachains - schedule_blank_para(chain_a, true); - schedule_blank_para(chain_b, true); - schedule_blank_para(chain_c, true); + schedule_blank_para(chain_a, ParaKind::Parachain); + schedule_blank_para(chain_b, ParaKind::Parachain); + schedule_blank_para(chain_c, ParaKind::Parachain); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -849,8 +849,8 @@ fn schedule_rotates_groups() { new_test_ext(genesis_config).execute_with(|| { assert_eq!(default_config().parathread_cores, 3); - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -921,8 +921,8 @@ fn parathread_claims_are_pruned_after_retries() { new_test_ext(genesis_config).execute_with(|| { assert_eq!(default_config().parathread_cores, 3); - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -978,8 +978,8 @@ fn availability_predicate_works() { let thread_a = ParaId::from(2_u32); new_test_ext(genesis_config).execute_with(|| { - schedule_blank_para(chain_a, true); - schedule_blank_para(thread_a, false); + schedule_blank_para(chain_a, ParaKind::Parachain); + schedule_blank_para(thread_a, ParaKind::Parathread); // start a new session with our chain & thread registered. run_to_block(1, |number| match number { @@ -1075,8 +1075,8 @@ fn next_up_on_available_uses_next_scheduled_or_none_for_thread() { let collator = CollatorId::from(Sr25519Keyring::Alice.public()); new_test_ext(genesis_config).execute_with(|| { - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -1147,8 +1147,8 @@ fn next_up_on_time_out_reuses_claim_if_nothing_queued() { let collator = CollatorId::from(Sr25519Keyring::Alice.public()); new_test_ext(genesis_config).execute_with(|| { - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -1222,7 +1222,7 @@ fn next_up_on_available_is_parachain_always() { let chain_a = ParaId::from(1_u32); new_test_ext(genesis_config).execute_with(|| { - schedule_blank_para(chain_a, true); + schedule_blank_para(chain_a, ParaKind::Parachain); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -1276,7 +1276,7 @@ fn next_up_on_time_out_is_parachain_always() { let chain_a = ParaId::from(1_u32); new_test_ext(genesis_config).execute_with(|| { - schedule_blank_para(chain_a, true); + schedule_blank_para(chain_a, ParaKind::Parachain); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { @@ -1330,8 +1330,8 @@ fn session_change_requires_reschedule_dropping_removed_paras() { let chain_b = ParaId::from(2_u32); // ensure that we have 5 groups by registering 2 parachains. - schedule_blank_para(chain_a, true); - schedule_blank_para(chain_b, true); + schedule_blank_para(chain_a, ParaKind::Parachain); + schedule_blank_para(chain_b, ParaKind::Parachain); run_to_block(1, |number| match number { 1 => Some(SessionChangeNotification { @@ -1409,8 +1409,8 @@ fn parathread_claims_are_pruned_after_deregistration() { new_test_ext(genesis_config).execute_with(|| { assert_eq!(default_config().parathread_cores, 3); - schedule_blank_para(thread_a, false); - schedule_blank_para(thread_b, false); + schedule_blank_para(thread_a, ParaKind::Parathread); + schedule_blank_para(thread_b, ParaKind::Parathread); // start a new session to activate, 5 validators for 5 cores. run_to_block(1, |number| match number { From d6fad72d620e63f34935c16a49c91fb5fc7d0d4c Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Wed, 2 Nov 2022 23:59:27 +0100 Subject: [PATCH 086/211] BlockId removal: refactor: Backend::justifications (#6229) * BlockId removal: refactor: Backend::justifications It changes the arguments of `Backend::justifications` method from: `BlockId` to: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * formatting * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 360 ++++++++++++++++++++--------------------- node/client/src/lib.rs | 7 +- 2 files changed, 185 insertions(+), 182 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e3a07d8afeae..1c9b6afb43b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -2036,7 +2036,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", ] @@ -2060,7 +2060,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -2083,7 +2083,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "Inflector", "array-bytes", @@ -2134,7 +2134,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "bitflags", "frame-metadata", @@ -2222,7 +2222,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "Inflector", "cfg-expr", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro2", "quote", @@ -2258,7 +2258,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -2292,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "log", @@ -2310,7 +2310,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -2325,7 +2325,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "sp-api", @@ -2334,7 +2334,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "parity-scale-codec", @@ -2505,7 +2505,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "chrono", "frame-election-provider-support", @@ -4678,7 +4678,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4692,7 +4692,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -4708,7 +4708,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4747,7 +4747,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4767,7 +4767,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4801,7 +4801,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "beefy-primitives", "frame-support", @@ -4817,7 +4817,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4840,7 +4840,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4858,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4877,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4894,7 +4894,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4966,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4984,7 +4984,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5002,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5017,7 +5017,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5040,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5056,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5076,7 +5076,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5110,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5128,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5143,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5159,7 +5159,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5196,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "sp-api", @@ -5206,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5246,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5278,7 +5278,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5311,7 +5311,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5345,7 +5345,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -5366,7 +5366,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5382,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -5396,7 +5396,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5419,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "sp-arithmetic", @@ -5439,7 +5439,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -5453,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5471,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5490,7 +5490,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-support", "frame-system", @@ -5506,7 +5506,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5521,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5532,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5549,7 +5549,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5565,7 +5565,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5580,7 +5580,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-benchmarking", "frame-support", @@ -8055,7 +8055,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "env_logger 0.9.0", "log", @@ -8394,7 +8394,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "sp-core", @@ -8405,7 +8405,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures", @@ -8432,7 +8432,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "futures-timer", @@ -8455,7 +8455,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8471,7 +8471,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8488,7 +8488,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8499,7 +8499,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "chrono", @@ -8539,7 +8539,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "fnv", "futures", @@ -8567,7 +8567,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "hash-db", "kvdb", @@ -8592,7 +8592,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures", @@ -8616,7 +8616,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "fork-tree", @@ -8658,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "jsonrpsee", @@ -8680,7 +8680,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8744,7 +8744,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "environmental", "parity-scale-codec", @@ -8760,7 +8760,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "parity-scale-codec", @@ -8775,7 +8775,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8795,7 +8795,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "ahash", "array-bytes", @@ -8836,7 +8836,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "finality-grandpa", "futures", @@ -8857,7 +8857,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "ansi_term", "futures", @@ -8874,7 +8874,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "async-trait", @@ -8889,7 +8889,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "async-trait", @@ -8936,7 +8936,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "cid", "futures", @@ -8956,7 +8956,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "bitflags", @@ -8982,7 +8982,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "ahash", "futures", @@ -9000,7 +9000,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "futures", @@ -9021,7 +9021,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "fork-tree", @@ -9051,7 +9051,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "futures", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "bytes", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "libp2p", @@ -9113,7 +9113,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9122,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "hash-db", @@ -9152,7 +9152,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "jsonrpsee", @@ -9175,7 +9175,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "jsonrpsee", @@ -9188,7 +9188,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "hex", @@ -9207,7 +9207,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "directories", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "parity-scale-codec", @@ -9292,7 +9292,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9311,7 +9311,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "libc", @@ -9330,7 +9330,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "chrono", "futures", @@ -9348,7 +9348,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "ansi_term", "atty", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9390,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures", @@ -9417,7 +9417,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures", @@ -9431,7 +9431,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "futures-timer", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "hash-db", "log", @@ -9929,7 +9929,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "blake2", "proc-macro-crate", @@ -9941,7 +9941,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -9954,7 +9954,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "integer-sqrt", "num-traits", @@ -9969,7 +9969,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -9982,7 +9982,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "parity-scale-codec", @@ -9994,7 +9994,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "sp-api", @@ -10006,7 +10006,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "log", @@ -10024,7 +10024,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures", @@ -10043,7 +10043,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "merlin", @@ -10066,7 +10066,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10080,7 +10080,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10093,7 +10093,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "base58", @@ -10139,7 +10139,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "blake2", "byteorder", @@ -10153,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro2", "quote", @@ -10164,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10173,7 +10173,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro2", "quote", @@ -10183,7 +10183,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "environmental", "parity-scale-codec", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "finality-grandpa", "log", @@ -10212,7 +10212,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10226,7 +10226,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "bytes", "futures", @@ -10252,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "lazy_static", "sp-core", @@ -10263,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "thiserror", "zstd", @@ -10289,7 +10289,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "parity-scale-codec", @@ -10305,7 +10305,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10319,7 +10319,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "sp-api", "sp-core", @@ -10329,7 +10329,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "backtrace", "lazy_static", @@ -10339,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "rustc-hash", "serde", @@ -10349,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "either", "hash256-std-hasher", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10390,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "Inflector", "proc-macro-crate", @@ -10402,7 +10402,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "parity-scale-codec", @@ -10416,7 +10416,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10430,7 +10430,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10441,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "hash-db", "log", @@ -10463,12 +10463,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10481,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "log", "sp-core", @@ -10494,7 +10494,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "futures-timer", @@ -10510,7 +10510,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "sp-std", @@ -10522,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "sp-api", "sp-runtime", @@ -10531,7 +10531,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "log", @@ -10547,7 +10547,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "ahash", "hash-db", @@ -10570,7 +10570,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10587,7 +10587,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10598,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "impl-trait-for-tuples", "log", @@ -10611,7 +10611,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10826,7 +10826,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "platforms", ] @@ -10834,7 +10834,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10855,7 +10855,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures-util", "hyper", @@ -10868,7 +10868,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "async-trait", "jsonrpsee", @@ -10881,7 +10881,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "jsonrpsee", "log", @@ -10902,7 +10902,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "array-bytes", "async-trait", @@ -10928,7 +10928,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10938,7 +10938,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10949,7 +10949,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "ansi_term", "build-helper", @@ -11656,7 +11656,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ea71267aeb2b627d7a65a16ea6c12d1923d5564a" +source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index b52048ba6d78..492589a91bdf 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -358,12 +358,15 @@ impl sc_client_api::BlockBackend for Client { } } - fn justifications(&self, id: &BlockId) -> sp_blockchain::Result> { + fn justifications( + &self, + hash: &::Hash, + ) -> sp_blockchain::Result> { with_client! { self, client, { - client.justifications(id) + client.justifications(hash) } } } From 183e25a7083d8fcd4fa96bf94e8969f8956ce890 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Thu, 3 Nov 2022 20:32:32 +0100 Subject: [PATCH 087/211] BlockId removal: refactor: Backend::block_indexed_body (#6233) * BlockId removal: refactor: Backend::block_indexed_body It changes the arguments of `Backend::block_indexed_body` method from: `BlockId` to: `&Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 360 ++++++++++++++++++++--------------------- node/client/src/lib.rs | 2 +- 2 files changed, 181 insertions(+), 181 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1c9b6afb43b9..75e9e49e8ef8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -2036,7 +2036,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", ] @@ -2060,7 +2060,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -2083,7 +2083,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "Inflector", "array-bytes", @@ -2134,7 +2134,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2161,7 +2161,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "bitflags", "frame-metadata", @@ -2222,7 +2222,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "Inflector", "cfg-expr", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2248,7 +2248,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro2", "quote", @@ -2258,7 +2258,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2281,7 +2281,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -2292,7 +2292,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "log", @@ -2310,7 +2310,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -2325,7 +2325,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "sp-api", @@ -2334,7 +2334,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "parity-scale-codec", @@ -2505,7 +2505,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "chrono", "frame-election-provider-support", @@ -4678,7 +4678,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4692,7 +4692,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -4708,7 +4708,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -4723,7 +4723,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4747,7 +4747,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4767,7 +4767,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4801,7 +4801,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "beefy-primitives", "frame-support", @@ -4817,7 +4817,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4840,7 +4840,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4858,7 +4858,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4877,7 +4877,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4894,7 +4894,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4966,7 +4966,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -4984,7 +4984,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5002,7 +5002,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5017,7 +5017,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5040,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5056,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5076,7 +5076,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5110,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5128,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5143,7 +5143,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5159,7 +5159,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5196,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "sp-api", @@ -5206,7 +5206,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5246,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5278,7 +5278,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5311,7 +5311,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5345,7 +5345,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -5366,7 +5366,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5382,7 +5382,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -5396,7 +5396,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5419,7 +5419,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "sp-arithmetic", @@ -5439,7 +5439,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -5453,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5471,7 +5471,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5490,7 +5490,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-support", "frame-system", @@ -5506,7 +5506,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5521,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5532,7 +5532,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5549,7 +5549,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5565,7 +5565,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -5580,7 +5580,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-benchmarking", "frame-support", @@ -8055,7 +8055,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "env_logger 0.9.0", "log", @@ -8394,7 +8394,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "sp-core", @@ -8405,7 +8405,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures", @@ -8432,7 +8432,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "futures-timer", @@ -8455,7 +8455,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8471,7 +8471,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8488,7 +8488,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8499,7 +8499,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "chrono", @@ -8539,7 +8539,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "fnv", "futures", @@ -8567,7 +8567,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "hash-db", "kvdb", @@ -8592,7 +8592,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures", @@ -8616,7 +8616,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "fork-tree", @@ -8658,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "jsonrpsee", @@ -8680,7 +8680,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8744,7 +8744,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "environmental", "parity-scale-codec", @@ -8760,7 +8760,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "parity-scale-codec", @@ -8775,7 +8775,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8795,7 +8795,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "ahash", "array-bytes", @@ -8836,7 +8836,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "finality-grandpa", "futures", @@ -8857,7 +8857,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "ansi_term", "futures", @@ -8874,7 +8874,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "async-trait", @@ -8889,7 +8889,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "async-trait", @@ -8936,7 +8936,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "cid", "futures", @@ -8956,7 +8956,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "bitflags", @@ -8982,7 +8982,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "ahash", "futures", @@ -9000,7 +9000,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "futures", @@ -9021,7 +9021,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "fork-tree", @@ -9051,7 +9051,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "futures", @@ -9070,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "bytes", @@ -9100,7 +9100,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "libp2p", @@ -9113,7 +9113,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9122,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "hash-db", @@ -9152,7 +9152,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "jsonrpsee", @@ -9175,7 +9175,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "jsonrpsee", @@ -9188,7 +9188,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "hex", @@ -9207,7 +9207,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "directories", @@ -9278,7 +9278,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "parity-scale-codec", @@ -9292,7 +9292,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9311,7 +9311,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "libc", @@ -9330,7 +9330,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "chrono", "futures", @@ -9348,7 +9348,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "ansi_term", "atty", @@ -9379,7 +9379,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9390,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures", @@ -9417,7 +9417,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures", @@ -9431,7 +9431,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "futures-timer", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "hash-db", "log", @@ -9929,7 +9929,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "blake2", "proc-macro-crate", @@ -9941,7 +9941,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -9954,7 +9954,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "integer-sqrt", "num-traits", @@ -9969,7 +9969,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -9982,7 +9982,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "parity-scale-codec", @@ -9994,7 +9994,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "sp-api", @@ -10006,7 +10006,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "log", @@ -10024,7 +10024,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures", @@ -10043,7 +10043,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "merlin", @@ -10066,7 +10066,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -10080,7 +10080,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -10093,7 +10093,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "base58", @@ -10139,7 +10139,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "blake2", "byteorder", @@ -10153,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro2", "quote", @@ -10164,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10173,7 +10173,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro2", "quote", @@ -10183,7 +10183,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "environmental", "parity-scale-codec", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "finality-grandpa", "log", @@ -10212,7 +10212,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10226,7 +10226,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "bytes", "futures", @@ -10252,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "lazy_static", "sp-core", @@ -10263,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "thiserror", "zstd", @@ -10289,7 +10289,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "parity-scale-codec", @@ -10305,7 +10305,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -10319,7 +10319,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "sp-api", "sp-core", @@ -10329,7 +10329,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "backtrace", "lazy_static", @@ -10339,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "rustc-hash", "serde", @@ -10349,7 +10349,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "either", "hash256-std-hasher", @@ -10372,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10390,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "Inflector", "proc-macro-crate", @@ -10402,7 +10402,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "parity-scale-codec", @@ -10416,7 +10416,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -10430,7 +10430,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "scale-info", @@ -10441,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "hash-db", "log", @@ -10463,12 +10463,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10481,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "log", "sp-core", @@ -10494,7 +10494,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "futures-timer", @@ -10510,7 +10510,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "sp-std", @@ -10522,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "sp-api", "sp-runtime", @@ -10531,7 +10531,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "log", @@ -10547,7 +10547,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "ahash", "hash-db", @@ -10570,7 +10570,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10587,7 +10587,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10598,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "impl-trait-for-tuples", "log", @@ -10611,7 +10611,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10826,7 +10826,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "platforms", ] @@ -10834,7 +10834,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10855,7 +10855,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures-util", "hyper", @@ -10868,7 +10868,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "async-trait", "jsonrpsee", @@ -10881,7 +10881,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "jsonrpsee", "log", @@ -10902,7 +10902,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "array-bytes", "async-trait", @@ -10928,7 +10928,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10938,7 +10938,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10949,7 +10949,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "ansi_term", "build-helper", @@ -11656,7 +11656,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#1f17288074b389091c4242c54be8b8a7fdc4b39b" +source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index 492589a91bdf..ae5d6b4d05db 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -399,7 +399,7 @@ impl sc_client_api::BlockBackend for Client { fn block_indexed_body( &self, - id: &BlockId, + id: &::Hash, ) -> sp_blockchain::Result>>> { with_client! { self, From d803489f31d66d139fbab5ad65be12886ffc6337 Mon Sep 17 00:00:00 2001 From: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Date: Thu, 3 Nov 2022 23:49:04 +0100 Subject: [PATCH 088/211] Xcm-Simulator Docs (#6178) * Xcm-Simulator Docs * spelling * examples * better docs Co-authored-by: parity-processbot <> --- xcm/xcm-simulator/src/lib.rs | 55 +++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 4 deletions(-) diff --git a/xcm/xcm-simulator/src/lib.rs b/xcm/xcm-simulator/src/lib.rs index 69a8e088a0da..a8d602037cd5 100644 --- a/xcm/xcm-simulator/src/lib.rs +++ b/xcm/xcm-simulator/src/lib.rs @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -//! Test kit to simulate cross-chain message passing and XCM execution +//! Test kit to simulate cross-chain message passing and XCM execution. pub use codec::Encode; pub use paste; @@ -62,6 +62,7 @@ pub enum MessageKind { Xcmp, } +/// Encodes the provided XCM message based on the `message_kind`. pub fn encode_xcm(message: Xcm<()>, message_kind: MessageKind) -> Vec { match message_kind { MessageKind::Ump | MessageKind::Dmp => VersionedXcm::<()>::from(message).encode(), @@ -76,6 +77,19 @@ pub fn encode_xcm(message: Xcm<()>, message_kind: MessageKind) -> Vec { } } +/// The macro is implementing upward message passing(UMP) for the provided relay +/// chain struct. The struct has to provide the XCM configuration for the relay +/// chain. +/// +/// ```ignore +/// decl_test_relay_chain! { +/// pub struct Relay { +/// Runtime = relay_chain::Runtime, +/// XcmConfig = relay_chain::XcmConfig, +/// new_ext = relay_ext(), +/// } +/// } +/// ``` #[macro_export] #[rustfmt::skip] macro_rules! decl_test_relay_chain { @@ -108,6 +122,21 @@ macro_rules! decl_test_relay_chain { }; } +/// The macro is implementing the `XcmMessageHandlerT` and `DmpMessageHandlerT` +/// traits for the provided parachain struct. Expects the provided parachain +/// struct to define the XcmpMessageHandler and DmpMessageHandler pallets that +/// contain the message handling logic. +/// +/// ```ignore +/// decl_test_parachain! { +/// pub struct ParaA { +/// Runtime = parachain::Runtime, +/// XcmpMessageHandler = parachain::MsgQueue, +/// DmpMessageHandler = parachain::MsgQueue, +/// new_ext = para_ext(), +/// } +/// } +/// ``` #[macro_export] macro_rules! decl_test_parachain { ( @@ -153,6 +182,7 @@ macro_rules! decl_test_parachain { }; } +/// Implements the `TestExt` trait for a specified struct. #[macro_export] macro_rules! __impl_ext { // entry point: generate ext name @@ -202,6 +232,23 @@ thread_local! { = RefCell::new(VecDeque::new()); } +/// Declares a test network that consists of a relay chain and multiple +/// parachains. Expects a network struct as an argument and implements testing +/// functionality, `ParachainXcmRouter` and the `RelayChainXcmRouter`. The +/// struct needs to contain the relay chain struct and an indexed list of +/// parachains that are going to be in the network. +/// +/// ```ignore +/// decl_test_network! { +/// pub struct ExampleNet { +/// relay_chain = Relay, +/// parachains = vec![ +/// (1, ParaA), +/// (2, ParaB), +/// ], +/// } +/// } +/// ``` #[macro_export] macro_rules! decl_test_network { ( @@ -215,16 +262,16 @@ macro_rules! decl_test_network { impl $name { pub fn reset() { use $crate::{TestExt, VecDeque}; - // Reset relay chain message bus + // Reset relay chain message bus. $crate::RELAY_MESSAGE_BUS.with(|b| b.replace(VecDeque::new())); - // Reset parachain message bus + // Reset parachain message bus. $crate::PARA_MESSAGE_BUS.with(|b| b.replace(VecDeque::new())); <$relay_chain>::reset_ext(); $( <$parachain>::reset_ext(); )* } } - /// Check if any messages exist in either message bus + /// Check if any messages exist in either message bus. fn exists_messages_in_any_bus() -> bool { use $crate::{RELAY_MESSAGE_BUS, PARA_MESSAGE_BUS}; let no_relay_messages_left = RELAY_MESSAGE_BUS.with(|b| b.borrow().is_empty()); From 0f0807a50ee029cba157dc865c8537e96c8e3aae Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 4 Nov 2022 03:07:23 -0400 Subject: [PATCH 089/211] Add stake.plus bootnodes for westend, kusama, polkadot (#6224) * add stake.plus bootnodes * add stake.plus bootnodes for westend, kusama and polkadot Co-authored-by: senseless Co-authored-by: parity-processbot <> --- node/service/chain-specs/kusama.json | 4 +++- node/service/chain-specs/polkadot.json | 4 +++- node/service/chain-specs/westend.json | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/node/service/chain-specs/kusama.json b/node/service/chain-specs/kusama.json index ec1b8aa0503a..5d369a723dfb 100644 --- a/node/service/chain-specs/kusama.json +++ b/node/service/chain-specs/kusama.json @@ -19,7 +19,9 @@ "/dns/kusama-bootnode-0.paritytech.net/tcp/30333/p2p/12D3KooWSueCPH3puP2PcvqPJdNaDNF3jMZjtJtDiSy35pWrbt5h", "/dns/kusama-bootnode-0.paritytech.net/tcp/30334/ws/p2p/12D3KooWSueCPH3puP2PcvqPJdNaDNF3jMZjtJtDiSy35pWrbt5h", "/dns/kusama-bootnode-1.paritytech.net/tcp/30333/p2p/12D3KooWQKqane1SqWJNWMQkbia9qiMWXkcHtAdfW5eVF8hbwEDw", - "/dns/kusama-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWFj2ndawdYyk2spc42Y2arYwb2TUoHLHFAsKuHRzWXwoJ" + "/dns/kusama-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWFj2ndawdYyk2spc42Y2arYwb2TUoHLHFAsKuHRzWXwoJ", + "/dns/boot.stake.plus/tcp/31333/p2p/12D3KooWLa1UyG5xLPds2GbiRBCTJjpsVwRWHWN7Dff14yiNJRpR", + "/dns/boot.stake.plus/tcp/31334/wss/p2p/12D3KooWLa1UyG5xLPds2GbiRBCTJjpsVwRWHWN7Dff14yiNJRpR" ], "telemetryEndpoints": [ [ diff --git a/node/service/chain-specs/polkadot.json b/node/service/chain-specs/polkadot.json index af4d42301c70..1a5ef94987de 100644 --- a/node/service/chain-specs/polkadot.json +++ b/node/service/chain-specs/polkadot.json @@ -19,7 +19,9 @@ "/dns/p2p.5.polkadot.network/tcp/30333/p2p/12D3KooWSRjL9LcEQd5u2fQTbyLxTEHq1tUFgQ6amXSp8Eu7TfKP", "/dns/cc1-0.parity.tech/tcp/30333/p2p/12D3KooWSz8r2WyCdsfWHgPyvD8GKQdJ1UAiRmrcrs8sQB3fe2KU", "/dns/cc1-1.parity.tech/tcp/30333/p2p/12D3KooWFN2mhgpkJsDBuNuE5427AcDrsib8EoqGMZmkxWwx3Md4", - "/dns/polkadot-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ" + "/dns/polkadot-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ", + "/dns/boot.stake.plus/tcp/30333/p2p/12D3KooWKT4ZHNxXH4icMjdrv7EwWBkfbz5duxE5sdJKKeWFYi5n", + "/dns/boot.stake.plus/tcp/30334/wss/p2p/12D3KooWKT4ZHNxXH4icMjdrv7EwWBkfbz5duxE5sdJKKeWFYi5n" ], "telemetryEndpoints": [ [ diff --git a/node/service/chain-specs/westend.json b/node/service/chain-specs/westend.json index c183622d66c9..03f1f5ecf6b0 100644 --- a/node/service/chain-specs/westend.json +++ b/node/service/chain-specs/westend.json @@ -11,7 +11,9 @@ "/dns/3.westend.paritytech.net/tcp/30333/p2p/12D3KooWGi1tCpKXLMYED9y28QXLnwgD4neYb1Arqq4QpeV1Sv3K", "/dns/3.westend.paritytech.net/tcp/30334/ws/p2p/12D3KooWGi1tCpKXLMYED9y28QXLnwgD4neYb1Arqq4QpeV1Sv3K", "/dns/westend-connect-0.polkadot.io/tcp/443/wss/p2p/12D3KooWNg8iUqhux7X7voNU9Nty5pzehrFJwkQwg1CJnqN3CTzE", - "/dns/westend-connect-1.polkadot.io/tcp/443/wss/p2p/12D3KooWAq2A7UNFS6725XFatD5QW7iYBezTLdAUx1SmRkxN79Ne" + "/dns/westend-connect-1.polkadot.io/tcp/443/wss/p2p/12D3KooWAq2A7UNFS6725XFatD5QW7iYBezTLdAUx1SmRkxN79Ne", + "/dns/boot.stake.plus/tcp/32333/p2p/12D3KooWK8fjVoSvMq5copQYMsdYreSGPGgcMbGMgbMDPfpf3sm7", + "/dns/boot.stake.plus/tcp/32334/wss/p2p/12D3KooWK8fjVoSvMq5copQYMsdYreSGPGgcMbGMgbMDPfpf3sm7" ], "telemetryEndpoints": [ [ From c7dd2660299f152da2b653643176110d44a5f1f3 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Sat, 5 Nov 2022 00:15:29 +0100 Subject: [PATCH 090/211] clean up executed runtime migrations (#6206) * kusama: clean up executed migrations * polkadot: clean up executed migrations * westend: clean up executed migrations --- runtime/kusama/src/lib.rs | 6 ------ runtime/polkadot/src/lib.rs | 6 ------ runtime/westend/src/lib.rs | 6 ------ 3 files changed, 18 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index d64dfaef012d..0eb8cc0b4944 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1465,12 +1465,6 @@ pub type Executive = frame_executive::Executive< Runtime, AllPalletsWithSystem, ( - pallet_staking::migrations::v11::MigrateToV11< - Runtime, - VoterList, - StakingMigrationV11OldPallet, - >, - pallet_staking::migrations::v12::MigrateToV12, // "Bound uses of call" pallet_preimage::migration::v1::Migration, pallet_scheduler::migration::v3::MigrateToV4, diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index b13dd7561dfe..5adf4e11e67f 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1558,12 +1558,6 @@ pub type Executive = frame_executive::Executive< Runtime, AllPalletsWithSystem, ( - pallet_staking::migrations::v11::MigrateToV11< - Runtime, - VoterList, - StakingMigrationV11OldPallet, - >, - pallet_staking::migrations::v12::MigrateToV12, // "Bound uses of call" pallet_preimage::migration::v1::Migration, pallet_scheduler::migration::v3::MigrateToV4, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index c61992367dbe..fd5e8a1c7f43 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1210,12 +1210,6 @@ pub type Executive = frame_executive::Executive< Runtime, AllPalletsWithSystem, ( - pallet_staking::migrations::v11::MigrateToV11< - Runtime, - VoterList, - StakingMigrationV11OldPallet, - >, - pallet_staking::migrations::v12::MigrateToV12, // "Bound uses of call" pallet_preimage::migration::v1::Migration, pallet_scheduler::migration::v3::MigrateToV4, From 40aefb4ac396bcd098755c6d57dac7b284a343e7 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Sat, 5 Nov 2022 13:25:55 +0100 Subject: [PATCH 091/211] Co #12085: Update `k256` (#6238) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Typo Signed-off-by: Oliver Tale-Yazdi * Update Cargo.lock * update lockfile for {"substrate"} Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> --- Cargo.lock | 444 ++++++++++++++++++------------------ xcm/pallet-xcm/src/tests.rs | 4 +- 2 files changed, 230 insertions(+), 218 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 75e9e49e8ef8..d0b8faced993 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -830,9 +830,9 @@ checksum = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" [[package]] name = "chacha20" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01b72a433d0cf2aef113ba70f62634c56fddb0f244e6377185c56a7cadbd8f91" +checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" dependencies = [ "cfg-if 1.0.0", "cipher", @@ -842,9 +842,9 @@ dependencies = [ [[package]] name = "chacha20poly1305" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b84ed6d1d5f7aa9bdde921a5090e0ca4d934d250ea3b402a5fab3a994e28a2a" +checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" dependencies = [ "aead", "chacha20", @@ -1002,9 +1002,9 @@ dependencies = [ [[package]] name = "const-oid" -version = "0.7.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4c78c047431fee22c1a7bb92e00ad095a02a983affe4d8a72e2a2c62c1b94f3" +checksum = "722e23542a15cea1f65d4a1419c4cfd7a26706c70871a13a04238ca3f40f1661" [[package]] name = "constant_time_eq" @@ -1230,9 +1230,9 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "crypto-bigint" -version = "0.3.2" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03c6a1d5fa1de37e071642dfa44ec552ca5b299adb128fab16138e24b548fd21" +checksum = "ef2b4b23cddf68b89b8f8069890e8c270d54e2d5fe1b143820234805e4cb17ef" dependencies = [ "generic-array 0.14.4", "rand_core 0.6.3", @@ -1409,11 +1409,12 @@ dependencies = [ [[package]] name = "der" -version = "0.5.1" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6919815d73839e7ad218de758883aae3a257ba6759ce7a9992501efbb53d705c" +checksum = "13dd2ae565c0a381dde7fade45fce95984c568bdcb4700a4fdbe3175e0380b2f" dependencies = [ "const-oid", + "zeroize", ] [[package]] @@ -1600,9 +1601,9 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf" [[package]] name = "ecdsa" -version = "0.13.4" +version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0d69ae62e0ce582d56380743515fefaf1a8c70cec685d9677636d7e30ae9dc9" +checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ "der", "elliptic-curve", @@ -1655,13 +1656,14 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457" [[package]] name = "elliptic-curve" -version = "0.11.12" +version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25b477563c2bfed38a3b7a60964c49e058b2510ad3f12ba3483fd8f62c2306d6" +checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ "base16ct", "crypto-bigint", "der", + "digest 0.10.3", "ff", "generic-array 0.14.4", "group", @@ -1914,9 +1916,9 @@ dependencies = [ [[package]] name = "ff" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2958d04124b9f27f175eaeb9a9f383d026098aa837eadd8ba22c11f13a05b9e" +checksum = "d013fc25338cc558c5c2cfbad646908fb23591e2404481826742b651c9af7160" dependencies = [ "rand_core 0.6.3", "subtle", @@ -2036,7 +2038,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", ] @@ -2060,7 +2062,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -2083,7 +2085,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "Inflector", "array-bytes", @@ -2124,6 +2126,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-state-machine", + "sp-std", "sp-storage", "sp-trie", "tempfile", @@ -2134,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2145,7 +2148,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2161,7 +2164,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -2190,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "bitflags", "frame-metadata", @@ -2222,7 +2225,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "Inflector", "cfg-expr", @@ -2236,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2248,7 +2251,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro2", "quote", @@ -2258,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2281,7 +2284,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -2292,7 +2295,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "log", @@ -2310,7 +2313,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -2325,7 +2328,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "sp-api", @@ -2334,7 +2337,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "parity-scale-codec", @@ -2505,7 +2508,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "chrono", "frame-election-provider-support", @@ -2638,9 +2641,9 @@ dependencies = [ [[package]] name = "group" -version = "0.11.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc5ac374b108929de78460075f3dc439fa66df9d8fc77e8f12caa5165fcf0c89" +checksum = "5dfbfb3a6cfbd390d5c9564ab283a0349b9b9fcd46a706c1eb10e0db70bfbac7" dependencies = [ "ff", "rand_core 0.6.3", @@ -2751,6 +2754,15 @@ dependencies = [ "digest 0.9.0", ] +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.3", +] + [[package]] name = "hmac-drbg" version = "0.3.0" @@ -3210,14 +3222,14 @@ dependencies = [ [[package]] name = "k256" -version = "0.10.4" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19c3a5e0a0b8450278feda242592512e09f61c72e018b8cd5c859482802daf2d" +checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" dependencies = [ "cfg-if 1.0.0", "ecdsa", "elliptic-curve", - "sec1", + "sha2 0.10.2", ] [[package]] @@ -4678,7 +4690,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4692,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -4708,7 +4720,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -4723,7 +4735,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4747,7 +4759,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4767,7 +4779,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4786,7 +4798,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4801,7 +4813,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "beefy-primitives", "frame-support", @@ -4817,7 +4829,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4840,7 +4852,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4858,7 +4870,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4877,7 +4889,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4894,7 +4906,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4911,7 +4923,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4929,7 +4941,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4953,7 +4965,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4966,7 +4978,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -4984,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5002,7 +5014,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5017,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5040,7 +5052,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5056,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5076,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5105,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5110,7 +5122,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5128,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5143,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5159,7 +5171,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -5176,7 +5188,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5196,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "sp-api", @@ -5206,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -5223,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5246,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5278,7 +5290,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5308,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5311,7 +5323,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5329,7 +5341,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5345,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -5366,7 +5378,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5382,7 +5394,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -5396,7 +5408,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5419,7 +5431,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5430,7 +5442,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "sp-arithmetic", @@ -5439,7 +5451,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -5453,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5471,7 +5483,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5490,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-support", "frame-system", @@ -5506,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5521,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5532,7 +5544,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5549,7 +5561,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5565,7 +5577,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5580,7 +5592,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-benchmarking", "frame-support", @@ -5909,13 +5921,12 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkcs8" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cabda3fb821068a9a4fab19a683eac3af12edf0f34b94a8be53c4972b8149d0" +checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ "der", "spki", - "zeroize", ] [[package]] @@ -8055,7 +8066,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "env_logger 0.9.0", "log", @@ -8127,12 +8138,12 @@ dependencies = [ [[package]] name = "rfc6979" -version = "0.1.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96ef608575f6392792f9ecf7890c00086591d29a83910939d430753f7c050525" +checksum = "7743f17af12fa0b03b803ba12cd6a8d9483a587e89c69445e3909655c0b9fabb" dependencies = [ "crypto-bigint", - "hmac 0.11.0", + "hmac 0.12.1", "zeroize", ] @@ -8394,7 +8405,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "sp-core", @@ -8405,7 +8416,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures", @@ -8432,7 +8443,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "futures-timer", @@ -8455,7 +8466,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8471,7 +8482,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8488,7 +8499,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8499,7 +8510,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "chrono", @@ -8539,7 +8550,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "fnv", "futures", @@ -8567,7 +8578,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "hash-db", "kvdb", @@ -8592,7 +8603,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures", @@ -8616,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "fork-tree", @@ -8658,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "jsonrpsee", @@ -8680,7 +8691,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8693,7 +8704,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures", @@ -8717,7 +8728,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8744,7 +8755,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "environmental", "parity-scale-codec", @@ -8760,7 +8771,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "parity-scale-codec", @@ -8775,7 +8786,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8795,7 +8806,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "ahash", "array-bytes", @@ -8836,7 +8847,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "finality-grandpa", "futures", @@ -8857,7 +8868,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "ansi_term", "futures", @@ -8874,7 +8885,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "async-trait", @@ -8889,7 +8900,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "async-trait", @@ -8936,7 +8947,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "cid", "futures", @@ -8956,7 +8967,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "bitflags", @@ -8982,7 +8993,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "ahash", "futures", @@ -9000,7 +9011,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "futures", @@ -9021,7 +9032,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "fork-tree", @@ -9051,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "futures", @@ -9070,7 +9081,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "bytes", @@ -9100,7 +9111,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "libp2p", @@ -9113,7 +9124,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9122,7 +9133,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "hash-db", @@ -9152,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "jsonrpsee", @@ -9175,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "jsonrpsee", @@ -9188,7 +9199,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "hex", @@ -9207,7 +9218,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "directories", @@ -9278,7 +9289,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "parity-scale-codec", @@ -9292,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9311,7 +9322,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "libc", @@ -9330,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "chrono", "futures", @@ -9348,7 +9359,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "ansi_term", "atty", @@ -9379,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9390,7 +9401,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures", @@ -9417,7 +9428,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures", @@ -9431,7 +9442,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "futures-timer", @@ -9519,10 +9530,11 @@ dependencies = [ [[package]] name = "sec1" -version = "0.2.1" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08da66b8b0965a5555b6bd6639e68ccba85e1e2506f5fbb089e93f8a04e1a2d1" +checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ + "base16ct", "der", "generic-array 0.14.4", "pkcs8", @@ -9801,11 +9813,11 @@ dependencies = [ [[package]] name = "signature" -version = "1.4.0" +version = "1.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02658e48d89f2bec991f9a78e69cfa4c316f8d6a6c4ec12fae1aeb263d486788" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" dependencies = [ - "digest 0.9.0", + "digest 0.10.3", "rand_core 0.6.3", ] @@ -9911,7 +9923,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "hash-db", "log", @@ -9929,7 +9941,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "blake2", "proc-macro-crate", @@ -9941,7 +9953,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -9954,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "integer-sqrt", "num-traits", @@ -9969,7 +9981,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -9982,7 +9994,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "parity-scale-codec", @@ -9994,7 +10006,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "sp-api", @@ -10006,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "log", @@ -10024,7 +10036,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures", @@ -10043,7 +10055,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "merlin", @@ -10066,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -10080,7 +10092,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -10093,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "base58", @@ -10139,7 +10151,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "blake2", "byteorder", @@ -10153,7 +10165,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro2", "quote", @@ -10164,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10173,7 +10185,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro2", "quote", @@ -10183,7 +10195,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "environmental", "parity-scale-codec", @@ -10194,7 +10206,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "finality-grandpa", "log", @@ -10212,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10226,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "bytes", "futures", @@ -10252,7 +10264,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "lazy_static", "sp-core", @@ -10263,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures", @@ -10280,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "thiserror", "zstd", @@ -10289,7 +10301,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "parity-scale-codec", @@ -10305,7 +10317,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -10319,7 +10331,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "sp-api", "sp-core", @@ -10329,7 +10341,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "backtrace", "lazy_static", @@ -10339,7 +10351,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "rustc-hash", "serde", @@ -10349,7 +10361,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "either", "hash256-std-hasher", @@ -10372,7 +10384,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10390,7 +10402,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "Inflector", "proc-macro-crate", @@ -10402,7 +10414,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "parity-scale-codec", @@ -10416,7 +10428,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -10430,7 +10442,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "scale-info", @@ -10441,7 +10453,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "hash-db", "log", @@ -10463,12 +10475,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10481,7 +10493,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "log", "sp-core", @@ -10494,7 +10506,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "futures-timer", @@ -10510,7 +10522,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "sp-std", @@ -10522,7 +10534,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "sp-api", "sp-runtime", @@ -10531,7 +10543,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "log", @@ -10547,7 +10559,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "ahash", "hash-db", @@ -10570,7 +10582,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10587,7 +10599,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10598,7 +10610,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "impl-trait-for-tuples", "log", @@ -10611,7 +10623,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10632,9 +10644,9 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "spki" -version = "0.5.4" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d01ac02a6ccf3e07db148d2be087da624fea0221a16152ed01f0496a6b0a27" +checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", "der", @@ -10826,7 +10838,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "platforms", ] @@ -10834,7 +10846,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10855,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures-util", "hyper", @@ -10868,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "async-trait", "jsonrpsee", @@ -10881,7 +10893,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "jsonrpsee", "log", @@ -10902,7 +10914,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "array-bytes", "async-trait", @@ -10928,7 +10940,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10938,7 +10950,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10949,7 +10961,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "ansi_term", "build-helper", @@ -11656,7 +11668,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#87f3fdea8f227d33322c439d45a9e1796637e972" +source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" dependencies = [ "clap", "frame-try-runtime", @@ -12810,9 +12822,9 @@ dependencies = [ [[package]] name = "zeroize" -version = "1.4.3" +version = "1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d68d9dcec5f9b43a30d38c49f91dfedfaac384cb8f085faca366c26207dd1619" +checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" dependencies = [ "zeroize_derive", ] diff --git a/xcm/pallet-xcm/src/tests.rs b/xcm/pallet-xcm/src/tests.rs index b619efefbe9b..6da02cf10cf6 100644 --- a/xcm/pallet-xcm/src/tests.rs +++ b/xcm/pallet-xcm/src/tests.rs @@ -270,7 +270,7 @@ fn teleport_assets_works() { /// Asserts that the sender's balance is decreased as a result of execution of /// local effects. #[test] -fn limmited_teleport_assets_works() { +fn limited_teleport_assets_works() { let balances = vec![ (ALICE, INITIAL_BALANCE), (ParaId::from(PARA_ID).into_account_truncating(), INITIAL_BALANCE), @@ -314,7 +314,7 @@ fn limmited_teleport_assets_works() { /// Asserts that the sender's balance is decreased as a result of execution of /// local effects. #[test] -fn unlimmited_teleport_assets_works() { +fn unlimited_teleport_assets_works() { let balances = vec![ (ALICE, INITIAL_BALANCE), (ParaId::from(PARA_ID).into_account_truncating(), INITIAL_BALANCE), From 2223fcb91222cca44f73bed8906c8cbe20eee8ce Mon Sep 17 00:00:00 2001 From: Xiliang Chen Date: Tue, 8 Nov 2022 00:09:33 +1300 Subject: [PATCH 092/211] cleanup deps (#6242) --- Cargo.lock | 3 --- primitives/Cargo.toml | 36 ++++++++++++++++-------------------- 2 files changed, 16 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d0b8faced993..46c3c00de13c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6846,7 +6846,6 @@ name = "polkadot-primitives" version = "0.9.31" dependencies = [ "bitvec", - "frame-system", "hex-literal", "parity-scale-codec", "parity-util-mem", @@ -6866,8 +6865,6 @@ dependencies = [ "sp-runtime", "sp-staking", "sp-std", - "sp-trie", - "sp-version", ] [[package]] diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 043e309d6786..b99ac7bc19e6 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -5,29 +5,28 @@ authors = ["Parity Technologies "] edition = "2021" [dependencies] -serde = { version = "1.0.137", optional = true, features = ["derive"] } -scale-info = { version = "2.1.2", default-features = false, features = ["bit-vec", "derive"] } +bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } +hex-literal = "0.3.4" parity-scale-codec = { version = "3.1.5", default-features = false, features = ["bit-vec", "derive"] } -primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +parity-util-mem = { version = "0.12.0", default-features = false, optional = true } +scale-info = { version = "2.1.2", default-features = false, features = ["bit-vec", "derive"] } +serde = { version = "1.0.137", optional = true, features = ["derive"] } + application-crypto = { package = "sp-application-crypto", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -runtime_primitives = { package = "sp-runtime", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -polkadot-parachain = { path = "../parachain", default-features = false } +sp-consensus-slots = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } +sp-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } + polkadot-core-primitives = { path = "../core-primitives", default-features = false } -trie = { package = "sp-trie", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } -frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -hex-literal = "0.3.4" -parity-util-mem = { version = "0.12.0", default-features = false, optional = true } +polkadot-parachain = { path = "../parachain", default-features = false } [features] default = ["std"] @@ -37,14 +36,12 @@ std = [ "scale-info/std", "primitives/std", "inherents/std", - "trie/std", "sp-api/std", "sp-authority-discovery/std", "sp-consensus-slots/std", "sp-keystore", "sp-std/std", "sp-io/std", - "sp-version/std", "sp-staking/std", "sp-arithmetic/std", "runtime_primitives/std", @@ -53,6 +50,5 @@ std = [ "polkadot-parachain/std", "polkadot-core-primitives/std", "bitvec/std", - "frame-system/std", ] runtime-benchmarks = [] From f015678156cf97349eed853fe563877bf9a79e41 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Mon, 7 Nov 2022 15:04:09 +0100 Subject: [PATCH 093/211] Pipeline with ci image with rust 1.65 (#6243) * Pipeline with ci image with rust 1.65 * fix a warning * return production image Co-authored-by: Andronik --- node/core/runtime-api/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/core/runtime-api/src/tests.rs b/node/core/runtime-api/src/tests.rs index 45286431e49d..81629d5b2754 100644 --- a/node/core/runtime-api/src/tests.rs +++ b/node/core/runtime-api/src/tests.rs @@ -89,7 +89,7 @@ sp_api::mock_impl_runtime_apis! { } fn availability_cores(&self) -> Vec { - let _ = self.availability_cores_wait.lock().unwrap(); + let _lock = self.availability_cores_wait.lock().unwrap(); self.availability_cores.clone() } From c661a22e0c2e73a37acdb3c463c8ca1d7dcb8a57 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Mon, 7 Nov 2022 23:21:06 +0100 Subject: [PATCH 094/211] BlockId removal: &Hash to Hash (#6246) * BlockId removal: &Hash to Hash It changes &Block::Hash argument to Block::Hash. This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * missing file corrected * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 360 +++++++++--------- node/client/src/lib.rs | 26 +- xcm/xcm-executor/integration-tests/src/lib.rs | 10 +- 3 files changed, 198 insertions(+), 198 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 46c3c00de13c..be8743ed0a44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -2038,7 +2038,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", ] @@ -2062,7 +2062,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -2085,7 +2085,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "Inflector", "array-bytes", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2148,7 +2148,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2164,7 +2164,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -2193,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "bitflags", "frame-metadata", @@ -2225,7 +2225,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "Inflector", "cfg-expr", @@ -2239,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2251,7 +2251,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro2", "quote", @@ -2261,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2284,7 +2284,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -2295,7 +2295,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "log", @@ -2313,7 +2313,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -2328,7 +2328,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "sp-api", @@ -2337,7 +2337,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "parity-scale-codec", @@ -2508,7 +2508,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "chrono", "frame-election-provider-support", @@ -4690,7 +4690,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4704,7 +4704,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -4720,7 +4720,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -4735,7 +4735,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4759,7 +4759,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4779,7 +4779,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4798,7 +4798,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4813,7 +4813,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "beefy-primitives", "frame-support", @@ -4829,7 +4829,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4852,7 +4852,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4870,7 +4870,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4889,7 +4889,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4906,7 +4906,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4923,7 +4923,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4941,7 +4941,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4965,7 +4965,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4978,7 +4978,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -4996,7 +4996,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5014,7 +5014,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5052,7 +5052,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5068,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5105,7 +5105,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5122,7 +5122,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5155,7 +5155,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5171,7 +5171,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -5188,7 +5188,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5208,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "sp-api", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5258,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5275,7 +5275,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5290,7 +5290,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5308,7 +5308,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5323,7 +5323,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5341,7 +5341,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5357,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -5378,7 +5378,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5394,7 +5394,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -5408,7 +5408,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5431,7 +5431,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5442,7 +5442,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "sp-arithmetic", @@ -5451,7 +5451,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -5465,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5483,7 +5483,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-support", "frame-system", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5544,7 +5544,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5561,7 +5561,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5577,7 +5577,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -5592,7 +5592,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-benchmarking", "frame-support", @@ -8063,7 +8063,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "env_logger 0.9.0", "log", @@ -8402,7 +8402,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "sp-core", @@ -8413,7 +8413,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures", @@ -8440,7 +8440,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "futures-timer", @@ -8463,7 +8463,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8479,7 +8479,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8496,7 +8496,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8507,7 +8507,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "chrono", @@ -8547,7 +8547,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "fnv", "futures", @@ -8575,7 +8575,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "hash-db", "kvdb", @@ -8600,7 +8600,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures", @@ -8624,7 +8624,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "fork-tree", @@ -8666,7 +8666,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "jsonrpsee", @@ -8688,7 +8688,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8701,7 +8701,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures", @@ -8725,7 +8725,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8752,7 +8752,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "environmental", "parity-scale-codec", @@ -8768,7 +8768,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "parity-scale-codec", @@ -8783,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8803,7 +8803,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "ahash", "array-bytes", @@ -8844,7 +8844,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "finality-grandpa", "futures", @@ -8865,7 +8865,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "ansi_term", "futures", @@ -8882,7 +8882,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "async-trait", @@ -8897,7 +8897,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "async-trait", @@ -8944,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "cid", "futures", @@ -8964,7 +8964,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "bitflags", @@ -8990,7 +8990,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "ahash", "futures", @@ -9008,7 +9008,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "futures", @@ -9029,7 +9029,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "fork-tree", @@ -9059,7 +9059,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "futures", @@ -9078,7 +9078,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "bytes", @@ -9108,7 +9108,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "libp2p", @@ -9121,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9130,7 +9130,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "hash-db", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "jsonrpsee", @@ -9183,7 +9183,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "jsonrpsee", @@ -9196,7 +9196,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "hex", @@ -9215,7 +9215,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "directories", @@ -9286,7 +9286,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "parity-scale-codec", @@ -9300,7 +9300,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9319,7 +9319,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "libc", @@ -9338,7 +9338,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "chrono", "futures", @@ -9356,7 +9356,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "ansi_term", "atty", @@ -9387,7 +9387,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9398,7 +9398,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures", @@ -9425,7 +9425,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures", @@ -9439,7 +9439,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "futures-timer", @@ -9920,7 +9920,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "hash-db", "log", @@ -9938,7 +9938,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "blake2", "proc-macro-crate", @@ -9950,7 +9950,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -9963,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "integer-sqrt", "num-traits", @@ -9978,7 +9978,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -9991,7 +9991,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "parity-scale-codec", @@ -10003,7 +10003,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "sp-api", @@ -10015,7 +10015,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "log", @@ -10033,7 +10033,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures", @@ -10052,7 +10052,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "merlin", @@ -10075,7 +10075,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -10089,7 +10089,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -10102,7 +10102,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "base58", @@ -10148,7 +10148,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "blake2", "byteorder", @@ -10162,7 +10162,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro2", "quote", @@ -10173,7 +10173,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10182,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro2", "quote", @@ -10192,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "environmental", "parity-scale-codec", @@ -10203,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "finality-grandpa", "log", @@ -10221,7 +10221,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10235,7 +10235,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "bytes", "futures", @@ -10261,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "lazy_static", "sp-core", @@ -10272,7 +10272,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures", @@ -10289,7 +10289,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "thiserror", "zstd", @@ -10298,7 +10298,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "parity-scale-codec", @@ -10314,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -10328,7 +10328,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "sp-api", "sp-core", @@ -10338,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "backtrace", "lazy_static", @@ -10348,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "rustc-hash", "serde", @@ -10358,7 +10358,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "either", "hash256-std-hasher", @@ -10381,7 +10381,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10399,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "Inflector", "proc-macro-crate", @@ -10411,7 +10411,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "parity-scale-codec", @@ -10425,7 +10425,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -10439,7 +10439,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "scale-info", @@ -10450,7 +10450,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "hash-db", "log", @@ -10472,12 +10472,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10490,7 +10490,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "log", "sp-core", @@ -10503,7 +10503,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "futures-timer", @@ -10519,7 +10519,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "sp-std", @@ -10531,7 +10531,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "sp-api", "sp-runtime", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "log", @@ -10556,7 +10556,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "ahash", "hash-db", @@ -10579,7 +10579,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10596,7 +10596,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10607,7 +10607,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "impl-trait-for-tuples", "log", @@ -10620,7 +10620,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10835,7 +10835,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "platforms", ] @@ -10843,7 +10843,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10864,7 +10864,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures-util", "hyper", @@ -10877,7 +10877,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "async-trait", "jsonrpsee", @@ -10890,7 +10890,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "jsonrpsee", "log", @@ -10911,7 +10911,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "array-bytes", "async-trait", @@ -10937,7 +10937,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10947,7 +10947,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10958,7 +10958,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "ansi_term", "build-helper", @@ -11665,7 +11665,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3cd6db7907bd0efc9e4299b168196d97651dfc25" +source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index ae5d6b4d05db..d2c119ba04a8 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -327,7 +327,7 @@ impl UsageProvider for Client { impl sc_client_api::BlockBackend for Client { fn block_body( &self, - hash: &::Hash, + hash: ::Hash, ) -> sp_blockchain::Result::Extrinsic>>> { with_client! { self, @@ -360,7 +360,7 @@ impl sc_client_api::BlockBackend for Client { fn justifications( &self, - hash: &::Hash, + hash: ::Hash, ) -> sp_blockchain::Result> { with_client! { self, @@ -386,7 +386,7 @@ impl sc_client_api::BlockBackend for Client { fn indexed_transaction( &self, - id: &::Hash, + id: ::Hash, ) -> sp_blockchain::Result>> { with_client! { self, @@ -399,7 +399,7 @@ impl sc_client_api::BlockBackend for Client { fn block_indexed_body( &self, - id: &::Hash, + id: ::Hash, ) -> sp_blockchain::Result>>> { with_client! { self, @@ -424,7 +424,7 @@ impl sc_client_api::BlockBackend for Client { impl sc_client_api::StorageProvider for Client { fn storage( &self, - hash: &::Hash, + hash: ::Hash, key: &StorageKey, ) -> sp_blockchain::Result> { with_client! { @@ -438,7 +438,7 @@ impl sc_client_api::StorageProvider for Client { fn storage_keys( &self, - hash: &::Hash, + hash: ::Hash, key_prefix: &StorageKey, ) -> sp_blockchain::Result> { with_client! { @@ -452,7 +452,7 @@ impl sc_client_api::StorageProvider for Client { fn storage_hash( &self, - hash: &::Hash, + hash: ::Hash, key: &StorageKey, ) -> sp_blockchain::Result::Hash>> { with_client! { @@ -466,7 +466,7 @@ impl sc_client_api::StorageProvider for Client { fn storage_pairs( &self, - hash: &::Hash, + hash: ::Hash, key_prefix: &StorageKey, ) -> sp_blockchain::Result> { with_client! { @@ -480,7 +480,7 @@ impl sc_client_api::StorageProvider for Client { fn storage_keys_iter<'a>( &self, - hash: &::Hash, + hash: ::Hash, prefix: Option<&'a StorageKey>, start_key: Option<&StorageKey>, ) -> sp_blockchain::Result< @@ -497,7 +497,7 @@ impl sc_client_api::StorageProvider for Client { fn child_storage( &self, - hash: &::Hash, + hash: ::Hash, child_info: &ChildInfo, key: &StorageKey, ) -> sp_blockchain::Result> { @@ -512,7 +512,7 @@ impl sc_client_api::StorageProvider for Client { fn child_storage_keys( &self, - hash: &::Hash, + hash: ::Hash, child_info: &ChildInfo, key_prefix: &StorageKey, ) -> sp_blockchain::Result> { @@ -527,7 +527,7 @@ impl sc_client_api::StorageProvider for Client { fn child_storage_keys_iter<'a>( &self, - hash: &::Hash, + hash: ::Hash, child_info: ChildInfo, prefix: Option<&'a StorageKey>, start_key: Option<&StorageKey>, @@ -545,7 +545,7 @@ impl sc_client_api::StorageProvider for Client { fn child_storage_hash( &self, - hash: &::Hash, + hash: ::Hash, child_info: &ChildInfo, key: &StorageKey, ) -> sp_blockchain::Result::Hash>> { diff --git a/xcm/xcm-executor/integration-tests/src/lib.rs b/xcm/xcm-executor/integration-tests/src/lib.rs index 821987531aa0..f038e45d3edc 100644 --- a/xcm/xcm-executor/integration-tests/src/lib.rs +++ b/xcm/xcm-executor/integration-tests/src/lib.rs @@ -60,7 +60,7 @@ fn basic_buy_fees_message_executes() { futures::executor::block_on(client.import(sp_consensus::BlockOrigin::Own, block)) .expect("imports the block"); - client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + client.state_at(block_hash).expect("state should exist").inspect_state(|| { assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( r.event, polkadot_test_runtime::RuntimeEvent::Xcm(pallet_xcm::Event::Attempted( @@ -101,7 +101,7 @@ fn query_response_fires() { .expect("imports the block"); let mut query_id = None; - client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + client.state_at(block_hash).expect("state should exist").inspect_state(|| { for r in polkadot_test_runtime::System::events().iter() { match r.event { TestNotifier(QueryPrepared(q)) => query_id = Some(q), @@ -136,7 +136,7 @@ fn query_response_fires() { futures::executor::block_on(client.import(sp_consensus::BlockOrigin::Own, block)) .expect("imports the block"); - client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + client.state_at(block_hash).expect("state should exist").inspect_state(|| { assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( r.event, polkadot_test_runtime::RuntimeEvent::Xcm(pallet_xcm::Event::ResponseReady( @@ -184,7 +184,7 @@ fn query_response_elicits_handler() { .expect("imports the block"); let mut query_id = None; - client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + client.state_at(block_hash).expect("state should exist").inspect_state(|| { for r in polkadot_test_runtime::System::events().iter() { match r.event { TestNotifier(NotifyQueryPrepared(q)) => query_id = Some(q), @@ -218,7 +218,7 @@ fn query_response_elicits_handler() { futures::executor::block_on(client.import(sp_consensus::BlockOrigin::Own, block)) .expect("imports the block"); - client.state_at(&block_hash).expect("state should exist").inspect_state(|| { + client.state_at(block_hash).expect("state should exist").inspect_state(|| { assert!(polkadot_test_runtime::System::events().iter().any(|r| matches!( r.event, TestNotifier(ResponseReceived( From 9309ac60cc734d2b243b78e4afac481e1a863314 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Tue, 8 Nov 2022 08:03:54 +0000 Subject: [PATCH 095/211] Increase max rewardable nominators (#6230) * Increase max rewardable nominators * update kusama as well --- runtime/kusama/src/lib.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 0eb8cc0b4944..f4e756e0a6d4 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -573,7 +573,7 @@ parameter_types! { pub const BondingDuration: sp_staking::EraIndex = 28; // 27 eras in which slashes can be cancelled (slightly less than 7 days). pub const SlashDeferDuration: sp_staking::EraIndex = 27; - pub const MaxNominatorRewardedPerValidator: u32 = 256; + pub const MaxNominatorRewardedPerValidator: u32 = 512; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); // 24 pub const MaxNominations: u32 = ::LIMIT as u32; diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5adf4e11e67f..d16f9841c429 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -525,7 +525,7 @@ parameter_types! { pub const BondingDuration: sp_staking::EraIndex = 28; pub const SlashDeferDuration: sp_staking::EraIndex = 27; pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; - pub const MaxNominatorRewardedPerValidator: u32 = 256; + pub const MaxNominatorRewardedPerValidator: u32 = 512; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); // 16 pub const MaxNominations: u32 = ::LIMIT as u32; From ba6643fe2223848b4652fef00f82a830e2d62d29 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Tue, 8 Nov 2022 08:04:46 +0000 Subject: [PATCH 096/211] Update polkadot inflation to take into account auctions (#5872) * Update polkadot inflation to take into account auctions * a possible solution -- but needs a rather untrivial data seeding * some additional comments * Use LOWEST_PUBLIC_ID as a guide to filter out system/common good para ids * Fixes * move tests * fix Co-authored-by: Keith Yeung Co-authored-by: Shawn Tabrizi --- Cargo.lock | 2 +- runtime/common/Cargo.toml | 2 + runtime/common/src/impls.rs | 81 +++++++++++++++++++++++++++++++++++++ runtime/kusama/Cargo.toml | 2 - runtime/kusama/src/lib.rs | 53 +++++------------------- runtime/kusama/src/tests.rs | 34 ---------------- runtime/polkadot/src/lib.rs | 32 ++++++++++++++- 7 files changed, 125 insertions(+), 81 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index be8743ed0a44..9198572afd43 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3291,7 +3291,6 @@ dependencies = [ "pallet-session-benchmarking", "pallet-society", "pallet-staking", - "pallet-staking-reward-fn", "pallet-timestamp", "pallet-tips", "pallet-transaction-payment", @@ -7029,6 +7028,7 @@ dependencies = [ "pallet-election-provider-multi-phase", "pallet-session", "pallet-staking", + "pallet-staking-reward-fn", "pallet-timestamp", "pallet-transaction-payment", "pallet-treasury", diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 9ee5de41188d..96f29eae9257 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -31,6 +31,7 @@ pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "m pallet-session = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-system = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-vesting = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -84,6 +85,7 @@ std = [ "pallet-beefy-mmr/std", "pallet-session/std", "pallet-staking/std", + "pallet-staking-reward-fn/std", "pallet-timestamp/std", "pallet-vesting/std", "pallet-transaction-payment/std", diff --git a/runtime/common/src/impls.rs b/runtime/common/src/impls.rs index 939b753092f5..2b10c79cfdff 100644 --- a/runtime/common/src/impls.rs +++ b/runtime/common/src/impls.rs @@ -18,6 +18,8 @@ use crate::NegativeImbalance; use frame_support::traits::{Currency, Imbalance, OnUnbalanced}; +use primitives::v2::Balance; +use sp_runtime::Perquintill; /// Logic for the author to get a portion of fees. pub struct ToAuthor(sp_std::marker::PhantomData); @@ -57,6 +59,45 @@ where } } +pub fn era_payout( + total_staked: Balance, + non_gilt_issuance: Balance, + max_annual_inflation: Perquintill, + period_fraction: Perquintill, + auctioned_slots: u64, +) -> (Balance, Balance) { + use pallet_staking_reward_fn::compute_inflation; + use sp_runtime::traits::Saturating; + + let min_annual_inflation = Perquintill::from_rational(25u64, 1000u64); + let delta_annual_inflation = max_annual_inflation.saturating_sub(min_annual_inflation); + + // 30% reserved for up to 60 slots. + let auction_proportion = Perquintill::from_rational(auctioned_slots.min(60), 200u64); + + // Therefore the ideal amount at stake (as a percentage of total issuance) is 75% less the + // amount that we expect to be taken up with auctions. + let ideal_stake = Perquintill::from_percent(75).saturating_sub(auction_proportion); + + let stake = Perquintill::from_rational(total_staked, non_gilt_issuance); + let falloff = Perquintill::from_percent(5); + let adjustment = compute_inflation(stake, ideal_stake, falloff); + let staking_inflation = + min_annual_inflation.saturating_add(delta_annual_inflation * adjustment); + + let max_payout = period_fraction * max_annual_inflation * non_gilt_issuance; + let staking_payout = (period_fraction * staking_inflation) * non_gilt_issuance; + let rest = max_payout.saturating_sub(staking_payout); + + let other_issuance = non_gilt_issuance.saturating_sub(total_staked); + if total_staked > other_issuance { + let _cap_rest = Perquintill::from_rational(other_issuance, total_staked) * staking_payout; + // We don't do anything with this, but if we wanted to, we could introduce a cap on the + // treasury amount with: `rest = rest.min(cap_rest);` + } + (staking_payout, rest) +} + #[cfg(test)] mod tests { use super::*; @@ -209,4 +250,44 @@ mod tests { assert_eq!(Balances::free_balance(Treasury::account_id()), 8); }); } + + #[test] + fn compute_inflation_should_give_sensible_results() { + assert_eq!( + pallet_staking_reward_fn::compute_inflation( + Perquintill::from_percent(75), + Perquintill::from_percent(75), + Perquintill::from_percent(5), + ), + Perquintill::one() + ); + assert_eq!( + pallet_staking_reward_fn::compute_inflation( + Perquintill::from_percent(50), + Perquintill::from_percent(75), + Perquintill::from_percent(5), + ), + Perquintill::from_rational(2u64, 3u64) + ); + assert_eq!( + pallet_staking_reward_fn::compute_inflation( + Perquintill::from_percent(80), + Perquintill::from_percent(75), + Perquintill::from_percent(5), + ), + Perquintill::from_rational(1u64, 2u64) + ); + } + + #[test] + fn era_payout_should_give_sensible_results() { + assert_eq!( + era_payout(75, 100, Perquintill::from_percent(10), Perquintill::one(), 0,), + (10, 0) + ); + assert_eq!( + era_payout(80, 100, Perquintill::from_percent(10), Perquintill::one(), 0,), + (6, 4) + ); + } } diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 72500677c534..ec3de40ec5e6 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -72,7 +72,6 @@ pallet-session = { git = "https://github.com/paritytech/substrate", branch = "ma pallet-society = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-staking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-staking-reward-fn = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-system = {git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-system-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-timestamp = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -170,7 +169,6 @@ std = [ "pallet-session/std", "pallet-society/std", "pallet-staking/std", - "pallet-staking-reward-fn/std", "pallet-timestamp/std", "pallet-tips/std", "pallet-treasury/std", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index f4e756e0a6d4..60df35cd6145 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -26,6 +26,7 @@ use primitives::v2::{ CoreState, GroupRotationInfo, Hash, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, Moment, Nonce, OccupiedCoreAssumption, PersistedValidationData, ScrapedOnChainVotes, SessionInfo, Signature, ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex, + LOWEST_PUBLIC_ID, }; use runtime_common::{ auctions, claims, crowdloan, impl_runtime_weights, impls::DealWithFees, paras_registrar, @@ -504,45 +505,6 @@ impl pallet_bags_list::Config for Runtime { type Score = sp_npos_elections::VoteWeight; } -fn era_payout( - total_staked: Balance, - non_gilt_issuance: Balance, - max_annual_inflation: Perquintill, - period_fraction: Perquintill, - auctioned_slots: u64, -) -> (Balance, Balance) { - use pallet_staking_reward_fn::compute_inflation; - use sp_arithmetic::traits::Saturating; - - let min_annual_inflation = Perquintill::from_rational(25u64, 1000u64); - let delta_annual_inflation = max_annual_inflation.saturating_sub(min_annual_inflation); - - // 30% reserved for up to 60 slots. - let auction_proportion = Perquintill::from_rational(auctioned_slots.min(60), 200u64); - - // Therefore the ideal amount at stake (as a percentage of total issuance) is 75% less the amount that we expect - // to be taken up with auctions. - let ideal_stake = Perquintill::from_percent(75).saturating_sub(auction_proportion); - - let stake = Perquintill::from_rational(total_staked, non_gilt_issuance); - let falloff = Perquintill::from_percent(5); - let adjustment = compute_inflation(stake, ideal_stake, falloff); - let staking_inflation = - min_annual_inflation.saturating_add(delta_annual_inflation * adjustment); - - let max_payout = period_fraction * max_annual_inflation * non_gilt_issuance; - let staking_payout = (period_fraction * staking_inflation) * non_gilt_issuance; - let rest = max_payout.saturating_sub(staking_payout); - - let other_issuance = non_gilt_issuance.saturating_sub(total_staked); - if total_staked > other_issuance { - let _cap_rest = Perquintill::from_rational(other_issuance, total_staked) * staking_payout; - // We don't do anything with this, but if we wanted to, we could introduce a cap on the treasury amount - // with: `rest = rest.min(cap_rest);` - } - (staking_payout, rest) -} - pub struct EraPayout; impl pallet_staking::EraPayout for EraPayout { fn era_payout( @@ -550,13 +512,18 @@ impl pallet_staking::EraPayout for EraPayout { _total_issuance: Balance, era_duration_millis: u64, ) -> (Balance, Balance) { - // TODO: #3011 Update with proper auctioned slots tracking. - // This should be fine for the first year of parachains. - let auctioned_slots: u64 = auctions::Pallet::::auction_counter().into(); + // all para-ids that are currently active. + let auctioned_slots = Paras::parachains() + .into_iter() + // all active para-ids that do not belong to a system or common good chain is the number + // of parachains that we should take into account for inflation. + .filter(|i| *i >= LOWEST_PUBLIC_ID) + .count() as u64; + const MAX_ANNUAL_INFLATION: Perquintill = Perquintill::from_percent(10); const MILLISECONDS_PER_YEAR: u64 = 1000 * 3600 * 24 * 36525 / 100; - era_payout( + runtime_common::impls::era_payout( total_staked, Gilt::issuance().non_gilt, MAX_ANNUAL_INFLATION, diff --git a/runtime/kusama/src/tests.rs b/runtime/kusama/src/tests.rs index 12d02da131f8..ef09a9dc6131 100644 --- a/runtime/kusama/src/tests.rs +++ b/runtime/kusama/src/tests.rs @@ -137,40 +137,6 @@ fn nominator_limit() { println!("can support {} nominators to yield a weight of {}", active, weight_with(active)); } -#[test] -fn compute_inflation_should_give_sensible_results() { - assert_eq!( - pallet_staking_reward_fn::compute_inflation( - Perquintill::from_percent(75), - Perquintill::from_percent(75), - Perquintill::from_percent(5), - ), - Perquintill::one() - ); - assert_eq!( - pallet_staking_reward_fn::compute_inflation( - Perquintill::from_percent(50), - Perquintill::from_percent(75), - Perquintill::from_percent(5), - ), - Perquintill::from_rational(2u64, 3u64) - ); - assert_eq!( - pallet_staking_reward_fn::compute_inflation( - Perquintill::from_percent(80), - Perquintill::from_percent(75), - Perquintill::from_percent(5), - ), - Perquintill::from_rational(1u64, 2u64) - ); -} - -#[test] -fn era_payout_should_give_sensible_results() { - assert_eq!(era_payout(75, 100, Perquintill::from_percent(10), Perquintill::one(), 0,), (10, 0)); - assert_eq!(era_payout(80, 100, Perquintill::from_percent(10), Perquintill::one(), 0,), (6, 4)); -} - #[test] fn call_size() { RuntimeCall::assert_size_under(230); diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index d16f9841c429..932a7a95ac65 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -58,6 +58,7 @@ use primitives::v2::{ CoreState, GroupRotationInfo, Hash, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, Moment, Nonce, OccupiedCoreAssumption, PersistedValidationData, ScrapedOnChainVotes, SessionInfo, Signature, ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex, + LOWEST_PUBLIC_ID, }; use sp_core::OpaqueMetadata; use sp_mmr_primitives as mmr; @@ -536,6 +537,35 @@ type SlashCancelOrigin = EitherOfDiverse< pallet_collective::EnsureProportionAtLeast, >; +pub struct EraPayout; +impl pallet_staking::EraPayout for EraPayout { + fn era_payout( + total_staked: Balance, + total_issuance: Balance, + era_duration_millis: u64, + ) -> (Balance, Balance) { + // all para-ids that are not active. + let auctioned_slots = Paras::parachains() + .into_iter() + // all active para-ids that do not belong to a system or common good chain is the number + // of parachains that we should take into account for inflation. + .filter(|i| *i >= LOWEST_PUBLIC_ID) + .count() as u64; + + const MAX_ANNUAL_INFLATION: Perquintill = Perquintill::from_percent(10); + const MILLISECONDS_PER_YEAR: u64 = 1000 * 3600 * 24 * 36525 / 100; + + runtime_common::impls::era_payout( + total_staked, + // Polkadot has no notion of gilts, the entire issuance is non-guilt. + total_issuance, + MAX_ANNUAL_INFLATION, + Perquintill::from_rational(era_duration_millis, MILLISECONDS_PER_YEAR), + auctioned_slots, + ) + } +} + impl pallet_staking::Config for Runtime { type MaxNominations = MaxNominations; type Currency = Balances; @@ -552,7 +582,7 @@ impl pallet_staking::Config for Runtime { // A super-majority of the council can cancel the slash. type SlashCancelOrigin = SlashCancelOrigin; type SessionInterface = Self; - type EraPayout = pallet_staking::ConvertCurve; + type EraPayout = EraPayout; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type NextNewSession = Session; From 26c31a0abbfedfacf085d214019dd15eb37947f4 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 8 Nov 2022 08:06:02 -0500 Subject: [PATCH 097/211] Add a `last change` footer to the implementers guide (#6216) * Add a `last change` footer to the implementers guide Some of the newcomers were noticing outdated pages in the implementer's guide. This idea came up as a heuristic for how up-to-date an individual page is. * Update `build-implementers-guide` CI job --- roadmap/implementers-guide/README.md | 7 ++++--- roadmap/implementers-guide/book.toml | 6 ++++++ roadmap/implementers-guide/last-changed.css | 7 +++++++ scripts/ci/gitlab/pipeline/build.yml | 2 +- 4 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 roadmap/implementers-guide/last-changed.css diff --git a/roadmap/implementers-guide/README.md b/roadmap/implementers-guide/README.md index 1775fb44d876..7f3f8cef7e63 100644 --- a/roadmap/implementers-guide/README.md +++ b/roadmap/implementers-guide/README.md @@ -4,13 +4,14 @@ The implementers' guide is compiled from several source files with [`mdBook`](ht ## Hosted build -This is avalible at https://paritytech.github.io/polkadot/book/ +This is available [here](https://paritytech.github.io/polkadot/book/). ## Local build To view it locally from the repo root: Ensure graphviz is installed: + ```sh brew install graphviz # for macOS sudo apt-get install graphviz # for Ubuntu/Debian @@ -19,11 +20,11 @@ sudo apt-get install graphviz # for Ubuntu/Debian Then install and build the book: ```sh -cargo install mdbook mdbook-linkcheck mdbook-graphviz mdbook-mermaid +cargo install mdbook mdbook-linkcheck mdbook-graphviz mdbook-mermaid mdbook-last-changed mdbook serve roadmap/implementers-guide open http://localhost:3000 ``` ## Specification -See also the Polkadot specificaton [hosted](https://spec.polkadot.network/), and it's [source](https://github.com/w3f/polkadot-spec)). +See also the Polkadot specification [hosted](https://spec.polkadot.network/), and its [source](https://github.com/w3f/polkadot-spec). diff --git a/roadmap/implementers-guide/book.toml b/roadmap/implementers-guide/book.toml index 8805ca4c38c3..0ced0e26f9a0 100644 --- a/roadmap/implementers-guide/book.toml +++ b/roadmap/implementers-guide/book.toml @@ -9,8 +9,14 @@ title = "The Polkadot Parachain Host Implementers' Guide" command = "mdbook-graphviz" [preprocessor.mermaid] command = "mdbook-mermaid" +[preprocessor.last-changed] +command = "mdbook-last-changed" +renderer = ["html"] [output.html] +additional-css = ["last-changed.css"] additional-js = ["mermaid.min.js", "mermaid-init.js"] +# Repository URL used in the last-changed link. +git-repository-url = "https://github.com/paritytech/polkadot" [output.linkcheck] diff --git a/roadmap/implementers-guide/last-changed.css b/roadmap/implementers-guide/last-changed.css new file mode 100644 index 000000000000..744dc6efc7ec --- /dev/null +++ b/roadmap/implementers-guide/last-changed.css @@ -0,0 +1,7 @@ +footer { + font-size: 0.8em; + text-align: center; + margin-top: 50px; + border-top: 1px solid black; + padding: 5px 0; +} diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index 791b01c2b632..c6fe5916c3b6 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -170,7 +170,7 @@ build-implementers-guide: - .collect-artifacts-short script: - apt-get -y update; apt-get install -y graphviz - - cargo install mdbook mdbook-mermaid mdbook-linkcheck mdbook-graphviz + - cargo install mdbook mdbook-mermaid mdbook-linkcheck mdbook-graphviz mdbook-last-changed - mdbook build ./roadmap/implementers-guide - mkdir -p artifacts - mv roadmap/implementers-guide/book artifacts/ From b19973c702a4d8eaa0d7add7e68d2eb004753e07 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 8 Nov 2022 08:30:14 -0500 Subject: [PATCH 098/211] Retry failed PVF prepare jobs (#6213) --- node/core/pvf/src/artifacts.rs | 18 +- node/core/pvf/src/host.rs | 425 +++++++++++++++++++++++++++++---- 2 files changed, 388 insertions(+), 55 deletions(-) diff --git a/node/core/pvf/src/artifacts.rs b/node/core/pvf/src/artifacts.rs index 32f487cfc062..038d8e803299 100644 --- a/node/core/pvf/src/artifacts.rs +++ b/node/core/pvf/src/artifacts.rs @@ -103,10 +103,22 @@ pub enum ArtifactState { last_time_needed: SystemTime, }, /// A task to prepare this artifact is scheduled. - Preparing { waiting_for_response: Vec }, + Preparing { + /// List of result senders that are waiting for a response. + waiting_for_response: Vec, + /// The number of times this artifact has failed to prepare. + num_failures: u32, + }, /// The code couldn't be compiled due to an error. Such artifacts /// never reach the executor and stay in the host's memory. - FailedToProcess(PrepareError), + FailedToProcess { + /// Keep track of the last time that processing this artifact failed. + last_time_failed: SystemTime, + /// The number of times this artifact has failed to prepare. + num_failures: u32, + /// The last error encountered for preparation. + error: PrepareError, + }, } /// A container of all known artifact ids and their states. @@ -150,7 +162,7 @@ impl Artifacts { // See the precondition. always!(self .artifacts - .insert(artifact_id, ArtifactState::Preparing { waiting_for_response }) + .insert(artifact_id, ArtifactState::Preparing { waiting_for_response, num_failures: 0 }) .is_none()); } diff --git a/node/core/pvf/src/host.rs b/node/core/pvf/src/host.rs index 69f2e07b56cc..5c29072da1c3 100644 --- a/node/core/pvf/src/host.rs +++ b/node/core/pvf/src/host.rs @@ -22,6 +22,7 @@ use crate::{ artifacts::{ArtifactId, ArtifactPathId, ArtifactState, Artifacts}, + error::PrepareError, execute, metrics::Metrics, prepare, PrepareResult, Priority, Pvf, ValidationError, LOG_TARGET, @@ -49,6 +50,16 @@ pub const PRECHECK_PREPARATION_TIMEOUT: Duration = Duration::from_secs(60); // NOTE: If you change this make sure to fix the buckets of `pvf_preparation_time` metric. pub const LENIENT_PREPARATION_TIMEOUT: Duration = Duration::from_secs(360); +/// The time period after which a failed preparation artifact is considered ready to be retried. +/// Note that we will only retry if another request comes in after this cooldown has passed. +#[cfg(not(test))] +pub const PREPARE_FAILURE_COOLDOWN: Duration = Duration::from_secs(15 * 60); +#[cfg(test)] +pub const PREPARE_FAILURE_COOLDOWN: Duration = Duration::from_millis(200); + +/// The amount of times we will retry failed prepare jobs. +pub const NUM_PREPARE_RETRIES: u32 = 5; + /// An alias to not spell the type for the oneshot sender for the PVF execution result. pub(crate) type ResultSender = oneshot::Sender>; @@ -97,7 +108,13 @@ impl ValidationHost { result_tx: ResultSender, ) -> Result<(), String> { self.to_host_tx - .send(ToHost::ExecutePvf { pvf, execution_timeout, params, priority, result_tx }) + .send(ToHost::ExecutePvf(ExecutePvfInputs { + pvf, + execution_timeout, + params, + priority, + result_tx, + })) .await .map_err(|_| "the inner loop hung up".to_string()) } @@ -117,20 +134,17 @@ impl ValidationHost { } enum ToHost { - PrecheckPvf { - pvf: Pvf, - result_tx: PrepareResultSender, - }, - ExecutePvf { - pvf: Pvf, - execution_timeout: Duration, - params: Vec, - priority: Priority, - result_tx: ResultSender, - }, - HeadsUp { - active_pvfs: Vec, - }, + PrecheckPvf { pvf: Pvf, result_tx: PrepareResultSender }, + ExecutePvf(ExecutePvfInputs), + HeadsUp { active_pvfs: Vec }, +} + +struct ExecutePvfInputs { + pvf: Pvf, + execution_timeout: Duration, + params: Vec, + priority: Priority, + result_tx: ResultSender, } /// Configuration for the validation host. @@ -361,6 +375,8 @@ async fn run( Some(to_host) => to_host, }; + // If the artifact failed before, it could be re-scheduled for preparation here if + // the preparation failure cooldown has elapsed. break_if_fatal!(handle_to_host( &cache_path, &mut artifacts, @@ -377,9 +393,9 @@ async fn run( // Note that preparation always succeeds. // // That's because the error conditions are written into the artifact and will be - // reported at the time of the execution. It potentially, but not necessarily, - // can be scheduled as a result of this function call, in case there are pending - // executions. + // reported at the time of the execution. It potentially, but not necessarily, can + // be scheduled for execution as a result of this function call, in case there are + // pending executions. // // We could be eager in terms of reporting and plumb the result from the preparation // worker but we don't for the sake of simplicity. @@ -407,24 +423,19 @@ async fn handle_to_host( ToHost::PrecheckPvf { pvf, result_tx } => { handle_precheck_pvf(artifacts, prepare_queue, pvf, result_tx).await?; }, - ToHost::ExecutePvf { pvf, execution_timeout, params, priority, result_tx } => { + ToHost::ExecutePvf(inputs) => { handle_execute_pvf( cache_path, artifacts, prepare_queue, execute_queue, awaiting_prepare, - pvf, - execution_timeout, - params, - priority, - result_tx, + inputs, ) .await?; }, - ToHost::HeadsUp { active_pvfs } => { - handle_heads_up(artifacts, prepare_queue, active_pvfs).await?; - }, + ToHost::HeadsUp { active_pvfs } => + handle_heads_up(artifacts, prepare_queue, active_pvfs).await?, } Ok(()) @@ -432,8 +443,9 @@ async fn handle_to_host( /// Handles PVF prechecking requests. /// -/// This tries to prepare the PVF by compiling the WASM blob within a given timeout -/// ([`PRECHECK_PREPARATION_TIMEOUT`]). +/// This tries to prepare the PVF by compiling the WASM blob within a given timeout ([`PRECHECK_COMPILATION_TIMEOUT`]). +/// +/// If the prepare job failed previously, we may retry it under certain conditions. async fn handle_precheck_pvf( artifacts: &mut Artifacts, prepare_queue: &mut mpsc::Sender, @@ -448,10 +460,12 @@ async fn handle_precheck_pvf( *last_time_needed = SystemTime::now(); let _ = result_sender.send(Ok(())); }, - ArtifactState::Preparing { waiting_for_response } => + ArtifactState::Preparing { waiting_for_response, num_failures: _ } => waiting_for_response.push(result_sender), - ArtifactState::FailedToProcess(result) => { - let _ = result_sender.send(PrepareResult::Err(result.clone())); + ArtifactState::FailedToProcess { error, .. } => { + // Do not retry failed preparation if another pre-check request comes in. We do not retry pre-checking, + // anyway. + let _ = result_sender.send(PrepareResult::Err(error.clone())); }, } } else { @@ -471,22 +485,22 @@ async fn handle_precheck_pvf( /// Handles PVF execution. /// -/// This will first try to prepare the PVF, if a prepared artifact does not already exist. If there -/// is already a preparation job, we coalesce the two preparation jobs. When preparing for -/// execution, we use a more lenient timeout ([`LENIENT_PREPARATION_TIMEOUT`]) than when -/// prechecking. +/// This will try to prepare the PVF, if a prepared artifact does not already exist. If there is already a +/// preparation job, we coalesce the two preparation jobs. +/// +/// If the prepare job failed previously, we may retry it under certain conditions. +/// +/// When preparing for execution, we use a more lenient timeout ([`EXECUTE_COMPILATION_TIMEOUT`]) +/// than when prechecking. async fn handle_execute_pvf( cache_path: &Path, artifacts: &mut Artifacts, prepare_queue: &mut mpsc::Sender, execute_queue: &mut mpsc::Sender, awaiting_prepare: &mut AwaitingPrepare, - pvf: Pvf, - execution_timeout: Duration, - params: Vec, - priority: Priority, - result_tx: ResultSender, + inputs: ExecutePvfInputs, ) -> Result<(), Fatal> { + let ExecutePvfInputs { pvf, execution_timeout, params, priority, result_tx } = inputs; let artifact_id = pvf.as_artifact_id(); if let Some(state) = artifacts.artifact_state_mut(&artifact_id) { @@ -494,6 +508,7 @@ async fn handle_execute_pvf( ArtifactState::Prepared { last_time_needed } => { *last_time_needed = SystemTime::now(); + // This artifact has already been prepared, send it to the execute queue. send_execute( execute_queue, execute::ToQueue::Enqueue { @@ -505,11 +520,29 @@ async fn handle_execute_pvf( ) .await?; }, - ArtifactState::Preparing { waiting_for_response: _ } => { + ArtifactState::Preparing { .. } => { awaiting_prepare.add(artifact_id, execution_timeout, params, result_tx); }, - ArtifactState::FailedToProcess(error) => { - let _ = result_tx.send(Err(ValidationError::from(error.clone()))); + ArtifactState::FailedToProcess { last_time_failed, num_failures, error } => { + if can_retry_prepare_after_failure(*last_time_failed, *num_failures, error) { + // If we are allowed to retry the failed prepare job, change the state to + // Preparing and re-queue this job. + *state = ArtifactState::Preparing { + waiting_for_response: Vec::new(), + num_failures: *num_failures, + }; + send_prepare( + prepare_queue, + prepare::ToQueue::Enqueue { + priority, + pvf, + preparation_timeout: LENIENT_PREPARATION_TIMEOUT, + }, + ) + .await?; + } else { + let _ = result_tx.send(Err(ValidationError::from(error.clone()))); + } }, } } else { @@ -526,6 +559,7 @@ async fn handle_execute_pvf( ) .await?; + // Add an execution request that will wait to run after this prepare job has finished. awaiting_prepare.add(artifact_id, execution_timeout, params, result_tx); } @@ -546,10 +580,28 @@ async fn handle_heads_up( ArtifactState::Prepared { last_time_needed, .. } => { *last_time_needed = now; }, - ArtifactState::Preparing { waiting_for_response: _ } => { + ArtifactState::Preparing { .. } => { // The artifact is already being prepared, so we don't need to do anything. }, - ArtifactState::FailedToProcess(_) => {}, + ArtifactState::FailedToProcess { last_time_failed, num_failures, error } => { + if can_retry_prepare_after_failure(*last_time_failed, *num_failures, error) { + // If we are allowed to retry the failed prepare job, change the state to + // Preparing and re-queue this job. + *state = ArtifactState::Preparing { + waiting_for_response: vec![], + num_failures: *num_failures, + }; + send_prepare( + prepare_queue, + prepare::ToQueue::Enqueue { + priority: Priority::Normal, + pvf: active_pvf, + preparation_timeout: LENIENT_PREPARATION_TIMEOUT, + }, + ) + .await?; + } + }, } } else { // It's not in the artifacts, so we need to enqueue a job to prepare it. @@ -599,20 +651,26 @@ async fn handle_prepare_done( never!("the artifact is already prepared: {:?}", artifact_id); return Ok(()) }, - Some(ArtifactState::FailedToProcess(_)) => { + Some(ArtifactState::FailedToProcess { .. }) => { // The reasoning is similar to the above, the artifact cannot be // processed at this point. never!("the artifact is already processed unsuccessfully: {:?}", artifact_id); return Ok(()) }, - Some(state @ ArtifactState::Preparing { waiting_for_response: _ }) => state, + Some(state @ ArtifactState::Preparing { .. }) => state, }; - if let ArtifactState::Preparing { waiting_for_response } = state { + let num_failures = if let ArtifactState::Preparing { waiting_for_response, num_failures } = + state + { for result_sender in waiting_for_response.drain(..) { let _ = result_sender.send(result.clone()); } - } + num_failures + } else { + never!("The reasoning is similar to the above, the artifact can only be preparing at this point; qed"); + return Ok(()) + }; // It's finally time to dispatch all the execution requests that were waiting for this artifact // to be prepared. @@ -644,7 +702,11 @@ async fn handle_prepare_done( *state = match result { Ok(()) => ArtifactState::Prepared { last_time_needed: SystemTime::now() }, - Err(error) => ArtifactState::FailedToProcess(error.clone()), + Err(error) => ArtifactState::FailedToProcess { + last_time_failed: SystemTime::now(), + num_failures: *num_failures + 1, + error: error.clone(), + }, }; Ok(()) @@ -707,6 +769,24 @@ async fn sweeper_task(mut sweeper_rx: mpsc::Receiver) { } } +/// Check if the conditions to retry a prepare job have been met. +fn can_retry_prepare_after_failure( + last_time_failed: SystemTime, + num_failures: u32, + error: &PrepareError, +) -> bool { + use PrepareError::*; + match error { + // Gracefully returned an error, so it will probably be reproducible. Don't retry. + Prevalidation(_) | Preparation(_) => false, + // Retry if the retry cooldown has elapsed and if we have already retried less than + // `NUM_PREPARE_RETRIES` times. + Panic(_) | TimedOut | DidNotMakeIt => + SystemTime::now() >= last_time_failed + PREPARE_FAILURE_COOLDOWN && + num_failures <= NUM_PREPARE_RETRIES, + } +} + /// A stream that yields a pulse continuously at a given interval. fn pulse_every(interval: std::time::Duration) -> impl futures::Stream { futures::stream::unfold(interval, { @@ -834,6 +914,25 @@ mod tests { .await } + async fn poll_ensure_to_prepare_queue_is_empty(&mut self) { + use futures_timer::Delay; + + let to_prepare_queue_rx = &mut self.to_prepare_queue_rx; + run_until( + &mut self.run, + async { + futures::select! { + _ = Delay::new(Duration::from_millis(500)).fuse() => (), + _ = to_prepare_queue_rx.next().fuse() => { + panic!("the prepare queue is supposed to be empty") + } + } + } + .boxed(), + ) + .await + } + async fn poll_ensure_to_execute_queue_is_empty(&mut self) { use futures_timer::Delay; @@ -844,7 +943,7 @@ mod tests { futures::select! { _ = Delay::new(Duration::from_millis(500)).fuse() => (), _ = to_execute_queue_rx.next().fuse() => { - panic!("the execute queue supposed to be empty") + panic!("the execute queue is supposed to be empty") } } } @@ -1168,6 +1267,228 @@ mod tests { } } + // Test that multiple prechecking requests do not trigger preparation retries if the first one + // failed. + #[async_std::test] + async fn test_precheck_prepare_retry() { + let mut test = Builder::default().build(); + let mut host = test.host_handle(); + + // Submit a precheck request that fails. + let (result_tx, _result_rx) = oneshot::channel(); + host.precheck_pvf(Pvf::from_discriminator(1), result_tx).await.unwrap(); + + // The queue received the prepare request. + assert_matches!( + test.poll_and_recv_to_prepare_queue().await, + prepare::ToQueue::Enqueue { .. } + ); + // Send a PrepareError. + test.from_prepare_queue_tx + .send(prepare::FromQueue { + artifact_id: artifact_id(1), + result: Err(PrepareError::TimedOut), + }) + .await + .unwrap(); + + // Submit another precheck request. + let (result_tx_2, _result_rx_2) = oneshot::channel(); + host.precheck_pvf(Pvf::from_discriminator(1), result_tx_2).await.unwrap(); + + // Assert the prepare queue is empty. + test.poll_ensure_to_prepare_queue_is_empty().await; + + // Pause for enough time to reset the cooldown for this failed prepare request. + futures_timer::Delay::new(PREPARE_FAILURE_COOLDOWN).await; + + // Submit another precheck request. + let (result_tx_3, _result_rx_3) = oneshot::channel(); + host.precheck_pvf(Pvf::from_discriminator(1), result_tx_3).await.unwrap(); + + // Assert the prepare queue is empty - we do not retry for precheck requests. + test.poll_ensure_to_prepare_queue_is_empty().await; + } + + // Test that multiple execution requests trigger preparation retries if the first one failed due + // to a potentially non-reproducible error. + #[async_std::test] + async fn test_execute_prepare_retry() { + let mut test = Builder::default().build(); + let mut host = test.host_handle(); + + // Submit a execute request that fails. + let (result_tx, _result_rx) = oneshot::channel(); + host.execute_pvf( + Pvf::from_discriminator(1), + TEST_EXECUTION_TIMEOUT, + b"pvf".to_vec(), + Priority::Critical, + result_tx, + ) + .await + .unwrap(); + + // The queue received the prepare request. + assert_matches!( + test.poll_and_recv_to_prepare_queue().await, + prepare::ToQueue::Enqueue { .. } + ); + // Send a PrepareError. + test.from_prepare_queue_tx + .send(prepare::FromQueue { + artifact_id: artifact_id(1), + result: Err(PrepareError::TimedOut), + }) + .await + .unwrap(); + + // Submit another execute request. + let (result_tx_2, _result_rx_2) = oneshot::channel(); + host.execute_pvf( + Pvf::from_discriminator(1), + TEST_EXECUTION_TIMEOUT, + b"pvf".to_vec(), + Priority::Critical, + result_tx_2, + ) + .await + .unwrap(); + + // Assert the prepare queue is empty. + test.poll_ensure_to_prepare_queue_is_empty().await; + + // Pause for enough time to reset the cooldown for this failed prepare request. + futures_timer::Delay::new(PREPARE_FAILURE_COOLDOWN).await; + + // Submit another execute request. + let (result_tx_3, _result_rx_3) = oneshot::channel(); + host.execute_pvf( + Pvf::from_discriminator(1), + TEST_EXECUTION_TIMEOUT, + b"pvf".to_vec(), + Priority::Critical, + result_tx_3, + ) + .await + .unwrap(); + + // Assert the prepare queue contains the request. + assert_matches!( + test.poll_and_recv_to_prepare_queue().await, + prepare::ToQueue::Enqueue { .. } + ); + } + + // Test that multiple execution requests don't trigger preparation retries if the first one + // failed due to reproducible error (e.g. Prevalidation). + #[async_std::test] + async fn test_execute_prepare_no_retry() { + let mut test = Builder::default().build(); + let mut host = test.host_handle(); + + // Submit a execute request that fails. + let (result_tx, _result_rx) = oneshot::channel(); + host.execute_pvf( + Pvf::from_discriminator(1), + TEST_EXECUTION_TIMEOUT, + b"pvf".to_vec(), + Priority::Critical, + result_tx, + ) + .await + .unwrap(); + + // The queue received the prepare request. + assert_matches!( + test.poll_and_recv_to_prepare_queue().await, + prepare::ToQueue::Enqueue { .. } + ); + // Send a PrepareError. + test.from_prepare_queue_tx + .send(prepare::FromQueue { + artifact_id: artifact_id(1), + result: Err(PrepareError::Prevalidation("reproducible error".into())), + }) + .await + .unwrap(); + + // Submit another execute request. + let (result_tx_2, _result_rx_2) = oneshot::channel(); + host.execute_pvf( + Pvf::from_discriminator(1), + TEST_EXECUTION_TIMEOUT, + b"pvf".to_vec(), + Priority::Critical, + result_tx_2, + ) + .await + .unwrap(); + + // Assert the prepare queue is empty. + test.poll_ensure_to_prepare_queue_is_empty().await; + + // Pause for enough time to reset the cooldown for this failed prepare request. + futures_timer::Delay::new(PREPARE_FAILURE_COOLDOWN).await; + + // Submit another execute request. + let (result_tx_3, _result_rx_3) = oneshot::channel(); + host.execute_pvf( + Pvf::from_discriminator(1), + TEST_EXECUTION_TIMEOUT, + b"pvf".to_vec(), + Priority::Critical, + result_tx_3, + ) + .await + .unwrap(); + + // Assert the prepare queue is empty - we do not retry for prevalidation errors. + test.poll_ensure_to_prepare_queue_is_empty().await; + } + + // Test that multiple heads-up requests trigger preparation retries if the first one failed. + #[async_std::test] + async fn test_heads_up_prepare_retry() { + let mut test = Builder::default().build(); + let mut host = test.host_handle(); + + // Submit a heads-up request that fails. + host.heads_up(vec![Pvf::from_discriminator(1)]).await.unwrap(); + + // The queue received the prepare request. + assert_matches!( + test.poll_and_recv_to_prepare_queue().await, + prepare::ToQueue::Enqueue { .. } + ); + // Send a PrepareError. + test.from_prepare_queue_tx + .send(prepare::FromQueue { + artifact_id: artifact_id(1), + result: Err(PrepareError::TimedOut), + }) + .await + .unwrap(); + + // Submit another heads-up request. + host.heads_up(vec![Pvf::from_discriminator(1)]).await.unwrap(); + + // Assert the prepare queue is empty. + test.poll_ensure_to_prepare_queue_is_empty().await; + + // Pause for enough time to reset the cooldown for this failed prepare request. + futures_timer::Delay::new(PREPARE_FAILURE_COOLDOWN).await; + + // Submit another heads-up request. + host.heads_up(vec![Pvf::from_discriminator(1)]).await.unwrap(); + + // Assert the prepare queue contains the request. + assert_matches!( + test.poll_and_recv_to_prepare_queue().await, + prepare::ToQueue::Enqueue { .. } + ); + } + #[async_std::test] async fn cancellation() { let mut test = Builder::default().build(); From ee1a034a8d81f1481e8cb2a899eea0351b69feb8 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Tue, 8 Nov 2022 17:19:48 +0100 Subject: [PATCH 099/211] staking miner: remove needless queue check (#6221) * staking miner: remove needless queue check If the queue is full and the "mined solution" is better than solutions in the queue according to the "strategy" then the solution with worse score will be kicked out from the queue. Thus, the check can be removed completly. * fix compile warns --- utils/staking-miner/src/main.rs | 1 - utils/staking-miner/src/monitor.rs | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 6e5b53423548..8c134874f297 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -253,7 +253,6 @@ enum Error { AlreadySubmitted, VersionMismatch, StrategyNotSatisfied, - QueueFull, Other(String), } diff --git a/utils/staking-miner/src/monitor.rs b/utils/staking-miner/src/monitor.rs index 0780ef881fce..bfc075668e66 100644 --- a/utils/staking-miner/src/monitor.rs +++ b/utils/staking-miner/src/monitor.rs @@ -120,9 +120,8 @@ async fn ensure_strategy_met( .map_err::, _>(Into::into)? .unwrap_or_default(); - // we check the queue here as well. Could be checked elsewhere. - if indices.len() as u32 >= max_submissions { - return Err(Error::::QueueFull) + if indices.len() >= max_submissions as usize { + log::debug!(target: LOG_TARGET, "The submissions queue is full"); } // default score is all zeros, any score is better than it. From 23044bee43a2c4ecc866a602df1b6b859e7cdefd Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:57:57 +0000 Subject: [PATCH 100/211] companion for fast unstake batching (#6253) * update * add migrations * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 362 ++++++++++++++++++------------------ runtime/kusama/src/lib.rs | 2 + runtime/polkadot/src/lib.rs | 2 + runtime/westend/src/lib.rs | 2 + 4 files changed, 188 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9198572afd43..541f21c2b3b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -2038,7 +2038,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", ] @@ -2062,7 +2062,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -2085,7 +2085,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "Inflector", "array-bytes", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2148,7 +2148,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2164,7 +2164,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -2193,7 +2193,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "bitflags", "frame-metadata", @@ -2225,7 +2225,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "Inflector", "cfg-expr", @@ -2239,7 +2239,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2251,7 +2251,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro2", "quote", @@ -2261,7 +2261,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2284,7 +2284,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -2295,7 +2295,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "log", @@ -2313,7 +2313,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -2328,7 +2328,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "sp-api", @@ -2337,7 +2337,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "parity-scale-codec", @@ -2508,7 +2508,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "chrono", "frame-election-provider-support", @@ -4689,7 +4689,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4703,7 +4703,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4758,7 +4758,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4778,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4797,7 +4797,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4812,7 +4812,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "beefy-primitives", "frame-support", @@ -4828,7 +4828,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4851,7 +4851,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4888,7 +4888,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4922,7 +4922,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4940,7 +4940,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4964,7 +4964,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4977,7 +4977,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -4995,7 +4995,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5013,7 +5013,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5051,7 +5051,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5067,7 +5067,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5087,7 +5087,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5104,7 +5104,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5121,7 +5121,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5139,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5154,7 +5154,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5170,7 +5170,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -5187,7 +5187,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5207,7 +5207,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "sp-api", @@ -5217,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -5234,7 +5234,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5257,7 +5257,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5274,7 +5274,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5289,7 +5289,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5307,7 +5307,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5340,7 +5340,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5356,7 +5356,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -5377,7 +5377,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -5407,7 +5407,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "sp-arithmetic", @@ -5450,7 +5450,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -5464,7 +5464,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5501,7 +5501,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-support", "frame-system", @@ -5517,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5527,23 +5527,25 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", "sp-api", "sp-runtime", + "sp-weights", ] [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5560,7 +5562,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5576,7 +5578,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -5591,7 +5593,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-benchmarking", "frame-support", @@ -8063,7 +8065,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "env_logger 0.9.0", "log", @@ -8402,7 +8404,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "sp-core", @@ -8413,7 +8415,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures", @@ -8440,7 +8442,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "futures-timer", @@ -8463,7 +8465,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8479,7 +8481,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "impl-trait-for-tuples", "memmap2 0.5.0", @@ -8496,7 +8498,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8507,7 +8509,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "chrono", @@ -8547,7 +8549,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "fnv", "futures", @@ -8575,7 +8577,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "hash-db", "kvdb", @@ -8600,7 +8602,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures", @@ -8624,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "fork-tree", @@ -8666,7 +8668,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "jsonrpsee", @@ -8688,7 +8690,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8701,7 +8703,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures", @@ -8725,7 +8727,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8752,7 +8754,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "environmental", "parity-scale-codec", @@ -8768,7 +8770,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "parity-scale-codec", @@ -8783,7 +8785,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8803,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "ahash", "array-bytes", @@ -8844,7 +8846,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "finality-grandpa", "futures", @@ -8865,7 +8867,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "ansi_term", "futures", @@ -8882,7 +8884,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "async-trait", @@ -8897,7 +8899,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "async-trait", @@ -8944,7 +8946,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "cid", "futures", @@ -8964,7 +8966,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "bitflags", @@ -8990,7 +8992,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "ahash", "futures", @@ -9008,7 +9010,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "futures", @@ -9029,7 +9031,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "fork-tree", @@ -9059,7 +9061,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "futures", @@ -9078,7 +9080,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "bytes", @@ -9108,7 +9110,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "libp2p", @@ -9121,7 +9123,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9130,7 +9132,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "hash-db", @@ -9160,7 +9162,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "jsonrpsee", @@ -9183,7 +9185,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "jsonrpsee", @@ -9196,7 +9198,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "hex", @@ -9215,7 +9217,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "directories", @@ -9286,7 +9288,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "parity-scale-codec", @@ -9300,7 +9302,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9319,7 +9321,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "libc", @@ -9338,7 +9340,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "chrono", "futures", @@ -9356,7 +9358,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "ansi_term", "atty", @@ -9387,7 +9389,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9398,7 +9400,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures", @@ -9425,7 +9427,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures", @@ -9439,7 +9441,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "futures-timer", @@ -9920,7 +9922,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "hash-db", "log", @@ -9938,7 +9940,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "blake2", "proc-macro-crate", @@ -9950,7 +9952,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -9963,7 +9965,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "integer-sqrt", "num-traits", @@ -9978,7 +9980,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -9991,7 +9993,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "parity-scale-codec", @@ -10003,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "sp-api", @@ -10015,7 +10017,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "log", @@ -10033,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures", @@ -10052,7 +10054,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "merlin", @@ -10075,7 +10077,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -10089,7 +10091,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -10102,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "base58", @@ -10148,7 +10150,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "blake2", "byteorder", @@ -10162,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro2", "quote", @@ -10173,7 +10175,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10182,7 +10184,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro2", "quote", @@ -10192,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "environmental", "parity-scale-codec", @@ -10203,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "finality-grandpa", "log", @@ -10221,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10235,7 +10237,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "bytes", "futures", @@ -10261,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "lazy_static", "sp-core", @@ -10272,7 +10274,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures", @@ -10289,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "thiserror", "zstd", @@ -10298,7 +10300,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "parity-scale-codec", @@ -10314,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -10328,7 +10330,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "sp-api", "sp-core", @@ -10338,7 +10340,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "backtrace", "lazy_static", @@ -10348,7 +10350,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "rustc-hash", "serde", @@ -10358,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "either", "hash256-std-hasher", @@ -10381,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10399,7 +10401,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "Inflector", "proc-macro-crate", @@ -10411,7 +10413,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "parity-scale-codec", @@ -10425,7 +10427,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -10439,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "scale-info", @@ -10450,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "hash-db", "log", @@ -10472,12 +10474,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10490,7 +10492,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "log", "sp-core", @@ -10503,7 +10505,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "futures-timer", @@ -10519,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "sp-std", @@ -10531,7 +10533,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "sp-api", "sp-runtime", @@ -10540,7 +10542,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "log", @@ -10556,7 +10558,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "ahash", "hash-db", @@ -10579,7 +10581,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10596,7 +10598,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10607,7 +10609,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "impl-trait-for-tuples", "log", @@ -10620,7 +10622,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10835,7 +10837,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "platforms", ] @@ -10843,7 +10845,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10864,7 +10866,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures-util", "hyper", @@ -10877,7 +10879,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "async-trait", "jsonrpsee", @@ -10890,7 +10892,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "jsonrpsee", "log", @@ -10911,7 +10913,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "array-bytes", "async-trait", @@ -10937,7 +10939,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10947,7 +10949,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10958,7 +10960,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "ansi_term", "build-helper", @@ -11665,7 +11667,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#3a450ffe936d5c2e5dc1208abecd11cc71aefcbe" +source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 60df35cd6145..40ddbb08f415 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -580,6 +580,7 @@ impl pallet_staking::Config for Runtime { impl pallet_fast_unstake::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; + type BatchSize = frame_support::traits::ConstU32<64>; type Deposit = frame_support::traits::ConstU128<{ CENTS * 100 }>; type ControlOrigin = EitherOfDiverse< EnsureRoot, @@ -1440,6 +1441,7 @@ pub type Executive = frame_executive::Executive< // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, + pallet_fast_unstake::migrations::v1::MigrateToV1, ), >; /// The payload being signed in the transactions. diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 932a7a95ac65..cab371f26c1b 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -600,6 +600,7 @@ impl pallet_staking::Config for Runtime { impl pallet_fast_unstake::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; + type BatchSize = frame_support::traits::ConstU32<64>; type Deposit = frame_support::traits::ConstU128<{ UNITS }>; type ControlOrigin = EitherOfDiverse< EnsureRoot, @@ -1596,6 +1597,7 @@ pub type Executive = frame_executive::Executive< // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, + pallet_fast_unstake::migrations::v1::MigrateToV1, ), >; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index fd5e8a1c7f43..327cfd512a4c 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -518,6 +518,7 @@ impl pallet_staking::Config for Runtime { impl pallet_fast_unstake::Config for Runtime { type RuntimeEvent = RuntimeEvent; type Currency = Balances; + type BatchSize = frame_support::traits::ConstU32<64>; type Deposit = frame_support::traits::ConstU128<{ UNITS }>; type ControlOrigin = EnsureRoot; type WeightInfo = weights::pallet_fast_unstake::WeightInfo; @@ -1217,6 +1218,7 @@ pub type Executive = frame_executive::Executive< // "Properly migrate weights to v2" parachains_configuration::migration::v3::MigrateToV3, pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, + pallet_fast_unstake::migrations::v1::MigrateToV1, ), >; /// The payload being signed in transactions. From 1eb107d26dd7ea692e61d157d9c4c5ec78d1b0ac Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Tue, 8 Nov 2022 19:16:31 +0200 Subject: [PATCH 101/211] Make rolling session more resilient in case of long finality stalls (#6106) * Impl dynamic window size. Keep sessions for unfinalized chain Signed-off-by: Andrei Sandu * feedback Signed-off-by: Andrei Sandu * Stretch also in contructor plus tests Signed-off-by: Andrei Sandu * review feedback Signed-off-by: Andrei Sandu * fix approval-voting tests Signed-off-by: Andrei Sandu * grunting: dispute coordinator tests Signed-off-by: Andrei Sandu * add session window column Signed-off-by: Andrei Sandu * integrate approval vote and fix tests Signed-off-by: Andrei Sandu * fix rolling session tests Signed-off-by: Andrei Sandu * Small refactor Signed-off-by: Andrei Sandu * WIP, tests failing Signed-off-by: Andrei Sandu * Fix approval voting tests Signed-off-by: Andrei Sandu * fix dispute-coordinator tests Signed-off-by: Andrei Sandu * remove uneeded param Signed-off-by: Andrei Sandu * fmt Signed-off-by: Andrei Sandu * fix loose ends Signed-off-by: Andrei Sandu * allow failure and tests for it Signed-off-by: Andrei Sandu * fix comment Signed-off-by: Andrei Sandu * comment fix Signed-off-by: Andrei Sandu * style fix Signed-off-by: Andrei Sandu * new col doesn't need to be ordered Signed-off-by: Andrei Sandu * fmt and spellcheck Signed-off-by: Andrei Sandu * db persist tests Signed-off-by: Andrei Sandu * Add v2 config and cols Signed-off-by: Andrei Sandu * DB upgrade WIP Signed-off-by: Andrei Sandu * Fix comments Signed-off-by: Andrei Sandu * add todo Signed-off-by: Andrei Sandu * update to parity-db to "0.4.2" Signed-off-by: Andrei Sandu * migration complete Signed-off-by: Andrei Sandu * One session window size Signed-off-by: Andrei Sandu * fix merge damage Signed-off-by: Andrei Sandu * fix build errors Signed-off-by: Andrei Sandu * fmt Signed-off-by: Andrei Sandu * comment fix Signed-off-by: Andrei Sandu * fix build Signed-off-by: Andrei Sandu * make error more explicit Signed-off-by: Andrei Sandu * add comment Signed-off-by: Andrei Sandu * refactor conflict merge Signed-off-by: Andrei Sandu * rename col_data Signed-off-by: Andrei Sandu * add doc comment Signed-off-by: Andrei Sandu * fix build Signed-off-by: Andrei Sandu * migration: move all cols to v2 Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- Cargo.lock | 34 +- .../approval-voting/src/approval_db/v1/mod.rs | 36 +- .../src/approval_db/v1/tests.rs | 7 +- node/core/approval-voting/src/import.rs | 75 +-- node/core/approval-voting/src/lib.rs | 39 +- node/core/approval-voting/src/tests.rs | 70 ++- node/core/dispute-coordinator/src/db/v1.rs | 45 +- node/core/dispute-coordinator/src/lib.rs | 41 +- node/core/dispute-coordinator/src/tests.rs | 67 ++- node/service/Cargo.toml | 3 +- node/service/src/lib.rs | 9 +- node/service/src/parachains_db/mod.rs | 45 +- node/service/src/parachains_db/upgrade.rs | 183 +++++- node/subsystem-util/Cargo.toml | 3 +- .../src/rolling_session_window.rs | 552 +++++++++++++++--- 15 files changed, 931 insertions(+), 278 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 541f21c2b3b9..e1d377bfb54a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3951,9 +3951,9 @@ dependencies = [ [[package]] name = "lz4" -version = "1.23.2" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aac20ed6991e01bf6a2e68cc73df2b389707403662a8ba89f68511fb340f724c" +checksum = "7e9e2dd86df36ce760a60f6ff6ad526f7ba1f14ba0356f8254fb6905e6494df1" dependencies = [ "libc", "lz4-sys", @@ -3961,9 +3961,9 @@ dependencies = [ [[package]] name = "lz4-sys" -version = "1.9.2" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dca79aa95d8b3226213ad454d328369853be3a1382d89532a854f4d69640acae" +checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" dependencies = [ "cc", "libc", @@ -5671,6 +5671,25 @@ dependencies = [ "snap", ] +[[package]] +name = "parity-db" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a7511a0bec4a336b5929999d02b560d2439c993cccf98c26481484e811adc43" +dependencies = [ + "blake2", + "crc32fast", + "fs2", + "hex", + "libc", + "log", + "lz4", + "memmap2 0.5.0", + "parking_lot 0.12.1", + "rand 0.8.5", + "snap", +] + [[package]] name = "parity-scale-codec" version = "3.1.5" @@ -6758,11 +6777,12 @@ dependencies = [ "futures", "itertools", "kvdb", + "kvdb-memorydb", "kvdb-shared-tests", "lazy_static", "log", "lru 0.8.0", - "parity-db", + "parity-db 0.4.2", "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.2", @@ -7156,7 +7176,7 @@ dependencies = [ "pallet-im-online", "pallet-staking", "pallet-transaction-payment-rpc-runtime-api", - "parity-db", + "parity-db 0.4.2", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -8585,7 +8605,7 @@ dependencies = [ "kvdb-rocksdb", "linked-hash-map", "log", - "parity-db", + "parity-db 0.3.16", "parity-scale-codec", "parking_lot 0.12.1", "sc-client-api", diff --git a/node/core/approval-voting/src/approval_db/v1/mod.rs b/node/core/approval-voting/src/approval_db/v1/mod.rs index 03b7aa68f134..858bcb8c36fe 100644 --- a/node/core/approval-voting/src/approval_db/v1/mod.rs +++ b/node/core/approval-voting/src/approval_db/v1/mod.rs @@ -90,41 +90,45 @@ impl Backend for DbBackend { match op { BackendWriteOp::WriteStoredBlockRange(stored_block_range) => { tx.put_vec( - self.config.col_data, + self.config.col_approval_data, &STORED_BLOCKS_KEY, stored_block_range.encode(), ); }, BackendWriteOp::DeleteStoredBlockRange => { - tx.delete(self.config.col_data, &STORED_BLOCKS_KEY); + tx.delete(self.config.col_approval_data, &STORED_BLOCKS_KEY); }, BackendWriteOp::WriteBlocksAtHeight(h, blocks) => { - tx.put_vec(self.config.col_data, &blocks_at_height_key(h), blocks.encode()); + tx.put_vec( + self.config.col_approval_data, + &blocks_at_height_key(h), + blocks.encode(), + ); }, BackendWriteOp::DeleteBlocksAtHeight(h) => { - tx.delete(self.config.col_data, &blocks_at_height_key(h)); + tx.delete(self.config.col_approval_data, &blocks_at_height_key(h)); }, BackendWriteOp::WriteBlockEntry(block_entry) => { let block_entry: BlockEntry = block_entry.into(); tx.put_vec( - self.config.col_data, + self.config.col_approval_data, &block_entry_key(&block_entry.block_hash), block_entry.encode(), ); }, BackendWriteOp::DeleteBlockEntry(hash) => { - tx.delete(self.config.col_data, &block_entry_key(&hash)); + tx.delete(self.config.col_approval_data, &block_entry_key(&hash)); }, BackendWriteOp::WriteCandidateEntry(candidate_entry) => { let candidate_entry: CandidateEntry = candidate_entry.into(); tx.put_vec( - self.config.col_data, + self.config.col_approval_data, &candidate_entry_key(&candidate_entry.candidate.hash()), candidate_entry.encode(), ); }, BackendWriteOp::DeleteCandidateEntry(candidate_hash) => { - tx.delete(self.config.col_data, &candidate_entry_key(&candidate_hash)); + tx.delete(self.config.col_approval_data, &candidate_entry_key(&candidate_hash)); }, } } @@ -149,7 +153,9 @@ pub type Bitfield = BitVec; #[derive(Debug, Clone, Copy)] pub struct Config { /// The column family in the database where data is stored. - pub col_data: u32, + pub col_approval_data: u32, + /// The column of the database where rolling session window data is stored. + pub col_session_data: u32, } /// Details pertaining to our assignment on a block. @@ -243,10 +249,10 @@ pub type Result = std::result::Result; pub(crate) fn load_decode( store: &dyn Database, - col_data: u32, + col_approval_data: u32, key: &[u8], ) -> Result> { - match store.get(col_data, key)? { + match store.get(col_approval_data, key)? { None => Ok(None), Some(raw) => D::decode(&mut &raw[..]).map(Some).map_err(Into::into), } @@ -303,7 +309,7 @@ pub fn load_stored_blocks( store: &dyn Database, config: &Config, ) -> SubsystemResult> { - load_decode(store, config.col_data, STORED_BLOCKS_KEY) + load_decode(store, config.col_approval_data, STORED_BLOCKS_KEY) .map_err(|e| SubsystemError::with_origin("approval-voting", e)) } @@ -313,7 +319,7 @@ pub fn load_blocks_at_height( config: &Config, block_number: &BlockNumber, ) -> SubsystemResult> { - load_decode(store, config.col_data, &blocks_at_height_key(*block_number)) + load_decode(store, config.col_approval_data, &blocks_at_height_key(*block_number)) .map(|x| x.unwrap_or_default()) .map_err(|e| SubsystemError::with_origin("approval-voting", e)) } @@ -324,7 +330,7 @@ pub fn load_block_entry( config: &Config, block_hash: &Hash, ) -> SubsystemResult> { - load_decode(store, config.col_data, &block_entry_key(block_hash)) + load_decode(store, config.col_approval_data, &block_entry_key(block_hash)) .map(|u: Option| u.map(|v| v.into())) .map_err(|e| SubsystemError::with_origin("approval-voting", e)) } @@ -335,7 +341,7 @@ pub fn load_candidate_entry( config: &Config, candidate_hash: &CandidateHash, ) -> SubsystemResult> { - load_decode(store, config.col_data, &candidate_entry_key(candidate_hash)) + load_decode(store, config.col_approval_data, &candidate_entry_key(candidate_hash)) .map(|u: Option| u.map(|v| v.into())) .map_err(|e| SubsystemError::with_origin("approval-voting", e)) } diff --git a/node/core/approval-voting/src/approval_db/v1/tests.rs b/node/core/approval-voting/src/approval_db/v1/tests.rs index 548c64bcef03..06923c6a539f 100644 --- a/node/core/approval-voting/src/approval_db/v1/tests.rs +++ b/node/core/approval-voting/src/approval_db/v1/tests.rs @@ -28,9 +28,12 @@ use std::{collections::HashMap, sync::Arc}; use ::test_helpers::{dummy_candidate_receipt, dummy_candidate_receipt_bad_sig, dummy_hash}; const DATA_COL: u32 = 0; -const NUM_COLUMNS: u32 = 1; +const SESSION_DATA_COL: u32 = 1; -const TEST_CONFIG: Config = Config { col_data: DATA_COL }; +const NUM_COLUMNS: u32 = 2; + +const TEST_CONFIG: Config = + Config { col_approval_data: DATA_COL, col_session_data: SESSION_DATA_COL }; fn make_db() -> (DbBackend, Arc) { let db = kvdb_memorydb::create(NUM_COLUMNS); diff --git a/node/core/approval-voting/src/import.rs b/node/core/approval-voting/src/import.rs index df713143750f..20629dd022d4 100644 --- a/node/core/approval-voting/src/import.rs +++ b/node/core/approval-voting/src/import.rs @@ -632,14 +632,15 @@ pub(crate) mod tests { pub(crate) use sp_runtime::{Digest, DigestItem}; use std::{pin::Pin, sync::Arc}; - use crate::{ - approval_db::v1::Config as DatabaseConfig, criteria, BlockEntry, APPROVAL_SESSIONS, - }; + use crate::{approval_db::v1::Config as DatabaseConfig, criteria, BlockEntry}; const DATA_COL: u32 = 0; - const NUM_COLUMNS: u32 = 1; + const SESSION_DATA_COL: u32 = 1; + + const NUM_COLUMNS: u32 = 2; - const TEST_CONFIG: DatabaseConfig = DatabaseConfig { col_data: DATA_COL }; + const TEST_CONFIG: DatabaseConfig = + DatabaseConfig { col_approval_data: DATA_COL, col_session_data: SESSION_DATA_COL }; #[derive(Default)] struct MockClock; @@ -654,22 +655,23 @@ pub(crate) mod tests { } fn blank_state() -> State { + let db = kvdb_memorydb::create(NUM_COLUMNS); + let db = polkadot_node_subsystem_util::database::kvdb_impl::DbAdapter::new(db, &[]); + let db: Arc = Arc::new(db); State { session_window: None, keystore: Arc::new(LocalKeystore::in_memory()), slot_duration_millis: 6_000, clock: Box::new(MockClock::default()), assignment_criteria: Box::new(MockAssignmentCriteria), + db, + db_config: TEST_CONFIG, } } fn single_session_state(index: SessionIndex, info: SessionInfo) -> State { State { - session_window: Some(RollingSessionWindow::with_session_info( - APPROVAL_SESSIONS, - index, - vec![info], - )), + session_window: Some(RollingSessionWindow::with_session_info(index, vec![info])), ..blank_state() } } @@ -782,11 +784,8 @@ pub(crate) mod tests { .map(|(r, c, g)| (r.hash(), r.clone(), *c, *g)) .collect::>(); - let session_window = RollingSessionWindow::with_session_info( - APPROVAL_SESSIONS, - session, - vec![session_info], - ); + let session_window = + RollingSessionWindow::with_session_info(session, vec![session_info]); let header = header.clone(); Box::pin(async move { @@ -891,11 +890,8 @@ pub(crate) mod tests { .collect::>(); let test_fut = { - let session_window = RollingSessionWindow::with_session_info( - APPROVAL_SESSIONS, - session, - vec![session_info], - ); + let session_window = + RollingSessionWindow::with_session_info(session, vec![session_info]); let header = header.clone(); Box::pin(async move { @@ -1089,11 +1085,8 @@ pub(crate) mod tests { .map(|(r, c, g)| (r.hash(), r.clone(), *c, *g)) .collect::>(); - let session_window = Some(RollingSessionWindow::with_session_info( - APPROVAL_SESSIONS, - session, - vec![session_info], - )); + let session_window = + Some(RollingSessionWindow::with_session_info(session, vec![session_info])); let header = header.clone(); Box::pin(async move { @@ -1304,38 +1297,6 @@ pub(crate) mod tests { } ); - // Caching of sesssions needs sessoion of first unfinalied block. - assert_matches!( - handle.recv().await, - AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( - s_tx, - )) => { - let _ = s_tx.send(Ok(header.number)); - } - ); - - assert_matches!( - handle.recv().await, - AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( - block_number, - s_tx, - )) => { - assert_eq!(block_number, header.number); - let _ = s_tx.send(Ok(Some(header.hash()))); - } - ); - - assert_matches!( - handle.recv().await, - AllMessages::RuntimeApi(RuntimeApiMessage::Request( - h, - RuntimeApiRequest::SessionIndexForChild(s_tx), - )) => { - assert_eq!(h, header.hash()); - let _ = s_tx.send(Ok(session)); - } - ); - // determine_new_blocks exits early as the parent_hash is in the DB assert_matches!( diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index e9757071f15e..b96992df2c88 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -44,8 +44,7 @@ use polkadot_node_subsystem_util::{ database::Database, metrics::{self, prometheus}, rolling_session_window::{ - new_session_window_size, RollingSessionWindow, SessionWindowSize, SessionWindowUpdate, - SessionsUnavailable, + DatabaseParams, RollingSessionWindow, SessionWindowUpdate, SessionsUnavailable, }, TimeoutExt, }; @@ -97,8 +96,6 @@ use crate::{ #[cfg(test)] mod tests; -pub const APPROVAL_SESSIONS: SessionWindowSize = new_session_window_size!(6); - const APPROVAL_CHECKING_TIMEOUT: Duration = Duration::from_secs(120); /// How long are we willing to wait for approval signatures? /// @@ -118,7 +115,9 @@ const LOG_TARGET: &str = "parachain::approval-voting"; #[derive(Debug, Clone)] pub struct Config { /// The column family in the DB where approval-voting data is stored. - pub col_data: u32, + pub col_approval_data: u32, + /// The of the DB where rolling session info is stored. + pub col_session_data: u32, /// The slot duration of the consensus algorithm, in milliseconds. Should be evenly /// divisible by 500. pub slot_duration_millis: u64, @@ -358,7 +357,10 @@ impl ApprovalVotingSubsystem { keystore, slot_duration_millis: config.slot_duration_millis, db, - db_config: DatabaseConfig { col_data: config.col_data }, + db_config: DatabaseConfig { + col_approval_data: config.col_approval_data, + col_session_data: config.col_session_data, + }, mode: Mode::Syncing(sync_oracle), metrics, } @@ -367,7 +369,10 @@ impl ApprovalVotingSubsystem { /// Revert to the block corresponding to the specified `hash`. /// The operation is not allowed for blocks older than the last finalized one. pub fn revert_to(&self, hash: Hash) -> Result<(), SubsystemError> { - let config = approval_db::v1::Config { col_data: self.db_config.col_data }; + let config = approval_db::v1::Config { + col_approval_data: self.db_config.col_approval_data, + col_session_data: self.db_config.col_session_data, + }; let mut backend = approval_db::v1::DbBackend::new(self.db.clone(), config); let mut overlay = OverlayedBackend::new(&backend); @@ -634,6 +639,9 @@ struct State { slot_duration_millis: u64, clock: Box, assignment_criteria: Box, + // Require for `RollingSessionWindow`. + db_config: DatabaseConfig, + db: Arc, } #[overseer::contextbounds(ApprovalVoting, prefix = self::overseer)] @@ -655,8 +663,17 @@ impl State { match session_window { None => { let sender = ctx.sender().clone(); - self.session_window = - Some(RollingSessionWindow::new(sender, APPROVAL_SESSIONS, head).await?); + self.session_window = Some( + RollingSessionWindow::new( + sender, + head, + DatabaseParams { + db: self.db.clone(), + db_column: self.db_config.col_session_data, + }, + ) + .await?, + ); Ok(None) }, Some(mut session_window) => { @@ -751,7 +768,7 @@ async fn run( where B: Backend, { - if let Err(err) = db_sanity_check(subsystem.db, subsystem.db_config) { + if let Err(err) = db_sanity_check(subsystem.db.clone(), subsystem.db_config.clone()) { gum::warn!(target: LOG_TARGET, ?err, "Could not run approval vote DB sanity check"); } @@ -761,6 +778,8 @@ where slot_duration_millis: subsystem.slot_duration_millis, clock, assignment_criteria, + db_config: subsystem.db_config, + db: subsystem.db, }; let mut wakeups = Wakeups::default(); diff --git a/node/core/approval-voting/src/tests.rs b/node/core/approval-voting/src/tests.rs index d5c8d3c01da4..b9063c8ade25 100644 --- a/node/core/approval-voting/src/tests.rs +++ b/node/core/approval-voting/src/tests.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . +use crate::tests::test_constants::TEST_CONFIG; + use super::*; use polkadot_node_primitives::{ approval::{ @@ -111,9 +113,12 @@ fn make_sync_oracle(val: bool) -> (Box, TestSyncOracleHan pub mod test_constants { use crate::approval_db::v1::Config as DatabaseConfig; const DATA_COL: u32 = 0; - pub(crate) const NUM_COLUMNS: u32 = 1; + const SESSION_DATA_COL: u32 = 1; + + pub(crate) const NUM_COLUMNS: u32 = 2; - pub(crate) const TEST_CONFIG: DatabaseConfig = DatabaseConfig { col_data: DATA_COL }; + pub(crate) const TEST_CONFIG: DatabaseConfig = + DatabaseConfig { col_approval_data: DATA_COL, col_session_data: SESSION_DATA_COL }; } struct MockSupportsParachains; @@ -487,8 +492,9 @@ fn test_harness>( context, ApprovalVotingSubsystem::with_config( Config { - col_data: test_constants::TEST_CONFIG.col_data, + col_approval_data: test_constants::TEST_CONFIG.col_approval_data, slot_duration_millis: SLOT_DURATION_MILLIS, + col_session_data: TEST_CONFIG.col_session_data, }, Arc::new(db), Arc::new(keystore), @@ -810,38 +816,38 @@ async fn import_block( } ); - assert_matches!( - overseer_recv(overseer).await, - AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( - s_tx, - )) => { - let _ = s_tx.send(Ok(number)); - } - ); + if !fork { + assert_matches!( + overseer_recv(overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(number)); + } + ); - assert_matches!( - overseer_recv(overseer).await, - AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( - block_number, - s_tx, - )) => { - assert_eq!(block_number, number); - let _ = s_tx.send(Ok(Some(hashes[number as usize].0))); - } - ); + assert_matches!( + overseer_recv(overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, number); + let _ = s_tx.send(Ok(Some(hashes[number as usize].0))); + } + ); - assert_matches!( - overseer_recv(overseer).await, - AllMessages::RuntimeApi(RuntimeApiMessage::Request( - h, - RuntimeApiRequest::SessionIndexForChild(s_tx), - )) => { - assert_eq!(h, hashes[number as usize].0); - let _ = s_tx.send(Ok(number.into())); - } - ); + assert_matches!( + overseer_recv(overseer).await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, hashes[number as usize].0); + let _ = s_tx.send(Ok(number.into())); + } + ); - if !fork { assert_matches!( overseer_recv(overseer).await, AllMessages::RuntimeApi( diff --git a/node/core/dispute-coordinator/src/db/v1.rs b/node/core/dispute-coordinator/src/db/v1.rs index 2c643d341de2..bb1456a59745 100644 --- a/node/core/dispute-coordinator/src/db/v1.rs +++ b/node/core/dispute-coordinator/src/db/v1.rs @@ -99,10 +99,10 @@ impl DbBackend { encoded = ?candidate_votes_session_prefix(index), "Cleaning votes for session index" ); - tx.delete_prefix(self.config.col_data, &candidate_votes_session_prefix(index)); + tx.delete_prefix(self.config.col_dispute_data, &candidate_votes_session_prefix(index)); } // New watermark: - tx.put_vec(self.config.col_data, CLEANED_VOTES_WATERMARK_KEY, clean_until.encode()); + tx.put_vec(self.config.col_dispute_data, CLEANED_VOTES_WATERMARK_KEY, clean_until.encode()); Ok(()) } } @@ -148,21 +148,32 @@ impl Backend for DbBackend { self.add_vote_cleanup_tx(&mut tx, session)?; // Actually write the earliest session. - tx.put_vec(self.config.col_data, EARLIEST_SESSION_KEY, session.encode()); + tx.put_vec( + self.config.col_dispute_data, + EARLIEST_SESSION_KEY, + session.encode(), + ); }, BackendWriteOp::WriteRecentDisputes(recent_disputes) => { - tx.put_vec(self.config.col_data, RECENT_DISPUTES_KEY, recent_disputes.encode()); + tx.put_vec( + self.config.col_dispute_data, + RECENT_DISPUTES_KEY, + recent_disputes.encode(), + ); }, BackendWriteOp::WriteCandidateVotes(session, candidate_hash, votes) => { gum::trace!(target: LOG_TARGET, ?session, "Writing candidate votes"); tx.put_vec( - self.config.col_data, + self.config.col_dispute_data, &candidate_votes_key(session, &candidate_hash), votes.encode(), ); }, BackendWriteOp::DeleteCandidateVotes(session, candidate_hash) => { - tx.delete(self.config.col_data, &candidate_votes_key(session, &candidate_hash)); + tx.delete( + self.config.col_dispute_data, + &candidate_votes_key(session, &candidate_hash), + ); }, } } @@ -195,7 +206,9 @@ fn candidate_votes_session_prefix(session: SessionIndex) -> [u8; 15 + 4] { #[derive(Debug, Clone)] pub struct ColumnConfiguration { /// The column in the key-value DB where data is stored. - pub col_data: u32, + pub col_dispute_data: u32, + /// The column in the key-value DB where session data is stored. + pub col_session_data: u32, } /// Tracked votes on candidates, for the purposes of dispute resolution. @@ -257,8 +270,12 @@ impl From for crate::error::Error { /// Result alias for DB errors. pub type Result = std::result::Result; -fn load_decode(db: &dyn Database, col_data: u32, key: &[u8]) -> Result> { - match db.get(col_data, key)? { +fn load_decode( + db: &dyn Database, + col_dispute_data: u32, + key: &[u8], +) -> Result> { + match db.get(col_dispute_data, key)? { None => Ok(None), Some(raw) => D::decode(&mut &raw[..]).map(Some).map_err(Into::into), } @@ -271,7 +288,7 @@ pub(crate) fn load_candidate_votes( session: SessionIndex, candidate_hash: &CandidateHash, ) -> SubsystemResult> { - load_decode(db, config.col_data, &candidate_votes_key(session, candidate_hash)) + load_decode(db, config.col_dispute_data, &candidate_votes_key(session, candidate_hash)) .map_err(|e| SubsystemError::with_origin("dispute-coordinator", e)) } @@ -280,7 +297,7 @@ pub(crate) fn load_earliest_session( db: &dyn Database, config: &ColumnConfiguration, ) -> SubsystemResult> { - load_decode(db, config.col_data, EARLIEST_SESSION_KEY) + load_decode(db, config.col_dispute_data, EARLIEST_SESSION_KEY) .map_err(|e| SubsystemError::with_origin("dispute-coordinator", e)) } @@ -289,7 +306,7 @@ pub(crate) fn load_recent_disputes( db: &dyn Database, config: &ColumnConfiguration, ) -> SubsystemResult> { - load_decode(db, config.col_data, RECENT_DISPUTES_KEY) + load_decode(db, config.col_dispute_data, RECENT_DISPUTES_KEY) .map_err(|e| SubsystemError::with_origin("dispute-coordinator", e)) } @@ -347,7 +364,7 @@ fn load_cleaned_votes_watermark( db: &dyn Database, config: &ColumnConfiguration, ) -> FatalResult> { - load_decode(db, config.col_data, CLEANED_VOTES_WATERMARK_KEY) + load_decode(db, config.col_dispute_data, CLEANED_VOTES_WATERMARK_KEY) .map_err(|e| FatalError::DbReadFailed(e)) } @@ -362,7 +379,7 @@ mod tests { let db = kvdb_memorydb::create(1); let db = polkadot_node_subsystem_util::database::kvdb_impl::DbAdapter::new(db, &[0]); let store = Arc::new(db); - let config = ColumnConfiguration { col_data: 0 }; + let config = ColumnConfiguration { col_dispute_data: 0, col_session_data: 1 }; DbBackend::new(store, config, Metrics::default()) } diff --git a/node/core/dispute-coordinator/src/lib.rs b/node/core/dispute-coordinator/src/lib.rs index 6289eb2f11a2..03abd8f59d60 100644 --- a/node/core/dispute-coordinator/src/lib.rs +++ b/node/core/dispute-coordinator/src/lib.rs @@ -35,7 +35,8 @@ use polkadot_node_subsystem::{ overseer, ActivatedLeaf, FromOrchestra, OverseerSignal, SpawnedSubsystem, SubsystemError, }; use polkadot_node_subsystem_util::{ - database::Database, rolling_session_window::RollingSessionWindow, + database::Database, + rolling_session_window::{DatabaseParams, RollingSessionWindow}, }; use polkadot_primitives::v2::{ScrapedOnChainVotes, ValidatorIndex, ValidatorPair}; @@ -117,12 +118,17 @@ pub struct DisputeCoordinatorSubsystem { #[derive(Debug, Clone, Copy)] pub struct Config { /// The data column in the store to use for dispute data. - pub col_data: u32, + pub col_dispute_data: u32, + /// The data column in the store to use for session data. + pub col_session_data: u32, } impl Config { fn column_config(&self) -> db::v1::ColumnConfiguration { - db::v1::ColumnConfiguration { col_data: self.col_data } + db::v1::ColumnConfiguration { + col_dispute_data: self.col_dispute_data, + col_session_data: self.col_session_data, + } } } @@ -199,17 +205,21 @@ impl DisputeCoordinatorSubsystem { B: Backend + 'static, { loop { - let (first_leaf, rolling_session_window) = match get_rolling_session_window(ctx).await { - Ok(Some(update)) => update, - Ok(None) => { - gum::info!(target: LOG_TARGET, "received `Conclude` signal, exiting"); - return Ok(None) - }, - Err(e) => { - e.split()?.log(); - continue - }, - }; + let db_params = + DatabaseParams { db: self.store.clone(), db_column: self.config.col_session_data }; + + let (first_leaf, rolling_session_window) = + match get_rolling_session_window(ctx, db_params).await { + Ok(Some(update)) => update, + Ok(None) => { + gum::info!(target: LOG_TARGET, "received `Conclude` signal, exiting"); + return Ok(None) + }, + Err(e) => { + e.split()?.log(); + continue + }, + }; let mut overlay_db = OverlayedBackend::new(&mut backend); let (participations, votes, spam_slots, ordering_provider) = match self @@ -352,12 +362,13 @@ impl DisputeCoordinatorSubsystem { #[overseer::contextbounds(DisputeCoordinator, prefix = self::overseer)] async fn get_rolling_session_window( ctx: &mut Context, + db_params: DatabaseParams, ) -> Result> { if let Some(leaf) = { wait_for_first_leaf(ctx) }.await? { let sender = ctx.sender().clone(); Ok(Some(( leaf.clone(), - RollingSessionWindow::new(sender, DISPUTE_WINDOW, leaf.hash) + RollingSessionWindow::new(sender, leaf.hash, db_params) .await .map_err(JfyiError::RollingSessionWindow)?, ))) diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index c6fe328d9537..a1ad315d2ea0 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -176,7 +176,7 @@ impl Default for TestState { let db = kvdb_memorydb::create(1); let db = polkadot_node_subsystem_util::database::kvdb_impl::DbAdapter::new(db, &[]); let db = Arc::new(db); - let config = Config { col_data: 0 }; + let config = Config { col_dispute_data: 0, col_session_data: 1 }; let genesis_header = Header { parent_hash: Hash::zero(), @@ -251,6 +251,7 @@ impl TestState { session: SessionIndex, ) { // Order of messages is not fixed (different on initializing): + #[derive(Debug)] struct FinishedSteps { got_session_information: bool, got_scraping_information: bool, @@ -268,7 +269,8 @@ impl TestState { let mut finished_steps = FinishedSteps::new(); while !finished_steps.is_done() { - match overseer_recv(virtual_overseer).await { + let recv = overseer_recv(virtual_overseer).await; + match recv { AllMessages::RuntimeApi(RuntimeApiMessage::Request( h, RuntimeApiRequest::SessionIndexForChild(tx), @@ -282,36 +284,38 @@ impl TestState { let _ = tx.send(Ok(session)); // Queries for fetching earliest unfinalized block session. See `RollingSessionWindow`. - assert_matches!( - overseer_recv(virtual_overseer).await, - AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( - s_tx, - )) => { - let _ = s_tx.send(Ok(block_number)); - } - ); + if self.known_session.is_none() { + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(block_number)); + } + ); - assert_matches!( - overseer_recv(virtual_overseer).await, - AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( - number, - s_tx, - )) => { - assert_eq!(block_number, number); - let _ = s_tx.send(Ok(Some(block_hash))); - } - ); + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + number, + s_tx, + )) => { + assert_eq!(block_number, number); + let _ = s_tx.send(Ok(Some(block_hash))); + } + ); - assert_matches!( - overseer_recv(virtual_overseer).await, - AllMessages::RuntimeApi(RuntimeApiMessage::Request( - h, - RuntimeApiRequest::SessionIndexForChild(s_tx), - )) => { - assert_eq!(h, block_hash); - let _ = s_tx.send(Ok(session)); - } - ); + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, block_hash); + let _ = s_tx.send(Ok(session)); + } + ); + } // No queries, if subsystem knows about this session already. if self.known_session == Some(session) { @@ -754,6 +758,7 @@ fn approval_vote_import_works() { let approval_votes = [(ValidatorIndex(4), approval_vote.into_validator_signature())] .into_iter() .collect(); + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, approval_votes) .await; @@ -2255,6 +2260,7 @@ fn resume_dispute_with_local_statement() { }, }) .await; + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) .await; @@ -2469,6 +2475,7 @@ fn resume_dispute_with_local_statement_without_local_key() { test_state }) }); + // No keys: test_state.subsystem_keystore = make_keystore(vec![Sr25519Keyring::Two.to_seed()].into_iter()).into(); diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 82109f2e6ce4..e6e073546a13 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -71,7 +71,8 @@ serde_json = "1.0.81" thiserror = "1.0.31" kvdb = "0.12.0" kvdb-rocksdb = { version = "0.16.0", optional = true } -parity-db = { version = "0.3.16", optional = true } +parity-db = { version = "0.4.2", optional = true } + async-trait = "0.1.57" lru = "0.8" diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 3619d05c7592..18218a8aba8e 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -943,7 +943,8 @@ where let parachains_db = open_database(&config.database)?; let approval_voting_config = ApprovalVotingConfig { - col_data: parachains_db::REAL_COLUMNS.col_approval_data, + col_approval_data: parachains_db::REAL_COLUMNS.col_approval_data, + col_session_data: parachains_db::REAL_COLUMNS.col_session_window_data, slot_duration_millis: slot_duration.as_millis() as u64, }; @@ -966,7 +967,8 @@ where }; let dispute_coordinator_config = DisputeCoordinatorConfig { - col_data: parachains_db::REAL_COLUMNS.col_dispute_coordinator_data, + col_dispute_data: parachains_db::REAL_COLUMNS.col_dispute_coordinator_data, + col_session_data: parachains_db::REAL_COLUMNS.col_session_window_data, }; let rpc_handlers = service::spawn_tasks(service::SpawnTasksParams { @@ -1537,7 +1539,8 @@ fn revert_chain_selection(db: Arc, hash: Hash) -> sp_blockchain::R fn revert_approval_voting(db: Arc, hash: Hash) -> sp_blockchain::Result<()> { let config = approval_voting_subsystem::Config { - col_data: parachains_db::REAL_COLUMNS.col_approval_data, + col_approval_data: parachains_db::REAL_COLUMNS.col_approval_data, + col_session_data: parachains_db::REAL_COLUMNS.col_session_window_data, slot_duration_millis: Default::default(), }; diff --git a/node/service/src/parachains_db/mod.rs b/node/service/src/parachains_db/mod.rs index de12a8ac1a32..74e7e13dc657 100644 --- a/node/service/src/parachains_db/mod.rs +++ b/node/service/src/parachains_db/mod.rs @@ -23,6 +23,7 @@ mod upgrade; const LOG_TARGET: &str = "parachain::db"; +/// Column configuration per version. #[cfg(any(test, feature = "full-node"))] pub(crate) mod columns { pub mod v0 { @@ -31,12 +32,17 @@ pub(crate) mod columns { pub mod v1 { pub const NUM_COLUMNS: u32 = 5; + } + pub mod v2 { + pub const NUM_COLUMNS: u32 = 6; pub const COL_AVAILABILITY_DATA: u32 = 0; pub const COL_AVAILABILITY_META: u32 = 1; pub const COL_APPROVAL_DATA: u32 = 2; pub const COL_CHAIN_SELECTION_DATA: u32 = 3; pub const COL_DISPUTE_COORDINATOR_DATA: u32 = 4; + pub const COL_SESSION_WINDOW_DATA: u32 = 5; + pub const ORDERED_COL: &[u32] = &[COL_AVAILABILITY_META, COL_CHAIN_SELECTION_DATA, COL_DISPUTE_COORDINATOR_DATA]; } @@ -56,16 +62,19 @@ pub struct ColumnsConfig { pub col_chain_selection_data: u32, /// The column used by dispute coordinator for data. pub col_dispute_coordinator_data: u32, + /// The column used for session window data. + pub col_session_window_data: u32, } /// The real columns used by the parachains DB. #[cfg(any(test, feature = "full-node"))] pub const REAL_COLUMNS: ColumnsConfig = ColumnsConfig { - col_availability_data: columns::v1::COL_AVAILABILITY_DATA, - col_availability_meta: columns::v1::COL_AVAILABILITY_META, - col_approval_data: columns::v1::COL_APPROVAL_DATA, - col_chain_selection_data: columns::v1::COL_CHAIN_SELECTION_DATA, - col_dispute_coordinator_data: columns::v1::COL_DISPUTE_COORDINATOR_DATA, + col_availability_data: columns::v2::COL_AVAILABILITY_DATA, + col_availability_meta: columns::v2::COL_AVAILABILITY_META, + col_approval_data: columns::v2::COL_APPROVAL_DATA, + col_chain_selection_data: columns::v2::COL_CHAIN_SELECTION_DATA, + col_dispute_coordinator_data: columns::v2::COL_DISPUTE_COORDINATOR_DATA, + col_session_window_data: columns::v2::COL_SESSION_WINDOW_DATA, }; #[derive(PartialEq)] @@ -83,11 +92,18 @@ pub struct CacheSizes { pub availability_meta: usize, /// Cache used by approval data. pub approval_data: usize, + /// Cache used by session window data + pub session_data: usize, } impl Default for CacheSizes { fn default() -> Self { - CacheSizes { availability_data: 25, availability_meta: 1, approval_data: 5 } + CacheSizes { + availability_data: 25, + availability_meta: 1, + approval_data: 5, + session_data: 1, + } } } @@ -106,17 +122,20 @@ pub fn open_creating_rocksdb( let path = root.join("parachains").join("db"); - let mut db_config = DatabaseConfig::with_columns(columns::v1::NUM_COLUMNS); + let mut db_config = DatabaseConfig::with_columns(columns::v2::NUM_COLUMNS); let _ = db_config .memory_budget - .insert(columns::v1::COL_AVAILABILITY_DATA, cache_sizes.availability_data); + .insert(columns::v2::COL_AVAILABILITY_DATA, cache_sizes.availability_data); + let _ = db_config + .memory_budget + .insert(columns::v2::COL_AVAILABILITY_META, cache_sizes.availability_meta); let _ = db_config .memory_budget - .insert(columns::v1::COL_AVAILABILITY_META, cache_sizes.availability_meta); + .insert(columns::v2::COL_APPROVAL_DATA, cache_sizes.approval_data); let _ = db_config .memory_budget - .insert(columns::v1::COL_APPROVAL_DATA, cache_sizes.approval_data); + .insert(columns::v2::COL_SESSION_WINDOW_DATA, cache_sizes.session_data); let path_str = path .to_str() @@ -127,7 +146,7 @@ pub fn open_creating_rocksdb( let db = Database::open(&db_config, &path_str)?; let db = polkadot_node_subsystem_util::database::kvdb_impl::DbAdapter::new( db, - columns::v1::ORDERED_COL, + columns::v2::ORDERED_COL, ); Ok(Arc::new(db)) @@ -147,12 +166,12 @@ pub fn open_creating_paritydb( std::fs::create_dir_all(&path_str)?; upgrade::try_upgrade_db(&path, DatabaseKind::ParityDB)?; - let db = parity_db::Db::open_or_create(&upgrade::paritydb_version_1_config(&path)) + let db = parity_db::Db::open_or_create(&upgrade::paritydb_version_2_config(&path)) .map_err(|err| io::Error::new(io::ErrorKind::Other, format!("{:?}", err)))?; let db = polkadot_node_subsystem_util::database::paritydb_impl::DbAdapter::new( db, - columns::v1::ORDERED_COL, + columns::v2::ORDERED_COL, ); Ok(Arc::new(db)) } diff --git a/node/service/src/parachains_db/upgrade.rs b/node/service/src/parachains_db/upgrade.rs index 73321ae04c09..01d4fb62f7f6 100644 --- a/node/service/src/parachains_db/upgrade.rs +++ b/node/service/src/parachains_db/upgrade.rs @@ -28,7 +28,7 @@ type Version = u32; const VERSION_FILE_NAME: &'static str = "parachain_db_version"; /// Current db version. -const CURRENT_VERSION: Version = 1; +const CURRENT_VERSION: Version = 2; #[derive(thiserror::Error, Debug)] pub enum Error { @@ -36,7 +36,7 @@ pub enum Error { Io(#[from] io::Error), #[error("The version file format is incorrect")] CorruptedVersionFile, - #[error("Future version (expected {current:?}, found {got:?})")] + #[error("Parachains DB has a future version (expected {current:?}, found {got:?})")] FutureVersion { current: Version, got: Version }, } @@ -56,6 +56,8 @@ pub(crate) fn try_upgrade_db(db_path: &Path, db_kind: DatabaseKind) -> Result<() match get_db_version(db_path)? { // 0 -> 1 migration Some(0) => migrate_from_version_0_to_1(db_path, db_kind)?, + // 1 -> 2 migration + Some(1) => migrate_from_version_1_to_2(db_path, db_kind)?, // Already at current version, do nothing. Some(CURRENT_VERSION) => (), // This is an arbitrary future version, we don't handle it. @@ -112,6 +114,19 @@ fn migrate_from_version_0_to_1(path: &Path, db_kind: DatabaseKind) -> Result<(), }) } +fn migrate_from_version_1_to_2(path: &Path, db_kind: DatabaseKind) -> Result<(), Error> { + gum::info!(target: LOG_TARGET, "Migrating parachains db from version 1 to version 2 ..."); + + match db_kind { + DatabaseKind::ParityDB => paritydb_migrate_from_version_1_to_2(path), + DatabaseKind::RocksDB => rocksdb_migrate_from_version_1_to_2(path), + } + .and_then(|result| { + gum::info!(target: LOG_TARGET, "Migration complete! "); + Ok(result) + }) +} + /// Migration from version 0 to version 1: /// * the number of columns has changed from 3 to 5; fn rocksdb_migrate_from_version_0_to_1(path: &Path) -> Result<(), Error> { @@ -129,6 +144,22 @@ fn rocksdb_migrate_from_version_0_to_1(path: &Path) -> Result<(), Error> { Ok(()) } +/// Migration from version 1 to version 2: +/// * the number of columns has changed from 5 to 6; +fn rocksdb_migrate_from_version_1_to_2(path: &Path) -> Result<(), Error> { + use kvdb_rocksdb::{Database, DatabaseConfig}; + + let db_path = path + .to_str() + .ok_or_else(|| super::other_io_error("Invalid database path".into()))?; + let db_cfg = DatabaseConfig::with_columns(super::columns::v1::NUM_COLUMNS); + let mut db = Database::open(&db_cfg, db_path)?; + + db.add_column()?; + + Ok(()) +} + // This currently clears columns which had their configs altered between versions. // The columns to be changed are constrained by the `allowed_columns` vector. fn paritydb_fix_columns( @@ -190,7 +221,18 @@ fn paritydb_fix_columns( pub(crate) fn paritydb_version_1_config(path: &Path) -> parity_db::Options { let mut options = parity_db::Options::with_columns(&path, super::columns::v1::NUM_COLUMNS as u8); - for i in columns::v1::ORDERED_COL { + for i in columns::v2::ORDERED_COL { + options.columns[*i as usize].btree_index = true; + } + + options +} + +/// Database configuration for version 2. +pub(crate) fn paritydb_version_2_config(path: &Path) -> parity_db::Options { + let mut options = + parity_db::Options::with_columns(&path, super::columns::v2::NUM_COLUMNS as u8); + for i in columns::v2::ORDERED_COL { options.columns[*i as usize].btree_index = true; } @@ -202,8 +244,8 @@ pub(crate) fn paritydb_version_1_config(path: &Path) -> parity_db::Options { pub(crate) fn paritydb_version_0_config(path: &Path) -> parity_db::Options { let mut options = parity_db::Options::with_columns(&path, super::columns::v1::NUM_COLUMNS as u8); - options.columns[super::columns::v1::COL_AVAILABILITY_META as usize].btree_index = true; - options.columns[super::columns::v1::COL_CHAIN_SELECTION_DATA as usize].btree_index = true; + options.columns[super::columns::v2::COL_AVAILABILITY_META as usize].btree_index = true; + options.columns[super::columns::v2::COL_CHAIN_SELECTION_DATA as usize].btree_index = true; options } @@ -218,17 +260,30 @@ fn paritydb_migrate_from_version_0_to_1(path: &Path) -> Result<(), Error> { paritydb_fix_columns( path, paritydb_version_1_config(path), - vec![super::columns::v1::COL_DISPUTE_COORDINATOR_DATA], + vec![super::columns::v2::COL_DISPUTE_COORDINATOR_DATA], )?; Ok(()) } +/// Migration from version 1 to version 2: +/// - add a new column for session information storage +fn paritydb_migrate_from_version_1_to_2(path: &Path) -> Result<(), Error> { + let mut options = paritydb_version_1_config(path); + + // Adds the session info column. + parity_db::Db::add_column(&mut options, Default::default()) + .map_err(|e| other_io_error(format!("Error adding column {:?}", e)))?; + + Ok(()) +} + #[cfg(test)] mod tests { + use super::{columns::v2::*, *}; + #[test] - fn test_paritydb_migrate_0_1() { - use super::{columns::v1::*, *}; + fn test_paritydb_migrate_0_to_1() { use parity_db::Db; let db_dir = tempfile::tempdir().unwrap(); @@ -246,13 +301,119 @@ mod tests { try_upgrade_db(&path, DatabaseKind::ParityDB).unwrap(); let db = Db::open(&paritydb_version_1_config(&path)).unwrap(); + assert_eq!(db.get(COL_DISPUTE_COORDINATOR_DATA as u8, b"1234").unwrap(), None); assert_eq!( - db.get(super::columns::v1::COL_DISPUTE_COORDINATOR_DATA as u8, b"1234").unwrap(), - None + db.get(COL_AVAILABILITY_META as u8, b"5678").unwrap(), + Some("somevalue".as_bytes().to_vec()) ); + } + + #[test] + fn test_paritydb_migrate_1_to_2() { + use parity_db::Db; + + let db_dir = tempfile::tempdir().unwrap(); + let path = db_dir.path(); + + // We need to properly set db version for upgrade to work. + fs::write(version_file_path(path), "1").expect("Failed to write DB version"); + + { + let db = Db::open_or_create(&paritydb_version_1_config(&path)).unwrap(); + + // Write some dummy data + db.commit(vec![( + COL_DISPUTE_COORDINATOR_DATA as u8, + b"1234".to_vec(), + Some(b"somevalue".to_vec()), + )]) + .unwrap(); + + assert_eq!(db.num_columns(), columns::v1::NUM_COLUMNS as u8); + } + + try_upgrade_db(&path, DatabaseKind::ParityDB).unwrap(); + + let db = Db::open(&paritydb_version_2_config(&path)).unwrap(); + + assert_eq!(db.num_columns(), columns::v2::NUM_COLUMNS as u8); + assert_eq!( - db.get(super::columns::v1::COL_AVAILABILITY_META as u8, b"5678").unwrap(), + db.get(COL_DISPUTE_COORDINATOR_DATA as u8, b"1234").unwrap(), Some("somevalue".as_bytes().to_vec()) ); + + // Test we can write the new column. + db.commit(vec![( + COL_SESSION_WINDOW_DATA as u8, + b"1337".to_vec(), + Some(b"0xdeadb00b".to_vec()), + )]) + .unwrap(); + + // Read back data from new column. + assert_eq!( + db.get(COL_SESSION_WINDOW_DATA as u8, b"1337").unwrap(), + Some("0xdeadb00b".as_bytes().to_vec()) + ); + } + + #[test] + fn test_rocksdb_migrate_1_to_2() { + use kvdb::{DBKey, DBOp}; + use kvdb_rocksdb::{Database, DatabaseConfig}; + use polkadot_node_subsystem_util::database::{ + kvdb_impl::DbAdapter, DBTransaction, KeyValueDB, + }; + + let db_dir = tempfile::tempdir().unwrap(); + let db_path = db_dir.path().to_str().unwrap(); + let db_cfg = DatabaseConfig::with_columns(super::columns::v1::NUM_COLUMNS); + let db = Database::open(&db_cfg, db_path).unwrap(); + assert_eq!(db.num_columns(), super::columns::v1::NUM_COLUMNS as u32); + + // We need to properly set db version for upgrade to work. + fs::write(version_file_path(db_dir.path()), "1").expect("Failed to write DB version"); + { + let db = DbAdapter::new(db, columns::v2::ORDERED_COL); + db.write(DBTransaction { + ops: vec![DBOp::Insert { + col: COL_DISPUTE_COORDINATOR_DATA, + key: DBKey::from_slice(b"1234"), + value: b"0xdeadb00b".to_vec(), + }], + }) + .unwrap(); + } + + try_upgrade_db(&db_dir.path(), DatabaseKind::RocksDB).unwrap(); + + let db_cfg = DatabaseConfig::with_columns(super::columns::v2::NUM_COLUMNS); + let db = Database::open(&db_cfg, db_path).unwrap(); + + assert_eq!(db.num_columns(), super::columns::v2::NUM_COLUMNS); + + let db = DbAdapter::new(db, columns::v2::ORDERED_COL); + + assert_eq!( + db.get(COL_DISPUTE_COORDINATOR_DATA, b"1234").unwrap(), + Some("0xdeadb00b".as_bytes().to_vec()) + ); + + // Test we can write the new column. + db.write(DBTransaction { + ops: vec![DBOp::Insert { + col: COL_SESSION_WINDOW_DATA, + key: DBKey::from_slice(b"1337"), + value: b"0xdeadb00b".to_vec(), + }], + }) + .unwrap(); + + // Read back data from new column. + assert_eq!( + db.get(COL_SESSION_WINDOW_DATA, b"1337").unwrap(), + Some("0xdeadb00b".as_bytes().to_vec()) + ); } } diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index ab886c0c4078..d390fd2b42cc 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -34,7 +34,7 @@ sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "maste kvdb = "0.12.0" parity-util-mem = { version = "0.12.0", default-features = false } -parity-db = { version = "0.3.13" } +parity-db = { version = "0.4.2"} [dev-dependencies] assert_matches = "1.4.0" @@ -46,3 +46,4 @@ lazy_static = "1.4.0" polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" } kvdb-shared-tests = "0.10.0" tempfile = "3.1.0" +kvdb-memorydb = "0.12.0" diff --git a/node/subsystem-util/src/rolling_session_window.rs b/node/subsystem-util/src/rolling_session_window.rs index 700feb2ccff8..beac31292b7d 100644 --- a/node/subsystem-util/src/rolling_session_window.rs +++ b/node/subsystem-util/src/rolling_session_window.rs @@ -19,8 +19,13 @@ //! This is useful for consensus components which need to stay up-to-date about recent sessions but don't //! care about the state of particular blocks. +use super::database::{DBTransaction, Database}; +use kvdb::{DBKey, DBOp}; + +use parity_scale_codec::{Decode, Encode}; pub use polkadot_node_primitives::{new_session_window_size, SessionWindowSize}; use polkadot_primitives::v2::{BlockNumber, Hash, SessionIndex, SessionInfo}; +use std::sync::Arc; use futures::channel::oneshot; use polkadot_node_subsystem::{ @@ -29,7 +34,11 @@ use polkadot_node_subsystem::{ overseer, }; +// The window size is equal to the `approval-voting` and `dispute-coordinator` constants that +// have been obsoleted. +const SESSION_WINDOW_SIZE: SessionWindowSize = new_session_window_size!(6); const LOG_TARGET: &str = "parachain::rolling-session-window"; +const STORED_ROLLING_SESSION_WINDOW: &[u8] = b"Rolling_session_window"; /// Sessions unavailable in state to cache. #[derive(Debug, Clone, thiserror::Error)] @@ -94,55 +103,176 @@ pub enum SessionWindowUpdate { Unchanged, } +/// A structure to store rolling session database parameters. +#[derive(Clone)] +pub struct DatabaseParams { + /// Database reference. + pub db: Arc, + /// The column which stores the rolling session info. + pub db_column: u32, +} /// A rolling window of sessions and cached session info. pub struct RollingSessionWindow { earliest_session: SessionIndex, session_info: Vec, window_size: SessionWindowSize, + // The option is just to enable some approval-voting tests to force feed sessions + // in the window without dealing with the DB. + db_params: Option, +} + +/// The rolling session data we persist in the database. +#[derive(Encode, Decode, Default)] +struct StoredWindow { + earliest_session: SessionIndex, + session_info: Vec, } impl RollingSessionWindow { /// Initialize a new session info cache with the given window size. + /// Invariant: The database always contains the earliest session. Then, + /// we can always extend the session info vector using chain state. pub async fn new( mut sender: Sender, - window_size: SessionWindowSize, block_hash: Hash, + db_params: DatabaseParams, ) -> Result where Sender: overseer::SubsystemSender + overseer::SubsystemSender, { + // At first, determine session window start using the chain state. let session_index = get_session_index_for_child(&mut sender, block_hash).await?; let earliest_non_finalized_block_session = Self::earliest_non_finalized_block_session(&mut sender).await?; // This will increase the session window to cover the full unfinalized chain. - let window_start = std::cmp::min( - session_index.saturating_sub(window_size.get() - 1), + let on_chain_window_start = std::cmp::min( + session_index.saturating_sub(SESSION_WINDOW_SIZE.get() - 1), earliest_non_finalized_block_session, ); - match load_all_sessions(&mut sender, block_hash, window_start, session_index).await { - Err(kind) => Err(SessionsUnavailable { - kind, - info: Some(SessionsUnavailableInfo { - window_start, - window_end: session_index, - block_hash, + // Fetch session information from DB. + let maybe_stored_window = Self::db_load(db_params.clone()); + + // Get the DB stored sessions and recompute window start based on DB data. + let (mut window_start, stored_sessions) = + if let Some(mut stored_window) = maybe_stored_window { + // Check if DB is ancient. + if earliest_non_finalized_block_session > + stored_window.earliest_session + stored_window.session_info.len() as u32 + { + // If ancient, we scrap it and fetch from chain state. + stored_window.session_info.clear(); + } + + // The session window might extend beyond the last finalized block, but that's fine as we'll prune it at + // next update. + let window_start = if stored_window.session_info.len() > 0 { + // If there is at least one entry in db, we always take the DB as source of truth. + stored_window.earliest_session + } else { + on_chain_window_start + }; + + (window_start, stored_window.session_info) + } else { + (on_chain_window_start, Vec::new()) + }; + + // Compute the amount of sessions missing from the window that will be fetched from chain state. + let sessions_missing_count = session_index + .saturating_sub(window_start) + .saturating_add(1) + .saturating_sub(stored_sessions.len() as u32); + + // Extend from chain state. + let sessions = if sessions_missing_count > 0 { + match extend_sessions_from_chain_state( + stored_sessions, + &mut sender, + block_hash, + &mut window_start, + session_index, + ) + .await + { + Err(kind) => Err(SessionsUnavailable { + kind, + info: Some(SessionsUnavailableInfo { + window_start, + window_end: session_index, + block_hash, + }), }), - }), - Ok(s) => Ok(Self { earliest_session: window_start, session_info: s, window_size }), + Ok(sessions) => Ok(sessions), + }? + } else { + // There are no new sessions to be fetched from chain state. + Vec::new() + }; + + Ok(Self { + earliest_session: window_start, + session_info: sessions, + window_size: SESSION_WINDOW_SIZE, + db_params: Some(db_params), + }) + } + + // Load session information from the parachains db. + fn db_load(db_params: DatabaseParams) -> Option { + match db_params.db.get(db_params.db_column, STORED_ROLLING_SESSION_WINDOW).ok()? { + None => None, + Some(raw) => { + let maybe_decoded = StoredWindow::decode(&mut &raw[..]).map(Some); + match maybe_decoded { + Ok(decoded) => decoded, + Err(err) => { + gum::warn!( + target: LOG_TARGET, + ?err, + "Failed decoding db entry; will start with onchain session infos and self-heal DB entry on next update." + ); + None + }, + } + }, + } + } + + // Saves/Updates all sessions in the database. + // TODO: https://github.com/paritytech/polkadot/issues/6144 + fn db_save(&mut self, stored_window: StoredWindow) { + if let Some(db_params) = self.db_params.as_ref() { + match db_params.db.write(DBTransaction { + ops: vec![DBOp::Insert { + col: db_params.db_column, + key: DBKey::from_slice(STORED_ROLLING_SESSION_WINDOW), + value: stored_window.encode(), + }], + }) { + Ok(_) => {}, + Err(err) => { + gum::warn!(target: LOG_TARGET, ?err, "Failed writing db entry"); + }, + } } } /// Initialize a new session info cache with the given window size and /// initial data. + /// This is only used in `approval voting` tests. pub fn with_session_info( - window_size: SessionWindowSize, earliest_session: SessionIndex, session_info: Vec, ) -> Self { - RollingSessionWindow { earliest_session, session_info, window_size } + RollingSessionWindow { + earliest_session, + session_info, + window_size: SESSION_WINDOW_SIZE, + db_params: None, + } } /// Access the session info for the given session index, if stored within the window. @@ -262,11 +392,6 @@ impl RollingSessionWindow { + overseer::SubsystemSender, { let session_index = get_session_index_for_child(sender, block_hash).await?; - let earliest_non_finalized_block_session = - Self::earliest_non_finalized_block_session(sender).await?; - - let old_window_start = self.earliest_session; - let latest = self.latest_session(); // Either cached or ancient. @@ -274,6 +399,10 @@ impl RollingSessionWindow { return Ok(SessionWindowUpdate::Unchanged) } + let earliest_non_finalized_block_session = + Self::earliest_non_finalized_block_session(sender).await?; + + let old_window_start = self.earliest_session; let old_window_end = latest; // Ensure we keep sessions up to last finalized block by adjusting the window start. @@ -283,16 +412,34 @@ impl RollingSessionWindow { earliest_non_finalized_block_session, ); - // keep some of the old window, if applicable. - let overlap_start = window_start.saturating_sub(old_window_start); + // Never look back past earliest session, since if sessions beyond were not needed or available + // in the past remains valid for the future (window only advances forward). + let mut window_start = std::cmp::max(window_start, self.earliest_session); + + let mut sessions = self.session_info.clone(); + let sessions_out_of_window = window_start.saturating_sub(old_window_start) as usize; - let fresh_start = if latest < window_start { window_start } else { latest + 1 }; + let sessions = if sessions_out_of_window < sessions.len() { + // Drop sessions based on how much the window advanced. + sessions.split_off((window_start as usize).saturating_sub(old_window_start as usize)) + } else { + // Window has jumped such that we need to fetch all sessions from on chain. + Vec::new() + }; - match load_all_sessions(sender, block_hash, fresh_start, session_index).await { + match extend_sessions_from_chain_state( + sessions, + sender, + block_hash, + &mut window_start, + session_index, + ) + .await + { Err(kind) => Err(SessionsUnavailable { kind, info: Some(SessionsUnavailableInfo { - window_start: fresh_start, + window_start, window_end: session_index, block_hash, }), @@ -305,15 +452,19 @@ impl RollingSessionWindow { new_window_end: session_index, }; - let outdated = std::cmp::min(overlap_start as usize, self.session_info.len()); - self.session_info.drain(..outdated); - self.session_info.extend(s); + self.session_info = s; + // we need to account for this case: // window_start ................................... session_index // old_window_start ........... latest let new_earliest = std::cmp::max(window_start, old_window_start); self.earliest_session = new_earliest; + // Update current window in DB. + self.db_save(StoredWindow { + earliest_session: self.earliest_session, + session_info: self.session_info.clone(), + }); Ok(update) }, } @@ -354,13 +505,23 @@ async fn get_session_index_for_child( } } -async fn load_all_sessions( +/// Attempts to extend db stored sessions with sessions missing between `start` and up to `end_inclusive`. +/// Runtime session info fetching errors are ignored if that doesn't create a gap in the window. +async fn extend_sessions_from_chain_state( + stored_sessions: Vec, sender: &mut impl overseer::SubsystemSender, block_hash: Hash, - start: SessionIndex, + window_start: &mut SessionIndex, end_inclusive: SessionIndex, ) -> Result, SessionsUnavailableReason> { - let mut v = Vec::new(); + // Start from the db sessions. + let mut sessions = stored_sessions; + // We allow session fetch failures only if we won't create a gap in the window by doing so. + // If `allow_failure` is set to true here, fetching errors are ignored until we get a first session. + let mut allow_failure = sessions.is_empty(); + + let start = *window_start + sessions.len() as u32; + for i in start..=end_inclusive { let (tx, rx) = oneshot::channel(); sender @@ -370,22 +531,58 @@ async fn load_all_sessions( )) .await; - let session_info = match rx.await { - Ok(Ok(Some(s))) => s, - Ok(Ok(None)) => return Err(SessionsUnavailableReason::Missing(i)), - Ok(Err(e)) => return Err(SessionsUnavailableReason::RuntimeApi(e)), - Err(canceled) => return Err(SessionsUnavailableReason::RuntimeApiUnavailable(canceled)), + match rx.await { + Ok(Ok(Some(session_info))) => { + // We do not allow failure anymore after having at least 1 session in window. + allow_failure = false; + sessions.push(session_info); + }, + Ok(Ok(None)) if !allow_failure => return Err(SessionsUnavailableReason::Missing(i)), + Ok(Ok(None)) => { + // Handle `allow_failure` true. + // If we didn't get the session, we advance window start. + *window_start += 1; + gum::debug!( + target: LOG_TARGET, + session = ?i, + "Session info missing from runtime." + ); + }, + Ok(Err(e)) if !allow_failure => return Err(SessionsUnavailableReason::RuntimeApi(e)), + Err(canceled) if !allow_failure => + return Err(SessionsUnavailableReason::RuntimeApiUnavailable(canceled)), + Ok(Err(err)) => { + // Handle `allow_failure` true. + // If we didn't get the session, we advance window start. + *window_start += 1; + gum::debug!( + target: LOG_TARGET, + session = ?i, + ?err, + "Error while fetching session information." + ); + }, + Err(err) => { + // Handle `allow_failure` true. + // If we didn't get the session, we advance window start. + *window_start += 1; + gum::debug!( + target: LOG_TARGET, + session = ?i, + ?err, + "Channel error while fetching session information." + ); + }, }; - - v.push(session_info); } - Ok(v) + Ok(sessions) } #[cfg(test)] mod tests { use super::*; + use crate::database::kvdb_impl::DbAdapter; use assert_matches::assert_matches; use polkadot_node_subsystem::{ messages::{AllMessages, AvailabilityRecoveryMessage}, @@ -395,7 +592,16 @@ mod tests { use polkadot_primitives::v2::Header; use sp_core::testing::TaskExecutor; - pub const TEST_WINDOW_SIZE: SessionWindowSize = new_session_window_size!(6); + const SESSION_DATA_COL: u32 = 0; + + const NUM_COLUMNS: u32 = 1; + + fn dummy_db_params() -> DatabaseParams { + let db = kvdb_memorydb::create(NUM_COLUMNS); + let db = DbAdapter::new(db, &[]); + let db: Arc = Arc::new(db); + DatabaseParams { db, db_column: SESSION_DATA_COL } + } fn dummy_session_info(index: SessionIndex) -> SessionInfo { SessionInfo { @@ -420,7 +626,10 @@ mod tests { session: SessionIndex, window: Option, expect_requests_from: SessionIndex, - ) { + db_params: Option, + ) -> RollingSessionWindow { + let db_params = db_params.unwrap_or(dummy_db_params()); + let header = Header { digest: Default::default(), extrinsics_root: Default::default(), @@ -448,9 +657,8 @@ mod tests { let test_fut = { Box::pin(async move { let window = match window { - None => RollingSessionWindow::new(sender.clone(), TEST_WINDOW_SIZE, hash) - .await - .unwrap(), + None => + RollingSessionWindow::new(sender.clone(), hash, db_params).await.unwrap(), Some(mut window) => { window.cache_session_info_for_head(sender, hash).await.unwrap(); window @@ -461,6 +669,8 @@ mod tests { window.session_info, (expected_start_session..=session).map(dummy_session_info).collect::>(), ); + + window }) }; @@ -522,12 +732,43 @@ mod tests { } }); - futures::executor::block_on(futures::future::join(test_fut, aux_fut)); + let (window, _) = futures::executor::block_on(futures::future::join(test_fut, aux_fut)); + window + } + + #[test] + fn cache_session_info_start_empty_db() { + let db_params = dummy_db_params(); + + let window = cache_session_info_test( + (10 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + 10, + None, + (10 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + Some(db_params.clone()), + ); + + let window = cache_session_info_test( + (11 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + 11, + Some(window), + 11, + None, + ); + assert_eq!(window.session_info.len(), SESSION_WINDOW_SIZE.get() as usize); + + cache_session_info_test( + (11 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + 12, + None, + 12, + Some(db_params), + ); } #[test] fn cache_session_info_first_early() { - cache_session_info_test(0, 1, None, 0); + cache_session_info_test(0, 1, None, 0, None); } #[test] @@ -535,19 +776,21 @@ mod tests { let window = RollingSessionWindow { earliest_session: 1, session_info: vec![dummy_session_info(1)], - window_size: TEST_WINDOW_SIZE, + window_size: SESSION_WINDOW_SIZE, + db_params: Some(dummy_db_params()), }; - cache_session_info_test(1, 2, Some(window), 2); + cache_session_info_test(1, 2, Some(window), 2, None); } #[test] fn cache_session_info_first_late() { cache_session_info_test( - (100 as SessionIndex).saturating_sub(TEST_WINDOW_SIZE.get() - 1), + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), 100, None, - (100 as SessionIndex).saturating_sub(TEST_WINDOW_SIZE.get() - 1), + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + None, ); } @@ -560,48 +803,88 @@ mod tests { dummy_session_info(51), dummy_session_info(52), ], - window_size: TEST_WINDOW_SIZE, + window_size: SESSION_WINDOW_SIZE, + db_params: Some(dummy_db_params()), }; cache_session_info_test( - (100 as SessionIndex).saturating_sub(TEST_WINDOW_SIZE.get() - 1), + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), 100, Some(window), - (100 as SessionIndex).saturating_sub(TEST_WINDOW_SIZE.get() - 1), + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + None, ); } #[test] fn cache_session_info_roll_full() { - let start = 99 - (TEST_WINDOW_SIZE.get() - 1); + let start = 99 - (SESSION_WINDOW_SIZE.get() - 1); let window = RollingSessionWindow { earliest_session: start, session_info: (start..=99).map(dummy_session_info).collect(), - window_size: TEST_WINDOW_SIZE, + window_size: SESSION_WINDOW_SIZE, + db_params: Some(dummy_db_params()), }; cache_session_info_test( - (100 as SessionIndex).saturating_sub(TEST_WINDOW_SIZE.get() - 1), + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), 100, Some(window), 100, // should only make one request. + None, + ); + } + + #[test] + fn cache_session_info_roll_many_full_db() { + let db_params = dummy_db_params(); + let start = 97 - (SESSION_WINDOW_SIZE.get() - 1); + let window = RollingSessionWindow { + earliest_session: start, + session_info: (start..=97).map(dummy_session_info).collect(), + window_size: SESSION_WINDOW_SIZE, + db_params: Some(db_params.clone()), + }; + + cache_session_info_test( + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + 100, + Some(window), + 98, + None, + ); + + // We expect the session to be populated from DB, and only fetch 101 from on chain. + cache_session_info_test( + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), + 101, + None, + 101, + Some(db_params.clone()), ); + + // Session warps in the future. + let window = cache_session_info_test(195, 200, None, 195, Some(db_params)); + + assert_eq!(window.session_info.len(), SESSION_WINDOW_SIZE.get() as usize); } #[test] fn cache_session_info_roll_many_full() { - let start = 97 - (TEST_WINDOW_SIZE.get() - 1); + let start = 97 - (SESSION_WINDOW_SIZE.get() - 1); let window = RollingSessionWindow { earliest_session: start, session_info: (start..=97).map(dummy_session_info).collect(), - window_size: TEST_WINDOW_SIZE, + window_size: SESSION_WINDOW_SIZE, + db_params: Some(dummy_db_params()), }; cache_session_info_test( - (100 as SessionIndex).saturating_sub(TEST_WINDOW_SIZE.get() - 1), + (100 as SessionIndex).saturating_sub(SESSION_WINDOW_SIZE.get() - 1), 100, Some(window), 98, + None, ); } @@ -611,7 +894,8 @@ mod tests { let window = RollingSessionWindow { earliest_session: start, session_info: (0..=1).map(dummy_session_info).collect(), - window_size: TEST_WINDOW_SIZE, + window_size: SESSION_WINDOW_SIZE, + db_params: Some(dummy_db_params()), }; cache_session_info_test( @@ -619,6 +903,7 @@ mod tests { 2, Some(window), 2, // should only make one request. + None, ); } @@ -628,14 +913,17 @@ mod tests { let window = RollingSessionWindow { earliest_session: start, session_info: (0..=1).map(dummy_session_info).collect(), - window_size: TEST_WINDOW_SIZE, + window_size: SESSION_WINDOW_SIZE, + db_params: Some(dummy_db_params()), }; - cache_session_info_test(0, 3, Some(window), 2); + let actual_window_size = window.session_info.len() as u32; + + cache_session_info_test(0, 3, Some(window), actual_window_size, None); } #[test] - fn any_session_stretch_for_unfinalized_chain() { + fn cache_session_fails_for_gap_in_window() { // Session index of the tip of our fake test chain. let session: SessionIndex = 100; let genesis_session: SessionIndex = 0; @@ -664,7 +952,8 @@ mod tests { let test_fut = { let sender = ctx.sender().clone(); Box::pin(async move { - let res = RollingSessionWindow::new(sender, TEST_WINDOW_SIZE, hash).await; + let res = RollingSessionWindow::new(sender, hash, dummy_db_params()).await; + assert!(res.is_err()); }) }; @@ -713,6 +1002,135 @@ mod tests { ); // Unfinalized chain starts at geneisis block, so session 0 is how far we stretch. + // First 50 sessions are missing. + for i in genesis_session..=50 { + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionInfo(j, s_tx), + )) => { + assert_eq!(h, hash); + assert_eq!(i, j); + let _ = s_tx.send(Ok(None)); + } + ); + } + // next 10 sessions are present + for i in 51..=60 { + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionInfo(j, s_tx), + )) => { + assert_eq!(h, hash); + assert_eq!(i, j); + let _ = s_tx.send(Ok(Some(dummy_session_info(i)))); + } + ); + } + // gap of 1 session + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionInfo(j, s_tx), + )) => { + assert_eq!(h, hash); + assert_eq!(61, j); + let _ = s_tx.send(Ok(None)); + } + ); + }); + + futures::executor::block_on(futures::future::join(test_fut, aux_fut)); + } + + #[test] + fn any_session_stretch_with_failure_allowed_for_unfinalized_chain() { + // Session index of the tip of our fake test chain. + let session: SessionIndex = 100; + let genesis_session: SessionIndex = 0; + + let header = Header { + digest: Default::default(), + extrinsics_root: Default::default(), + number: 5, + state_root: Default::default(), + parent_hash: Default::default(), + }; + + let finalized_header = Header { + digest: Default::default(), + extrinsics_root: Default::default(), + number: 0, + state_root: Default::default(), + parent_hash: Default::default(), + }; + + let pool = TaskExecutor::new(); + let (mut ctx, mut handle) = make_subsystem_context::<(), _>(pool.clone()); + + let hash = header.hash(); + + let test_fut = { + let sender = ctx.sender().clone(); + Box::pin(async move { + let res = RollingSessionWindow::new(sender, hash, dummy_db_params()).await; + assert!(res.is_ok()); + let rsw = res.unwrap(); + // Since first 50 sessions are missing the earliest should be 50. + assert_eq!(rsw.earliest_session, 50); + assert_eq!(rsw.session_info.len(), 51); + }) + }; + + let aux_fut = Box::pin(async move { + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, hash); + let _ = s_tx.send(Ok(session)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockNumber( + s_tx, + )) => { + let _ = s_tx.send(Ok(finalized_header.number)); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::FinalizedBlockHash( + block_number, + s_tx, + )) => { + assert_eq!(block_number, finalized_header.number); + let _ = s_tx.send(Ok(Some(finalized_header.hash()))); + } + ); + + assert_matches!( + handle.recv().await, + AllMessages::RuntimeApi(RuntimeApiMessage::Request( + h, + RuntimeApiRequest::SessionIndexForChild(s_tx), + )) => { + assert_eq!(h, finalized_header.hash()); + let _ = s_tx.send(Ok(0)); + } + ); + + // Unfinalized chain starts at geneisis block, so session 0 is how far we stretch. + // We also test if failure is allowed for 50 first missing sessions. for i in genesis_session..=session { assert_matches!( handle.recv().await, @@ -723,7 +1141,7 @@ mod tests { assert_eq!(h, hash); assert_eq!(i, j); - let _ = s_tx.send(Ok(if i == session { + let _ = s_tx.send(Ok(if i < 50 { None } else { Some(dummy_session_info(i)) @@ -739,7 +1157,7 @@ mod tests { #[test] fn any_session_unavailable_for_caching_means_no_change() { let session: SessionIndex = 6; - let start_session = session.saturating_sub(TEST_WINDOW_SIZE.get() - 1); + let start_session = session.saturating_sub(SESSION_WINDOW_SIZE.get() - 1); let header = Header { digest: Default::default(), @@ -765,7 +1183,7 @@ mod tests { let test_fut = { let sender = ctx.sender().clone(); Box::pin(async move { - let res = RollingSessionWindow::new(sender, TEST_WINDOW_SIZE, hash).await; + let res = RollingSessionWindow::new(sender, hash, dummy_db_params()).await; assert!(res.is_err()); }) }; @@ -857,7 +1275,7 @@ mod tests { Box::pin(async move { let sender = ctx.sender().clone(); let window = - RollingSessionWindow::new(sender, TEST_WINDOW_SIZE, hash).await.unwrap(); + RollingSessionWindow::new(sender, hash, dummy_db_params()).await.unwrap(); assert_eq!(window.earliest_session, session); assert_eq!(window.session_info, vec![dummy_session_info(session)]); From a70d12ae1da07167bb33c5fce6f6f4f5ab511fff Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 8 Nov 2022 15:36:36 -0500 Subject: [PATCH 102/211] Retry failed PVF execution (AmbiguousWorkerDeath) (#6235) * Fix a couple of typos * Retry failed PVF execution PVF execution that fails due to AmbiguousWorkerDeath should be retried once. This should reduce the occurrence of failures due to transient conditions. Closes #6195 * Address a couple of nits * Write tests; refactor (add `validate_candidate_with_retry`) * Update node/core/candidate-validation/src/lib.rs Co-authored-by: Andronik Co-authored-by: eskimor Co-authored-by: Andronik --- Cargo.lock | 1 + node/core/candidate-validation/Cargo.toml | 1 + node/core/candidate-validation/src/lib.rs | 64 ++++++--- node/core/candidate-validation/src/tests.rs | 144 ++++++++++++++++++-- node/core/pvf/src/execute/queue.rs | 6 +- 5 files changed, 185 insertions(+), 31 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e1d377bfb54a..ea5d53d81438 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6428,6 +6428,7 @@ dependencies = [ "assert_matches", "async-trait", "futures", + "futures-timer", "parity-scale-codec", "polkadot-node-core-pvf", "polkadot-node-primitives", diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index 8634cfe5a75e..105d7c1a21dc 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -7,6 +7,7 @@ edition = "2021" [dependencies] async-trait = "0.1.57" futures = "0.3.21" +futures-timer = "3.0.2" gum = { package = "tracing-gum", path = "../../gum" } sp-maybe-compressed-blob = { package = "sp-maybe-compressed-blob", git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/candidate-validation/src/lib.rs b/node/core/candidate-validation/src/lib.rs index c3775ba1c453..a82a0feb78a0 100644 --- a/node/core/candidate-validation/src/lib.rs +++ b/node/core/candidate-validation/src/lib.rs @@ -60,6 +60,12 @@ mod tests; const LOG_TARGET: &'static str = "parachain::candidate-validation"; +/// The amount of time to wait before retrying after an AmbiguousWorkerDeath validation error. +#[cfg(not(test))] +const PVF_EXECUTION_RETRY_DELAY: Duration = Duration::from_secs(3); +#[cfg(test)] +const PVF_EXECUTION_RETRY_DELAY: Duration = Duration::from_millis(200); + /// Configuration for the candidate validation subsystem #[derive(Clone)] pub struct Config { @@ -490,7 +496,7 @@ where } async fn validate_candidate_exhaustive( - mut validation_backend: impl ValidationBackend, + mut validation_backend: impl ValidationBackend + Send, persisted_validation_data: PersistedValidationData, validation_code: ValidationCode, candidate_receipt: CandidateReceipt, @@ -551,7 +557,7 @@ async fn validate_candidate_exhaustive( }; let result = validation_backend - .validate_candidate(raw_validation_code.to_vec(), timeout, params) + .validate_candidate_with_retry(raw_validation_code.to_vec(), timeout, params) .await; if let Err(ref error) = result { @@ -604,45 +610,63 @@ async fn validate_candidate_exhaustive( #[async_trait] trait ValidationBackend { async fn validate_candidate( + &mut self, + pvf: Pvf, + timeout: Duration, + encoded_params: Vec, + ) -> Result; + + async fn validate_candidate_with_retry( &mut self, raw_validation_code: Vec, timeout: Duration, params: ValidationParams, - ) -> Result; + ) -> Result { + // Construct the PVF a single time, since it is an expensive operation. Cloning it is cheap. + let pvf = Pvf::from_code(raw_validation_code); + + let validation_result = + self.validate_candidate(pvf.clone(), timeout, params.encode()).await; + + // If we get an AmbiguousWorkerDeath error, retry once after a brief delay, on the + // assumption that the conditions that caused this error may have been transient. + if let Err(ValidationError::InvalidCandidate(WasmInvalidCandidate::AmbiguousWorkerDeath)) = + validation_result + { + // Wait a brief delay before retrying. + futures_timer::Delay::new(PVF_EXECUTION_RETRY_DELAY).await; + // Encode the params again when re-trying. We expect the retry case to be relatively + // rare, and we want to avoid unconditionally cloning data. + self.validate_candidate(pvf, timeout, params.encode()).await + } else { + validation_result + } + } async fn precheck_pvf(&mut self, pvf: Pvf) -> Result<(), PrepareError>; } #[async_trait] impl ValidationBackend for ValidationHost { + /// Tries executing a PVF a single time (no retries). async fn validate_candidate( &mut self, - raw_validation_code: Vec, + pvf: Pvf, timeout: Duration, - params: ValidationParams, + encoded_params: Vec, ) -> Result { + let priority = polkadot_node_core_pvf::Priority::Normal; + let (tx, rx) = oneshot::channel(); - if let Err(err) = self - .execute_pvf( - Pvf::from_code(raw_validation_code), - timeout, - params.encode(), - polkadot_node_core_pvf::Priority::Normal, - tx, - ) - .await - { + if let Err(err) = self.execute_pvf(pvf, timeout, encoded_params, priority, tx).await { return Err(ValidationError::InternalError(format!( "cannot send pvf to the validation host: {:?}", err ))) } - let validation_result = rx - .await - .map_err(|_| ValidationError::InternalError("validation was cancelled".into()))?; - - validation_result + rx.await + .map_err(|_| ValidationError::InternalError("validation was cancelled".into()))? } async fn precheck_pvf(&mut self, pvf: Pvf) -> Result<(), PrepareError> { diff --git a/node/core/candidate-validation/src/tests.rs b/node/core/candidate-validation/src/tests.rs index ecac13d1440d..cf467cd5c057 100644 --- a/node/core/candidate-validation/src/tests.rs +++ b/node/core/candidate-validation/src/tests.rs @@ -345,12 +345,19 @@ fn check_does_not_match() { } struct MockValidateCandidateBackend { - result: Result, + result_list: Vec>, + num_times_called: usize, } impl MockValidateCandidateBackend { fn with_hardcoded_result(result: Result) -> Self { - Self { result } + Self { result_list: vec![result], num_times_called: 0 } + } + + fn with_hardcoded_result_list( + result_list: Vec>, + ) -> Self { + Self { result_list, num_times_called: 0 } } } @@ -358,11 +365,16 @@ impl MockValidateCandidateBackend { impl ValidationBackend for MockValidateCandidateBackend { async fn validate_candidate( &mut self, - _raw_validation_code: Vec, + _pvf: Pvf, _timeout: Duration, - _params: ValidationParams, + _encoded_params: Vec, ) -> Result { - self.result.clone() + // This is expected to panic if called more times than expected, indicating an error in the + // test. + let result = self.result_list[self.num_times_called].clone(); + self.num_times_called += 1; + + result } async fn precheck_pvf(&mut self, _pvf: Pvf) -> Result<(), PrepareError> { @@ -468,7 +480,7 @@ fn candidate_validation_bad_return_is_invalid() { let v = executor::block_on(validate_candidate_exhaustive( MockValidateCandidateBackend::with_hardcoded_result(Err( - ValidationError::InvalidCandidate(WasmInvalidCandidate::AmbiguousWorkerDeath), + ValidationError::InvalidCandidate(WasmInvalidCandidate::HardTimeout), )), validation_data, validation_code, @@ -479,6 +491,122 @@ fn candidate_validation_bad_return_is_invalid() { )) .unwrap(); + assert_matches!(v, ValidationResult::Invalid(InvalidCandidate::Timeout)); +} + +#[test] +fn candidate_validation_one_ambiguous_error_is_valid() { + let validation_data = PersistedValidationData { max_pov_size: 1024, ..Default::default() }; + + let pov = PoV { block_data: BlockData(vec![1; 32]) }; + let head_data = HeadData(vec![1, 1, 1]); + let validation_code = ValidationCode(vec![2; 16]); + + let descriptor = make_valid_candidate_descriptor( + ParaId::from(1_u32), + dummy_hash(), + validation_data.hash(), + pov.hash(), + validation_code.hash(), + head_data.hash(), + dummy_hash(), + Sr25519Keyring::Alice, + ); + + let check = perform_basic_checks( + &descriptor, + validation_data.max_pov_size, + &pov, + &validation_code.hash(), + ); + assert!(check.is_ok()); + + let validation_result = WasmValidationResult { + head_data, + new_validation_code: Some(vec![2, 2, 2].into()), + upward_messages: Vec::new(), + horizontal_messages: Vec::new(), + processed_downward_messages: 0, + hrmp_watermark: 0, + }; + + let commitments = CandidateCommitments { + head_data: validation_result.head_data.clone(), + upward_messages: validation_result.upward_messages.clone(), + horizontal_messages: validation_result.horizontal_messages.clone(), + new_validation_code: validation_result.new_validation_code.clone(), + processed_downward_messages: validation_result.processed_downward_messages, + hrmp_watermark: validation_result.hrmp_watermark, + }; + + let candidate_receipt = CandidateReceipt { descriptor, commitments_hash: commitments.hash() }; + + let v = executor::block_on(validate_candidate_exhaustive( + MockValidateCandidateBackend::with_hardcoded_result_list(vec![ + Err(ValidationError::InvalidCandidate(WasmInvalidCandidate::AmbiguousWorkerDeath)), + Ok(validation_result), + ]), + validation_data.clone(), + validation_code, + candidate_receipt, + Arc::new(pov), + Duration::from_secs(0), + &Default::default(), + )) + .unwrap(); + + assert_matches!(v, ValidationResult::Valid(outputs, used_validation_data) => { + assert_eq!(outputs.head_data, HeadData(vec![1, 1, 1])); + assert_eq!(outputs.upward_messages, Vec::::new()); + assert_eq!(outputs.horizontal_messages, Vec::new()); + assert_eq!(outputs.new_validation_code, Some(vec![2, 2, 2].into())); + assert_eq!(outputs.hrmp_watermark, 0); + assert_eq!(used_validation_data, validation_data); + }); +} + +#[test] +fn candidate_validation_multiple_ambiguous_errors_is_invalid() { + let validation_data = PersistedValidationData { max_pov_size: 1024, ..Default::default() }; + + let pov = PoV { block_data: BlockData(vec![1; 32]) }; + let validation_code = ValidationCode(vec![2; 16]); + + let descriptor = make_valid_candidate_descriptor( + ParaId::from(1_u32), + dummy_hash(), + validation_data.hash(), + pov.hash(), + validation_code.hash(), + dummy_hash(), + dummy_hash(), + Sr25519Keyring::Alice, + ); + + let check = perform_basic_checks( + &descriptor, + validation_data.max_pov_size, + &pov, + &validation_code.hash(), + ); + assert!(check.is_ok()); + + let candidate_receipt = CandidateReceipt { descriptor, commitments_hash: Hash::zero() }; + + let v = executor::block_on(validate_candidate_exhaustive( + MockValidateCandidateBackend::with_hardcoded_result_list(vec![ + Err(ValidationError::InvalidCandidate(WasmInvalidCandidate::AmbiguousWorkerDeath)), + Err(ValidationError::InvalidCandidate(WasmInvalidCandidate::AmbiguousWorkerDeath)), + ]), + validation_data, + validation_code, + candidate_receipt, + Arc::new(pov), + Duration::from_secs(0), + &Default::default(), + )) + .unwrap(); + assert_matches!(v, ValidationResult::Invalid(InvalidCandidate::ExecutionError(_))); } @@ -779,9 +907,9 @@ impl MockPreCheckBackend { impl ValidationBackend for MockPreCheckBackend { async fn validate_candidate( &mut self, - _raw_validation_code: Vec, + _pvf: Pvf, _timeout: Duration, - _params: ValidationParams, + _encoded_params: Vec, ) -> Result { unreachable!() } diff --git a/node/core/pvf/src/execute/queue.rs b/node/core/pvf/src/execute/queue.rs index 9b240e02df17..b4c6a66b7719 100644 --- a/node/core/pvf/src/execute/queue.rs +++ b/node/core/pvf/src/execute/queue.rs @@ -252,8 +252,8 @@ fn handle_job_finish( "execute worker concluded", ); - // First we send the result. It may fail due the other end of the channel being dropped, that's - // legitimate and we don't treat that as an error. + // First we send the result. It may fail due to the other end of the channel being dropped, + // that's legitimate and we don't treat that as an error. let _ = result_tx.send(result); // Then, we should deal with the worker: @@ -305,7 +305,7 @@ async fn spawn_worker_task(program_path: PathBuf, spawn_timeout: Duration) -> Qu Err(err) => { gum::warn!(target: LOG_TARGET, "failed to spawn an execute worker: {:?}", err); - // Assume that the failure intermittent and retry after a delay. + // Assume that the failure is intermittent and retry after a delay. Delay::new(Duration::from_secs(3)).await; }, } From 18faf1c820794bf56649dcaf687ecdbb61e70a18 Mon Sep 17 00:00:00 2001 From: Ankan <10196091+Ank4n@users.noreply.github.com> Date: Wed, 9 Nov 2022 12:00:03 +0100 Subject: [PATCH 103/211] [Companion] Bound Election and Staking by MaxActiveValidators (#6157) * add maximum winners to multi phase election provider * fallback to noelection * fmt * missing values * convert boundedvec to inner before sort * dont clone * pr feedback * update lockfile for {"substrate"} * run onchain election on westend benchmark Co-authored-by: parity-processbot <> --- Cargo.lock | 412 ++++++++---------- runtime/kusama/src/lib.rs | 20 +- runtime/polkadot/src/lib.rs | 20 +- runtime/test-runtime/src/lib.rs | 10 +- runtime/westend/src/lib.rs | 20 +- utils/staking-miner/src/emergency_solution.rs | 16 +- 6 files changed, 252 insertions(+), 246 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ea5d53d81438..c03c287e8f12 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -435,7 +435,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +492,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +502,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -571,16 +571,6 @@ dependencies = [ "digest 0.10.3", ] -[[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", -] - [[package]] name = "blake2b_simd" version = "1.0.0" @@ -2038,7 +2028,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", ] @@ -2062,7 +2052,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -2085,7 +2075,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "Inflector", "array-bytes", @@ -2137,7 +2127,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2148,7 +2138,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2164,7 +2154,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -2193,7 +2183,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "bitflags", "frame-metadata", @@ -2225,7 +2215,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "Inflector", "cfg-expr", @@ -2239,7 +2229,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2251,7 +2241,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro2", "quote", @@ -2261,7 +2251,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2284,7 +2274,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -2295,7 +2285,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "log", @@ -2313,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -2328,7 +2318,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "sp-api", @@ -2337,7 +2327,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "parity-scale-codec", @@ -2508,7 +2498,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "chrono", "frame-election-provider-support", @@ -2782,7 +2772,7 @@ checksum = "848e9c511092e0daa0a35a63e8e6e475a3e8f870741448b9f6028d69b142f18e" dependencies = [ "arbitrary", "lazy_static", - "memmap2 0.5.0", + "memmap2", "rustc_version", ] @@ -4038,15 +4028,6 @@ dependencies = [ "rustix", ] -[[package]] -name = "memmap2" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "723e3ebdcdc5c023db1df315364573789f8857c11b631a2fdfad7c00f5c046b4" -dependencies = [ - "libc", -] - [[package]] name = "memmap2" version = "0.5.0" @@ -4689,7 +4670,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4703,7 +4684,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -4719,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -4734,7 +4715,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4758,7 +4739,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4778,7 +4759,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4797,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4812,7 +4793,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "beefy-primitives", "frame-support", @@ -4828,7 +4809,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4851,7 +4832,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4869,7 +4850,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4888,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4905,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4922,7 +4903,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4940,7 +4921,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4964,7 +4945,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4977,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -4995,7 +4976,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5013,7 +4994,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5051,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5067,7 +5048,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5087,7 +5068,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5104,7 +5085,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5121,7 +5102,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5139,7 +5120,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5154,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5170,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -5187,7 +5168,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5207,7 +5188,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "sp-api", @@ -5217,7 +5198,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -5234,7 +5215,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5257,7 +5238,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5274,7 +5255,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5289,7 +5270,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5307,7 +5288,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5322,7 +5303,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5340,7 +5321,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5356,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -5377,7 +5358,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5393,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -5407,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5430,7 +5411,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5441,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "sp-arithmetic", @@ -5450,7 +5431,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -5464,7 +5445,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5463,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5501,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-support", "frame-system", @@ -5517,7 +5498,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5533,7 +5514,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5545,7 +5526,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5562,7 +5543,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5578,7 +5559,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5593,7 +5574,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-benchmarking", "frame-support", @@ -5652,25 +5633,6 @@ dependencies = [ "xcm-executor", ] -[[package]] -name = "parity-db" -version = "0.3.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bb474d0ed0836e185cb998a6b140ed1073d1fbf27d690ecf9ede8030289382c" -dependencies = [ - "blake2-rfc", - "crc32fast", - "fs2", - "hex", - "libc", - "log", - "lz4", - "memmap2 0.2.3", - "parking_lot 0.11.2", - "rand 0.8.5", - "snap", -] - [[package]] name = "parity-db" version = "0.4.2" @@ -5684,7 +5646,7 @@ dependencies = [ "libc", "log", "lz4", - "memmap2 0.5.0", + "memmap2", "parking_lot 0.12.1", "rand 0.8.5", "snap", @@ -6783,7 +6745,7 @@ dependencies = [ "lazy_static", "log", "lru 0.8.0", - "parity-db 0.4.2", + "parity-db", "parity-scale-codec", "parity-util-mem", "parking_lot 0.11.2", @@ -7177,7 +7139,7 @@ dependencies = [ "pallet-im-online", "pallet-staking", "pallet-transaction-payment-rpc-runtime-api", - "parity-db 0.4.2", + "parity-db", "polkadot-approval-distribution", "polkadot-availability-bitfield-distribution", "polkadot-availability-distribution", @@ -8086,7 +8048,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "env_logger 0.9.0", "log", @@ -8425,7 +8387,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "sp-core", @@ -8436,7 +8398,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures", @@ -8463,7 +8425,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "futures-timer", @@ -8486,7 +8448,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8502,10 +8464,10 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "impl-trait-for-tuples", - "memmap2 0.5.0", + "memmap2", "parity-scale-codec", "sc-chain-spec-derive", "sc-network-common", @@ -8519,7 +8481,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8530,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "chrono", @@ -8570,7 +8532,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "fnv", "futures", @@ -8598,7 +8560,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "hash-db", "kvdb", @@ -8606,7 +8568,7 @@ dependencies = [ "kvdb-rocksdb", "linked-hash-map", "log", - "parity-db 0.3.16", + "parity-db", "parity-scale-codec", "parking_lot 0.12.1", "sc-client-api", @@ -8623,7 +8585,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures", @@ -8647,7 +8609,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "fork-tree", @@ -8689,7 +8651,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "jsonrpsee", @@ -8711,7 +8673,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8724,7 +8686,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures", @@ -8748,7 +8710,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "lazy_static", "lru 0.7.8", @@ -8775,7 +8737,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "environmental", "parity-scale-codec", @@ -8791,7 +8753,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "parity-scale-codec", @@ -8806,7 +8768,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "cfg-if 1.0.0", "libc", @@ -8826,7 +8788,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "ahash", "array-bytes", @@ -8867,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "finality-grandpa", "futures", @@ -8888,7 +8850,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "ansi_term", "futures", @@ -8905,7 +8867,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "async-trait", @@ -8920,7 +8882,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "async-trait", @@ -8967,7 +8929,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "cid", "futures", @@ -8987,7 +8949,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "bitflags", @@ -9013,7 +8975,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "ahash", "futures", @@ -9031,7 +8993,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "futures", @@ -9052,7 +9014,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "fork-tree", @@ -9082,7 +9044,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "futures", @@ -9101,7 +9063,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "bytes", @@ -9131,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "libp2p", @@ -9144,7 +9106,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9153,7 +9115,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "hash-db", @@ -9183,7 +9145,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "jsonrpsee", @@ -9206,7 +9168,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "jsonrpsee", @@ -9219,7 +9181,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "hex", @@ -9238,7 +9200,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "directories", @@ -9309,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "parity-scale-codec", @@ -9323,7 +9285,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9342,7 +9304,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "libc", @@ -9361,7 +9323,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "chrono", "futures", @@ -9379,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "ansi_term", "atty", @@ -9410,7 +9372,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9421,7 +9383,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures", @@ -9448,7 +9410,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures", @@ -9462,7 +9424,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "futures-timer", @@ -9943,7 +9905,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "hash-db", "log", @@ -9961,7 +9923,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "blake2", "proc-macro-crate", @@ -9973,7 +9935,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -9986,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "integer-sqrt", "num-traits", @@ -10001,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -10014,7 +9976,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "parity-scale-codec", @@ -10026,7 +9988,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "sp-api", @@ -10038,7 +10000,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "log", @@ -10056,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures", @@ -10075,7 +10037,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "merlin", @@ -10098,7 +10060,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -10112,7 +10074,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -10125,7 +10087,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "base58", @@ -10171,7 +10133,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "blake2", "byteorder", @@ -10185,7 +10147,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro2", "quote", @@ -10196,7 +10158,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10205,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro2", "quote", @@ -10215,7 +10177,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "environmental", "parity-scale-codec", @@ -10226,7 +10188,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "finality-grandpa", "log", @@ -10244,7 +10206,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10258,7 +10220,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "bytes", "futures", @@ -10284,7 +10246,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "lazy_static", "sp-core", @@ -10295,7 +10257,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures", @@ -10312,7 +10274,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "thiserror", "zstd", @@ -10321,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "parity-scale-codec", @@ -10337,7 +10299,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -10351,7 +10313,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "sp-api", "sp-core", @@ -10361,7 +10323,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "backtrace", "lazy_static", @@ -10371,7 +10333,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "rustc-hash", "serde", @@ -10381,7 +10343,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "either", "hash256-std-hasher", @@ -10404,7 +10366,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10422,7 +10384,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "Inflector", "proc-macro-crate", @@ -10434,7 +10396,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "parity-scale-codec", @@ -10448,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -10462,7 +10424,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "scale-info", @@ -10473,7 +10435,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "hash-db", "log", @@ -10495,12 +10457,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10513,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "log", "sp-core", @@ -10526,7 +10488,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "futures-timer", @@ -10542,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "sp-std", @@ -10554,7 +10516,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "sp-api", "sp-runtime", @@ -10563,7 +10525,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "log", @@ -10579,7 +10541,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "ahash", "hash-db", @@ -10602,7 +10564,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10619,7 +10581,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10630,7 +10592,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "impl-trait-for-tuples", "log", @@ -10643,7 +10605,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10858,7 +10820,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "platforms", ] @@ -10866,7 +10828,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10887,7 +10849,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures-util", "hyper", @@ -10900,7 +10862,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "async-trait", "jsonrpsee", @@ -10913,7 +10875,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "jsonrpsee", "log", @@ -10934,7 +10896,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "array-bytes", "async-trait", @@ -10960,7 +10922,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10970,7 +10932,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10981,7 +10943,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "ansi_term", "build-helper", @@ -11017,7 +10979,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e92a52f07eed9afba3d6f883652cde7cd75fcf327dd44e84f210958379158737" dependencies = [ "debugid", - "memmap2 0.5.0", + "memmap2", "stable_deref_trait", "uuid", ] @@ -11688,7 +11650,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#b85f85e08dafa2935dc20d1b13af2ca36ba3ea64" +source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 40ddbb08f415..65e93ddfd32b 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -411,6 +411,9 @@ parameter_types! { pub const MaxElectableTargets: u16 = u16::MAX; pub NposSolutionPriority: TransactionPriority = Perbill::from_percent(90) * TransactionPriority::max_value(); + /// Setup election pallet to support maximum winners upto 2000. This will mean Staking Pallet + /// cannot have active validators higher than this count. + pub const MaxActiveValidators: u32 = 2000; } generate_solution_type!( @@ -429,6 +432,9 @@ impl onchain::Config for OnChainSeqPhragmen { type Solver = SequentialPhragmen; type DataProvider = Staking; type WeightInfo = weights::frame_election_provider_support::WeightInfo; + type MaxWinners = MaxActiveValidators; + type VotersBound = MaxElectingVoters; + type TargetsBound = MaxElectableTargets; } impl pallet_election_provider_multi_phase::MinerConfig for Runtime { @@ -476,10 +482,15 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type MinerTxPriority = NposSolutionPriority; type DataProvider = Staking; #[cfg(feature = "fast-runtime")] - type Fallback = onchain::UnboundedExecution; + type Fallback = onchain::OnChainExecution; #[cfg(not(feature = "fast-runtime"))] - type Fallback = pallet_election_provider_multi_phase::NoFallback; - type GovernanceFallback = onchain::UnboundedExecution; + type Fallback = frame_election_provider_support::NoElection<( + AccountId, + BlockNumber, + Staking, + MaxActiveValidators, + )>; + type GovernanceFallback = onchain::OnChainExecution; type Solver = SequentialPhragmen< AccountId, pallet_election_provider_multi_phase::SolutionAccuracyOf, @@ -490,6 +501,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo; type MaxElectingVoters = MaxElectingVoters; type MaxElectableTargets = MaxElectableTargets; + type MaxWinners = MaxActiveValidators; } parameter_types! { @@ -553,7 +565,7 @@ impl pallet_staking::Config for Runtime { type UnixTime = Timestamp; type CurrencyToVote = CurrencyToVote; type ElectionProvider = ElectionProviderMultiPhase; - type GenesisElectionProvider = onchain::UnboundedExecution; + type GenesisElectionProvider = onchain::OnChainExecution; type RewardRemainder = Treasury; type RuntimeEvent = RuntimeEvent; type Slash = Treasury; diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index cab371f26c1b..e100b13c5af2 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -406,6 +406,9 @@ parameter_types! { /// ... and all of the validators as electable targets. Whilst this is the case, we cannot and /// shall not increase the size of the validator intentions. pub const MaxElectableTargets: u16 = u16::MAX; + /// Setup election pallet to support maximum winners upto 1200. This will mean Staking Pallet + /// cannot have active validators higher than this count. + pub const MaxActiveValidators: u32 = 1200; } generate_solution_type!( @@ -424,6 +427,9 @@ impl onchain::Config for OnChainSeqPhragmen { type Solver = SequentialPhragmen; type DataProvider = Staking; type WeightInfo = weights::frame_election_provider_support::WeightInfo; + type MaxWinners = MaxActiveValidators; + type VotersBound = MaxElectingVoters; + type TargetsBound = MaxElectableTargets; } impl pallet_election_provider_multi_phase::MinerConfig for Runtime { @@ -471,10 +477,15 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type MinerTxPriority = NposSolutionPriority; type DataProvider = Staking; #[cfg(feature = "fast-runtime")] - type Fallback = onchain::UnboundedExecution; + type Fallback = onchain::OnChainExecution; #[cfg(not(feature = "fast-runtime"))] - type Fallback = pallet_election_provider_multi_phase::NoFallback; - type GovernanceFallback = onchain::UnboundedExecution; + type Fallback = frame_election_provider_support::NoElection<( + AccountId, + BlockNumber, + Staking, + MaxActiveValidators, + )>; + type GovernanceFallback = onchain::OnChainExecution; type Solver = SequentialPhragmen< AccountId, pallet_election_provider_multi_phase::SolutionAccuracyOf, @@ -488,6 +499,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo; type MaxElectingVoters = MaxElectingVoters; type MaxElectableTargets = MaxElectableTargets; + type MaxWinners = MaxActiveValidators; } parameter_types! { @@ -587,7 +599,7 @@ impl pallet_staking::Config for Runtime { type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type NextNewSession = Session; type ElectionProvider = ElectionProviderMultiPhase; - type GenesisElectionProvider = onchain::UnboundedExecution; + type GenesisElectionProvider = onchain::OnChainExecution; type VoterList = VoterList; type TargetList = UseValidatorsMap; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 7fba0e20d9fe..2d242aa027ad 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -319,6 +319,9 @@ parameter_types! { pub storage MaxNominatorRewardedPerValidator: u32 = 64; pub storage OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); pub const MaxAuthorities: u32 = 100_000; + pub const OnChainMaxWinners: u32 = u32::MAX; + pub const MaxElectingVoters: u32 = u32::MAX; + pub const MaxElectableTargets: u16 = u16::MAX; } pub struct OnChainSeqPhragmen; @@ -327,6 +330,9 @@ impl onchain::Config for OnChainSeqPhragmen { type Solver = SequentialPhragmen; type DataProvider = Staking; type WeightInfo = (); + type MaxWinners = OnChainMaxWinners; + type VotersBound = MaxElectingVoters; + type TargetsBound = MaxElectableTargets; } impl pallet_staking::Config for Runtime { @@ -349,8 +355,8 @@ impl pallet_staking::Config for Runtime { type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type NextNewSession = Session; - type ElectionProvider = onchain::UnboundedExecution; - type GenesisElectionProvider = onchain::UnboundedExecution; + type ElectionProvider = onchain::OnChainExecution; + type GenesisElectionProvider = onchain::OnChainExecution; // Use the nominator map to iter voter AND no-ops for all SortedListProvider hooks. The migration // to bags-list is a no-op, but the storage version will be updated. type VoterList = pallet_staking::UseNominatorsAndValidatorsMap; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 327cfd512a4c..cada4aca5a38 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -366,6 +366,9 @@ parameter_types! { /// ... and all of the validators as electable targets. Whilst this is the case, we cannot and /// shall not increase the size of the validator intentions. pub const MaxElectableTargets: u16 = u16::MAX; + // Maximum winners that can be chosen as active validators + pub const MaxActiveValidators: u32 = 1000; + } frame_election_provider_support::generate_solution_type!( @@ -384,6 +387,9 @@ impl onchain::Config for OnChainSeqPhragmen { type Solver = SequentialPhragmen; type DataProvider = Staking; type WeightInfo = weights::frame_election_provider_support::WeightInfo; + type MaxWinners = MaxActiveValidators; + type VotersBound = MaxElectingVoters; + type TargetsBound = MaxElectableTargets; } impl pallet_election_provider_multi_phase::MinerConfig for Runtime { @@ -431,10 +437,15 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type MinerTxPriority = NposSolutionPriority; type DataProvider = Staking; #[cfg(any(feature = "fast-runtime", feature = "runtime-benchmarks"))] - type Fallback = onchain::UnboundedExecution; + type Fallback = onchain::OnChainExecution; #[cfg(not(any(feature = "fast-runtime", feature = "runtime-benchmarks")))] - type Fallback = pallet_election_provider_multi_phase::NoFallback; - type GovernanceFallback = onchain::UnboundedExecution; + type Fallback = frame_election_provider_support::NoElection<( + AccountId, + BlockNumber, + Staking, + MaxActiveValidators, + )>; + type GovernanceFallback = onchain::OnChainExecution; type Solver = SequentialPhragmen< AccountId, pallet_election_provider_multi_phase::SolutionAccuracyOf, @@ -445,6 +456,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo; type MaxElectingVoters = MaxElectingVoters; type MaxElectableTargets = MaxElectableTargets; + type MaxWinners = MaxActiveValidators; } parameter_types! { @@ -505,7 +517,7 @@ impl pallet_staking::Config for Runtime { type OffendingValidatorsThreshold = OffendingValidatorsThreshold; type NextNewSession = Session; type ElectionProvider = ElectionProviderMultiPhase; - type GenesisElectionProvider = onchain::UnboundedExecution; + type GenesisElectionProvider = onchain::OnChainExecution; type VoterList = VoterList; type TargetList = UseValidatorsMap; type MaxUnlockingChunks = frame_support::traits::ConstU32<32>; diff --git a/utils/staking-miner/src/emergency_solution.rs b/utils/staking-miner/src/emergency_solution.rs index cbf86af4c1d0..fdb3a47a270d 100644 --- a/utils/staking-miner/src/emergency_solution.rs +++ b/utils/staking-miner/src/emergency_solution.rs @@ -36,21 +36,23 @@ macro_rules! emergency_solution_cmd_for { ($runtime:ident) => { paste::paste! { log::info!(target: LOG_TARGET, "mined solution with {:?}", &raw_solution.score); - let mut ready_solution = EPM::Pallet::::feasibility_check(raw_solution, EPM::ElectionCompute::Signed)?; - + let ready_solution = EPM::Pallet::::feasibility_check(raw_solution, EPM::ElectionCompute::Signed)?; + let encoded_size = ready_solution.encoded_size(); + let score = ready_solution.score; + let mut supports = ready_solution.supports.into_inner(); // maybe truncate. if let Some(take) = config.take { - log::info!(target: LOG_TARGET, "truncating {} winners to {}", ready_solution.supports.len(), take); - ready_solution.supports.sort_unstable_by_key(|(_, s)| s.total); - ready_solution.supports.truncate(take); + log::info!(target: LOG_TARGET, "truncating {} winners to {}", supports.len(), take); + supports.sort_unstable_by_key(|(_, s)| s.total); + supports.truncate(take); } // write to file and stdout. - let encoded_support = ready_solution.supports.encode(); + let encoded_support = supports.encode(); let mut supports_file = std::fs::File::create("solution.supports.bin")?; supports_file.write_all(&encoded_support)?; - log::info!(target: LOG_TARGET, "ReadySolution: size {:?} / score = {:?}", ready_solution.encoded_size(), ready_solution.score); + log::info!(target: LOG_TARGET, "ReadySolution: size {:?} / score = {:?}", encoded_size, score); log::trace!(target: LOG_TARGET, "Supports: {}", sp_core::hexdisplay::HexDisplay::from(&encoded_support)); Ok(()) From 6e5aa28f1819b9b9bb8ab57aae10aa5bce6daae7 Mon Sep 17 00:00:00 2001 From: Qinxuan Chen Date: Wed, 9 Nov 2022 20:18:13 +0800 Subject: [PATCH 104/211] Companion for substrate#12560 (#6226) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Companion for substrate#12560 Signed-off-by: koushiro * update num-format v0.4.0 ==> v0.4.3 * Fix * update lockfile for {"substrate"} Signed-off-by: koushiro Co-authored-by: Bastian Köcher Co-authored-by: parity-processbot <> --- Cargo.lock | 604 ++++++++++++++++++++++++----------------------------- 1 file changed, 272 insertions(+), 332 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c03c287e8f12..74f3f6c93d3b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -42,7 +42,7 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cipher", "cpufeatures", "opaque-debug 0.3.0", @@ -130,15 +130,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" -[[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" @@ -273,7 +264,7 @@ checksum = "83137067e3a2a6a06d67168e49e68a0957d215410473a740cea95a2425c0b7c6" dependencies = [ "async-io", "blocking", - "cfg-if 1.0.0", + "cfg-if", "event-listener", "futures-lite", "libc", @@ -386,7 +377,7 @@ checksum = "5e121dee8023ce33ab248d9ce1493df03c3b38a659b240096fcbd7048ff9c31f" dependencies = [ "addr2line", "cc", - "cfg-if 1.0.0", + "cfg-if", "libc", "miniz_oxide", "object 0.27.1", @@ -435,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "async-trait", @@ -472,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -492,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "beefy-primitives", "sp-api", @@ -502,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -602,7 +593,7 @@ dependencies = [ "arrayref", "arrayvec 0.7.2", "cc", - "cfg-if 1.0.0", + "cfg-if", "constant_time_eq", "digest 0.10.3", ] @@ -800,12 +791,6 @@ dependencies = [ "smallvec", ] -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -824,7 +809,7 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cipher", "cpufeatures", "zeroize", @@ -880,11 +865,11 @@ dependencies = [ [[package]] name = "ckb-merkle-mountain-range" -version = "0.3.2" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f061f97d64fd1822664bdfb722f7ae5469a97b77567390f7442be5b5dc82a5b" +checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" dependencies = [ - "cfg-if 0.1.10", + "cfg-if", ] [[package]] @@ -1039,7 +1024,7 @@ version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "931ab2a3e6330a07900b8e7ca4e106cdcbb93f2b9a52df55e54ee53d8305b55d" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -1155,7 +1140,7 @@ version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "738c290dfaea84fc1ca15ad9c168d083b05a714e1efddd8edaab678dc28d2836" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -1164,7 +1149,7 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4c02a4d71819009c192cf4872265391563fd6a84c81ff2c0f2a7026ca4c1d85c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", ] @@ -1174,7 +1159,7 @@ version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-epoch", "crossbeam-utils", ] @@ -1185,7 +1170,7 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ec02e091aa634e2c3ada4a392989e7c3116673ef0ac5b72232439094d73b7fd" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", "lazy_static", "memoffset", @@ -1198,7 +1183,7 @@ version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crossbeam-utils", ] @@ -1208,7 +1193,7 @@ version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ff1f980957787286a554052d03c7aee98d99cc32e09f6d45f0a814133c87978" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", ] @@ -1487,7 +1472,7 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "dirs-sys-next", ] @@ -1669,7 +1654,7 @@ version = "0.8.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7896dc8abb250ffdda33912550faa54c88ec8b998dec0b2c55ab224921ce11df" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -1894,7 +1879,7 @@ version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cc04871e5ae3aa2952d552dae6b291b3099723bf779a8054281c1366a54613ef" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "log", "serde", @@ -1930,7 +1915,7 @@ version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e94a7bbaa59354bc20dd75b67f23e2797b4490e9d6928203fb105c79e448c86c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "redox_syscall", "windows-sys 0.36.1", @@ -1988,7 +1973,7 @@ version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e6988e897c1c9c485f43b47a529cef42fde0547f9d8d41a7062518f1d8fc53f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "crc32fast", "libc", "libz-sys", @@ -2028,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", ] @@ -2052,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -2075,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "Inflector", "array-bytes", @@ -2127,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2138,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2154,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -2174,7 +2159,7 @@ version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "parity-scale-codec", "scale-info", "serde", @@ -2183,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "bitflags", "frame-metadata", @@ -2215,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "Inflector", "cfg-expr", @@ -2229,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2241,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro2", "quote", @@ -2251,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2274,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -2285,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "log", @@ -2303,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -2318,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "sp-api", @@ -2327,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "parity-scale-codec", @@ -2498,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "chrono", "frame-election-provider-support", @@ -2545,7 +2530,7 @@ version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "libc", "wasi 0.9.0+wasi-snapshot-preview1", @@ -2558,7 +2543,7 @@ version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "wasi 0.10.0+wasi-snapshot-preview1", ] @@ -2795,7 +2780,7 @@ checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" dependencies = [ "bytes", "fnv", - "itoa 1.0.1", + "itoa", ] [[package]] @@ -2851,7 +2836,7 @@ dependencies = [ "http-body", "httparse", "httpdate", - "itoa 1.0.1", + "itoa", "pin-project-lite 0.2.7", "socket2", "tokio", @@ -2979,7 +2964,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -3038,15 +3023,9 @@ dependencies = [ [[package]] name = "itoa" -version = "0.4.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "itoa" -version = "1.0.1" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35" +checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" [[package]] name = "jobserver" @@ -3216,7 +3195,7 @@ version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72c1e0b51e7ec0a97369623508396067a486bd0cbed95a2659a4b863d28cfc8b" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "ecdsa", "elliptic-curve", "sha2 0.10.2", @@ -3434,7 +3413,7 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afe203d669ec979b7128619bae5a63b7b42e9203c1b29146079ee05e2f604b52" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "winapi", ] @@ -3538,7 +3517,7 @@ dependencies = [ "libp2p-core", "libp2p-swarm", "log", - "lru 0.8.0", + "lru", "prost", "prost-build", "prost-codec", @@ -3907,25 +3886,16 @@ version = "0.4.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "serde", "value-bag", ] [[package]] name = "lru" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" -dependencies = [ - "hashbrown", -] - -[[package]] -name = "lru" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936d98d2ddd79c18641c6709e7bb09981449694e402d1a0f0f657ea8d61f4a51" +checksum = "b6e8aaa3f231bb4bd57b84b2d5dc3ae7f350265df8aa96492e0bc394a1571909" dependencies = [ "hashbrown", ] @@ -4063,7 +4033,7 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce95ae042940bad7e312857b929ee3d11b8f799a80cb7b9c7ec5125516906395" dependencies = [ - "lru 0.8.0", + "lru", ] [[package]] @@ -4146,7 +4116,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2be9a9090bc1cac2930688fa9478092a64c6a92ddc6ae0692d46b37d9cab709" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "downcast", "fragile", "lazy_static", @@ -4161,7 +4131,7 @@ version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86d702a0530a0141cf4ed147cf5ec7be6f2c187d4e37fcbefc39cf34116bfe8f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "proc-macro2", "quote", "syn", @@ -4257,7 +4227,7 @@ dependencies = [ "matrixmultiply", "nalgebra-macros", "num-complex", - "num-rational 0.4.0", + "num-rational", "num-traits", "rand 0.8.5", "rand_distr", @@ -4383,7 +4353,7 @@ checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6" dependencies = [ "bitflags", "cc", - "cfg-if 1.0.0", + "cfg-if", "libc", "memoffset", ] @@ -4395,17 +4365,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f17df307904acd05aa8e32e97bb20f2a0df1728bbc2d771ae8f9a90463441e9" dependencies = [ "bitflags", - "cfg-if 1.0.0", + "cfg-if", "libc", "memoffset", ] -[[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" @@ -4438,17 +4402,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "num-bigint" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - [[package]] name = "num-bigint" version = "0.4.3" @@ -4471,12 +4424,12 @@ dependencies = [ [[package]] name = "num-format" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465" +checksum = "54b862ff8df690cf089058c98b183676a7ed0f974cc08b426800093227cbff3b" dependencies = [ - "arrayvec 0.4.12", - "itoa 0.4.8", + "arrayvec 0.7.2", + "itoa", ] [[package]] @@ -4491,24 +4444,12 @@ dependencies = [ [[package]] name = "num-rational" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" -dependencies = [ - "autocfg", - "num-bigint 0.2.6", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" +checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" dependencies = [ "autocfg", - "num-bigint 0.4.3", + "num-bigint", "num-integer", "num-traits", ] @@ -4579,7 +4520,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c7ae222234c30df141154f159066c5093ff73b63204dcda7121eb082fc56a95" dependencies = [ "bitflags", - "cfg-if 1.0.0", + "cfg-if", "foreign-types", "libc", "once_cell", @@ -4670,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4684,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -4700,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -4715,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4739,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4759,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4778,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4793,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "beefy-primitives", "frame-support", @@ -4809,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4832,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4850,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4869,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4886,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4903,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4921,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4945,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4958,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4976,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4994,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5048,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5068,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5085,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5102,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5120,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -5135,7 +5076,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5151,7 +5092,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -5168,7 +5109,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5188,7 +5129,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "sp-api", @@ -5198,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -5215,7 +5156,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5238,7 +5179,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5255,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5270,7 +5211,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5288,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5303,7 +5244,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5321,7 +5262,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5337,7 +5278,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -5358,7 +5299,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5374,7 +5315,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -5388,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5411,7 +5352,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5422,7 +5363,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "sp-arithmetic", @@ -5431,7 +5372,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -5445,7 +5386,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5463,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5423,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-support", "frame-system", @@ -5498,7 +5439,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5514,7 +5455,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5526,7 +5467,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5543,7 +5484,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5559,7 +5500,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5574,7 +5515,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5691,7 +5632,7 @@ version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "hashbrown", "impl-trait-for-tuples", "parity-util-mem-derive", @@ -5753,7 +5694,7 @@ version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "instant", "libc", "redox_syscall", @@ -5767,7 +5708,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28141e0cc4143da2443301914478dc976a61ffdb3f043058310c70df2fed8954" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "redox_syscall", "smallvec", @@ -5996,7 +5937,7 @@ dependencies = [ "fatality", "futures", "futures-timer", - "lru 0.8.0", + "lru", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6026,7 +5967,7 @@ dependencies = [ "futures", "futures-timer", "log", - "lru 0.8.0", + "lru", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6166,7 +6107,7 @@ dependencies = [ "futures-timer", "indexmap", "lazy_static", - "lru 0.8.0", + "lru", "parity-scale-codec", "polkadot-erasure-coding", "polkadot-node-network-protocol", @@ -6286,7 +6227,7 @@ dependencies = [ "futures-timer", "kvdb", "kvdb-memorydb", - "lru 0.8.0", + "lru", "merlin", "parity-scale-codec", "parking_lot 0.12.1", @@ -6456,7 +6397,7 @@ dependencies = [ "futures-timer", "kvdb", "kvdb-memorydb", - "lru 0.8.0", + "lru", "parity-scale-codec", "polkadot-node-primitives", "polkadot-node-subsystem", @@ -6744,7 +6685,7 @@ dependencies = [ "kvdb-shared-tests", "lazy_static", "log", - "lru 0.8.0", + "lru", "parity-db", "parity-scale-codec", "parity-util-mem", @@ -6778,7 +6719,7 @@ dependencies = [ "femme", "futures", "futures-timer", - "lru 0.8.0", + "lru", "orchestra", "parity-util-mem", "parking_lot 0.12.1", @@ -7134,7 +7075,7 @@ dependencies = [ "kvdb", "kvdb-rocksdb", "log", - "lru 0.8.0", + "lru", "pallet-babe", "pallet-im-online", "pallet-staking", @@ -7461,7 +7402,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "685404d509889fade3e86fe3a5803bca2ec09b0c0778d5ada6ec8bf7a8de5259" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "log", "wepoll-ffi", @@ -7485,7 +7426,7 @@ version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "opaque-debug 0.3.0", "universal-hash", @@ -7498,7 +7439,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55f35f865aa964be21fcde114cbd1cfbd9bf8a471460ed965b0f84f96c711401" dependencies = [ "backtrace", - "cfg-if 1.0.0", + "cfg-if", "findshlibs", "lazy_static", "libc", @@ -7637,7 +7578,7 @@ version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b7f64969ffd5dd8f39bd57a68ac53c163a095ed9d0fb707146da1b27025a3504" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "fnv", "lazy_static", "memchr", @@ -7652,7 +7593,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "83cd1b99916654a69008fd66b4f9397fbe08e6e51dfe23d4417acf5d3b8cb87c" dependencies = [ "dtoa", - "itoa 1.0.1", + "itoa", "parking_lot 0.12.1", "prometheus-client-derive-text-encode", ] @@ -8048,7 +7989,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "env_logger 0.9.0", "log", @@ -8387,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "sp-core", @@ -8398,7 +8339,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures", @@ -8425,7 +8366,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "futures-timer", @@ -8448,7 +8389,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8464,7 +8405,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8481,7 +8422,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8492,7 +8433,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "chrono", @@ -8532,7 +8473,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "fnv", "futures", @@ -8560,7 +8501,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "hash-db", "kvdb", @@ -8585,7 +8526,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures", @@ -8609,19 +8550,18 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "fork-tree", "futures", "log", "merlin", - "num-bigint 0.2.6", - "num-rational 0.2.4", + "num-bigint", + "num-rational", "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.7.3", "sc-client-api", "sc-consensus", "sc-consensus-epochs", @@ -8651,7 +8591,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "jsonrpsee", @@ -8673,7 +8613,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8686,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures", @@ -8710,10 +8650,10 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "lazy_static", - "lru 0.7.8", + "lru", "parity-scale-codec", "parking_lot 0.12.1", "sc-executor-common", @@ -8737,7 +8677,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "environmental", "parity-scale-codec", @@ -8753,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "parity-scale-codec", @@ -8768,9 +8708,9 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "libc", "log", "once_cell", @@ -8788,7 +8728,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "ahash", "array-bytes", @@ -8829,7 +8769,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "finality-grandpa", "futures", @@ -8850,7 +8790,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "ansi_term", "futures", @@ -8867,7 +8807,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "async-trait", @@ -8882,7 +8822,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "async-trait", @@ -8900,7 +8840,7 @@ dependencies = [ "linked-hash-map", "linked_hash_set", "log", - "lru 0.7.8", + "lru", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", @@ -8929,7 +8869,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "cid", "futures", @@ -8949,7 +8889,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "bitflags", @@ -8975,14 +8915,14 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "ahash", "futures", "futures-timer", "libp2p", "log", - "lru 0.7.8", + "lru", "sc-network-common", "sc-peerset", "sp-runtime", @@ -8993,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "futures", @@ -9014,14 +8954,14 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "fork-tree", "futures", "libp2p", "log", - "lru 0.7.8", + "lru", "mockall", "parity-scale-codec", "prost", @@ -9044,7 +8984,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "futures", @@ -9063,7 +9003,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "bytes", @@ -9093,7 +9033,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "libp2p", @@ -9106,7 +9046,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9115,7 +9055,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "hash-db", @@ -9145,7 +9085,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "jsonrpsee", @@ -9168,7 +9108,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "jsonrpsee", @@ -9181,7 +9121,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "hex", @@ -9200,7 +9140,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "directories", @@ -9271,7 +9211,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "parity-scale-codec", @@ -9285,7 +9225,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9304,7 +9244,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "libc", @@ -9323,7 +9263,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "chrono", "futures", @@ -9341,7 +9281,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "ansi_term", "atty", @@ -9372,7 +9312,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9383,7 +9323,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures", @@ -9410,7 +9350,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures", @@ -9424,7 +9364,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "futures-timer", @@ -9441,7 +9381,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a" dependencies = [ "bitvec", - "cfg-if 1.0.0", + "cfg-if", "derive_more", "parity-scale-codec", "scale-info-derive", @@ -9639,7 +9579,7 @@ version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e55a28e3aaef9d5ce0506d0a14dbba8054ddc7e499ef522dd8b26859ec9d4a44" dependencies = [ - "itoa 1.0.1", + "itoa", "ryu", "serde", ] @@ -9660,7 +9600,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ "form_urlencoded", - "itoa 1.0.1", + "itoa", "ryu", "serde", ] @@ -9684,7 +9624,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.0", @@ -9696,7 +9636,7 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest 0.10.3", ] @@ -9720,7 +9660,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b69f9a4c9740d74c5baa3fd2e547f9525fa8088a8a958e0ca2409a514e33f5fa" dependencies = [ "block-buffer 0.9.0", - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest 0.9.0", "opaque-debug 0.3.0", @@ -9732,7 +9672,7 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "cpufeatures", "digest 0.10.3", ] @@ -9905,7 +9845,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "hash-db", "log", @@ -9923,7 +9863,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "blake2", "proc-macro-crate", @@ -9935,7 +9875,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9948,7 +9888,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "integer-sqrt", "num-traits", @@ -9963,7 +9903,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9976,7 +9916,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "parity-scale-codec", @@ -9988,7 +9928,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "sp-api", @@ -10000,11 +9940,11 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "log", - "lru 0.7.8", + "lru", "parity-scale-codec", "parking_lot 0.12.1", "sp-api", @@ -10018,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures", @@ -10037,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "merlin", @@ -10060,7 +10000,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10074,7 +10014,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10087,7 +10027,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "base58", @@ -10133,7 +10073,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "blake2", "byteorder", @@ -10147,7 +10087,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro2", "quote", @@ -10158,7 +10098,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10167,7 +10107,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro2", "quote", @@ -10177,7 +10117,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "environmental", "parity-scale-codec", @@ -10188,7 +10128,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "finality-grandpa", "log", @@ -10206,7 +10146,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10220,7 +10160,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "bytes", "futures", @@ -10246,7 +10186,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "lazy_static", "sp-core", @@ -10257,7 +10197,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures", @@ -10274,7 +10214,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "thiserror", "zstd", @@ -10283,7 +10223,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "parity-scale-codec", @@ -10299,7 +10239,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10313,7 +10253,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "sp-api", "sp-core", @@ -10323,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "backtrace", "lazy_static", @@ -10333,7 +10273,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "rustc-hash", "serde", @@ -10343,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "either", "hash256-std-hasher", @@ -10366,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10384,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "Inflector", "proc-macro-crate", @@ -10396,7 +10336,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "parity-scale-codec", @@ -10410,7 +10350,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10424,7 +10364,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10435,7 +10375,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "hash-db", "log", @@ -10457,12 +10397,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10475,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "log", "sp-core", @@ -10488,7 +10428,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "futures-timer", @@ -10504,7 +10444,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "sp-std", @@ -10516,7 +10456,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "sp-api", "sp-runtime", @@ -10525,7 +10465,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "log", @@ -10541,13 +10481,13 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "ahash", "hash-db", "hashbrown", "lazy_static", - "lru 0.7.8", + "lru", "memory-db", "nohash-hasher", "parity-scale-codec", @@ -10564,7 +10504,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10581,7 +10521,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10592,7 +10532,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "impl-trait-for-tuples", "log", @@ -10605,7 +10545,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10820,7 +10760,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "platforms", ] @@ -10828,7 +10768,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10849,7 +10789,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures-util", "hyper", @@ -10862,7 +10802,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "async-trait", "jsonrpsee", @@ -10875,7 +10815,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "jsonrpsee", "log", @@ -10896,7 +10836,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "array-bytes", "async-trait", @@ -10922,7 +10862,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10932,7 +10872,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10943,7 +10883,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "ansi_term", "build-helper", @@ -11057,7 +10997,7 @@ version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "fastrand", "libc", "redox_syscall", @@ -11455,7 +11395,7 @@ version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "pin-project-lite 0.2.7", "tracing-attributes", "tracing-core", @@ -11605,7 +11545,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" dependencies = [ "async-trait", - "cfg-if 1.0.0", + "cfg-if", "data-encoding", "enum-as-inner", "futures-channel", @@ -11628,7 +11568,7 @@ version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aff21aa4dcefb0a1afbfac26deb0adc93888c7d295fb63ab273ef276ba2b7cfe" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "futures-util", "ipconfig", "lazy_static", @@ -11650,7 +11590,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cbb48e5e503300817b6837d6597659ed35212e99" +source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" dependencies = [ "clap", "frame-try-runtime", @@ -11721,7 +11661,7 @@ version = "1.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "digest 0.10.3", "rand 0.8.5", "static_assertions", @@ -11943,7 +11883,7 @@ version = "0.2.78" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "632f73e236b219150ea279196e54e610f5dbafa5d61786303d4da54f84e47fce" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "serde", "serde_json", "wasm-bindgen-macro", @@ -11970,7 +11910,7 @@ version = "0.4.28" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e8d7523cb1f2a4c96c1317ca690031b714a51cc14e05f712446691f413f5d39" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "js-sys", "wasm-bindgen", "web-sys", @@ -12099,7 +12039,7 @@ dependencies = [ "downcast-rs", "libm", "memory_units", - "num-rational 0.4.0", + "num-rational", "num-traits", ] @@ -12120,7 +12060,7 @@ checksum = "8a10dc9784d8c3a33c970e3939180424955f08af2e7f20368ec02685a0e8f065" dependencies = [ "anyhow", "bincode", - "cfg-if 1.0.0", + "cfg-if", "indexmap", "libc", "log", @@ -12146,7 +12086,7 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee4dbdc6daf68528cad1275ac91e3f51848ce9824385facc94c759f529decdf8" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", ] [[package]] @@ -12218,7 +12158,7 @@ dependencies = [ "addr2line", "anyhow", "bincode", - "cfg-if 1.0.0", + "cfg-if", "cpp_demangle", "gimli", "log", @@ -12253,7 +12193,7 @@ checksum = "ae79e0515160bd5abee5df50a16c4eb8db9f71b530fc988ae1d9ce34dcb8dd01" dependencies = [ "anyhow", "cc", - "cfg-if 1.0.0", + "cfg-if", "indexmap", "libc", "log", From 3711c6f9b2a30ab6cc888917ad0bbfa64266d41b Mon Sep 17 00:00:00 2001 From: Robert Hambrock Date: Wed, 9 Nov 2022 17:04:48 +0100 Subject: [PATCH 105/211] Companion for substrate#12530: Consolidate and deduplicate MMR API methods (#6167) * histor. batch proof: make best block arg optional * make generate_batch_proof stub for historical * merge generate_{historical_}batch_proof functions * merge generate_{batch_}proof functions * merge verify_{batch_}proof functions * merge verify_{batch_}proof_stateless functions * rename BatchProof->Proof * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 362 ++++++++++++++++---------------- runtime/kusama/src/lib.rs | 38 +--- runtime/polkadot/src/lib.rs | 38 +--- runtime/rococo/src/lib.rs | 51 +---- runtime/test-runtime/src/lib.rs | 38 +--- runtime/westend/src/lib.rs | 41 +--- 6 files changed, 213 insertions(+), 355 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 74f3f6c93d3b..f01b5b365f99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -2013,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", ] @@ -2037,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "Inflector", "array-bytes", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2139,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "bitflags", "frame-metadata", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "Inflector", "cfg-expr", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro2", "quote", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2259,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "log", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2303,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "parity-scale-codec", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "chrono", "frame-election-provider-support", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4973,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5061,8 +5061,9 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ + "anyhow", "jsonrpsee", "parity-scale-codec", "serde", @@ -5076,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5092,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -5109,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5129,7 +5130,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "sp-api", @@ -5139,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -5156,7 +5157,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5179,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5196,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5211,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5244,7 +5245,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5262,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5278,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -5299,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5315,7 +5316,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -5329,7 +5330,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5352,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5363,7 +5364,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "sp-arithmetic", @@ -5372,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -5386,7 +5387,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5404,7 +5405,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5423,7 +5424,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-support", "frame-system", @@ -5439,7 +5440,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5455,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5467,7 +5468,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5484,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5500,7 +5501,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5515,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-benchmarking", "frame-support", @@ -7989,7 +7990,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "env_logger 0.9.0", "log", @@ -8328,7 +8329,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "sp-core", @@ -8339,7 +8340,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures", @@ -8366,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "futures-timer", @@ -8389,7 +8390,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8405,7 +8406,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8422,7 +8423,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8433,7 +8434,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "chrono", @@ -8473,7 +8474,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "fnv", "futures", @@ -8501,7 +8502,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "hash-db", "kvdb", @@ -8526,7 +8527,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures", @@ -8550,7 +8551,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "fork-tree", @@ -8591,7 +8592,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "jsonrpsee", @@ -8613,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8626,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures", @@ -8650,7 +8651,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "lazy_static", "lru", @@ -8677,7 +8678,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "environmental", "parity-scale-codec", @@ -8693,7 +8694,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "parity-scale-codec", @@ -8708,7 +8709,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "cfg-if", "libc", @@ -8728,7 +8729,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "ahash", "array-bytes", @@ -8769,7 +8770,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "finality-grandpa", "futures", @@ -8790,7 +8791,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "ansi_term", "futures", @@ -8807,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "async-trait", @@ -8822,7 +8823,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "async-trait", @@ -8869,7 +8870,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "cid", "futures", @@ -8889,7 +8890,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "bitflags", @@ -8915,7 +8916,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "ahash", "futures", @@ -8933,7 +8934,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "futures", @@ -8954,7 +8955,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "fork-tree", @@ -8984,7 +8985,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "futures", @@ -9003,7 +9004,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "bytes", @@ -9033,7 +9034,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "libp2p", @@ -9046,7 +9047,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9055,7 +9056,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "hash-db", @@ -9085,7 +9086,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "jsonrpsee", @@ -9108,7 +9109,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "jsonrpsee", @@ -9121,7 +9122,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "hex", @@ -9140,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "directories", @@ -9211,7 +9212,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "parity-scale-codec", @@ -9225,7 +9226,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9244,7 +9245,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "libc", @@ -9263,7 +9264,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "chrono", "futures", @@ -9281,7 +9282,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "ansi_term", "atty", @@ -9312,7 +9313,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9323,7 +9324,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures", @@ -9350,7 +9351,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures", @@ -9364,7 +9365,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "futures-timer", @@ -9845,7 +9846,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "hash-db", "log", @@ -9863,7 +9864,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "blake2", "proc-macro-crate", @@ -9875,7 +9876,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9888,7 +9889,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "integer-sqrt", "num-traits", @@ -9903,7 +9904,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9916,7 +9917,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "parity-scale-codec", @@ -9928,7 +9929,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "sp-api", @@ -9940,7 +9941,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "log", @@ -9958,7 +9959,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures", @@ -9977,7 +9978,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "merlin", @@ -10000,7 +10001,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10014,7 +10015,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10027,7 +10028,7 @@ dependencies = [ [[package]] name = "sp-core" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "base58", @@ -10073,7 +10074,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "blake2", "byteorder", @@ -10087,7 +10088,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro2", "quote", @@ -10098,7 +10099,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10107,7 +10108,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro2", "quote", @@ -10117,7 +10118,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "environmental", "parity-scale-codec", @@ -10128,7 +10129,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "finality-grandpa", "log", @@ -10146,7 +10147,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10160,7 +10161,7 @@ dependencies = [ [[package]] name = "sp-io" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "bytes", "futures", @@ -10186,7 +10187,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "lazy_static", "sp-core", @@ -10197,7 +10198,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures", @@ -10214,7 +10215,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "thiserror", "zstd", @@ -10223,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "parity-scale-codec", @@ -10234,12 +10235,13 @@ dependencies = [ "sp-debug-derive", "sp-runtime", "sp-std", + "thiserror", ] [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10253,7 +10255,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "sp-api", "sp-core", @@ -10263,7 +10265,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "backtrace", "lazy_static", @@ -10273,7 +10275,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "rustc-hash", "serde", @@ -10283,7 +10285,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "either", "hash256-std-hasher", @@ -10306,7 +10308,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10324,7 +10326,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "Inflector", "proc-macro-crate", @@ -10336,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "parity-scale-codec", @@ -10350,7 +10352,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10364,7 +10366,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10375,7 +10377,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "hash-db", "log", @@ -10397,12 +10399,12 @@ dependencies = [ [[package]] name = "sp-std" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" [[package]] name = "sp-storage" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10415,7 +10417,7 @@ dependencies = [ [[package]] name = "sp-tasks" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "log", "sp-core", @@ -10428,7 +10430,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "futures-timer", @@ -10444,7 +10446,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "sp-std", @@ -10456,7 +10458,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "sp-api", "sp-runtime", @@ -10465,7 +10467,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "log", @@ -10481,7 +10483,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "ahash", "hash-db", @@ -10504,7 +10506,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10521,7 +10523,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10532,7 +10534,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "impl-trait-for-tuples", "log", @@ -10545,7 +10547,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10760,7 +10762,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "platforms", ] @@ -10768,7 +10770,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10789,7 +10791,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures-util", "hyper", @@ -10802,7 +10804,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "async-trait", "jsonrpsee", @@ -10815,7 +10817,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "jsonrpsee", "log", @@ -10836,7 +10838,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "array-bytes", "async-trait", @@ -10862,7 +10864,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10872,7 +10874,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10883,7 +10885,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "ansi_term", "build-helper", @@ -11590,7 +11592,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c460f4be081eda7cacdf30feeb65f26a44a3a1b0" +source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" dependencies = [ "clap", "frame-try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 65e93ddfd32b..3f77ece6c86a 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1691,53 +1691,27 @@ sp_api::impl_runtime_apis! { } impl mmr::MmrApi for Runtime { - fn generate_proof(_block_number: BlockNumber) - -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) - -> Result<(), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof_stateless( - _root: Hash, - _leaf: mmr::EncodableOpaqueLeaf, - _proof: mmr::Proof - ) -> Result<(), mmr::Error> { - Err(mmr::Error::PalletNotIncluded) - } - fn mmr_root() -> Result { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_block_numbers: Vec) - -> Result<(Vec, mmr::BatchProof), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn generate_historical_batch_proof( + fn generate_proof( _block_numbers: Vec, - _best_known_block_number: BlockNumber, - ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + _best_known_block_number: Option, + ) -> Result<(Vec, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + fn verify_proof(_leaves: Vec, _proof: mmr::Proof) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof_stateless( + fn verify_proof_stateless( _root: Hash, _leaves: Vec, - _proof: mmr::BatchProof + _proof: mmr::Proof ) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index e100b13c5af2..0f71a37f425f 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1848,53 +1848,27 @@ sp_api::impl_runtime_apis! { } impl mmr::MmrApi for Runtime { - fn generate_proof(_block_number: BlockNumber) - -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) - -> Result<(), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof_stateless( - _root: Hash, - _leaf: mmr::EncodableOpaqueLeaf, - _proof: mmr::Proof - ) -> Result<(), mmr::Error> { - Err(mmr::Error::PalletNotIncluded) - } - fn mmr_root() -> Result { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_block_numbers: Vec) - -> Result<(Vec, mmr::BatchProof), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn generate_historical_batch_proof( + fn generate_proof( _block_numbers: Vec, - _best_known_block_number: BlockNumber, - ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + _best_known_block_number: Option, + ) -> Result<(Vec, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + fn verify_proof(_leaves: Vec, _proof: mmr::Proof) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof_stateless( + fn verify_proof_stateless( _root: Hash, _leaves: Vec, - _proof: mmr::BatchProof + _proof: mmr::Proof ) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index b46d9a15469a..a0975d1ba6bc 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1691,52 +1691,15 @@ sp_api::impl_runtime_apis! { } impl mmr::MmrApi for Runtime { - fn generate_proof(block_number: BlockNumber) - -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> - { - Mmr::generate_batch_proof(vec![block_number]) - .and_then(|(leaves, proof)| Ok(( - mmr::EncodableOpaqueLeaf::from_leaf(&leaves[0]), - mmr::BatchProof::into_single_leaf_proof(proof)? - ))) - } - - fn verify_proof(leaf: mmr::EncodableOpaqueLeaf, proof: mmr::Proof) - -> Result<(), mmr::Error> - { - pub type MmrLeaf = <::LeafData as mmr::LeafDataProvider>::LeafData; - let leaf: MmrLeaf = leaf - .into_opaque_leaf() - .try_decode() - .ok_or(mmr::Error::Verify)?; - Mmr::verify_leaves(vec![leaf], mmr::Proof::into_batch_proof(proof)) - } - - fn verify_proof_stateless( - root: Hash, - leaf: mmr::EncodableOpaqueLeaf, - proof: mmr::Proof - ) -> Result<(), mmr::Error> { - let node = mmr::DataOrHash::Data(leaf.into_opaque_leaf()); - pallet_mmr::verify_leaves_proof::(root, vec![node], mmr::Proof::into_batch_proof(proof)) - } - fn mmr_root() -> Result { Ok(Mmr::mmr_root()) } - fn generate_batch_proof(block_numbers: Vec) - -> Result<(Vec, mmr::BatchProof), mmr::Error> - { - Mmr::generate_batch_proof(block_numbers) - .map(|(leaves, proof)| (leaves.into_iter().map(|leaf| mmr::EncodableOpaqueLeaf::from_leaf(&leaf)).collect(), proof)) - } - - fn generate_historical_batch_proof( + fn generate_proof( block_numbers: Vec, - best_known_block_number: BlockNumber, - ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { - Mmr::generate_historical_batch_proof(block_numbers, best_known_block_number).map( + best_known_block_number: Option, + ) -> Result<(Vec, mmr::Proof), mmr::Error> { + Mmr::generate_proof(block_numbers, best_known_block_number).map( |(leaves, proof)| { ( leaves @@ -1749,7 +1712,7 @@ sp_api::impl_runtime_apis! { ) } - fn verify_batch_proof(leaves: Vec, proof: mmr::BatchProof) + fn verify_proof(leaves: Vec, proof: mmr::Proof) -> Result<(), mmr::Error> { pub type MmrLeaf = <::LeafData as mmr::LeafDataProvider>::LeafData; @@ -1760,10 +1723,10 @@ sp_api::impl_runtime_apis! { Mmr::verify_leaves(leaves, proof) } - fn verify_batch_proof_stateless( + fn verify_proof_stateless( root: Hash, leaves: Vec, - proof: mmr::BatchProof + proof: mmr::Proof ) -> Result<(), mmr::Error> { let nodes = leaves.into_iter().map(|leaf|mmr::DataOrHash::Data(leaf.into_opaque_leaf())).collect(); pallet_mmr::verify_leaves_proof::(root, nodes, proof) diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 2d242aa027ad..0210f1ecd8b7 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -926,53 +926,27 @@ sp_api::impl_runtime_apis! { } impl mmr::MmrApi for Runtime { - fn generate_proof(_block_number: BlockNumber) - -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) - -> Result<(), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof_stateless( - _root: Hash, - _leaf: mmr::EncodableOpaqueLeaf, - _proof: mmr::Proof - ) -> Result<(), mmr::Error> { - Err(mmr::Error::PalletNotIncluded) - } - fn mmr_root() -> Result { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_block_numbers: Vec) - -> Result<(Vec, mmr::BatchProof), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn generate_historical_batch_proof( + fn generate_proof( _block_numbers: Vec, - _best_known_block_number: BlockNumber, - ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + _best_known_block_number: Option, + ) -> Result<(Vec, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + fn verify_proof(_leaves: Vec, _proof: mmr::Proof) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof_stateless( + fn verify_proof_stateless( _root: Hash, _leaves: Vec, - _proof: mmr::BatchProof + _proof: mmr::Proof ) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index cada4aca5a38..a7930ff06ea6 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1458,58 +1458,29 @@ sp_api::impl_runtime_apis! { } impl mmr::MmrApi for Runtime { - fn generate_proof(_block_number: BlockNumber) - -> Result<(mmr::EncodableOpaqueLeaf, mmr::Proof), mmr::Error> - { - - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof(_leaf: mmr::EncodableOpaqueLeaf, _proof: mmr::Proof) - -> Result<(), mmr::Error> - { - - Err(mmr::Error::PalletNotIncluded) - } - - fn verify_proof_stateless( - _root: Hash, - _leaf: mmr::EncodableOpaqueLeaf, - _proof: mmr::Proof - ) -> Result<(), mmr::Error> { - - Err(mmr::Error::PalletNotIncluded) - } - fn mmr_root() -> Result { Err(mmr::Error::PalletNotIncluded) } - fn generate_batch_proof(_block_numbers: Vec) - -> Result<(Vec, mmr::BatchProof), mmr::Error> - { - Err(mmr::Error::PalletNotIncluded) - } - - fn generate_historical_batch_proof( + fn generate_proof( _block_numbers: Vec, - _best_known_block_number: BlockNumber, - ) -> Result<(Vec, mmr::BatchProof), mmr::Error> { + _best_known_block_number: Option, + ) -> Result<(Vec, mmr::Proof), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof(_leaves: Vec, _proof: mmr::BatchProof) + fn verify_proof(_leaves: Vec, _proof: mmr::Proof) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) } - fn verify_batch_proof_stateless( + fn verify_proof_stateless( _root: Hash, _leaves: Vec, - _proof: mmr::BatchProof + _proof: mmr::Proof ) -> Result<(), mmr::Error> { Err(mmr::Error::PalletNotIncluded) From 597b1d213d41e6a54f72d2387b3d671ba4811f7a Mon Sep 17 00:00:00 2001 From: moh-eulith <101080211+moh-eulith@users.noreply.github.com> Date: Thu, 10 Nov 2022 08:40:45 -0500 Subject: [PATCH 106/211] Add a few staking params to fast-runtime build (#5424) Co-authored-by: Squirrel --- runtime/kusama/src/lib.rs | 13 +++++++++++-- runtime/polkadot/src/lib.rs | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 3f77ece6c86a..e399d7a0b35e 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -548,10 +548,19 @@ impl pallet_staking::EraPayout for EraPayout { parameter_types! { // Six sessions in an era (6 hours). pub const SessionsPerEra: SessionIndex = prod_or_fast!(6, 1); + // 28 eras for unbonding (7 days). - pub const BondingDuration: sp_staking::EraIndex = 28; + pub BondingDuration: sp_staking::EraIndex = prod_or_fast!( + 28, + 28, + "DOT_BONDING_DURATION" + ); // 27 eras in which slashes can be cancelled (slightly less than 7 days). - pub const SlashDeferDuration: sp_staking::EraIndex = 27; + pub SlashDeferDuration: sp_staking::EraIndex = prod_or_fast!( + 27, + 27, + "DOT_SLASH_DEFER_DURATION" + ); pub const MaxNominatorRewardedPerValidator: u32 = 512; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); // 24 diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 0f71a37f425f..8beb551db376 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -534,9 +534,18 @@ pallet_staking_reward_curve::build! { parameter_types! { // Six sessions in an era (24 hours). pub const SessionsPerEra: SessionIndex = prod_or_fast!(6, 1); + // 28 eras for unbonding (28 days). - pub const BondingDuration: sp_staking::EraIndex = 28; - pub const SlashDeferDuration: sp_staking::EraIndex = 27; + pub BondingDuration: sp_staking::EraIndex = prod_or_fast!( + 28, + 28, + "DOT_BONDING_DURATION" + ); + pub SlashDeferDuration: sp_staking::EraIndex = prod_or_fast!( + 27, + 27, + "DOT_SLASH_DEFER_DURATION" + ); pub const RewardCurve: &'static PiecewiseLinear<'static> = &REWARD_CURVE; pub const MaxNominatorRewardedPerValidator: u32 = 512; pub const OffendingValidatorsThreshold: Perbill = Perbill::from_percent(17); From 0f9244b432cb7b3d22453133e3eaa2bb5214c311 Mon Sep 17 00:00:00 2001 From: cheme Date: Fri, 11 Nov 2022 12:06:44 +0100 Subject: [PATCH 107/211] State trie migration rococo runtime changes. (#6127) * add state-trie-migration (warn key need to be changed) * rococo root * restore master benchs (weights from substrate are used). * use ord_parameter macro. * do not upgrade runtime version yet * apply review changes * to test ci * Revert "to test ci" This reverts commit 5df6c5c74c5d172f254579cbb76caeb44af80ec2. * test ci * Revert "test ci" This reverts commit 0747761644ba566f9756e195e5304758370dc52c. Co-authored-by: parity-processbot <> --- Cargo.lock | 18 ++++++++++++++++++ runtime/rococo/Cargo.toml | 6 +++--- runtime/rococo/src/lib.rs | 30 +++++++++++++++++++++++++++++- 3 files changed, 50 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f01b5b365f99..765c025ff027 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5370,6 +5370,23 @@ dependencies = [ "sp-arithmetic", ] +[[package]] +name = "pallet-state-trie-migration" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "log", + "parity-scale-codec", + "scale-info", + "sp-core", + "sp-io", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-sudo" version = "4.0.0-dev" @@ -8137,6 +8154,7 @@ dependencies = [ "pallet-session", "pallet-society", "pallet-staking", + "pallet-state-trie-migration", "pallet-sudo", "pallet-timestamp", "pallet-tips", diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 9adf0d5caae3..b79b2cf444be 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -41,6 +41,7 @@ pallet-beefy = { git = "https://github.com/paritytech/substrate", branch = "mast pallet-beefy-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-child-bounties = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-state-trie-migration = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-collective = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -77,7 +78,7 @@ pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-feat frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } -hex-literal = { version = "0.3.4", optional = true } +hex-literal = { version = "0.3.4" } runtime-common = { package = "polkadot-runtime-common", path = "../common", default-features = false } runtime-parachains = { package = "polkadot-runtime-parachains", path = "../parachains", default-features = false } @@ -89,7 +90,6 @@ xcm-executor = { package = "xcm-executor", path = "../../xcm/xcm-executor", defa xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default-features = false } [dev-dependencies] -hex-literal = "0.3.4" tiny-keccak = { version = "2.0.2", features = ["keccak"] } keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -124,6 +124,7 @@ std = [ "pallet-beefy-mmr/std", "pallet-bounties/std", "pallet-child-bounties/std", + "pallet-state-trie-migration/std", "pallet-transaction-payment/std", "pallet-transaction-payment-rpc-runtime-api/std", "pallet-collective/std", @@ -207,7 +208,6 @@ runtime-benchmarks = [ "pallet-vesting/runtime-benchmarks", "pallet-xcm/runtime-benchmarks", "frame-system-benchmarking/runtime-benchmarks", - "hex-literal", "xcm-builder/runtime-benchmarks", "runtime-parachains/runtime-benchmarks", "pallet-xcm-benchmarks/runtime-benchmarks", diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index a0975d1ba6bc..b230832b7454 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -115,7 +115,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], transaction_version: 15, - state_version: 0, + state_version: 1, }; /// The BABE epoch configuration at genesis. @@ -1416,6 +1416,9 @@ construct_runtime! { // Validator Manager pallet. ValidatorManager: validator_manager::{Pallet, Call, Storage, Event} = 252, + // State trie migration pallet, only temporary. + StateTrieMigration: pallet_state_trie_migration = 254, + // Sudo. Sudo: pallet_sudo::{Pallet, Call, Storage, Event, Config} = 255, } @@ -1466,6 +1469,31 @@ pub type Executive = frame_executive::Executive< /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; +parameter_types! { + // The deposit configuration for the singed migration. Specially if you want to allow any signed account to do the migration (see `SignedFilter`, these deposits should be high) + pub const MigrationSignedDepositPerItem: Balance = 1 * CENTS; + pub const MigrationSignedDepositBase: Balance = 20 * CENTS * 100; + pub const MigrationMaxKeyLen: u32 = 512; +} + +impl pallet_state_trie_migration::Config for Runtime { + type RuntimeEvent = RuntimeEvent; + type Currency = Balances; + type SignedDepositPerItem = MigrationSignedDepositPerItem; + type SignedDepositBase = MigrationSignedDepositBase; + type ControlOrigin = EnsureRoot; + // specific account for the migration, can trigger the signed migrations. + type SignedFilter = frame_system::EnsureSignedBy; + + // Use same weights as substrate ones. + type WeightInfo = pallet_state_trie_migration::weights::SubstrateWeight; + type MaxKeyLen = MigrationMaxKeyLen; +} + +frame_support::ord_parameter_types! { + pub const MigController: AccountId = AccountId::from(hex_literal::hex!("52bc71c1eca5353749542dfdf0af97bf764f9c2f44e860cd485f1cd86400f649")); +} + #[cfg(feature = "runtime-benchmarks")] #[macro_use] extern crate frame_benchmarking; From a59c120ce8d63ae6e0ba0a365d98ea9142a6b770 Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Fri, 11 Nov 2022 11:24:40 -0800 Subject: [PATCH 108/211] Brad implementers guide revisions 2 (#6239) * Add disputes subsystems fix * Updated dispute approval vote import reasoning * Improved wording of my changes * Resolving issues brought up in comments --- .../src/node/disputes/README.md | 2 +- .../src/node/disputes/dispute-coordinator.md | 60 ++++++++++--------- 2 files changed, 33 insertions(+), 29 deletions(-) diff --git a/roadmap/implementers-guide/src/node/disputes/README.md b/roadmap/implementers-guide/src/node/disputes/README.md index 7b28b908fbbe..2db891aa216f 100644 --- a/roadmap/implementers-guide/src/node/disputes/README.md +++ b/roadmap/implementers-guide/src/node/disputes/README.md @@ -5,7 +5,7 @@ This section is for the node-side subsystems that lead to participation in dispu * Participation. Participate in active disputes. When a node becomes aware of a dispute, it should recover the data for the disputed block, check the validity of the parablock, and issue a statement regarding the validity of the parablock. * Distribution. Validators should notify each other of active disputes and relevant statements over the network. * Submission. When authoring a block, a validator should inspect the state of the parent block and provide any information about disputes that the chain needs as part of the `ParaInherent`. This should initialize new disputes on-chain as necessary. - * Fork-choice and Finality. When observing a block issuing a `DisputeRollback` digest in the header, that branch of the relay chain should be abandoned all the way back to the indicated block. When voting on chains in GRANDPA, no chains that contain blocks that are or have been disputed should be voted on. + * Fork-choice and Finality. When observing a block issuing a `DisputeRollback` digest in the header, that branch of the relay chain should be abandoned all the way back to the indicated block. When voting on chains in GRANDPA, no chains that contain blocks with active disputes or disputes that concluded invalid should be voted on. ## Components diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index 29a3c5ffa082..c04e15b1a0e9 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -9,8 +9,8 @@ In particular the dispute-coordinator is responsible for: - Ensuring that the node is able to raise a dispute in case an invalid candidate is found during approval checking. -- Ensuring malicious approval votes will be recorded, so nodes can get slashed - properly. +- Ensuring lazy approval votes (votes given without running the parachain + validation function) will be recorded, so lazy nodes can get slashed properly. - Coordinating actual participation in a dispute, ensuring that the node participates in any justified dispute in a way that ensures resolution of disputes on the network even in the case of many disputes raised (flood/DoS @@ -76,24 +76,27 @@ inefficient process. (Quadratic complexity adds up, with 35 votes in total per c Approval votes are very relevant nonetheless as we are going to see in the next section. -## Ensuring Malicious Approval Votes Will Be Recorded +## Ensuring Lazy Approval Votes Will Be Recorded ### Ensuring Recording While there is no need to record approval votes in the dispute coordinator preemptively, we do need to make sure they are recorded when a dispute actually happens. This is because only votes recorded by the dispute -coordinator will be considered for slashing. While the backing group always gets -slashed, a serious attack attempt will likely also consist of malicious approval -checkers which will cast approval votes, although the candidate is invalid. If -we did not import those votes, those nodes would likely cast an `invalid` explicit -vote as part of the dispute in addition to their approval vote and thus avoid a -slash. With the 2/3rd honest assumption it seems unrealistic that malicious -actors will keep sending approval votes once they became aware of a raised -dispute. Hence the most crucial approval votes to import are the early ones -(tranche 0), to take into account network latencies and such we still want to -import approval votes at a later point in time as well (in particular we need to -make sure the dispute can conclude, but more on that later). +coordinator will be considered for slashing. It is sufficient for our +threat model that malicious backers are slashed as opposed to both backers and +approval checkers. However, we still must import approval votes from the approvals +process into the disputes process to ensure that lazy approval checkers +actually run the parachain validation function. Slashing lazy approval checkers is necessary, else we risk a useless approvals process where every approval +checker blindly votes valid for every candidate. If we did not import approval +votes, lazy nodes would likely cast a properly checked explicit vote as part +of the dispute in addition to their blind approval vote and thus avoid a slash. +With the 2/3rd honest assumption it seems unrealistic that lazy approval voters +will keep sending unchecked approval votes once they became aware of a raised +dispute. Hence the most crucial approval votes to import are the early ones +(tranche 0), to take into account network latencies and such we still want to +import approval votes at a later point in time as well (in particular we need +to make sure the dispute can conclude, but more on that later). As mentioned already previously, importing votes is most efficient when batched. At the same time approval voting and disputes are running concurrently so @@ -173,7 +176,7 @@ There are two potential caveats with this though: voting. By distributing our own approval vote we make sure the dispute can conclude regardless how the race ended (we either participate explicitly anyway or we sent our already present approval vote). By importing all - approval votes we make it possible to slash malicious approval voters, even + approval votes we make it possible to slash lazy approval voters, even if they also cast an invalid explicit vote. Conclusion: As long as we make sure, if our own approval vote gets imported @@ -199,11 +202,12 @@ time participation is faster than approval, a node would do double work. ### Ensuring Chain Import While in the previous section we discussed means for nodes to ensure relevant -votes are recorded so attackers get slashed properly, it is crucial to also -discuss the actual chain import. Only if we guarantee that recorded votes will -also get imported on chain (on all potential chains really) we will succeed in -executing slashes. Again approval votes prove to be our weak spot here, but also -backing votes might get missed. +votes are recorded so lazy approval checkers get slashed properly, it is crucial +to also discuss the actual chain import. Only if we guarantee that recorded votes +will also get imported on chain (on all potential chains really) we will succeed +in executing slashes. Particularly we need to make sure backing votes end up on +chain consistantly. In contrast recording and slashing lazy approval voters only +needs to be likely, not certain. Dispute distribution will make sure all explicit dispute votes get distributed among nodes which includes current block producers (current authority set) which @@ -223,14 +227,14 @@ production in the current set - they might only exist on an already abandoned fork. This means a block producer that just joined the set, might not have seen any of them. -For approvals it is even more tricky: Approval voting together with finalization -is a completely off-chain process therefore those protocols don't care about -block production at all. Approval votes only have a guarantee of being -propagated between the nodes that are responsible for finalizing the concerned -blocks. This implies that on an era change the current authority set, will not -necessarily get informed about any approval votes for the previous era. Hence -even if all validators of the previous era successfully recorded all approval -votes in the dispute coordinator, they won't get a chance to put them on chain, +For approvals it is even more tricky and less necessary: Approval voting together +with finalization is a completely off-chain process therefore those protocols +don't care about block production at all. Approval votes only have a guarantee of +being propagated between the nodes that are responsible for finalizing the +concerned blocks. This implies that on an era change the current authority set, +will not necessarily get informed about any approval votes for the previous era. +Hence even if all validators of the previous era successfully recorded all approval +votes in the dispute coordinator, they won't get a chance to put them on chain, hence they won't be considered for slashing. It is important to note, that the essential properties of the system still hold: From 133d4051eff81e7e630a57d2f66bf9913896d931 Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov Date: Fri, 11 Nov 2022 23:47:29 +0200 Subject: [PATCH 109/211] Update disputes prioritisation in `dispute-coordinator` (#6130) * Scraper processes CandidateBacked events * Change definition of best-effort * Fix `dispute-coordinator` tests * Unit test for dispute filtering * Clarification comment * Add tests * Fix logic If a dispute is not backed, not included and not confirmed we don't participate but we do import votes. * Add metrics for refrained participations * Revert "Add tests" This reverts commit 7b8391a087922ced942cde9cd2b50ff3f633efc0. * Revert "Unit test for dispute filtering" This reverts commit 92ba5fe678214ab360306313a33c781338e600a0. * fix dispute-coordinator tests * Fix scraping * new tests * Small fixes in guide * Apply suggestions from code review Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Fix some comments and remove a pointless test * Code review feedback * Clarification comment in tests * Some tests * Reference counted `CandidateHash` in scraper * Proper handling for Backed and Included candidates in scraper Backed candidates which are not included should be kept for a predetermined window of finalized blocks. E.g. if a candidate is backed but not included in block 2, and the window size is 2, the same candidate should be cleaned after block 4 is finalized. Add reference counting for candidates in scraper. A candidate can be added on multiple block heights so we have to make sure we don't clean it prematurely from the scraper. Add tests. * Update comments in tests * Guide update * Fix cleanup logic for `backed_candidates_by_block_number` * Simplify cleanup * Make spellcheck happy * Update tests * Extract candidate backing logic in separate struct * Code review feedback * Treat backed and included candidates in the same fashion * Update some comments * Small improvements in test * spell check * Fix some more comments * clean -> prune * Code review feedback * Reword comment * spelling Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> --- .../dispute-coordinator/src/initialized.rs | 36 +- node/core/dispute-coordinator/src/lib.rs | 2 +- node/core/dispute-coordinator/src/metrics.rs | 16 + .../src/scraping/candidates.rs | 148 +++++++ .../dispute-coordinator/src/scraping/mod.rs | 120 +++--- .../dispute-coordinator/src/scraping/tests.rs | 250 ++++++++++- node/core/dispute-coordinator/src/tests.rs | 391 ++++++++++++++++-- .../src/node/disputes/dispute-coordinator.md | 9 +- 8 files changed, 873 insertions(+), 99 deletions(-) create mode 100644 node/core/dispute-coordinator/src/scraping/candidates.rs diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 9229f61f3a78..901a6d863ed2 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -869,12 +869,21 @@ impl Initialized { } } + let has_own_vote = new_state.has_own_vote(); + let is_disputed = new_state.is_disputed(); + let has_controlled_indices = !env.controlled_indices().is_empty(); + let is_backed = self.scraper.is_candidate_backed(&candidate_hash); + let is_confirmed = new_state.is_confirmed(); + // We participate only in disputes which are included, backed or confirmed + let allow_participation = is_included || is_backed || is_confirmed; + // Participate in dispute if we did not cast a vote before and actually have keys to cast a - // local vote: - if !new_state.has_own_vote() && - new_state.is_disputed() && - !env.controlled_indices().is_empty() - { + // local vote. Disputes should fall in one of the categories below, otherwise we will refrain + // from participation: + // - `is_included` lands in prioritised queue + // - `is_confirmed` | `is_backed` lands in best effort queue + // We don't participate in disputes on finalized candidates. + if !has_own_vote && is_disputed && has_controlled_indices && allow_participation { let priority = ParticipationPriority::with_priority_if(is_included); gum::trace!( target: LOG_TARGET, @@ -896,6 +905,23 @@ impl Initialized { ) .await; log_error(r)?; + } else { + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?is_confirmed, + ?has_own_vote, + ?is_disputed, + ?has_controlled_indices, + ?allow_participation, + ?is_included, + ?is_backed, + "Will not queue participation for candidate" + ); + + if !allow_participation { + self.metrics.on_refrained_participation(); + } } // Also send any already existing approval vote on new disputes: diff --git a/node/core/dispute-coordinator/src/lib.rs b/node/core/dispute-coordinator/src/lib.rs index 03abd8f59d60..09d6c621b999 100644 --- a/node/core/dispute-coordinator/src/lib.rs +++ b/node/core/dispute-coordinator/src/lib.rs @@ -286,7 +286,7 @@ impl DisputeCoordinatorSubsystem { let mut participation_requests = Vec::new(); let mut unconfirmed_disputes: UnconfirmedDisputes = UnconfirmedDisputes::new(); - let (mut scraper, votes) = ChainScraper::new(ctx.sender(), initial_head).await?; + let (scraper, votes) = ChainScraper::new(ctx.sender(), initial_head).await?; for ((session, ref candidate_hash), status) in active_disputes { let votes: CandidateVotes = match overlay_db.load_candidate_votes(session, candidate_hash) { diff --git a/node/core/dispute-coordinator/src/metrics.rs b/node/core/dispute-coordinator/src/metrics.rs index 1fbe7e49e8b8..70cd49ac49d1 100644 --- a/node/core/dispute-coordinator/src/metrics.rs +++ b/node/core/dispute-coordinator/src/metrics.rs @@ -30,6 +30,8 @@ struct MetricsInner { queued_participations: prometheus::CounterVec, /// How long vote cleanup batches take. vote_cleanup_time: prometheus::Histogram, + /// Number of refrained participations. + refrained_participations: prometheus::Counter, } /// Candidate validation metrics. @@ -88,6 +90,12 @@ impl Metrics { pub(crate) fn time_vote_cleanup(&self) -> Option { self.0.as_ref().map(|metrics| metrics.vote_cleanup_time.start_timer()) } + + pub(crate) fn on_refrained_participation(&self) { + if let Some(metrics) = &self.0 { + metrics.refrained_participations.inc(); + } + } } impl metrics::Metrics for Metrics { @@ -147,6 +155,14 @@ impl metrics::Metrics for Metrics { )?, registry, )?, + refrained_participations: prometheus::register( + prometheus::Counter::with_opts( + prometheus::Opts::new( + "polkadot_parachain_dispute_refrained_participations", + "Number of refrained participations. We refrain from participation if all of the following conditions are met: disputed candidate is not included, not backed and not confirmed.", + ))?, + registry, + )?, }; Ok(Metrics(Some(metrics))) } diff --git a/node/core/dispute-coordinator/src/scraping/candidates.rs b/node/core/dispute-coordinator/src/scraping/candidates.rs new file mode 100644 index 000000000000..2fe797768cc2 --- /dev/null +++ b/node/core/dispute-coordinator/src/scraping/candidates.rs @@ -0,0 +1,148 @@ +use polkadot_primitives::v2::{BlockNumber, CandidateHash}; +use std::collections::{BTreeMap, HashMap, HashSet}; + +/// Keeps `CandidateHash` in reference counted way. +/// Each `insert` saves a value with `reference count == 1` or increases the reference +/// count if the value already exists. +/// Each `remove` decreases the reference count for the corresponding `CandidateHash`. +/// If the reference count reaches 0 - the value is removed. +struct RefCountedCandidates { + candidates: HashMap, +} + +impl RefCountedCandidates { + pub fn new() -> Self { + Self { candidates: HashMap::new() } + } + // If `CandidateHash` doesn't exist in the `HashMap` it is created and its reference + // count is set to 1. + // If `CandidateHash` already exists in the `HashMap` its reference count is increased. + pub fn insert(&mut self, candidate: CandidateHash) { + *self.candidates.entry(candidate).or_default() += 1; + } + + // If a `CandidateHash` with reference count equals to 1 is about to be removed - the + // candidate is dropped from the container too. + // If a `CandidateHash` with reference count biger than 1 is about to be removed - the + // reference count is decreased and the candidate remains in the container. + pub fn remove(&mut self, candidate: &CandidateHash) { + match self.candidates.get_mut(candidate) { + Some(v) if *v > 1 => *v -= 1, + Some(v) => { + assert!(*v == 1); + self.candidates.remove(candidate); + }, + None => {}, + } + } + + pub fn contains(&self, candidate: &CandidateHash) -> bool { + self.candidates.contains_key(&candidate) + } +} + +#[cfg(test)] +mod ref_counted_candidates_tests { + use super::*; + use polkadot_primitives::v2::{BlakeTwo256, HashT}; + + #[test] + fn element_is_removed_when_refcount_reaches_zero() { + let mut container = RefCountedCandidates::new(); + + let zero = CandidateHash(BlakeTwo256::hash(&vec![0])); + let one = CandidateHash(BlakeTwo256::hash(&vec![1])); + // add two separate candidates + container.insert(zero); // refcount == 1 + container.insert(one); + + // and increase the reference count for the first + container.insert(zero); // refcount == 2 + + assert!(container.contains(&zero)); + assert!(container.contains(&one)); + + // remove once -> refcount == 1 + container.remove(&zero); + assert!(container.contains(&zero)); + assert!(container.contains(&one)); + + // remove once -> refcount == 0 + container.remove(&zero); + assert!(!container.contains(&zero)); + assert!(container.contains(&one)); + + // remove the other element + container.remove(&one); + assert!(!container.contains(&zero)); + assert!(!container.contains(&one)); + } +} + +/// Keeps track of scraped candidates. Supports `insert`, `remove_up_to_height` and `contains` +/// operations. +pub struct ScrapedCandidates { + /// Main data structure which keeps the candidates we know about. `contains` does lookups only here. + candidates: RefCountedCandidates, + /// Keeps track at which block number a candidate was inserted. Used in `remove_up_to_height`. + /// Without this tracking we won't be able to remove all candidates before block X. + candidates_by_block_number: BTreeMap>, +} + +impl ScrapedCandidates { + pub fn new() -> Self { + Self { + candidates: RefCountedCandidates::new(), + candidates_by_block_number: BTreeMap::new(), + } + } + + pub fn contains(&self, candidate_hash: &CandidateHash) -> bool { + self.candidates.contains(candidate_hash) + } + + // Removes all candidates up to a given height. The candidates at the block height are NOT removed. + pub fn remove_up_to_height(&mut self, height: &BlockNumber) { + let not_stale = self.candidates_by_block_number.split_off(&height); + let stale = std::mem::take(&mut self.candidates_by_block_number); + self.candidates_by_block_number = not_stale; + for candidates in stale.values() { + for c in candidates { + self.candidates.remove(c); + } + } + } + + pub fn insert(&mut self, block_number: BlockNumber, candidate_hash: CandidateHash) { + self.candidates.insert(candidate_hash); + self.candidates_by_block_number + .entry(block_number) + .or_default() + .insert(candidate_hash); + } + + // Used only for tests to verify the pruning doesn't leak data. + #[cfg(test)] + pub fn candidates_by_block_number_is_empty(&self) -> bool { + self.candidates_by_block_number.is_empty() + } +} + +#[cfg(test)] +mod scraped_candidates_tests { + use super::*; + use polkadot_primitives::v2::{BlakeTwo256, HashT}; + + #[test] + fn stale_candidates_are_removed() { + let mut candidates = ScrapedCandidates::new(); + let target = CandidateHash(BlakeTwo256::hash(&vec![1, 2, 3])); + candidates.insert(1, target); + + assert!(candidates.contains(&target)); + + candidates.remove_up_to_height(&2); + assert!(!candidates.contains(&target)); + assert!(candidates.candidates_by_block_number_is_empty()); + } +} diff --git a/node/core/dispute-coordinator/src/scraping/mod.rs b/node/core/dispute-coordinator/src/scraping/mod.rs index 7d5d33e1ff4b..99a6e68cdfb5 100644 --- a/node/core/dispute-coordinator/src/scraping/mod.rs +++ b/node/core/dispute-coordinator/src/scraping/mod.rs @@ -14,10 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::{ - collections::{BTreeMap, HashSet}, - num::NonZeroUsize, -}; +use std::num::NonZeroUsize; use futures::channel::oneshot; use lru::LruCache; @@ -40,6 +37,8 @@ use crate::{ #[cfg(test)] mod tests; +mod candidates; + /// Number of hashes to keep in the LRU. /// /// @@ -58,18 +57,21 @@ const LRU_OBSERVED_BLOCKS_CAPACITY: NonZeroUsize = match NonZeroUsize::new(20) { /// /// Concretely: /// -/// - Monitors for inclusion events to keep track of candidates that have been included on chains. +/// - Monitors for `CandidateIncluded` events to keep track of candidates that have been +/// included on chains. +/// - Monitors for `CandidateBacked` events to keep track of all backed candidates. /// - Calls `FetchOnChainVotes` for each block to gather potentially missed votes from chain. /// /// With this information it provides a `CandidateComparator` and as a return value of /// `process_active_leaves_update` any scraped votes. +/// +/// Scraped candidates are available `CANDIDATE_LIFETIME_AFTER_FINALIZATION` more blocks +/// after finalization as a precaution not to prune them prematurely. pub struct ChainScraper { /// All candidates we have seen included, which not yet have been finalized. - included_candidates: HashSet, - /// including block -> `CandidateHash` - /// - /// We need this to clean up `included_candidates` on finalization. - candidates_by_block_number: BTreeMap>, + included_candidates: candidates::ScrapedCandidates, + /// All candidates we have seen backed + backed_candidates: candidates::ScrapedCandidates, /// Latest relay blocks observed by the provider. /// /// We assume that ancestors of cached blocks are already processed, i.e. we have saved @@ -85,6 +87,16 @@ impl ChainScraper { /// As long as we have `MAX_FINALITY_LAG` this makes sense as a value. pub(crate) const ANCESTRY_SIZE_LIMIT: u32 = MAX_FINALITY_LAG; + /// How many blocks after finalization a backed/included candidate should be kept. + /// We don't want to remove scraped candidates on finalization because we want to + /// be sure that disputes will conclude on abandoned forks. + /// Removing the candidate on finalization creates a possibility for an attacker to + /// avoid slashing. If a bad fork is abandoned too quickly because in the same another + /// better one gets finalized the entries for the bad fork will be pruned and we + /// will never participate in a dispute for it. We want such disputes to conclude + /// in a timely manner so that the offenders are slashed. + pub(crate) const CANDIDATE_LIFETIME_AFTER_FINALIZATION: BlockNumber = 2; + /// Create a properly initialized `OrderingProvider`. /// /// Returns: `Self` and any scraped votes. @@ -96,8 +108,8 @@ impl ChainScraper { Sender: overseer::DisputeCoordinatorSenderTrait, { let mut s = Self { - included_candidates: HashSet::new(), - candidates_by_block_number: BTreeMap::new(), + included_candidates: candidates::ScrapedCandidates::new(), + backed_candidates: candidates::ScrapedCandidates::new(), last_observed_blocks: LruCache::new(LRU_OBSERVED_BLOCKS_CAPACITY), }; let update = @@ -107,10 +119,15 @@ impl ChainScraper { } /// Check whether we have seen a candidate included on any chain. - pub fn is_candidate_included(&mut self, candidate_hash: &CandidateHash) -> bool { + pub fn is_candidate_included(&self, candidate_hash: &CandidateHash) -> bool { self.included_candidates.contains(candidate_hash) } + /// Check whether the candidate is backed + pub fn is_candidate_backed(&self, candidate_hash: &CandidateHash) -> bool { + self.backed_candidates.contains(candidate_hash) + } + /// Query active leaves for any candidate `CandidateEvent::CandidateIncluded` events. /// /// and updates current heads, so we can query candidates for all non finalized blocks. @@ -120,7 +137,7 @@ impl ChainScraper { &mut self, sender: &mut Sender, update: &ActiveLeavesUpdate, - ) -> crate::error::Result> + ) -> Result> where Sender: overseer::DisputeCoordinatorSenderTrait, { @@ -158,21 +175,27 @@ impl ChainScraper { /// Prune finalized candidates. /// - /// Once a candidate lives in a relay chain block that's behind the finalized chain/got - /// finalized, we can treat it as low priority. - pub fn process_finalized_block(&mut self, finalized: &BlockNumber) { - let not_finalized = self.candidates_by_block_number.split_off(finalized); - let finalized = std::mem::take(&mut self.candidates_by_block_number); - self.candidates_by_block_number = not_finalized; - // Clean up finalized: - for finalized_candidate in finalized.into_values().flatten() { - self.included_candidates.remove(&finalized_candidate); + /// We keep each candidate for `CANDIDATE_LIFETIME_AFTER_FINALIZATION` blocks after finalization. + /// After that we treat it as low priority. + pub fn process_finalized_block(&mut self, finalized_block_number: &BlockNumber) { + // `CANDIDATE_LIFETIME_AFTER_FINALIZATION - 1` because `finalized_block_number`counts to the + // candidate lifetime. + match finalized_block_number.checked_sub(Self::CANDIDATE_LIFETIME_AFTER_FINALIZATION - 1) { + Some(key_to_prune) => { + self.backed_candidates.remove_up_to_height(&key_to_prune); + self.included_candidates.remove_up_to_height(&key_to_prune); + }, + None => { + // Nothing to prune. We are still in the beginning of the chain and there are not + // enough finalized blocks yet. + }, } + {} } /// Process candidate events of a block. /// - /// Keep track of all included candidates. + /// Keep track of all included and backed candidates. async fn process_candidate_events( &mut self, sender: &mut Sender, @@ -182,28 +205,33 @@ impl ChainScraper { where Sender: overseer::DisputeCoordinatorSenderTrait, { - // Get included events: - let included = - get_candidate_events(sender, block_hash) - .await? - .into_iter() - .filter_map(|ev| match ev { - CandidateEvent::CandidateIncluded(receipt, _, _, _) => Some(receipt), - _ => None, - }); - for receipt in included { - let candidate_hash = receipt.hash(); - gum::trace!( - target: LOG_TARGET, - ?candidate_hash, - ?block_number, - "Processing included event" - ); - self.included_candidates.insert(candidate_hash); - self.candidates_by_block_number - .entry(block_number) - .or_default() - .insert(candidate_hash); + // Get included and backed events: + for ev in get_candidate_events(sender, block_hash).await? { + match ev { + CandidateEvent::CandidateIncluded(receipt, _, _, _) => { + let candidate_hash = receipt.hash(); + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?block_number, + "Processing included event" + ); + self.included_candidates.insert(block_number, candidate_hash); + }, + CandidateEvent::CandidateBacked(receipt, _, _, _) => { + let candidate_hash = receipt.hash(); + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + ?block_number, + "Processing backed event" + ); + self.backed_candidates.insert(block_number, candidate_hash); + }, + _ => { + // skip the rest + }, + } } Ok(()) } diff --git a/node/core/dispute-coordinator/src/scraping/tests.rs b/node/core/dispute-coordinator/src/scraping/tests.rs index b6b5a1f633bf..6251891af5a3 100644 --- a/node/core/dispute-coordinator/src/scraping/tests.rs +++ b/node/core/dispute-coordinator/src/scraping/tests.rs @@ -73,7 +73,12 @@ impl TestState { assert_finalized_block_number_request(&mut ctx_handle, finalized_block_number).await; gum::trace!(target: LOG_TARGET, "After assert_finalized_block_number"); // No ancestors requests, as list would be empty. - assert_candidate_events_request(&mut ctx_handle, &chain).await; + assert_candidate_events_request( + &mut ctx_handle, + &chain, + get_backed_and_included_candidate_events, + ) + .await; assert_chain_vote_request(&mut ctx_handle, &chain).await; }; @@ -112,6 +117,10 @@ async fn process_active_leaves_update( .unwrap(); } +fn process_finalized_block(scraper: &mut ChainScraper, finalized: &BlockNumber) { + scraper.process_finalized_block(&finalized) +} + fn make_candidate_receipt(relay_parent: Hash) -> CandidateReceipt { let zeros = dummy_hash(); let descriptor = CandidateDescriptor { @@ -145,16 +154,66 @@ fn get_block_number_hash(n: BlockNumber) -> Hash { } /// Get a dummy event that corresponds to candidate inclusion for the given block number. -fn get_candidate_included_events(block_number: BlockNumber) -> Vec { - vec![CandidateEvent::CandidateIncluded( - make_candidate_receipt(get_block_number_hash(block_number)), +fn get_backed_and_included_candidate_events(block_number: BlockNumber) -> Vec { + let candidate_receipt = make_candidate_receipt(get_block_number_hash(block_number)); + vec![ + CandidateEvent::CandidateIncluded( + candidate_receipt.clone(), + HeadData::default(), + CoreIndex::from(0), + GroupIndex::from(0), + ), + CandidateEvent::CandidateBacked( + candidate_receipt, + HeadData::default(), + CoreIndex::from(0), + GroupIndex::from(0), + ), + ] +} + +fn get_backed_candidate_event(block_number: BlockNumber) -> Vec { + let candidate_receipt = make_candidate_receipt(get_block_number_hash(block_number)); + vec![CandidateEvent::CandidateBacked( + candidate_receipt, HeadData::default(), CoreIndex::from(0), GroupIndex::from(0), )] } +/// Hash for a 'magic' candidate. This is meant to be a special candidate used to verify special cases. +fn get_magic_candidate_hash() -> Hash { + BlakeTwo256::hash(&"abc".encode()) +} +/// Get a dummy event that corresponds to candidate inclusion for a hardcoded block number. +/// Used to simulate candidates included multiple times at different block heights. +fn get_backed_and_included_magic_candidate_events( + _block_number: BlockNumber, +) -> Vec { + let candidate_receipt = make_candidate_receipt(get_magic_candidate_hash()); + vec![ + CandidateEvent::CandidateIncluded( + candidate_receipt.clone(), + HeadData::default(), + CoreIndex::from(0), + GroupIndex::from(0), + ), + CandidateEvent::CandidateBacked( + candidate_receipt, + HeadData::default(), + CoreIndex::from(0), + GroupIndex::from(0), + ), + ] +} -async fn assert_candidate_events_request(virtual_overseer: &mut VirtualOverseer, chain: &[Hash]) { +async fn assert_candidate_events_request( + virtual_overseer: &mut VirtualOverseer, + chain: &[Hash], + event_generator: F, +) where + F: Fn(u32) -> Vec, +{ assert_matches!( overseer_recv(virtual_overseer).await, AllMessages::RuntimeApi(RuntimeApiMessage::Request( @@ -163,7 +222,7 @@ async fn assert_candidate_events_request(virtual_overseer: &mut VirtualOverseer, )) => { let maybe_block_number = chain.iter().position(|h| *h == hash); let response = maybe_block_number - .map(|num| get_candidate_included_events(num as u32)) + .map(|num| event_generator(num as u32)) .unwrap_or_default(); tx.send(Ok(response)).unwrap(); } @@ -207,12 +266,15 @@ async fn assert_block_ancestors_request(virtual_overseer: &mut VirtualOverseer, ); } -async fn overseer_process_active_leaves_update( +async fn overseer_process_active_leaves_update( virtual_overseer: &mut VirtualOverseer, chain: &[Hash], finalized_block: BlockNumber, expected_ancestry_len: usize, -) { + event_generator: F, +) where + F: Fn(u32) -> Vec + Clone, +{ // Before walking through ancestors provider requests latest finalized block number. assert_finalized_block_number_request(virtual_overseer, finalized_block).await; // Expect block ancestors requests with respect to the ancestry step. @@ -221,7 +283,7 @@ async fn overseer_process_active_leaves_update( } // For each ancestry and the head return corresponding candidates inclusions. for _ in 0..expected_ancestry_len { - assert_candidate_events_request(virtual_overseer, chain).await; + assert_candidate_events_request(virtual_overseer, chain, event_generator.clone()).await; assert_chain_vote_request(virtual_overseer, chain).await; } } @@ -236,7 +298,9 @@ fn scraper_provides_included_state_when_initialized() { let TestState { mut chain, mut scraper, mut ctx } = state; assert!(!scraper.is_candidate_included(&candidate_2.hash())); + assert!(!scraper.is_candidate_backed(&candidate_2.hash())); assert!(scraper.is_candidate_included(&candidate_1.hash())); + assert!(scraper.is_candidate_backed(&candidate_1.hash())); // After next active leaves update we should see the candidate included. let next_update = next_leaf(&mut chain); @@ -248,11 +312,13 @@ fn scraper_provides_included_state_when_initialized() { &chain, finalized_block_number, expected_ancestry_len, + get_backed_and_included_candidate_events, ); join(process_active_leaves_update(ctx.sender(), &mut scraper, next_update), overseer_fut) .await; assert!(scraper.is_candidate_included(&candidate_2.hash())); + assert!(scraper.is_candidate_backed(&candidate_2.hash())); }); } @@ -274,6 +340,7 @@ fn scraper_requests_candidates_of_leaf_ancestors() { &chain, finalized_block_number, BLOCKS_TO_SKIP, + get_backed_and_included_candidate_events, ); join(process_active_leaves_update(ctx.sender(), &mut scraper, next_update), overseer_fut) .await; @@ -282,6 +349,7 @@ fn scraper_requests_candidates_of_leaf_ancestors() { for block_number in 1..next_block_number { let candidate = make_candidate_receipt(get_block_number_hash(block_number)); assert!(scraper.is_candidate_included(&candidate.hash())); + assert!(scraper.is_candidate_backed(&candidate.hash())); } }); } @@ -304,6 +372,7 @@ fn scraper_requests_candidates_of_non_cached_ancestors() { &chain, finalized_block_number, BLOCKS_TO_SKIP[0], + get_backed_and_included_candidate_events, ); join(process_active_leaves_update(ctx.sender(), &mut ordering, next_update), overseer_fut) .await; @@ -315,6 +384,7 @@ fn scraper_requests_candidates_of_non_cached_ancestors() { &chain, finalized_block_number, BLOCKS_TO_SKIP[1], + get_backed_and_included_candidate_events, ); join(process_active_leaves_update(ctx.sender(), &mut ordering, next_update), overseer_fut) .await; @@ -340,8 +410,170 @@ fn scraper_requests_candidates_of_non_finalized_ancestors() { &chain, finalized_block_number, BLOCKS_TO_SKIP - finalized_block_number as usize, // Expect the provider not to go past finalized block. + get_backed_and_included_candidate_events, ); join(process_active_leaves_update(ctx.sender(), &mut ordering, next_update), overseer_fut) .await; }); } + +#[test] +fn scraper_prunes_finalized_candidates() { + const TEST_TARGET_BLOCK_NUMBER: BlockNumber = 2; + + // How many blocks should we skip before sending a leaf update. + const BLOCKS_TO_SKIP: usize = 3; + + futures::executor::block_on(async { + let (state, mut virtual_overseer) = TestState::new().await; + + let TestState { mut chain, mut scraper, mut ctx } = state; + + // 1 because `TestState` starts at leaf 1. + let next_update = (1..BLOCKS_TO_SKIP).map(|_| next_leaf(&mut chain)).last().unwrap(); + + let mut finalized_block_number = 1; + let expected_ancestry_len = BLOCKS_TO_SKIP - finalized_block_number as usize; + let overseer_fut = overseer_process_active_leaves_update( + &mut virtual_overseer, + &chain, + finalized_block_number, + expected_ancestry_len, + |block_num| { + if block_num == TEST_TARGET_BLOCK_NUMBER { + get_backed_and_included_candidate_events(block_num) + } else { + vec![] + } + }, + ); + join(process_active_leaves_update(ctx.sender(), &mut scraper, next_update), overseer_fut) + .await; + + let candidate = make_candidate_receipt(get_block_number_hash(TEST_TARGET_BLOCK_NUMBER)); + + // After `CANDIDATE_LIFETIME_AFTER_FINALIZATION` blocks the candidate should be removed + finalized_block_number = + TEST_TARGET_BLOCK_NUMBER + ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION; + process_finalized_block(&mut scraper, &finalized_block_number); + + assert!(!scraper.is_candidate_backed(&candidate.hash())); + assert!(!scraper.is_candidate_included(&candidate.hash())); + }); +} + +#[test] +fn scraper_handles_backed_but_not_included_candidate() { + const TEST_TARGET_BLOCK_NUMBER: BlockNumber = 2; + + // How many blocks should we skip before sending a leaf update. + const BLOCKS_TO_SKIP: usize = 3; + + futures::executor::block_on(async { + let (state, mut virtual_overseer) = TestState::new().await; + + let TestState { mut chain, mut scraper, mut ctx } = state; + + let next_update = (1..BLOCKS_TO_SKIP as BlockNumber) + .map(|_| next_leaf(&mut chain)) + .last() + .unwrap(); + + // Add `ActiveLeavesUpdate` containing `CandidateBacked` event for block `BLOCK_WITH_EVENTS` + let mut finalized_block_number = 1; + let expected_ancestry_len = BLOCKS_TO_SKIP - finalized_block_number as usize; + let overseer_fut = overseer_process_active_leaves_update( + &mut virtual_overseer, + &chain, + finalized_block_number, + expected_ancestry_len, + |block_num| { + if block_num == TEST_TARGET_BLOCK_NUMBER { + get_backed_candidate_event(block_num) + } else { + vec![] + } + }, + ); + join(process_active_leaves_update(ctx.sender(), &mut scraper, next_update), overseer_fut) + .await; + + // Finalize blocks to enforce pruning of scraped events + finalized_block_number += 1; + process_finalized_block(&mut scraper, &finalized_block_number); + + // `FIRST_TEST_BLOCK` is finalized, which is within `BACKED_CANDIDATE_LIFETIME_AFTER_FINALIZATION` window. + // The candidate should still be backed. + let candidate = make_candidate_receipt(get_block_number_hash(TEST_TARGET_BLOCK_NUMBER)); + assert!(!scraper.is_candidate_included(&candidate.hash())); + assert!(scraper.is_candidate_backed(&candidate.hash())); + + // Bump the finalized block outside `BACKED_CANDIDATE_LIFETIME_AFTER_FINALIZATION`. + // The candidate should be removed. + assert!( + finalized_block_number < + TEST_TARGET_BLOCK_NUMBER + ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION + ); + finalized_block_number += + TEST_TARGET_BLOCK_NUMBER + ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION; + process_finalized_block(&mut scraper, &finalized_block_number); + + assert!(!scraper.is_candidate_included(&candidate.hash())); + assert!(!scraper.is_candidate_backed(&candidate.hash())); + }); +} + +#[test] +fn scraper_handles_the_same_candidate_incuded_in_two_different_block_heights() { + // Same candidate will be inclued in these two leaves + let test_targets = vec![2, 3]; + + // How many blocks should we skip before sending a leaf update. + const BLOCKS_TO_SKIP: usize = 3; + + futures::executor::block_on(async { + let (state, mut virtual_overseer) = TestState::new().await; + + let TestState { mut chain, mut scraper, mut ctx } = state; + + // 1 because `TestState` starts at leaf 1. + let next_update = (1..BLOCKS_TO_SKIP).map(|_| next_leaf(&mut chain)).last().unwrap(); + + // Now we will add the same magic candidate at two different block heights. + // Check `get_backed_and_included_magic_candidate_event` implementation + let mut finalized_block_number = 1; + let expected_ancestry_len = BLOCKS_TO_SKIP - finalized_block_number as usize; + let overseer_fut = overseer_process_active_leaves_update( + &mut virtual_overseer, + &chain, + finalized_block_number, + expected_ancestry_len, + |block_num| { + if test_targets.contains(&block_num) { + get_backed_and_included_magic_candidate_events(block_num) + } else { + vec![] + } + }, + ); + join(process_active_leaves_update(ctx.sender(), &mut scraper, next_update), overseer_fut) + .await; + + // Finalize blocks to enforce pruning of scraped events. + // The magic candidate was added twice, so it shouldn't be removed if we finalize two more blocks. + finalized_block_number = test_targets.first().expect("there are two block nums") + + ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION; + process_finalized_block(&mut scraper, &finalized_block_number); + + let magic_candidate = make_candidate_receipt(get_magic_candidate_hash()); + assert!(scraper.is_candidate_backed(&magic_candidate.hash())); + assert!(scraper.is_candidate_included(&magic_candidate.hash())); + + // On the next finalization the magic candidate should be removed + finalized_block_number += 1; + process_finalized_block(&mut scraper, &finalized_block_number); + + assert!(!scraper.is_candidate_backed(&magic_candidate.hash())); + assert!(!scraper.is_candidate_included(&magic_candidate.hash())); + }); +} diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index a1ad315d2ea0..d7208c1a59eb 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -57,10 +57,10 @@ use polkadot_node_subsystem::{ }; use polkadot_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; use polkadot_primitives::v2::{ - ApprovalVote, BlockNumber, CandidateCommitments, CandidateHash, CandidateReceipt, - DisputeStatement, GroupIndex, Hash, Header, IndexedVec, MultiDisputeStatementSet, - ScrapedOnChainVotes, SessionIndex, SessionInfo, SigningContext, ValidDisputeStatementKind, - ValidatorId, ValidatorIndex, ValidatorSignature, + ApprovalVote, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash, + CandidateReceipt, CoreIndex, DisputeStatement, GroupIndex, Hash, HeadData, Header, IndexedVec, + MultiDisputeStatementSet, ScrapedOnChainVotes, SessionIndex, SessionInfo, SigningContext, + ValidDisputeStatementKind, ValidatorId, ValidatorIndex, ValidatorSignature, }; use crate::{ @@ -212,6 +212,7 @@ impl TestState { virtual_overseer: &mut VirtualOverseer, session: SessionIndex, block_number: BlockNumber, + candidate_events: Vec, ) { assert!(block_number > 0); @@ -239,8 +240,14 @@ impl TestState { ))) .await; - self.handle_sync_queries(virtual_overseer, block_hash, block_number, session) - .await; + self.handle_sync_queries( + virtual_overseer, + block_hash, + block_number, + session, + candidate_events, + ) + .await; } async fn handle_sync_queries( @@ -249,6 +256,7 @@ impl TestState { block_hash: Hash, block_number: BlockNumber, session: SessionIndex, + candidate_events: Vec, ) { // Order of messages is not fixed (different on initializing): #[derive(Debug)] @@ -352,7 +360,7 @@ impl TestState { _new_leaf, RuntimeApiRequest::CandidateEvents(tx), )) => { - tx.send(Ok(Vec::new())).unwrap(); + tx.send(Ok(candidate_events.clone())).unwrap(); } ); gum::trace!("After answering runtime api request"); @@ -401,8 +409,14 @@ impl TestState { ))) .await; - self.handle_sync_queries(virtual_overseer, *leaf, n as BlockNumber, session) - .await; + self.handle_sync_queries( + virtual_overseer, + *leaf, + n as BlockNumber, + session, + Vec::new(), + ) + .await; } } @@ -556,6 +570,26 @@ fn make_invalid_candidate_receipt() -> CandidateReceipt { dummy_candidate_receipt_bad_sig(Default::default(), Some(Default::default())) } +// Generate a `CandidateBacked` event from a `CandidateReceipt`. The rest is dummy data. +fn make_candidate_backed_event(candidate_receipt: CandidateReceipt) -> CandidateEvent { + CandidateEvent::CandidateBacked( + candidate_receipt, + HeadData(Vec::new()), + CoreIndex(0), + GroupIndex(0), + ) +} + +// Generate a `CandidateIncluded` event from a `CandidateReceipt`. The rest is dummy data. +fn make_candidate_included_event(candidate_receipt: CandidateReceipt) -> CandidateEvent { + CandidateEvent::CandidateIncluded( + candidate_receipt, + HeadData(Vec::new()), + CoreIndex(0), + GroupIndex(0), + ) +} + /// Handle request for approval votes: pub async fn handle_approval_vote_request( ctx_handle: &mut VirtualOverseer, @@ -587,7 +621,9 @@ fn too_many_unconfirmed_statements_are_considered_spam() { let candidate_receipt2 = make_invalid_candidate_receipt(); let candidate_hash2 = candidate_receipt2.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote1 = test_state .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash1, session) @@ -634,8 +670,9 @@ fn too_many_unconfirmed_statements_are_considered_spam() { handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, HashMap::new()) .await; - // Participation has to fail, otherwise the dispute will be confirmed. - participation_missing_availability(&mut virtual_overseer).await; + // Participation has to fail here, otherwise the dispute will be confirmed. However + // participation won't happen at all because the dispute is neither backed, not confirmed + // nor the candidate is included. Or in other words - we'll refrain from participation. { let (tx, rx) = oneshot::channel(); @@ -718,7 +755,9 @@ fn approval_vote_import_works() { let candidate_receipt1 = make_valid_candidate_receipt(); let candidate_hash1 = candidate_receipt1.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote1 = test_state .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash1, session) @@ -762,8 +801,8 @@ fn approval_vote_import_works() { handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, approval_votes) .await; - // Participation has to fail, otherwise the dispute will be confirmed. - participation_missing_availability(&mut virtual_overseer).await; + // Participation won't happen here because the dispute is neither backed, not confirmed + // nor the candidate is included. Or in other words - we'll refrain from participation. { let (tx, rx) = oneshot::channel(); @@ -814,7 +853,17 @@ fn dispute_gets_confirmed_via_participation() { let candidate_receipt2 = make_invalid_candidate_receipt(); let candidate_hash2 = candidate_receipt2.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![ + make_candidate_backed_event(candidate_receipt1.clone()), + make_candidate_backed_event(candidate_receipt2.clone()), + ], + ) + .await; let valid_vote1 = test_state .issue_explicit_statement_with_index( @@ -963,7 +1012,9 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { let candidate_receipt2 = make_invalid_candidate_receipt(); let candidate_hash2 = candidate_receipt2.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote1 = test_state .issue_explicit_statement_with_index( @@ -1037,7 +1088,8 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { handle_approval_vote_request(&mut virtual_overseer, &candidate_hash1, HashMap::new()) .await; - participation_missing_availability(&mut virtual_overseer).await; + // Participation won't happen here because the dispute is neither backed, not confirmed + // nor the candidate is included. Or in other words - we'll refrain from participation. { let (tx, rx) = oneshot::channel(); @@ -1124,7 +1176,9 @@ fn backing_statements_import_works_and_no_spam() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote1 = test_state .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash, session) @@ -1187,6 +1241,15 @@ fn backing_statements_import_works_and_no_spam() { .issue_backing_statement_with_index(ValidatorIndex(4), candidate_hash, session) .await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; + let (pending_confirmation, confirmation_rx) = oneshot::channel(); // Backing vote import should not have accounted to spam slots, so this should succeed // as well: @@ -1228,7 +1291,14 @@ fn conflicting_votes_lead_to_dispute_participation() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; let valid_vote = test_state .issue_explicit_statement_with_index( @@ -1353,7 +1423,14 @@ fn positive_votes_dont_trigger_participation() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; let valid_vote = test_state .issue_explicit_statement_with_index( @@ -1466,7 +1543,9 @@ fn wrong_validator_index_is_ignored() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote = test_state .issue_explicit_statement_with_index( @@ -1544,7 +1623,14 @@ fn finality_votes_ignore_disputed_candidates() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; let valid_vote = test_state .issue_explicit_statement_with_index( @@ -1654,7 +1740,14 @@ fn supermajority_valid_dispute_may_be_finalized() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; let supermajority_threshold = polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); @@ -1794,7 +1887,14 @@ fn concluded_supermajority_for_non_active_after_time() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; let supermajority_threshold = polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); @@ -1912,7 +2012,14 @@ fn concluded_supermajority_against_non_active_after_time() { let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; let supermajority_threshold = polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); @@ -2036,7 +2143,9 @@ fn resume_dispute_without_local_statement() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote = test_state .issue_explicit_statement_with_index( @@ -2074,7 +2183,8 @@ fn resume_dispute_without_local_statement() { .await; // Missing availability -> No local vote. - participation_missing_availability(&mut virtual_overseer).await; + // Participation won't happen here because the dispute is neither backed, not confirmed + // nor the candidate is included. Or in other words - we'll refrain from participation. assert_eq!(confirmation_rx.await, Ok(ImportStatementsResult::ValidImport)); @@ -2216,7 +2326,14 @@ fn resume_dispute_with_local_statement() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; let local_valid_vote = test_state .issue_explicit_statement_with_index( @@ -2315,7 +2432,9 @@ fn resume_dispute_without_local_statement_or_local_key() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote = test_state .issue_explicit_statement_with_index( @@ -2408,7 +2527,9 @@ fn resume_dispute_with_local_statement_without_local_key() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let local_valid_vote = test_state .issue_explicit_statement_with_index( @@ -2517,7 +2638,9 @@ fn issue_local_statement_does_cause_distribution_but_not_duplicate_participation let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let other_vote = test_state .issue_explicit_statement_with_index( @@ -2590,7 +2713,9 @@ fn own_approval_vote_gets_distributed_on_dispute() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let statement = test_state.issue_approval_vote_with_index( ValidatorIndex(0), @@ -2681,7 +2806,9 @@ fn negative_issue_local_statement_only_triggers_import() { let candidate_receipt = make_invalid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -2729,7 +2856,9 @@ fn redundant_votes_ignored() { let candidate_receipt = make_valid_candidate_receipt(); let candidate_hash = candidate_receipt.hash(); - test_state.activate_leaf_at_session(&mut virtual_overseer, session, 1).await; + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; let valid_vote = test_state .issue_backing_statement_with_index(ValidatorIndex(1), candidate_hash, session) @@ -2787,3 +2916,195 @@ fn redundant_votes_ignored() { }) }); } + +#[test] +fn refrain_from_participation() { + test_harness(|mut test_state, mut virtual_overseer| { + Box::pin(async move { + let session = 1; + + test_state.handle_resume_sync(&mut virtual_overseer, session).await; + + let candidate_receipt = make_valid_candidate_receipt(); + let candidate_hash = candidate_receipt.hash(); + + // activate leaf - no backing/included event + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; + + // generate two votes + let valid_vote = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + true, + ) + .await; + + let invalid_vote = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + false, + ) + .await; + + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), + session, + statements: vec![ + (valid_vote, ValidatorIndex(1)), + (invalid_vote, ValidatorIndex(2)), + ], + pending_confirmation: None, + }, + }) + .await; + + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; + + { + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ActiveDisputes(tx), + }) + .await; + + assert_eq!(rx.await.unwrap().len(), 1); + + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::QueryCandidateVotes( + vec![(session, candidate_hash)], + tx, + ), + }) + .await; + + let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); + assert_eq!(votes.valid.len(), 1); + assert_eq!(votes.invalid.len(), 1); + } + + // activate leaf - no backing event + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; + + virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; + + // confirm that no participation request is made. + assert!(virtual_overseer.try_recv().await.is_none()); + + test_state + }) + }); +} + +/// We have got no `participation_for_backed_candidates` test because most of the other tests (e.g. +/// `dispute_gets_confirmed_via_participation`, `backing_statements_import_works_and_no_spam`) use +/// candidate backing event to trigger participation. If they pass - that case works. +#[test] +fn participation_for_included_candidates() { + test_harness(|mut test_state, mut virtual_overseer| { + Box::pin(async move { + let session = 1; + + test_state.handle_resume_sync(&mut virtual_overseer, session).await; + + let candidate_receipt = make_valid_candidate_receipt(); + let candidate_hash = candidate_receipt.hash(); + + // activate leaf - with candidate included event + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_included_event(candidate_receipt.clone())], + ) + .await; + + // generate two votes + let valid_vote = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(1), + candidate_hash, + session, + true, + ) + .await; + + let invalid_vote = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(2), + candidate_hash, + session, + false, + ) + .await; + + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), + session, + statements: vec![ + (valid_vote, ValidatorIndex(1)), + (invalid_vote, ValidatorIndex(2)), + ], + pending_confirmation: None, + }, + }) + .await; + + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; + + participation_with_distribution( + &mut virtual_overseer, + &candidate_hash, + candidate_receipt.commitments_hash, + ) + .await; + + { + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ActiveDisputes(tx), + }) + .await; + + assert_eq!(rx.await.unwrap().len(), 1); + + // check if we have participated (casted a vote) + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::QueryCandidateVotes( + vec![(session, candidate_hash)], + tx, + ), + }) + .await; + + let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); + assert_eq!(votes.valid.len(), 2); // 2 => we have participated + assert_eq!(votes.invalid.len(), 1); + } + + virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; + + test_state + }) + }); +} diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index c04e15b1a0e9..3d44e210db0e 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -142,7 +142,7 @@ There are two potential caveats with this though: dispute concludes in all cases? The answer is nuanced, but in general we cannot rely on it. The problem is first, that finalization and approval-voting is an off-chain process so there is no global consensus: As - soon as at least f+1 honest (f= n/3, where n is the number of + soon as at least f+1 honest (f=n/3, where n is the number of validators/nodes) nodes have seen the dispute conclude, finalization will take place and approval votes will be cleared. This would still be fine, if we had some guarantees that those honest nodes will be able to include those @@ -214,7 +214,7 @@ among nodes which includes current block producers (current authority set) which is an important property: If the dispute carries on across an era change, we need to ensure that the new validator set will learn about any disputes and their votes, so they can put that information on chain. Dispute-distribution -luckily has this property and sends votes to the current authority set always. +luckily has this property and always sends votes to the current authority set. The issue is, for dispute-distribution, nodes send only their own explicit (or in some cases their approval vote) in addition to some opposing vote. This guarantees that at least some backing or approval vote will be present at the @@ -327,7 +327,10 @@ participation at all on any _vote import_ if any of the following holds true: - We have seen the disputed candidate backed in some not yet finalized block on at least one fork of the chain. This ensures the candidate is at least not completely made up and there has been some effort already flown into that - candidate. + candidate. Generally speaking a dispute shouldn't be raised for a candidate + which is backed but is not yet included. Disputes are raised during approval + checking. We participate on such disputes as a precaution - maybe we haven't + seen the `CandidateIncluded` event yet? - The dispute is already confirmed: Meaning that 1/3+1 nodes already participated, as this suggests in our threat model that there was at least one honest node that already voted, so the dispute must be genuine. From 659297f2d449f59634af0ffb2b8a2aa0b33c7c7c Mon Sep 17 00:00:00 2001 From: Andronik Date: Sat, 12 Nov 2022 12:52:26 +0100 Subject: [PATCH 110/211] approval-voting: remove redundant validation check (#6266) * approval-voting: remove a redundant check * candidate-validation: remove unreachable check --- node/core/approval-voting/src/lib.rs | 20 +++----------------- node/core/candidate-validation/src/lib.rs | 5 ----- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index b96992df2c88..cfebd1065edc 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -2404,28 +2404,14 @@ async fn launch_approval( match val_rx.await { Err(_) => return ApprovalState::failed(validator_index, candidate_hash), - Ok(Ok(ValidationResult::Valid(commitments, _))) => { + Ok(Ok(ValidationResult::Valid(_, _))) => { // Validation checked out. Issue an approval command. If the underlying service is unreachable, // then there isn't anything we can do. gum::trace!(target: LOG_TARGET, ?candidate_hash, ?para_id, "Candidate Valid"); - let expected_commitments_hash = candidate.commitments_hash; - if commitments.hash() == expected_commitments_hash { - let _ = metrics_guard.take(); - return ApprovalState::approved(validator_index, candidate_hash) - } else { - // Commitments mismatch - issue a dispute. - issue_local_invalid_statement( - &mut sender, - session_index, - candidate_hash, - candidate.clone(), - ); - - metrics_guard.take().on_approval_invalid(); - return ApprovalState::failed(validator_index, candidate_hash) - } + let _ = metrics_guard.take(); + return ApprovalState::approved(validator_index, candidate_hash) }, Ok(Ok(ValidationResult::Invalid(reason))) => { gum::warn!( diff --git a/node/core/candidate-validation/src/lib.rs b/node/core/candidate-validation/src/lib.rs index a82a0feb78a0..7d9db4f3d794 100644 --- a/node/core/candidate-validation/src/lib.rs +++ b/node/core/candidate-validation/src/lib.rs @@ -467,11 +467,6 @@ where .await; if let Ok(ValidationResult::Valid(ref outputs, _)) = validation_result { - // If validation produces new commitments we consider the candidate invalid. - if candidate_receipt.commitments_hash != outputs.hash() { - return Ok(ValidationResult::Invalid(InvalidCandidate::CommitmentsHashMismatch)) - } - let (tx, rx) = oneshot::channel(); match runtime_api_request( sender, From 9a994265d0229d1f64a8039bc4601748c3d5140a Mon Sep 17 00:00:00 2001 From: Sergej Sakac <73715684+Szegoo@users.noreply.github.com> Date: Sat, 12 Nov 2022 15:14:35 +0100 Subject: [PATCH 111/211] remove fill_block (#6200) Co-authored-by: parity-processbot <> --- runtime/kusama/src/lib.rs | 17 ++++------------- runtime/polkadot/src/lib.rs | 17 ++++------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index e399d7a0b35e..7ef451e52ea9 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -2046,7 +2046,7 @@ mod tests_fess { #[cfg(test)] mod multiplier_tests { use super::*; - use frame_support::{dispatch::GetDispatchInfo, traits::OnFinalize}; + use frame_support::{dispatch::DispatchInfo, traits::OnFinalize}; use runtime_common::{MinimumMultiplier, TargetBlockFullness}; use separator::Separatable; use sp_runtime::traits::Convert; @@ -2088,17 +2088,8 @@ mod multiplier_tests { let mut blocks = 0; let mut fees_paid = 0; - let call = frame_system::Call::::fill_block { - ratio: Perbill::from_rational( - block_weight.ref_time(), - BlockWeights::get().get(DispatchClass::Normal).max_total.unwrap().ref_time(), - ), - }; - println!("calling {:?}", call); - let info = call.get_dispatch_info(); - // convert to outer call. - let call = RuntimeCall::System(call); - let len = call.using_encoded(|e| e.len()) as u32; + frame_system::Pallet::::set_block_consumed_resources(Weight::MAX, 0); + let info = DispatchInfo { weight: Weight::MAX, ..Default::default() }; let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::default() .build_storage::() @@ -2112,7 +2103,7 @@ mod multiplier_tests { while multiplier <= Multiplier::from_u32(1) { t.execute_with(|| { // imagine this tx was called. - let fee = TransactionPayment::compute_fee(len, &info, 0); + let fee = TransactionPayment::compute_fee(0, &info, 0); fees_paid += fee; // this will update the multiplier. diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 8beb551db376..25b142a13be1 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -2299,7 +2299,7 @@ mod test { #[cfg(test)] mod multiplier_tests { use super::*; - use frame_support::{dispatch::GetDispatchInfo, traits::OnFinalize}; + use frame_support::{dispatch::DispatchInfo, traits::OnFinalize}; use runtime_common::{MinimumMultiplier, TargetBlockFullness}; use separator::Separatable; use sp_runtime::traits::Convert; @@ -2341,17 +2341,8 @@ mod multiplier_tests { let mut blocks = 0; let mut fees_paid = 0; - let call = frame_system::Call::::fill_block { - ratio: Perbill::from_rational( - block_weight.ref_time(), - BlockWeights::get().get(DispatchClass::Normal).max_total.unwrap().ref_time(), - ), - }; - println!("calling {:?}", call); - let info = call.get_dispatch_info(); - // convert to outer call. - let call = RuntimeCall::System(call); - let len = call.using_encoded(|e| e.len()) as u32; + frame_system::Pallet::::set_block_consumed_resources(Weight::MAX, 0); + let info = DispatchInfo { weight: Weight::MAX, ..Default::default() }; let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::default() .build_storage::() @@ -2365,7 +2356,7 @@ mod multiplier_tests { while multiplier <= Multiplier::from_u32(1) { t.execute_with(|| { // imagine this tx was called. - let fee = TransactionPayment::compute_fee(len, &info, 0); + let fee = TransactionPayment::compute_fee(0, &info, 0); fees_paid += fee; // this will update the multiplier. From 1d4627558d29ada672897d481fd48d729ac0c36e Mon Sep 17 00:00:00 2001 From: Andronik Date: Sun, 13 Nov 2022 20:14:24 +0100 Subject: [PATCH 112/211] fix a compilation warning (#6279) Fixes #6277. --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d6ff78d801e2..4b0e2047bf64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -126,7 +126,6 @@ maintenance = { status = "actively-developed" } # This list is ordered alphabetically. [profile.dev.package] blake2 = { opt-level = 3 } -blake2-rfc = { opt-level = 3 } blake2b_simd = { opt-level = 3 } chacha20poly1305 = { opt-level = 3 } cranelift-codegen = { opt-level = 3 } From 89dc70f9cdeedf4312c2ea67c871d043a92e0148 Mon Sep 17 00:00:00 2001 From: eskimor Date: Mon, 14 Nov 2022 12:41:45 +0100 Subject: [PATCH 113/211] Only report concluded if there is an actual dispute. (#6270) * Only report concluded if there is an actual dispute. Hence no "non"-disputes will be added to disputes anymore. * Fix redundant check. * Test for no onesided disputes. Co-authored-by: eskimor --- node/core/dispute-coordinator/src/import.rs | 116 ++++++++---------- .../dispute-coordinator/src/initialized.rs | 65 +++++----- node/core/dispute-coordinator/src/tests.rs | 62 ++++++++++ node/primitives/src/disputes/message.rs | 3 + node/primitives/src/disputes/status.rs | 27 +++- 5 files changed, 166 insertions(+), 107 deletions(-) diff --git a/node/core/dispute-coordinator/src/import.rs b/node/core/dispute-coordinator/src/import.rs index 8eb3d173dcf7..c0f0d3d9e009 100644 --- a/node/core/dispute-coordinator/src/import.rs +++ b/node/core/dispute-coordinator/src/import.rs @@ -28,7 +28,7 @@ use std::collections::{BTreeMap, HashMap, HashSet}; -use polkadot_node_primitives::{CandidateVotes, SignedDisputeStatement}; +use polkadot_node_primitives::{CandidateVotes, DisputeStatus, SignedDisputeStatement, Timestamp}; use polkadot_node_subsystem_util::rolling_session_window::RollingSessionWindow; use polkadot_primitives::v2::{ CandidateReceipt, DisputeStatement, IndexedVec, SessionIndex, SessionInfo, @@ -154,22 +154,8 @@ pub struct CandidateVoteState { /// Information about own votes: own_vote: OwnVoteState, - /// Whether or not the dispute concluded invalid. - concluded_invalid: bool, - - /// Whether or not the dispute concluded valid. - /// - /// Note: Due to equivocations it is technically possible for a dispute to conclude both valid - /// and invalid. In that case the invalid result takes precedence. - concluded_valid: bool, - - /// There is an ongoing dispute and we reached f+1 votes -> the dispute is confirmed - /// - /// as at least one honest validator cast a vote for the candidate. - is_confirmed: bool, - - /// Whether or not we have an ongoing dispute. - is_disputed: bool, + /// Current dispute status, if there is any. + dispute_status: Option, } impl CandidateVoteState { @@ -179,18 +165,11 @@ impl CandidateVoteState { pub fn new_from_receipt(candidate_receipt: CandidateReceipt) -> Self { let votes = CandidateVotes { candidate_receipt, valid: BTreeMap::new(), invalid: BTreeMap::new() }; - Self { - votes, - own_vote: OwnVoteState::NoVote, - concluded_invalid: false, - concluded_valid: false, - is_confirmed: false, - is_disputed: false, - } + Self { votes, own_vote: OwnVoteState::NoVote, dispute_status: None } } /// Create a new `CandidateVoteState` from already existing votes. - pub fn new<'a>(votes: CandidateVotes, env: &CandidateEnvironment<'a>) -> Self { + pub fn new<'a>(votes: CandidateVotes, env: &CandidateEnvironment<'a>, now: Timestamp) -> Self { let own_vote = OwnVoteState::new(&votes, env); let n_validators = env.validators().len(); @@ -198,16 +177,31 @@ impl CandidateVoteState { let supermajority_threshold = polkadot_primitives::v2::supermajority_threshold(n_validators); - let concluded_invalid = votes.invalid.len() >= supermajority_threshold; - let concluded_valid = votes.valid.len() >= supermajority_threshold; - // We have a dispute, if we have votes on both sides: let is_disputed = !votes.invalid.is_empty() && !votes.valid.is_empty(); - let byzantine_threshold = polkadot_primitives::v2::byzantine_threshold(n_validators); - let is_confirmed = votes.voted_indices().len() > byzantine_threshold && is_disputed; + let dispute_status = if is_disputed { + let mut status = DisputeStatus::active(); + let byzantine_threshold = polkadot_primitives::v2::byzantine_threshold(n_validators); + let is_confirmed = votes.voted_indices().len() > byzantine_threshold; + if is_confirmed { + status = status.confirm(); + }; + let concluded_for = votes.valid.len() >= supermajority_threshold; + if concluded_for { + status = status.conclude_for(now); + }; + + let concluded_against = votes.invalid.len() >= supermajority_threshold; + if concluded_against { + status = status.conclude_against(now); + }; + Some(status) + } else { + None + }; - Self { votes, own_vote, concluded_invalid, concluded_valid, is_confirmed, is_disputed } + Self { votes, own_vote, dispute_status } } /// Import fresh statements. @@ -217,6 +211,7 @@ impl CandidateVoteState { self, env: &CandidateEnvironment, statements: Vec<(SignedDisputeStatement, ValidatorIndex)>, + now: Timestamp, ) -> ImportResult { let (mut votes, old_state) = self.into_old_state(); @@ -294,7 +289,7 @@ impl CandidateVoteState { } } - let new_state = Self::new(votes, env); + let new_state = Self::new(votes, env, now); ImportResult { old_state, @@ -313,32 +308,15 @@ impl CandidateVoteState { /// Extract `CandidateVotes` for handling import of new statements. fn into_old_state(self) -> (CandidateVotes, CandidateVoteState<()>) { - let CandidateVoteState { - votes, - own_vote, - concluded_invalid, - concluded_valid, - is_confirmed, - is_disputed, - } = self; - ( - votes, - CandidateVoteState { - votes: (), - own_vote, - concluded_invalid, - concluded_valid, - is_confirmed, - is_disputed, - }, - ) + let CandidateVoteState { votes, own_vote, dispute_status } = self; + (votes, CandidateVoteState { votes: (), own_vote, dispute_status }) } } impl CandidateVoteState { /// Whether or not we have an ongoing dispute. pub fn is_disputed(&self) -> bool { - self.is_disputed + self.dispute_status.is_some() } /// Whether there is an ongoing confirmed dispute. @@ -346,7 +324,7 @@ impl CandidateVoteState { /// This checks whether there is a dispute ongoing and we have more than byzantine threshold /// votes. pub fn is_confirmed(&self) -> bool { - self.is_confirmed + self.dispute_status.map_or(false, |s| s.is_confirmed_concluded()) } /// This machine already cast some vote in that dispute/for that candidate. @@ -359,14 +337,19 @@ impl CandidateVoteState { self.own_vote.approval_votes() } - /// Whether or not this dispute has already enough valid votes to conclude. - pub fn is_concluded_valid(&self) -> bool { - self.concluded_valid + /// Whether or not there is a dispute and it has already enough valid votes to conclude. + pub fn has_concluded_for(&self) -> bool { + self.dispute_status.map_or(false, |s| s.has_concluded_for()) + } + + /// Whether or not there is a dispute and it has already enough invalid votes to conclude. + pub fn has_concluded_against(&self) -> bool { + self.dispute_status.map_or(false, |s| s.has_concluded_against()) } - /// Whether or not this dispute has already enough invalid votes to conclude. - pub fn is_concluded_invalid(&self) -> bool { - self.concluded_invalid + /// Get access to the dispute status, in case there is one. + pub fn dispute_status(&self) -> &Option { + &self.dispute_status } /// Access to underlying votes. @@ -451,18 +434,18 @@ impl ImportResult { } /// Whether or not any dispute just concluded valid due to the import. - pub fn is_freshly_concluded_valid(&self) -> bool { - !self.old_state().is_concluded_valid() && self.new_state().is_concluded_valid() + pub fn is_freshly_concluded_for(&self) -> bool { + !self.old_state().has_concluded_for() && self.new_state().has_concluded_for() } /// Whether or not any dispute just concluded invalid due to the import. - pub fn is_freshly_concluded_invalid(&self) -> bool { - !self.old_state().is_concluded_invalid() && self.new_state().is_concluded_invalid() + pub fn is_freshly_concluded_against(&self) -> bool { + !self.old_state().has_concluded_against() && self.new_state().has_concluded_against() } /// Whether or not any dispute just concluded either invalid or valid due to the import. pub fn is_freshly_concluded(&self) -> bool { - self.is_freshly_concluded_invalid() || self.is_freshly_concluded_valid() + self.is_freshly_concluded_against() || self.is_freshly_concluded_for() } /// Modify this `ImportResult`s, by importing additional approval votes. @@ -473,6 +456,7 @@ impl ImportResult { self, env: &CandidateEnvironment, approval_votes: HashMap, + now: Timestamp, ) -> Self { let Self { old_state, @@ -508,7 +492,7 @@ impl ImportResult { } } - let new_state = CandidateVoteState::new(votes, env); + let new_state = CandidateVoteState::new(votes, env, now); Self { old_state, diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 901a6d863ed2..0df1a620826c 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -748,7 +748,7 @@ impl Initialized { .load_candidate_votes(session, &candidate_hash)? .map(CandidateVotes::from) { - Some(votes) => CandidateVoteState::new(votes, &env), + Some(votes) => CandidateVoteState::new(votes, &env, now), None => if let MaybeCandidateReceipt::Provides(candidate_receipt) = candidate_receipt { CandidateVoteState::new_from_receipt(candidate_receipt) @@ -766,7 +766,7 @@ impl Initialized { gum::trace!(target: LOG_TARGET, ?candidate_hash, ?session, "Loaded votes"); let import_result = { - let intermediate_result = old_state.import_statements(&env, statements); + let intermediate_result = old_state.import_statements(&env, statements, now); // Handle approval vote import: // @@ -803,7 +803,7 @@ impl Initialized { ); intermediate_result }, - Ok(votes) => intermediate_result.import_approval_votes(&env, votes), + Ok(votes) => intermediate_result.import_approval_votes(&env, votes, now), } } else { gum::trace!( @@ -977,43 +977,34 @@ impl Initialized { } // All good, update recent disputes if state has changed: - if import_result.dispute_state_changed() { - let mut recent_disputes = overlay_db.load_recent_disputes()?.unwrap_or_default(); + if let Some(new_status) = new_state.dispute_status() { + // Only bother with db access, if there was an actual change. + if import_result.dispute_state_changed() { + let mut recent_disputes = overlay_db.load_recent_disputes()?.unwrap_or_default(); + + let status = + recent_disputes.entry((session, candidate_hash)).or_insert_with(|| { + gum::info!( + target: LOG_TARGET, + ?candidate_hash, + session, + "New dispute initiated for candidate.", + ); + DisputeStatus::active() + }); + + *status = *new_status; - let status = recent_disputes.entry((session, candidate_hash)).or_insert_with(|| { - gum::info!( + gum::trace!( target: LOG_TARGET, ?candidate_hash, - session, - "New dispute initiated for candidate.", + ?status, + has_concluded_for = ?new_state.has_concluded_for(), + has_concluded_against = ?new_state.has_concluded_against(), + "Writing recent disputes with updates for candidate" ); - DisputeStatus::active() - }); - - if new_state.is_confirmed() { - *status = status.confirm(); + overlay_db.write_recent_disputes(recent_disputes); } - - // Note: concluded-invalid overwrites concluded-valid, - // so we do this check first. Dispute state machine is - // non-commutative. - if new_state.is_concluded_valid() { - *status = status.concluded_for(now); - } - - if new_state.is_concluded_invalid() { - *status = status.concluded_against(now); - } - - gum::trace!( - target: LOG_TARGET, - ?candidate_hash, - ?status, - is_concluded_valid = ?new_state.is_concluded_valid(), - is_concluded_invalid = ?new_state.is_concluded_invalid(), - "Writing recent disputes with updates for candidate" - ); - overlay_db.write_recent_disputes(recent_disputes); } // Update metrics: @@ -1036,7 +1027,7 @@ impl Initialized { ); self.metrics.on_approval_votes(import_result.imported_approval_votes()); - if import_result.is_freshly_concluded_valid() { + if import_result.is_freshly_concluded_for() { gum::info!( target: LOG_TARGET, ?candidate_hash, @@ -1045,7 +1036,7 @@ impl Initialized { ); self.metrics.on_concluded_valid(); } - if import_result.is_freshly_concluded_invalid() { + if import_result.is_freshly_concluded_against() { gum::info!( target: LOG_TARGET, ?candidate_hash, diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index d7208c1a59eb..b2f779041a4c 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -2917,6 +2917,68 @@ fn redundant_votes_ignored() { }); } +#[test] +/// Make sure no disputes are recorded when there are no opposing votes, even if we reached supermajority. +fn no_onesided_disputes() { + test_harness(|mut test_state, mut virtual_overseer| { + Box::pin(async move { + let session = 1; + + test_state.handle_resume_sync(&mut virtual_overseer, session).await; + + let candidate_receipt = make_valid_candidate_receipt(); + let candidate_hash = candidate_receipt.hash(); + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) + .await; + + let mut statements = Vec::new(); + for index in 1..10 { + statements.push(( + test_state + .issue_backing_statement_with_index( + ValidatorIndex(index), + candidate_hash, + session, + ) + .await, + ValidatorIndex(index), + )); + } + + let (pending_confirmation, confirmation_rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), + session, + statements, + pending_confirmation: Some(pending_confirmation), + }, + }) + .await; + assert_matches!(confirmation_rx.await, Ok(ImportStatementsResult::ValidImport)); + + // We should not have any active disputes now. + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ActiveDisputes(tx), + }) + .await; + + assert!(rx.await.unwrap().is_empty()); + + virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; + + // No more messages expected: + assert!(virtual_overseer.try_recv().await.is_none()); + + test_state + }) + }); +} + #[test] fn refrain_from_participation() { test_harness(|mut test_state, mut virtual_overseer| { diff --git a/node/primitives/src/disputes/message.rs b/node/primitives/src/disputes/message.rs index 93d4e804f906..1a943f8dcee6 100644 --- a/node/primitives/src/disputes/message.rs +++ b/node/primitives/src/disputes/message.rs @@ -33,6 +33,9 @@ use polkadot_primitives::v2::{ /// /// And most likely has been constructed correctly. This is used with /// `DisputeDistributionMessage::SendDispute` for sending out votes. +/// +/// NOTE: This is sent over the wire, any changes are a change in protocol and need to be +/// versioned. #[derive(Debug, Clone)] pub struct DisputeMessage(UncheckedDisputeMessage); diff --git a/node/primitives/src/disputes/status.rs b/node/primitives/src/disputes/status.rs index c0ffb907423b..7cc26c1a1f7a 100644 --- a/node/primitives/src/disputes/status.rs +++ b/node/primitives/src/disputes/status.rs @@ -19,8 +19,12 @@ use parity_scale_codec::{Decode, Encode}; /// Timestamp based on the 1 Jan 1970 UNIX base, which is persistent across node restarts and OS reboots. pub type Timestamp = u64; -/// The status of dispute. This is a state machine which can be altered by the -/// helper methods. +/// The status of dispute. +/// +/// As managed by the dispute coordinator. +/// +/// NOTE: This status is persisted to the database, any changes have to be versioned and a db +/// migration will be needed. #[derive(Debug, Clone, Copy, Encode, Decode, PartialEq)] pub enum DisputeStatus { /// The dispute is active and unconcluded. @@ -69,9 +73,24 @@ impl DisputeStatus { } } + /// Concluded valid? + pub fn has_concluded_for(&self) -> bool { + match self { + &DisputeStatus::ConcludedFor(_) => true, + _ => false, + } + } + /// Concluded invalid? + pub fn has_concluded_against(&self) -> bool { + match self { + &DisputeStatus::ConcludedAgainst(_) => true, + _ => false, + } + } + /// Transition the status to a new status after observing the dispute has concluded for the candidate. /// This may be a no-op if the status was already concluded. - pub fn concluded_for(self, now: Timestamp) -> DisputeStatus { + pub fn conclude_for(self, now: Timestamp) -> DisputeStatus { match self { DisputeStatus::Active | DisputeStatus::Confirmed => DisputeStatus::ConcludedFor(now), DisputeStatus::ConcludedFor(at) => DisputeStatus::ConcludedFor(std::cmp::min(at, now)), @@ -81,7 +100,7 @@ impl DisputeStatus { /// Transition the status to a new status after observing the dispute has concluded against the candidate. /// This may be a no-op if the status was already concluded. - pub fn concluded_against(self, now: Timestamp) -> DisputeStatus { + pub fn conclude_against(self, now: Timestamp) -> DisputeStatus { match self { DisputeStatus::Active | DisputeStatus::Confirmed => DisputeStatus::ConcludedAgainst(now), From 624ae5764086cc7edbe6e455e816b73765219906 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Mon, 14 Nov 2022 12:59:56 +0100 Subject: [PATCH 114/211] [ci] fix buildah image (#6281) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0dd640186bb8..877004694d79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -152,7 +152,7 @@ default: .build-push-image: extends: - .kubernetes-env - image: quay.io/buildah/stable + image: quay.io/buildah/stable:v1.27 before_script: - test -s ./artifacts/VERSION || exit 1 - test -s ./artifacts/EXTRATAG || exit 1 From 353c57b3d34a58711f93926c1b2dc17b2642809e Mon Sep 17 00:00:00 2001 From: eskimor Date: Tue, 15 Nov 2022 10:04:24 +0100 Subject: [PATCH 115/211] Revert special casing of Kusama for grandpa rounds. (#6217) Co-authored-by: eskimor --- node/service/src/lib.rs | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 18218a8aba8e..3e535f3bd1f5 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -1221,22 +1221,11 @@ where } } - // Reduce grandpa load on Kusama and test networks. This will slow down finality by - // approximately one slot duration, but will reduce load. We would like to see the impact on - // Kusama, see: https://github.com/paritytech/polkadot/issues/5464 - let gossip_duration = if chain_spec.is_versi() || - chain_spec.is_wococo() || - chain_spec.is_rococo() || - chain_spec.is_kusama() - { - Duration::from_millis(2000) - } else { - Duration::from_millis(1000) - }; - let config = grandpa::Config { // FIXME substrate#1578 make this available through chainspec - gossip_duration, + // Grandpa performance can be improved a bit by tuning this parameter, see: + // https://github.com/paritytech/polkadot/issues/5464 + gossip_duration: Duration::from_millis(1000), justification_period: 512, name: Some(name), observer_enabled: false, From b984c40cc5217eda68f630e329320dc26578a0bc Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 15 Nov 2022 09:58:26 -0500 Subject: [PATCH 116/211] Fixes "for loop over an `Option`" warnings (#6291) Was seeing these warnings when running `cargo check --all`: ``` warning: for loop over an `Option`. This is more readably written as an `if let` statement --> node/core/approval-voting/src/lib.rs:1147:21 | 1147 | for activated in update.activated { | ^^^^^^^^^^^^^^^^ | = note: `#[warn(for_loops_over_fallibles)]` on by default help: to check pattern in a loop use `while let` | 1147 | while let Some(activated) = update.activated { | ~~~~~~~~~~~~~~~ ~~~ help: consider using `if let` to clear intent | 1147 | if let Some(activated) = update.activated { | ~~~~~~~~~~~~ ~~~ ``` My guess is that `activated` used to be a SmallVec or similar, as is `deactivated`. It was changed to an `Option`, the `for` still compiled (it's technically correct, just weird), and the compiler didn't catch it until now. --- node/core/approval-voting/src/lib.rs | 2 +- node/core/bitfield-signing/src/lib.rs | 2 +- node/core/chain-selection/src/lib.rs | 2 +- node/core/provisioner/src/lib.rs | 2 +- node/network/availability-recovery/src/lib.rs | 2 +- node/network/bitfield-distribution/src/lib.rs | 2 +- node/network/bridge/src/rx/mod.rs | 2 +- node/network/statement-distribution/src/lib.rs | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index cfebd1065edc..bc63549795c2 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -1144,7 +1144,7 @@ async fn handle_from_overseer( FromOrchestra::Signal(OverseerSignal::ActiveLeaves(update)) => { let mut actions = Vec::new(); - for activated in update.activated { + if let Some(activated) = update.activated { let head = activated.hash; match import::handle_new_head(ctx, state, db, head, &*last_finalized_height).await { Err(e) => return Err(SubsystemError::with_origin("db", e)), diff --git a/node/core/bitfield-signing/src/lib.rs b/node/core/bitfield-signing/src/lib.rs index 13a3dd28705f..64cbb18cc44c 100644 --- a/node/core/bitfield-signing/src/lib.rs +++ b/node/core/bitfield-signing/src/lib.rs @@ -225,7 +225,7 @@ async fn run( } } - for leaf in update.activated { + if let Some(leaf) = update.activated { let sender = ctx.sender().clone(); let leaf_hash = leaf.hash; diff --git a/node/core/chain-selection/src/lib.rs b/node/core/chain-selection/src/lib.rs index eb5ceac9b768..e5ffe6811d6e 100644 --- a/node/core/chain-selection/src/lib.rs +++ b/node/core/chain-selection/src/lib.rs @@ -430,7 +430,7 @@ where return Ok(()) } FromOrchestra::Signal(OverseerSignal::ActiveLeaves(update)) => { - for leaf in update.activated { + if let Some(leaf) = update.activated { let write_ops = handle_active_leaf( ctx.sender(), &*backend, diff --git a/node/core/provisioner/src/lib.rs b/node/core/provisioner/src/lib.rs index f669f9ddae2c..0530d48aabda 100644 --- a/node/core/provisioner/src/lib.rs +++ b/node/core/provisioner/src/lib.rs @@ -183,7 +183,7 @@ fn handle_active_leaves_update( per_relay_parent.remove(deactivated); } - for leaf in update.activated { + if let Some(leaf) = update.activated { let delay_fut = Delay::new(PRE_PROPOSE_TIMEOUT).map(move |_| leaf.hash).boxed(); per_relay_parent.insert(leaf.hash, PerRelayParent::new(leaf)); inherent_delays.push(delay_fut); diff --git a/node/network/availability-recovery/src/lib.rs b/node/network/availability-recovery/src/lib.rs index 4ca28c955f9e..5a2905082379 100644 --- a/node/network/availability-recovery/src/lib.rs +++ b/node/network/availability-recovery/src/lib.rs @@ -836,7 +836,7 @@ async fn handle_signal(state: &mut State, signal: OverseerSignal) -> SubsystemRe OverseerSignal::Conclude => Ok(true), OverseerSignal::ActiveLeaves(ActiveLeavesUpdate { activated, .. }) => { // if activated is non-empty, set state.live_block to the highest block in `activated` - for activated in activated { + if let Some(activated) = activated { if activated.number > state.live_block.0 { state.live_block = (activated.number, activated.hash) } diff --git a/node/network/bitfield-distribution/src/lib.rs b/node/network/bitfield-distribution/src/lib.rs index 1b2167484b49..2a1e3b8d9ef3 100644 --- a/node/network/bitfield-distribution/src/lib.rs +++ b/node/network/bitfield-distribution/src/lib.rs @@ -233,7 +233,7 @@ impl BitfieldDistribution { })) => { let _timer = self.metrics.time_active_leaves_update(); - for activated in activated { + if let Some(activated) = activated { let relay_parent = activated.hash; gum::trace!(target: LOG_TARGET, ?relay_parent, "activated"); diff --git a/node/network/bridge/src/rx/mod.rs b/node/network/bridge/src/rx/mod.rs index a08596cd15ac..0cb89b19b0ee 100644 --- a/node/network/bridge/src/rx/mod.rs +++ b/node/network/bridge/src/rx/mod.rs @@ -566,7 +566,7 @@ where num_deactivated = %deactivated.len(), ); - for activated in activated { + if let Some(activated) = activated { let pos = live_heads .binary_search_by(|probe| probe.number.cmp(&activated.number).reverse()) .unwrap_or_else(|i| i); diff --git a/node/network/statement-distribution/src/lib.rs b/node/network/statement-distribution/src/lib.rs index c0ac09dbe3f8..055fd4123f9a 100644 --- a/node/network/statement-distribution/src/lib.rs +++ b/node/network/statement-distribution/src/lib.rs @@ -2017,7 +2017,7 @@ impl StatementDistributionSubsystem { } } - for activated in activated { + if let Some(activated) = activated { let relay_parent = activated.hash; let span = PerLeafSpan::new(activated.span, "statement-distribution"); gum::trace!( From 756ccc35e93d1a78e3c71a0e67ae4da5f1d09f69 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Tue, 15 Nov 2022 17:30:50 +0100 Subject: [PATCH 117/211] companion for #12599 (#6290) * companion for #12599 * update Cargo.lock * use cargo path instead of diener * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 415 ++++++++++++++++++++++++++--------------------------- 1 file changed, 200 insertions(+), 215 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 765c025ff027..e244c01e3c03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -2013,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", ] @@ -2037,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "Inflector", "array-bytes", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2139,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "bitflags", "frame-metadata", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "Inflector", "cfg-expr", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro2", "quote", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2259,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "log", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -2303,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "sp-api", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "parity-scale-codec", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "chrono", "frame-election-provider-support", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4973,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "anyhow", "jsonrpsee", @@ -5077,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -5110,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5130,7 +5130,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "sp-api", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -5157,7 +5157,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5180,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,7 +5245,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5279,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5316,7 +5316,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -5330,7 +5330,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5364,7 +5364,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "log", "sp-arithmetic", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#4a5a9dea00c9b4e4d34ff56368451aa4dac09d77" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -5404,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5485,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-benchmarking", "frame-support", @@ -8007,7 +8007,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "env_logger 0.9.0", "log", @@ -8347,7 +8347,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "log", "sp-core", @@ -8358,7 +8358,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures", @@ -8385,7 +8385,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "futures-timer", @@ -8408,7 +8408,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8424,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8441,7 +8441,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8452,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "chrono", @@ -8492,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "fnv", "futures", @@ -8520,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "hash-db", "kvdb", @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures", @@ -8569,7 +8569,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "fork-tree", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "jsonrpsee", @@ -8632,7 +8632,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures", @@ -8669,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "lazy_static", "lru", @@ -8685,7 +8685,6 @@ dependencies = [ "sp-io", "sp-panic-handler", "sp-runtime-interface", - "sp-tasks", "sp-trie", "sp-version", "sp-wasm-interface", @@ -8696,7 +8695,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "environmental", "parity-scale-codec", @@ -8712,7 +8711,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "log", "parity-scale-codec", @@ -8727,7 +8726,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "cfg-if", "libc", @@ -8747,7 +8746,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "ahash", "array-bytes", @@ -8788,7 +8787,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "finality-grandpa", "futures", @@ -8809,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "ansi_term", "futures", @@ -8826,7 +8825,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "async-trait", @@ -8841,7 +8840,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "async-trait", @@ -8888,7 +8887,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "cid", "futures", @@ -8908,7 +8907,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "bitflags", @@ -8934,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "ahash", "futures", @@ -8952,7 +8951,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "futures", @@ -8973,7 +8972,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "fork-tree", @@ -9003,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "futures", @@ -9022,7 +9021,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "bytes", @@ -9052,7 +9051,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "libp2p", @@ -9065,7 +9064,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9074,7 +9073,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "hash-db", @@ -9104,7 +9103,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "jsonrpsee", @@ -9127,7 +9126,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "jsonrpsee", @@ -9140,7 +9139,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "hex", @@ -9159,7 +9158,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "directories", @@ -9230,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "log", "parity-scale-codec", @@ -9244,7 +9243,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9263,7 +9262,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "libc", @@ -9282,7 +9281,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "chrono", "futures", @@ -9300,7 +9299,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "ansi_term", "atty", @@ -9331,7 +9330,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9342,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures", @@ -9369,7 +9368,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures", @@ -9383,7 +9382,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "futures-timer", @@ -9864,7 +9863,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "hash-db", "log", @@ -9882,7 +9881,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "blake2", "proc-macro-crate", @@ -9893,8 +9892,8 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -9906,8 +9905,8 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "integer-sqrt", "num-traits", @@ -9922,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -9935,7 +9934,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "parity-scale-codec", @@ -9947,7 +9946,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "sp-api", @@ -9959,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "log", @@ -9977,7 +9976,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures", @@ -9996,7 +9995,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "merlin", @@ -10019,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10033,7 +10032,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10045,8 +10044,8 @@ dependencies = [ [[package]] name = "sp-core" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "base58", @@ -10065,7 +10064,6 @@ dependencies = [ "merlin", "num-traits", "parity-scale-codec", - "parity-util-mem", "parking_lot 0.12.1", "primitive-types", "rand 0.7.3", @@ -10091,8 +10089,8 @@ dependencies = [ [[package]] name = "sp-core-hashing" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "blake2", "byteorder", @@ -10106,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro2", "quote", @@ -10117,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10125,8 +10123,8 @@ dependencies = [ [[package]] name = "sp-debug-derive" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro2", "quote", @@ -10135,8 +10133,8 @@ dependencies = [ [[package]] name = "sp-externalities" -version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "environmental", "parity-scale-codec", @@ -10147,7 +10145,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "finality-grandpa", "log", @@ -10165,7 +10163,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10178,8 +10176,8 @@ dependencies = [ [[package]] name = "sp-io" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "bytes", "futures", @@ -10205,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "lazy_static", "sp-core", @@ -10215,8 +10213,8 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures", @@ -10233,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "thiserror", "zstd", @@ -10242,7 +10240,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "log", "parity-scale-codec", @@ -10259,7 +10257,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10273,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "sp-api", "sp-core", @@ -10282,8 +10280,8 @@ dependencies = [ [[package]] name = "sp-panic-handler" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "backtrace", "lazy_static", @@ -10293,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "rustc-hash", "serde", @@ -10302,8 +10300,8 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "either", "hash256-std-hasher", @@ -10325,8 +10323,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10343,8 +10341,8 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "Inflector", "proc-macro-crate", @@ -10356,7 +10354,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "log", "parity-scale-codec", @@ -10370,7 +10368,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10384,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10394,8 +10392,8 @@ dependencies = [ [[package]] name = "sp-state-machine" -version = "0.12.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "0.13.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "hash-db", "log", @@ -10416,13 +10414,13 @@ dependencies = [ [[package]] name = "sp-std" -version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "5.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" [[package]] name = "sp-storage" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10432,23 +10430,10 @@ dependencies = [ "sp-std", ] -[[package]] -name = "sp-tasks" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" -dependencies = [ - "log", - "sp-core", - "sp-externalities", - "sp-io", - "sp-runtime-interface", - "sp-std", -] - [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "futures-timer", @@ -10463,8 +10448,8 @@ dependencies = [ [[package]] name = "sp-tracing" -version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "6.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "sp-std", @@ -10476,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "sp-api", "sp-runtime", @@ -10485,7 +10470,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "log", @@ -10500,8 +10485,8 @@ dependencies = [ [[package]] name = "sp-trie" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "ahash", "hash-db", @@ -10524,7 +10509,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10541,7 +10526,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10551,8 +10536,8 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "impl-trait-for-tuples", "log", @@ -10565,7 +10550,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10596,9 +10581,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.29.0" +version = "1.34.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0837b5d62f42082c9d56cd946495ae273a3c68083b637b9153341d5e465146d" +checksum = "37a9821878e1f13aba383aa40a86fb1b33c7265774ec91e32563cb1dd1577496" dependencies = [ "Inflector", "num-format", @@ -10780,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "platforms", ] @@ -10788,7 +10773,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10809,7 +10794,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures-util", "hyper", @@ -10822,7 +10807,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "async-trait", "jsonrpsee", @@ -10835,7 +10820,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "jsonrpsee", "log", @@ -10856,7 +10841,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "array-bytes", "async-trait", @@ -10882,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10892,7 +10877,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10903,7 +10888,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "ansi_term", "build-helper", @@ -11610,7 +11595,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a6da808575fe403ab2bd7f6cd009896cdc6fd71a" +source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" dependencies = [ "clap", "frame-try-runtime", From a3d25c73bb3da0daef99944fada411a27f72c4c6 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Wed, 16 Nov 2022 14:49:17 +0100 Subject: [PATCH 118/211] [ci] Improve pipeline stopper (#6300) * [ci] Improve pipeline stopper * break test-linux-stable * fix test-linux-stable --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 877004694d79..a8f70394cd5c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -227,8 +227,24 @@ deploy-parity-testnet: PR_NUM: "${PR_NUM}" trigger: project: "parity/infrastructure/ci_cd/pipeline-stopper" + branch: "as-improve" -.cancel-pipeline-test-linux-stable: +remove-cancel-pipeline-message: + stage: .post + rules: + - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs + variables: + PROJECT_ID: "${CI_PROJECT_ID}" + PROJECT_NAME: "${CI_PROJECT_NAME}" + PIPELINE_ID: "${CI_PIPELINE_ID}" + FAILED_JOB_URL: "https://gitlab.com" + FAILED_JOB_NAME: "nope" + PR_NUM: "${CI_COMMIT_REF_NAME}" + trigger: + project: "parity/infrastructure/ci_cd/pipeline-stopper" + branch: "as-improve" + +cancel-pipeline-test-linux-stable: extends: .cancel-pipeline-template needs: - job: test-linux-stable From c289aced8c7f124acd60d0764de35cec1047549f Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov Date: Wed, 16 Nov 2022 16:39:05 +0200 Subject: [PATCH 119/211] Provisioner should ignore unconfirmed disputes (#6294) * Fix typos * Filter unconfirmed disputes in provisioner - random_selection * Rework dispute coordinator to return `DisputeStatus` with `ActiveDisputes` message. * Rework the random_selection implementation of `select_disptues` in `provisioner` to return only confirmed disputes. * Filter unconfirmed disputes in provisioner - prioritized_selection * Add test for unconfirmed disputes handling * Fix `dispute-distribution` tests --- .../dispute-coordinator/src/initialized.rs | 4 +- node/core/dispute-coordinator/src/tests.rs | 29 ++++-- .../src/disputes/prioritized_selection/mod.rs | 7 ++ .../disputes/prioritized_selection/tests.rs | 89 ++++++++++++++++--- .../src/disputes/random_selection/mod.rs | 64 +++++-------- .../dispute-distribution/src/sender/mod.rs | 4 +- .../dispute-distribution/src/tests/mod.rs | 13 +-- node/subsystem-types/src/messages.rs | 4 +- 8 files changed, 148 insertions(+), 66 deletions(-) diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 0df1a620826c..ab9faca39868 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -617,7 +617,9 @@ impl Initialized { let _ = tx.send( get_active_with_status(recent_disputes.into_iter(), now) - .map(|(k, _)| k) + .map(|((session_idx, candidate_hash), dispute_status)| { + (session_idx, candidate_hash, dispute_status) + }) .collect(), ); }, diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index b2f779041a4c..d44f46ec3442 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -31,7 +31,9 @@ use futures::{ use polkadot_node_subsystem_util::database::Database; -use polkadot_node_primitives::{SignedDisputeStatement, SignedFullStatement, Statement}; +use polkadot_node_primitives::{ + DisputeStatus, SignedDisputeStatement, SignedFullStatement, Statement, +}; use polkadot_node_subsystem::{ messages::{ ApprovalVotingMessage, ChainApiMessage, DisputeCoordinatorMessage, @@ -682,7 +684,10 @@ fn too_many_unconfirmed_statements_are_considered_spam() { }) .await; - assert_eq!(rx.await.unwrap(), vec![(session, candidate_hash1)]); + assert_eq!( + rx.await.unwrap(), + vec![(session, candidate_hash1, DisputeStatus::Active)] + ); let (tx, rx) = oneshot::channel(); virtual_overseer @@ -812,7 +817,10 @@ fn approval_vote_import_works() { }) .await; - assert_eq!(rx.await.unwrap(), vec![(session, candidate_hash1)]); + assert_eq!( + rx.await.unwrap(), + vec![(session, candidate_hash1, DisputeStatus::Active)] + ); let (tx, rx) = oneshot::channel(); virtual_overseer @@ -934,7 +942,10 @@ fn dispute_gets_confirmed_via_participation() { }) .await; - assert_eq!(rx.await.unwrap(), vec![(session, candidate_hash1)]); + assert_eq!( + rx.await.unwrap(), + vec![(session, candidate_hash1, DisputeStatus::Active)] + ); let (tx, rx) = oneshot::channel(); virtual_overseer @@ -1099,7 +1110,10 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { }) .await; - assert_eq!(rx.await.unwrap(), vec![(session, candidate_hash1)]); + assert_eq!( + rx.await.unwrap(), + vec![(session, candidate_hash1, DisputeStatus::Confirmed)] + ); let (tx, rx) = oneshot::channel(); virtual_overseer @@ -1358,7 +1372,10 @@ fn conflicting_votes_lead_to_dispute_participation() { }) .await; - assert_eq!(rx.await.unwrap(), vec![(session, candidate_hash)]); + assert_eq!( + rx.await.unwrap(), + vec![(session, candidate_hash, DisputeStatus::Active)] + ); let (tx, rx) = oneshot::channel(); virtual_overseer diff --git a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs index 07426ef1a75b..dcfcd0d1c2f0 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs @@ -139,6 +139,13 @@ where onchain.len(), ); + // Filter out unconfirmed disputes. However if the dispute is already onchain - don't skip it. + // In this case we'd better push as much fresh votes as possible to bring it to conclusion faster. + let recent_disputes = recent_disputes + .into_iter() + .filter(|d| d.2.is_confirmed_concluded() || onchain.contains_key(&(d.0, d.1))) + .collect::>(); + let partitioned = partition_recent_disputes(recent_disputes, &onchain); metrics.on_partition_recent_disputes(&partitioned); diff --git a/node/core/provisioner/src/disputes/prioritized_selection/tests.rs b/node/core/provisioner/src/disputes/prioritized_selection/tests.rs index f76107dc65d4..1f8d4f180263 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/tests.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/tests.rs @@ -426,7 +426,7 @@ impl TestDisputes { pub fn add_unconfirmed_disputes_concluded_onchain( &mut self, dispute_count: usize, - ) -> (u32, usize) { + ) -> (SessionIndex, usize) { let local_votes_count = self.validators_count * 90 / 100; let onchain_votes_count = self.validators_count * 80 / 100; let session_idx = 0; @@ -444,7 +444,7 @@ impl TestDisputes { pub fn add_unconfirmed_disputes_unconcluded_onchain( &mut self, dispute_count: usize, - ) -> (u32, usize) { + ) -> (SessionIndex, usize) { let local_votes_count = self.validators_count * 90 / 100; let onchain_votes_count = self.validators_count * 40 / 100; let session_idx = 1; @@ -459,22 +459,25 @@ impl TestDisputes { (session_idx, (local_votes_count - onchain_votes_count) * dispute_count) } - pub fn add_unconfirmed_disputes_unknown_onchain( + pub fn add_confirmed_disputes_unknown_onchain( &mut self, dispute_count: usize, - ) -> (u32, usize) { + ) -> (SessionIndex, usize) { let local_votes_count = self.validators_count * 90 / 100; let session_idx = 2; let lf = leaf(); let dummy_receipt = test_helpers::dummy_candidate_receipt(lf.hash.clone()); for _ in 0..dispute_count { - let d = (session_idx, CandidateHash(Hash::random()), DisputeStatus::Active); + let d = (session_idx, CandidateHash(Hash::random()), DisputeStatus::Confirmed); self.add_offchain_dispute(d.clone(), local_votes_count, dummy_receipt.clone()); } (session_idx, local_votes_count * dispute_count) } - pub fn add_concluded_disputes_known_onchain(&mut self, dispute_count: usize) -> (u32, usize) { + pub fn add_concluded_disputes_known_onchain( + &mut self, + dispute_count: usize, + ) -> (SessionIndex, usize) { let local_votes_count = self.validators_count * 90 / 100; let onchain_votes_count = self.validators_count * 75 / 100; let session_idx = 3; @@ -488,7 +491,10 @@ impl TestDisputes { (session_idx, (local_votes_count - onchain_votes_count) * dispute_count) } - pub fn add_concluded_disputes_unknown_onchain(&mut self, dispute_count: usize) -> (u32, usize) { + pub fn add_concluded_disputes_unknown_onchain( + &mut self, + dispute_count: usize, + ) -> (SessionIndex, usize) { let local_votes_count = self.validators_count * 90 / 100; let session_idx = 4; let lf = leaf(); @@ -500,6 +506,40 @@ impl TestDisputes { (session_idx, local_votes_count * dispute_count) } + pub fn add_unconfirmed_disputes_known_onchain( + &mut self, + dispute_count: usize, + ) -> (SessionIndex, usize) { + let local_votes_count = self.validators_count * 10 / 100; + let onchain_votes_count = self.validators_count * 10 / 100; + let session_idx = 5; + let lf = leaf(); + let dummy_receipt = test_helpers::dummy_candidate_receipt(lf.hash.clone()); + for _ in 0..dispute_count { + let d = (session_idx, CandidateHash(Hash::random()), DisputeStatus::Active); + self.add_offchain_dispute(d.clone(), local_votes_count, dummy_receipt.clone()); + self.add_onchain_dispute(d, onchain_votes_count); + } + + (session_idx, (local_votes_count - onchain_votes_count) * dispute_count) + } + + pub fn add_unconfirmed_disputes_unknown_onchain( + &mut self, + dispute_count: usize, + ) -> (SessionIndex, usize) { + let local_votes_count = self.validators_count * 10 / 100; + let session_idx = 6; + let lf = leaf(); + let dummy_receipt = test_helpers::dummy_candidate_receipt(lf.hash.clone()); + for _ in 0..dispute_count { + let d = (session_idx, CandidateHash(Hash::random()), DisputeStatus::Active); + self.add_offchain_dispute(d.clone(), local_votes_count, dummy_receipt.clone()); + } + + (session_idx, local_votes_count * dispute_count) + } + fn generate_local_votes( statement_kind: T, start_idx: usize, @@ -554,9 +594,9 @@ fn normal_flow() { // concluded disputes known onchain - these should be ignored let (_, _) = input.add_concluded_disputes_known_onchain(DISPUTES_PER_BATCH); - // active disputes unknown onchain + // confirmed disputes unknown onchain let (second_idx, second_votes) = - input.add_unconfirmed_disputes_unknown_onchain(DISPUTES_PER_BATCH); + input.add_confirmed_disputes_unknown_onchain(DISPUTES_PER_BATCH); let metrics = metrics::Metrics::new_dummy(); let mut vote_queries: usize = 0; @@ -635,8 +675,8 @@ fn many_batches() { // concluded disputes known onchain input.add_concluded_disputes_known_onchain(DISPUTES_PER_PARTITION); - // active disputes unknown onchain - input.add_unconfirmed_disputes_unknown_onchain(DISPUTES_PER_PARTITION); + // confirmed disputes unknown onchain + input.add_confirmed_disputes_unknown_onchain(DISPUTES_PER_PARTITION); let metrics = metrics::Metrics::new_dummy(); let mut vote_queries: usize = 0; @@ -720,3 +760,30 @@ fn votes_above_limit() { ACCEPTABLE_RUNTIME_VOTES_QUERIES_COUNT ); } + +#[test] +fn unconfirmed_are_handled_correctly() { + const VALIDATOR_COUNT: usize = 10; + const DISPUTES_PER_PARTITION: usize = 50; + + let mut input = TestDisputes::new(VALIDATOR_COUNT); + + // Add unconfirmed known onchain -> this should be pushed + let (pushed_idx, _) = input.add_unconfirmed_disputes_known_onchain(DISPUTES_PER_PARTITION); + + // Add unconfirmed unknown onchain -> this should be ignored + input.add_unconfirmed_disputes_unknown_onchain(DISPUTES_PER_PARTITION); + + let metrics = metrics::Metrics::new_dummy(); + let mut vote_queries: usize = 0; + test_harness( + |r| mock_overseer(r, &mut input, &mut vote_queries), + |mut tx: TestSubsystemSender| async move { + let lf = leaf(); + let result = select_disputes(&mut tx, &metrics, &lf).await; + + assert!(result.len() == DISPUTES_PER_PARTITION); + result.iter().for_each(|d| assert!(d.session == pushed_idx)); + }, + ); +} diff --git a/node/core/provisioner/src/disputes/random_selection/mod.rs b/node/core/provisioner/src/disputes/random_selection/mod.rs index a25d3445ac6e..9a827475aa55 100644 --- a/node/core/provisioner/src/disputes/random_selection/mod.rs +++ b/node/core/provisioner/src/disputes/random_selection/mod.rs @@ -42,51 +42,35 @@ enum RequestType { } /// Request open disputes identified by `CandidateHash` and the `SessionIndex`. -async fn request_disputes( +/// Returns only confirmed/concluded disputes. The rest are filtered out. +async fn request_confirmed_disputes( sender: &mut impl overseer::ProvisionerSenderTrait, active_or_recent: RequestType, ) -> Vec<(SessionIndex, CandidateHash)> { - let disputes = match active_or_recent { - RequestType::Recent => { - let (tx, rx) = oneshot::channel(); - let msg = DisputeCoordinatorMessage::RecentDisputes(tx); - sender.send_unbounded_message(msg); - let recent_disputes = match rx.await { - Ok(r) => r, - Err(oneshot::Canceled) => { - gum::warn!( - target: LOG_TARGET, - "Channel closed: unable to gather {:?} disputes", - active_or_recent - ); - Vec::new() - }, - }; - recent_disputes - .into_iter() - .map(|(sesion_idx, candodate_hash, _)| (sesion_idx, candodate_hash)) - .collect::>() - }, - RequestType::Active => { - let (tx, rx) = oneshot::channel(); - let msg = DisputeCoordinatorMessage::ActiveDisputes(tx); - sender.send_unbounded_message(msg); - let active_disputes = match rx.await { - Ok(r) => r, - Err(oneshot::Canceled) => { - gum::warn!( - target: LOG_TARGET, - "Unable to gather {:?} disputes", - active_or_recent - ); - Vec::new() - }, - }; - active_disputes + let (tx, rx) = oneshot::channel(); + let msg = match active_or_recent { + RequestType::Recent => DisputeCoordinatorMessage::RecentDisputes(tx), + RequestType::Active => DisputeCoordinatorMessage::ActiveDisputes(tx), + }; + + sender.send_unbounded_message(msg); + let disputes = match rx.await { + Ok(r) => r, + Err(oneshot::Canceled) => { + gum::warn!( + target: LOG_TARGET, + "Channel closed: unable to gather {:?} disputes", + active_or_recent + ); + Vec::new() }, }; disputes + .into_iter() + .filter(|d| d.2.is_confirmed_concluded()) + .map(|d| (d.0, d.1)) + .collect() } /// Extend `acc` by `n` random, picks of not-yet-present in `acc` items of `recent` without repetition and additions of recent. @@ -132,7 +116,7 @@ where // In case of an overload condition, we limit ourselves to active disputes, and fill up to the // upper bound of disputes to pass to wasm `fn create_inherent_data`. // If the active ones are already exceeding the bounds, randomly select a subset. - let recent = request_disputes(sender, RequestType::Recent).await; + let recent = request_confirmed_disputes(sender, RequestType::Recent).await; let disputes = if recent.len() > MAX_DISPUTES_FORWARDED_TO_RUNTIME { gum::warn!( target: LOG_TARGET, @@ -140,7 +124,7 @@ where recent.len(), MAX_DISPUTES_FORWARDED_TO_RUNTIME ); - let mut active = request_disputes(sender, RequestType::Active).await; + let mut active = request_confirmed_disputes(sender, RequestType::Active).await; let n_active = active.len(); let active = if active.len() > MAX_DISPUTES_FORWARDED_TO_RUNTIME { let mut picked = Vec::with_capacity(MAX_DISPUTES_FORWARDED_TO_RUNTIME); diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index 331fe12c61e2..64299e52bf23 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -430,7 +430,9 @@ async fn get_active_disputes( // Caller scope is in `update_leaves` and this is bounded by fork count. ctx.send_unbounded_message(DisputeCoordinatorMessage::ActiveDisputes(tx)); - rx.await.map_err(|_| JfyiError::AskActiveDisputesCanceled) + rx.await + .map_err(|_| JfyiError::AskActiveDisputesCanceled) + .map(|disputes| disputes.into_iter().map(|d| (d.0, d.1)).collect()) } /// Get all locally available dispute votes for a given dispute. diff --git a/node/network/dispute-distribution/src/tests/mod.rs b/node/network/dispute-distribution/src/tests/mod.rs index 56cdd467fd62..d6381239965b 100644 --- a/node/network/dispute-distribution/src/tests/mod.rs +++ b/node/network/dispute-distribution/src/tests/mod.rs @@ -45,7 +45,7 @@ use polkadot_node_network_protocol::{ request_response::{v1::DisputeResponse, Recipient, Requests}, IfDisconnected, }; -use polkadot_node_primitives::{CandidateVotes, UncheckedDisputeMessage}; +use polkadot_node_primitives::{CandidateVotes, DisputeStatus, UncheckedDisputeMessage}; use polkadot_node_subsystem::{ messages::{ AllMessages, DisputeCoordinatorMessage, DisputeDistributionMessage, ImportStatementsResult, @@ -658,7 +658,7 @@ fn dispute_retries_and_works_across_session_boundaries() { Some(old_head), MOCK_SESSION_INDEX, None, - vec![(MOCK_SESSION_INDEX, candidate.hash())], + vec![(MOCK_SESSION_INDEX, candidate.hash(), DisputeStatus::Active)], ) .await; @@ -673,7 +673,7 @@ fn dispute_retries_and_works_across_session_boundaries() { Some(old_head2), MOCK_NEXT_SESSION_INDEX, Some(MOCK_NEXT_SESSION_INFO.clone()), - vec![(MOCK_SESSION_INDEX, candidate.hash())], + vec![(MOCK_SESSION_INDEX, candidate.hash(), DisputeStatus::Active)], ) .await; @@ -832,7 +832,7 @@ async fn activate_leaf( // New session if we expect the subsystem to request it. new_session: Option, // Currently active disputes to send to the subsystem. - active_disputes: Vec<(SessionIndex, CandidateHash)>, + active_disputes: Vec<(SessionIndex, CandidateHash, DisputeStatus)>, ) { let has_active_disputes = !active_disputes.is_empty(); handle @@ -934,7 +934,10 @@ async fn handle_subsystem_startup( None, MOCK_SESSION_INDEX, Some(MOCK_SESSION_INFO.clone()), - ongoing_dispute.into_iter().map(|c| (MOCK_SESSION_INDEX, c)).collect(), + ongoing_dispute + .into_iter() + .map(|c| (MOCK_SESSION_INDEX, c, DisputeStatus::Active)) + .collect(), ) .await; relay_parent diff --git a/node/subsystem-types/src/messages.rs b/node/subsystem-types/src/messages.rs index 6e4983813984..cb7caebcaa23 100644 --- a/node/subsystem-types/src/messages.rs +++ b/node/subsystem-types/src/messages.rs @@ -268,13 +268,13 @@ pub enum DisputeCoordinatorMessage { /// - or the imported statements are backing/approval votes, which are always accepted. pending_confirmation: Option>, }, - /// Fetch a list of all recent disputes the co-ordinator is aware of. + /// Fetch a list of all recent disputes the coordinator is aware of. /// These are disputes which have occurred any time in recent sessions, /// and which may have already concluded. RecentDisputes(oneshot::Sender>), /// Fetch a list of all active disputes that the coordinator is aware of. /// These disputes are either not yet concluded or recently concluded. - ActiveDisputes(oneshot::Sender>), + ActiveDisputes(oneshot::Sender>), /// Get candidate votes for a candidate. QueryCandidateVotes( Vec<(SessionIndex, CandidateHash)>, From ce9a3e3ec8ae24d00d73e52f3a67833fac34eef1 Mon Sep 17 00:00:00 2001 From: Kutsal Kaan Bilgin Date: Thu, 17 Nov 2022 14:22:25 +0300 Subject: [PATCH 120/211] Add Helikon boot nodes for Polkadot, Kusama and Westend. (#6240) --- node/service/chain-specs/kusama.json | 4 +++- node/service/chain-specs/polkadot.json | 4 +++- node/service/chain-specs/westend.json | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/node/service/chain-specs/kusama.json b/node/service/chain-specs/kusama.json index 5d369a723dfb..3cc515f50be1 100644 --- a/node/service/chain-specs/kusama.json +++ b/node/service/chain-specs/kusama.json @@ -21,7 +21,9 @@ "/dns/kusama-bootnode-1.paritytech.net/tcp/30333/p2p/12D3KooWQKqane1SqWJNWMQkbia9qiMWXkcHtAdfW5eVF8hbwEDw", "/dns/kusama-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWFj2ndawdYyk2spc42Y2arYwb2TUoHLHFAsKuHRzWXwoJ", "/dns/boot.stake.plus/tcp/31333/p2p/12D3KooWLa1UyG5xLPds2GbiRBCTJjpsVwRWHWN7Dff14yiNJRpR", - "/dns/boot.stake.plus/tcp/31334/wss/p2p/12D3KooWLa1UyG5xLPds2GbiRBCTJjpsVwRWHWN7Dff14yiNJRpR" + "/dns/boot.stake.plus/tcp/31334/wss/p2p/12D3KooWLa1UyG5xLPds2GbiRBCTJjpsVwRWHWN7Dff14yiNJRpR", + "/dns/boot-node.helikon.io/tcp/7060/p2p/12D3KooWL4KPqfAsPE2aY1g5Zo1CxsDwcdJ7mmAghK7cg6M2fdbD", + "/dns/boot-node.helikon.io/tcp/7062/wss/p2p/12D3KooWL4KPqfAsPE2aY1g5Zo1CxsDwcdJ7mmAghK7cg6M2fdbD" ], "telemetryEndpoints": [ [ diff --git a/node/service/chain-specs/polkadot.json b/node/service/chain-specs/polkadot.json index 1a5ef94987de..0871b24ff2fc 100644 --- a/node/service/chain-specs/polkadot.json +++ b/node/service/chain-specs/polkadot.json @@ -21,7 +21,9 @@ "/dns/cc1-1.parity.tech/tcp/30333/p2p/12D3KooWFN2mhgpkJsDBuNuE5427AcDrsib8EoqGMZmkxWwx3Md4", "/dns/polkadot-bootnode.dwellir.com/tcp/30333/ws/p2p/12D3KooWKvdDyRKqUfSAaUCbYiLwKY8uK3wDWpCuy2FiDLbkPTDJ", "/dns/boot.stake.plus/tcp/30333/p2p/12D3KooWKT4ZHNxXH4icMjdrv7EwWBkfbz5duxE5sdJKKeWFYi5n", - "/dns/boot.stake.plus/tcp/30334/wss/p2p/12D3KooWKT4ZHNxXH4icMjdrv7EwWBkfbz5duxE5sdJKKeWFYi5n" + "/dns/boot.stake.plus/tcp/30334/wss/p2p/12D3KooWKT4ZHNxXH4icMjdrv7EwWBkfbz5duxE5sdJKKeWFYi5n", + "/dns/boot-node.helikon.io/tcp/7070/p2p/12D3KooWS9ZcvRxyzrSf6p63QfTCWs12nLoNKhGux865crgxVA4H", + "/dns/boot-node.helikon.io/tcp/7072/wss/p2p/12D3KooWS9ZcvRxyzrSf6p63QfTCWs12nLoNKhGux865crgxVA4H" ], "telemetryEndpoints": [ [ diff --git a/node/service/chain-specs/westend.json b/node/service/chain-specs/westend.json index 03f1f5ecf6b0..059f5c39b6e2 100644 --- a/node/service/chain-specs/westend.json +++ b/node/service/chain-specs/westend.json @@ -13,7 +13,9 @@ "/dns/westend-connect-0.polkadot.io/tcp/443/wss/p2p/12D3KooWNg8iUqhux7X7voNU9Nty5pzehrFJwkQwg1CJnqN3CTzE", "/dns/westend-connect-1.polkadot.io/tcp/443/wss/p2p/12D3KooWAq2A7UNFS6725XFatD5QW7iYBezTLdAUx1SmRkxN79Ne", "/dns/boot.stake.plus/tcp/32333/p2p/12D3KooWK8fjVoSvMq5copQYMsdYreSGPGgcMbGMgbMDPfpf3sm7", - "/dns/boot.stake.plus/tcp/32334/wss/p2p/12D3KooWK8fjVoSvMq5copQYMsdYreSGPGgcMbGMgbMDPfpf3sm7" + "/dns/boot.stake.plus/tcp/32334/wss/p2p/12D3KooWK8fjVoSvMq5copQYMsdYreSGPGgcMbGMgbMDPfpf3sm7", + "/dns/boot-node.helikon.io/tcp/7080/p2p/12D3KooWRFDPyT8vA8mLzh6dJoyujn4QNjeqi6Ch79eSMz9beKXC", + "/dns/boot-node.helikon.io/tcp/7082/wss/p2p/12D3KooWRFDPyT8vA8mLzh6dJoyujn4QNjeqi6Ch79eSMz9beKXC" ], "telemetryEndpoints": [ [ From 98df65b857c3fef266ea884313b388f36f5d432a Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Thu, 17 Nov 2022 14:59:07 +0200 Subject: [PATCH 121/211] Dedup subsystem name (#6305) Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- node/network/bridge/src/rx/mod.rs | 2 +- node/network/bridge/src/tx/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/network/bridge/src/rx/mod.rs b/node/network/bridge/src/rx/mod.rs index 0cb89b19b0ee..8adbcf857811 100644 --- a/node/network/bridge/src/rx/mod.rs +++ b/node/network/bridge/src/rx/mod.rs @@ -125,7 +125,7 @@ where let future = run_network_in(self, ctx, network_stream) .map_err(|e| SubsystemError::with_origin("network-bridge", e)) .boxed(); - SpawnedSubsystem { name: "network-bridge-subsystem", future } + SpawnedSubsystem { name: "network-bridge-rx-subsystem", future } } } diff --git a/node/network/bridge/src/tx/mod.rs b/node/network/bridge/src/tx/mod.rs index 47f095fdf273..32a0ecaf7510 100644 --- a/node/network/bridge/src/tx/mod.rs +++ b/node/network/bridge/src/tx/mod.rs @@ -90,7 +90,7 @@ where let future = run_network_out(self, ctx) .map_err(|e| SubsystemError::with_origin("network-bridge", e)) .boxed(); - SpawnedSubsystem { name: "network-bridge-subsystem", future } + SpawnedSubsystem { name: "network-bridge-tx-subsystem", future } } } From eed7f407eb133fad39f3053ce626fc973f405522 Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov Date: Thu, 17 Nov 2022 17:41:19 +0200 Subject: [PATCH 122/211] Change best effort queue behaviour in `dispute-coordinator` (#6275) * Change best effort queue behaviour in `dispute-coordinator` Use the same type of queue (`BTreeMap`) for best effort and priority in `dispute-coordinator`. Rework `CandidateComparator` to handle unavailable parent block numbers. Best effort queue will order disputes the same way as priority does - by parent's block height. Disputes on candidates for which the parent's block number can't be obtained will be treated with the lowest priority. * Fix tests: Handle `ChainApiMessage::BlockNumber` in `handle_sync_queries` * Some tests are deadlocking on sending messages via overseer so change `SingleItemSink`to `mpsc::Sender` with a buffer of 1 * Fix a race in test after adding a buffered queue for overseer messages * Fix the rest of the tests * Guide update - best-effort queue * Guide update: clarification about spam votes * Fix tests in `availability-distribution` * Update comments * Add `make_buffered_subsystem_context` in `subsystem-test-helpers` * Code review feedback * Code review feedback * Code review feedback * Don't add best effort candidate if it is already in priority queue * Remove an old comment * Fix insert in best_effort --- .../src/participation/queues/mod.rs | 185 +++++++++--------- .../src/participation/queues/tests.rs | 125 +++++++++--- .../src/participation/tests.rs | 89 ++++++--- node/core/dispute-coordinator/src/tests.rs | 22 ++- .../src/tests/state.rs | 4 +- node/subsystem-test-helpers/src/lib.rs | 19 +- .../src/node/disputes/dispute-coordinator.md | 79 ++++---- 7 files changed, 328 insertions(+), 195 deletions(-) diff --git a/node/core/dispute-coordinator/src/participation/queues/mod.rs b/node/core/dispute-coordinator/src/participation/queues/mod.rs index 3ec217628625..d2fcab1ba258 100644 --- a/node/core/dispute-coordinator/src/participation/queues/mod.rs +++ b/node/core/dispute-coordinator/src/participation/queues/mod.rs @@ -14,10 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::{ - cmp::Ordering, - collections::{BTreeMap, HashMap}, -}; +use std::{cmp::Ordering, collections::BTreeMap}; use futures::channel::oneshot; use polkadot_node_subsystem::{messages::ChainApiMessage, overseer}; @@ -50,25 +47,14 @@ const PRIORITY_QUEUE_SIZE: usize = 20_000; #[cfg(test)] const PRIORITY_QUEUE_SIZE: usize = 2; -/// Type for counting how often a candidate was added to the best effort queue. -type BestEffortCount = u32; - /// Queues for dispute participation. +/// In both queues we have a strict ordering of candidates and participation will +/// happen in that order. Refer to `CandidateComparator` for details on the ordering. pub struct Queues { /// Set of best effort participation requests. - /// - /// Note that as size is limited to `BEST_EFFORT_QUEUE_SIZE` we simply do a linear search for - /// the entry with the highest `added_count` to determine what dispute to participate next in. - /// - /// This mechanism leads to an amplifying effect - the more validators already participated, - /// the more likely it becomes that more validators will participate soon, which should lead to - /// a quick resolution of disputes, even in the best effort queue. - best_effort: HashMap, + best_effort: BTreeMap, /// Priority queue. - /// - /// In the priority queue, we have a strict ordering of candidates and participation will - /// happen in that order. priority: BTreeMap, } @@ -143,14 +129,13 @@ impl ParticipationRequest { impl Queues { /// Create new `Queues`. pub fn new() -> Self { - Self { best_effort: HashMap::new(), priority: BTreeMap::new() } + Self { best_effort: BTreeMap::new(), priority: BTreeMap::new() } } /// Will put message in queue, either priority or best effort depending on priority. /// /// If the message was already previously present on best effort, it will be moved to priority - /// if it considered priority now, otherwise the `added_count` on the best effort queue will be - /// bumped. + /// if it is considered priority now. /// /// Returns error in case a queue was found full already. pub async fn queue( @@ -159,94 +144,76 @@ impl Queues { priority: ParticipationPriority, req: ParticipationRequest, ) -> Result<()> { - let comparator = match priority { - ParticipationPriority::BestEffort => None, - ParticipationPriority::Priority => - CandidateComparator::new(sender, &req.candidate_receipt).await?, - }; - self.queue_with_comparator(comparator, req)?; + let comparator = CandidateComparator::new(sender, &req.candidate_receipt).await?; + + self.queue_with_comparator(comparator, priority, req)?; Ok(()) } - /// Get the next best request for dispute participation - /// - /// if any. Priority queue is always considered first, then the best effort queue based on - /// `added_count`. + /// Get the next best request for dispute participation if any. + /// First the priority queue is considered and then the best effort one. pub fn dequeue(&mut self) -> Option { if let Some(req) = self.pop_priority() { - // In case a candidate became best effort over time, we might have it also queued in - // the best effort queue - get rid of any such entry: - self.best_effort.remove(req.candidate_hash()); - return Some(req) + return Some(req.1) } - self.pop_best_effort() + self.pop_best_effort().map(|d| d.1) } fn queue_with_comparator( &mut self, - comparator: Option, + comparator: CandidateComparator, + priority: ParticipationPriority, req: ParticipationRequest, ) -> std::result::Result<(), QueueError> { - if let Some(comparator) = comparator { + if priority.is_priority() { if self.priority.len() >= PRIORITY_QUEUE_SIZE { return Err(QueueError::PriorityFull) } // Remove any best effort entry: - self.best_effort.remove(&req.candidate_hash); + self.best_effort.remove(&comparator); self.priority.insert(comparator, req); } else { + if self.priority.contains_key(&comparator) { + // The candidate is already in priority queue - don't + // add in in best effort too. + return Ok(()) + } if self.best_effort.len() >= BEST_EFFORT_QUEUE_SIZE { return Err(QueueError::BestEffortFull) } - // Note: The request might have been added to priority in a previous call already, we - // take care of that case in `dequeue` (more efficient). - self.best_effort - .entry(req.candidate_hash) - .or_insert(BestEffortEntry { req, added_count: 0 }) - .added_count += 1; + self.best_effort.insert(comparator, req); } Ok(()) } - /// Get the next best from the best effort queue. - /// - /// If there are multiple best - just pick one. - fn pop_best_effort(&mut self) -> Option { - let best = self.best_effort.iter().reduce(|(hash1, entry1), (hash2, entry2)| { - if entry1.added_count > entry2.added_count { - (hash1, entry1) - } else { - (hash2, entry2) - } - }); - if let Some((best_hash, _)) = best { - let best_hash = best_hash.clone(); - self.best_effort.remove(&best_hash).map(|e| e.req) - } else { - None - } + /// Get best from the best effort queue. + fn pop_best_effort(&mut self) -> Option<(CandidateComparator, ParticipationRequest)> { + return Self::pop_impl(&mut self.best_effort) } /// Get best priority queue entry. - fn pop_priority(&mut self) -> Option { + fn pop_priority(&mut self) -> Option<(CandidateComparator, ParticipationRequest)> { + return Self::pop_impl(&mut self.priority) + } + + // `pop_best_effort` and `pop_priority` do the same but on different `BTreeMap`s. This function has + // the extracted implementation + fn pop_impl( + target: &mut BTreeMap, + ) -> Option<(CandidateComparator, ParticipationRequest)> { // Once https://github.com/rust-lang/rust/issues/62924 is there, we can use a simple: - // priority.pop_first(). - if let Some((comparator, _)) = self.priority.iter().next() { + // target.pop_first(). + if let Some((comparator, _)) = target.iter().next() { let comparator = comparator.clone(); - self.priority.remove(&comparator) + target + .remove(&comparator) + .map(|participation_request| (comparator, participation_request)) } else { None } } } -/// Entry for the best effort queue. -struct BestEffortEntry { - req: ParticipationRequest, - /// How often was the above request added to the queue. - added_count: BestEffortCount, -} - /// `Comparator` for ordering of disputes for candidates. /// /// This `comparator` makes it possible to order disputes based on age and to ensure some fairness @@ -266,9 +233,12 @@ struct BestEffortEntry { #[derive(Copy, Clone)] #[cfg_attr(test, derive(Debug))] struct CandidateComparator { - /// Block number of the relay parent. + /// Block number of the relay parent. It's wrapped in an `Option<>` because there are cases when + /// it can't be obtained. For example when the node is lagging behind and new leaves are received + /// with a slight delay. Candidates with unknown relay parent are treated with the lowest priority. /// - /// Important, so we will be participating in oldest disputes first. + /// The order enforced by `CandidateComparator` is important because we want to participate in + /// the oldest disputes first. /// /// Note: In theory it would make more sense to use the `BlockNumber` of the including /// block, as inclusion time is the actual relevant event when it comes to ordering. The @@ -277,8 +247,10 @@ struct CandidateComparator { /// just using the lowest `BlockNumber` of all available including blocks - the problem is, /// that is not stable. If a new fork appears after the fact, we would start ordering the same /// candidate differently, which would result in the same candidate getting queued twice. - relay_parent_block_number: BlockNumber, - /// By adding the `CandidateHash`, we can guarantee a unique ordering across candidates. + relay_parent_block_number: Option, + /// By adding the `CandidateHash`, we can guarantee a unique ordering across candidates with the + /// same relay parent block number. Candidates without `relay_parent_block_number` are ordered by + /// the `candidate_hash` (and treated with the lowest priority, as already mentioned). candidate_hash: CandidateHash, } @@ -287,33 +259,35 @@ impl CandidateComparator { /// /// Useful for testing. #[cfg(test)] - pub fn new_dummy(block_number: BlockNumber, candidate_hash: CandidateHash) -> Self { + pub fn new_dummy(block_number: Option, candidate_hash: CandidateHash) -> Self { Self { relay_parent_block_number: block_number, candidate_hash } } /// Create a candidate comparator for a given candidate. /// /// Returns: - /// `Ok(None)` in case we could not lookup the candidate's relay parent, returns a - /// `FatalError` in case the chain API call fails with an unexpected error. + /// - `Ok(CandidateComparator{Some(relay_parent_block_number), candidate_hash})` when the + /// relay parent can be obtained. This is the happy case. + /// - `Ok(CandidateComparator{None, candidate_hash})` in case the candidate's relay parent + /// can't be obtained. + /// - `FatalError` in case the chain API call fails with an unexpected error. pub async fn new( sender: &mut impl overseer::DisputeCoordinatorSenderTrait, candidate: &CandidateReceipt, - ) -> FatalResult> { + ) -> FatalResult { let candidate_hash = candidate.hash(); - let n = match get_block_number(sender, candidate.descriptor().relay_parent).await? { - None => { - gum::warn!( - target: LOG_TARGET, - candidate_hash = ?candidate_hash, - "Candidate's relay_parent could not be found via chain API - `CandidateComparator could not be provided!" - ); - return Ok(None) - }, - Some(n) => n, - }; + let n = get_block_number(sender, candidate.descriptor().relay_parent).await?; + + if n.is_none() { + gum::warn!( + target: LOG_TARGET, + candidate_hash = ?candidate_hash, + "Candidate's relay_parent could not be found via chain API - `CandidateComparator` \ + with an empty relay parent block number will be provided!" + ); + } - Ok(Some(CandidateComparator { relay_parent_block_number: n, candidate_hash })) + Ok(CandidateComparator { relay_parent_block_number: n, candidate_hash }) } } @@ -333,11 +307,28 @@ impl PartialOrd for CandidateComparator { impl Ord for CandidateComparator { fn cmp(&self, other: &Self) -> Ordering { - match self.relay_parent_block_number.cmp(&other.relay_parent_block_number) { - Ordering::Equal => (), - o => return o, + return match (self.relay_parent_block_number, other.relay_parent_block_number) { + (None, None) => { + // No relay parents for both -> compare hashes + self.candidate_hash.cmp(&other.candidate_hash) + }, + (Some(self_relay_parent_block_num), Some(other_relay_parent_block_num)) => { + match self_relay_parent_block_num.cmp(&other_relay_parent_block_num) { + // if the relay parent is the same for both -> compare hashes + Ordering::Equal => self.candidate_hash.cmp(&other.candidate_hash), + // if not - return the result from comparing the relay parent block numbers + o => return o, + } + }, + (Some(_), None) => { + // Candidates with known relay parents are always with priority + Ordering::Less + }, + (None, Some(_)) => { + // Ditto + Ordering::Greater + }, } - self.candidate_hash.cmp(&other.candidate_hash) } } diff --git a/node/core/dispute-coordinator/src/participation/queues/tests.rs b/node/core/dispute-coordinator/src/participation/queues/tests.rs index 4e9019ebb499..b6af4bd2b55a 100644 --- a/node/core/dispute-coordinator/src/participation/queues/tests.rs +++ b/node/core/dispute-coordinator/src/participation/queues/tests.rs @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . +use crate::ParticipationPriority; use ::test_helpers::{dummy_candidate_receipt, dummy_hash}; use assert_matches::assert_matches; use polkadot_primitives::v2::{BlockNumber, Hash}; @@ -31,15 +32,16 @@ fn make_participation_request(hash: Hash) -> ParticipationRequest { /// Make dummy comparator for request, based on the given block number. fn make_dummy_comparator( req: &ParticipationRequest, - relay_parent: BlockNumber, + relay_parent: Option, ) -> CandidateComparator { CandidateComparator::new_dummy(relay_parent, *req.candidate_hash()) } /// Check that dequeuing acknowledges order. /// -/// Any priority item will be dequeued before any best effort items, priority items will be -/// processed in order. Best effort items, based on how often they have been added. +/// Any priority item will be dequeued before any best effort items, priority and best effort with +/// known parent block number items will be processed in order. Best effort items without known parent +/// block number should be treated with lowest priority. #[test] fn ordering_works_as_expected() { let mut queue = Queues::new(); @@ -47,36 +49,69 @@ fn ordering_works_as_expected() { let req_prio = make_participation_request(Hash::repeat_byte(0x02)); let req3 = make_participation_request(Hash::repeat_byte(0x03)); let req_prio_2 = make_participation_request(Hash::repeat_byte(0x04)); - let req5 = make_participation_request(Hash::repeat_byte(0x05)); + let req5_unknown_parent = make_participation_request(Hash::repeat_byte(0x05)); let req_full = make_participation_request(Hash::repeat_byte(0x06)); let req_prio_full = make_participation_request(Hash::repeat_byte(0x07)); - queue.queue_with_comparator(None, req1.clone()).unwrap(); queue - .queue_with_comparator(Some(make_dummy_comparator(&req_prio, 1)), req_prio.clone()) + .queue_with_comparator( + make_dummy_comparator(&req1, Some(1)), + ParticipationPriority::BestEffort, + req1.clone(), + ) + .unwrap(); + queue + .queue_with_comparator( + make_dummy_comparator(&req_prio, Some(1)), + ParticipationPriority::Priority, + req_prio.clone(), + ) .unwrap(); - queue.queue_with_comparator(None, req3.clone()).unwrap(); queue - .queue_with_comparator(Some(make_dummy_comparator(&req_prio_2, 2)), req_prio_2.clone()) + .queue_with_comparator( + make_dummy_comparator(&req3, Some(2)), + ParticipationPriority::BestEffort, + req3.clone(), + ) + .unwrap(); + queue + .queue_with_comparator( + make_dummy_comparator(&req_prio_2, Some(2)), + ParticipationPriority::Priority, + req_prio_2.clone(), + ) + .unwrap(); + queue + .queue_with_comparator( + make_dummy_comparator(&req5_unknown_parent, None), + ParticipationPriority::BestEffort, + req5_unknown_parent.clone(), + ) .unwrap(); - queue.queue_with_comparator(None, req3.clone()).unwrap(); - queue.queue_with_comparator(None, req5.clone()).unwrap(); assert_matches!( - queue.queue_with_comparator(Some(make_dummy_comparator(&req_prio_full, 3)), req_prio_full), + queue.queue_with_comparator( + make_dummy_comparator(&req_prio_full, Some(3)), + ParticipationPriority::Priority, + req_prio_full + ), Err(QueueError::PriorityFull) ); - assert_matches!(queue.queue_with_comparator(None, req_full), Err(QueueError::BestEffortFull)); + assert_matches!( + queue.queue_with_comparator( + make_dummy_comparator(&req_full, Some(3)), + ParticipationPriority::BestEffort, + req_full + ), + Err(QueueError::BestEffortFull) + ); + // Prioritized queue is ordered correctly assert_eq!(queue.dequeue(), Some(req_prio)); assert_eq!(queue.dequeue(), Some(req_prio_2)); + // So is the best-effort + assert_eq!(queue.dequeue(), Some(req1)); assert_eq!(queue.dequeue(), Some(req3)); - assert_matches!( - queue.dequeue(), - Some(r) => { assert!(r == req1 || r == req5) } - ); - assert_matches!( - queue.dequeue(), - Some(r) => { assert!(r == req1 || r == req5) } - ); + assert_eq!(queue.dequeue(), Some(req5_unknown_parent)); + assert_matches!(queue.dequeue(), None); } @@ -89,23 +124,50 @@ fn candidate_is_only_dequeued_once() { let req_best_effort_then_prio = make_participation_request(Hash::repeat_byte(0x03)); let req_prio_then_best_effort = make_participation_request(Hash::repeat_byte(0x04)); - queue.queue_with_comparator(None, req1.clone()).unwrap(); queue - .queue_with_comparator(Some(make_dummy_comparator(&req_prio, 1)), req_prio.clone()) + .queue_with_comparator( + make_dummy_comparator(&req1, None), + ParticipationPriority::BestEffort, + req1.clone(), + ) + .unwrap(); + queue + .queue_with_comparator( + make_dummy_comparator(&req_prio, Some(1)), + ParticipationPriority::Priority, + req_prio.clone(), + ) .unwrap(); // Insert same best effort again: - queue.queue_with_comparator(None, req1.clone()).unwrap(); + queue + .queue_with_comparator( + make_dummy_comparator(&req1, None), + ParticipationPriority::BestEffort, + req1.clone(), + ) + .unwrap(); // insert same prio again: queue - .queue_with_comparator(Some(make_dummy_comparator(&req_prio, 1)), req_prio.clone()) + .queue_with_comparator( + make_dummy_comparator(&req_prio, Some(1)), + ParticipationPriority::Priority, + req_prio.clone(), + ) .unwrap(); // Insert first as best effort: - queue.queue_with_comparator(None, req_best_effort_then_prio.clone()).unwrap(); + queue + .queue_with_comparator( + make_dummy_comparator(&req_best_effort_then_prio, Some(2)), + ParticipationPriority::BestEffort, + req_best_effort_then_prio.clone(), + ) + .unwrap(); // Then as prio: queue .queue_with_comparator( - Some(make_dummy_comparator(&req_best_effort_then_prio, 2)), + make_dummy_comparator(&req_best_effort_then_prio, Some(2)), + ParticipationPriority::Priority, req_best_effort_then_prio.clone(), ) .unwrap(); @@ -116,12 +178,19 @@ fn candidate_is_only_dequeued_once() { // Insert first as prio: queue .queue_with_comparator( - Some(make_dummy_comparator(&req_prio_then_best_effort, 3)), + make_dummy_comparator(&req_prio_then_best_effort, Some(3)), + ParticipationPriority::Priority, req_prio_then_best_effort.clone(), ) .unwrap(); // Then as best effort: - queue.queue_with_comparator(None, req_prio_then_best_effort.clone()).unwrap(); + queue + .queue_with_comparator( + make_dummy_comparator(&req_prio_then_best_effort, Some(3)), + ParticipationPriority::BestEffort, + req_prio_then_best_effort.clone(), + ) + .unwrap(); assert_eq!(queue.dequeue(), Some(req_best_effort_then_prio)); assert_eq!(queue.dequeue(), Some(req_prio_then_best_effort)); diff --git a/node/core/dispute-coordinator/src/participation/tests.rs b/node/core/dispute-coordinator/src/participation/tests.rs index 03772b1918dc..bf149a87286f 100644 --- a/node/core/dispute-coordinator/src/participation/tests.rs +++ b/node/core/dispute-coordinator/src/participation/tests.rs @@ -29,7 +29,10 @@ use parity_scale_codec::Encode; use polkadot_node_primitives::{AvailableData, BlockData, InvalidCandidate, PoV}; use polkadot_node_subsystem::{ jaeger, - messages::{AllMessages, DisputeCoordinatorMessage, RuntimeApiMessage, RuntimeApiRequest}, + messages::{ + AllMessages, ChainApiMessage, DisputeCoordinatorMessage, RuntimeApiMessage, + RuntimeApiRequest, + }, ActivatedLeaf, ActiveLeavesUpdate, LeafStatus, SpawnGlue, }; use polkadot_node_subsystem_test_helpers::{ @@ -221,9 +224,9 @@ fn same_req_wont_get_queued_if_participation_is_already_running() { #[test] fn reqs_get_queued_when_out_of_capacity() { - futures::executor::block_on(async { - let (mut ctx, mut ctx_handle) = make_our_subsystem_context(TaskExecutor::new()); + let (mut ctx, mut ctx_handle) = make_our_subsystem_context(TaskExecutor::new()); + let test = async { let (sender, mut worker_receiver) = mpsc::channel(1); let mut participation = Participation::new(sender); activate_leaf(&mut ctx, &mut participation, 10).await.unwrap(); @@ -239,43 +242,81 @@ fn reqs_get_queued_when_out_of_capacity() { } for _ in 0..MAX_PARALLEL_PARTICIPATIONS + 1 { - assert_matches!( - ctx_handle.recv().await, - AllMessages::AvailabilityRecovery( - AvailabilityRecoveryMessage::RecoverAvailableData(_, _, _, tx) - ) => { - tx.send(Err(RecoveryError::Unavailable)).unwrap(); - }, - "overseer did not receive recover available data message", - ); - let result = participation .get_participation_result(&mut ctx, worker_receiver.next().await.unwrap()) .await .unwrap(); - assert_matches!( result.outcome, ParticipationOutcome::Unavailable => {} ); } + // we should not have any further recovery requests: + assert_matches!(worker_receiver.next().timeout(Duration::from_millis(10)).await, None); + }; + + let request_handler = async { + let mut recover_available_data_msg_count = 0; + let mut block_number_msg_count = 0; + + while recover_available_data_msg_count < MAX_PARALLEL_PARTICIPATIONS + 1 || + block_number_msg_count < 1 + { + match ctx_handle.recv().await { + AllMessages::AvailabilityRecovery( + AvailabilityRecoveryMessage::RecoverAvailableData(_, _, _, tx), + ) => { + tx.send(Err(RecoveryError::Unavailable)).unwrap(); + recover_available_data_msg_count += 1; + }, + AllMessages::ChainApi(ChainApiMessage::BlockNumber(_, tx)) => { + tx.send(Ok(None)).unwrap(); + block_number_msg_count += 1; + }, + _ => assert!(false, "Received unexpected message"), + } + } - // we should not have any further results nor recovery requests: + // we should not have any further results assert_matches!(ctx_handle.recv().timeout(Duration::from_millis(10)).await, None); - assert_matches!(worker_receiver.next().timeout(Duration::from_millis(10)).await, None); - }) + }; + + futures::executor::block_on(async { + futures::join!(test, request_handler); + }); } #[test] fn reqs_get_queued_on_no_recent_block() { - futures::executor::block_on(async { - let (mut ctx, mut ctx_handle) = make_our_subsystem_context(TaskExecutor::new()); - + let (mut ctx, mut ctx_handle) = make_our_subsystem_context(TaskExecutor::new()); + let (mut unblock_test, mut wait_for_verification) = mpsc::channel(0); + let test = async { let (sender, _worker_receiver) = mpsc::channel(1); let mut participation = Participation::new(sender); participate(&mut ctx, &mut participation).await.unwrap(); - assert!(ctx_handle.recv().timeout(Duration::from_millis(10)).await.is_none()); + + // We have initiated participation but we'll block `active_leaf` so that we can check that + // the participation is queued in race-free way + let _ = wait_for_verification.next().await.unwrap(); + activate_leaf(&mut ctx, &mut participation, 10).await.unwrap(); + }; + + // Responds to messages from the test and verifies its behaviour + let request_handler = async { + // If we receive `BlockNumber` request this implicitly proves that the participation is queued + assert_matches!( + ctx_handle.recv().await, + AllMessages::ChainApi(ChainApiMessage::BlockNumber(_, tx)) => { + tx.send(Ok(None)).unwrap(); + }, + "overseer did not receive `ChainApiMessage::BlockNumber` message", + ); + + assert!(ctx_handle.recv().timeout(Duration::from_millis(10)).await.is_none()); + + // No activity so the participation is queued => unblock the test + unblock_test.send(()).await.unwrap(); // after activating at least one leaf the recent block // state should be available which should lead to trying @@ -288,7 +329,11 @@ fn reqs_get_queued_on_no_recent_block() { )), "overseer did not receive recover available data message", ); - }) + }; + + futures::executor::block_on(async { + futures::join!(test, request_handler); + }); } #[test] diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index d44f46ec3442..4d32620946e0 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -57,7 +57,9 @@ use polkadot_node_subsystem::{ messages::{AllMessages, BlockDescription, RuntimeApiMessage, RuntimeApiRequest}, ActivatedLeaf, ActiveLeavesUpdate, LeafStatus, }; -use polkadot_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; +use polkadot_node_subsystem_test_helpers::{ + make_buffered_subsystem_context, TestSubsystemContextHandle, +}; use polkadot_primitives::v2::{ ApprovalVote, BlockNumber, CandidateCommitments, CandidateEvent, CandidateHash, CandidateReceipt, CoreIndex, DisputeStatement, GroupIndex, Hash, HeadData, Header, IndexedVec, @@ -382,6 +384,10 @@ impl TestState { ); gum::trace!("After answering runtime API request (votes)"); }, + AllMessages::ChainApi(ChainApiMessage::BlockNumber(hash, tx)) => { + let block_num = self.headers.get(&hash).map(|header| header.number); + tx.send(Ok(block_num)).unwrap(); + }, msg => { panic!("Received unexpected message in `handle_sync_queries`: {:?}", msg); }, @@ -521,7 +527,7 @@ impl TestState { F: FnOnce(TestState, VirtualOverseer) -> BoxFuture<'static, TestState>, { self.known_session = None; - let (ctx, ctx_handle) = make_subsystem_context(TaskExecutor::new()); + let (ctx, ctx_handle) = make_buffered_subsystem_context(TaskExecutor::new(), 1); let subsystem = DisputeCoordinatorSubsystem::new( self.db.clone(), self.config.clone(), @@ -2838,6 +2844,12 @@ fn negative_issue_local_statement_only_triggers_import() { }) .await; + // Assert that subsystem is not participating. + assert!(virtual_overseer.recv().timeout(TEST_TIMEOUT).await.is_none()); + + virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; + assert!(virtual_overseer.try_recv().await.is_none()); + let backend = DbBackend::new( test_state.db.clone(), test_state.config.column_config(), @@ -2851,12 +2863,6 @@ fn negative_issue_local_statement_only_triggers_import() { let disputes = backend.load_recent_disputes().unwrap(); assert_eq!(disputes, None); - // Assert that subsystem is not participating. - assert!(virtual_overseer.recv().timeout(TEST_TIMEOUT).await.is_none()); - - virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; - assert!(virtual_overseer.try_recv().await.is_none()); - test_state }) }); diff --git a/node/network/availability-distribution/src/tests/state.rs b/node/network/availability-distribution/src/tests/state.rs index c021f1bfb81b..be77aa2d023c 100644 --- a/node/network/availability-distribution/src/tests/state.rs +++ b/node/network/availability-distribution/src/tests/state.rs @@ -51,7 +51,7 @@ use polkadot_primitives::v2::{ CandidateHash, CoreState, GroupIndex, Hash, Id as ParaId, ScheduledCore, SessionInfo, ValidatorIndex, }; -use test_helpers::{mock::make_ferdie_keystore, SingleItemSink}; +use test_helpers::mock::make_ferdie_keystore; use super::mock::{make_session_info, OccupiedCoreBuilder}; use crate::LOG_TARGET; @@ -295,7 +295,7 @@ impl TestState { } async fn overseer_signal( - mut tx: SingleItemSink>, + mut tx: mpsc::Sender>, msg: impl Into, ) { let msg = msg.into(); diff --git a/node/subsystem-test-helpers/src/lib.rs b/node/subsystem-test-helpers/src/lib.rs index 79f833b7558c..dd207039091a 100644 --- a/node/subsystem-test-helpers/src/lib.rs +++ b/node/subsystem-test-helpers/src/lib.rs @@ -177,7 +177,7 @@ where /// A test subsystem context. pub struct TestSubsystemContext { tx: TestSubsystemSender, - rx: SingleItemStream>, + rx: mpsc::Receiver>, spawn: S, } @@ -239,7 +239,7 @@ pub struct TestSubsystemContextHandle { /// /// Useful for shared ownership situations (one can have multiple senders, but only one /// receiver. - pub tx: SingleItemSink>, + pub tx: mpsc::Sender>, /// Direct access to the receiver. pub rx: mpsc::UnboundedReceiver, @@ -280,11 +280,22 @@ impl TestSubsystemContextHandle { } } -/// Make a test subsystem context. +/// Make a test subsystem context with `buffer_size == 0`. This is used by most +/// of the tests. pub fn make_subsystem_context( spawner: S, ) -> (TestSubsystemContext>, TestSubsystemContextHandle) { - let (overseer_tx, overseer_rx) = single_item_sink(); + make_buffered_subsystem_context(spawner, 0) +} + +/// Make a test subsystem context with buffered overseer channel. Some tests (e.g. +/// `dispute-coordinator`) create too many parallel operations and deadlock unless +/// the channel is buffered. Usually `buffer_size=1` is enough. +pub fn make_buffered_subsystem_context( + spawner: S, + buffer_size: usize, +) -> (TestSubsystemContext>, TestSubsystemContextHandle) { + let (overseer_tx, overseer_rx) = mpsc::channel(buffer_size); let (all_messages_tx, all_messages_rx) = mpsc::unbounded(); ( diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index 3d44e210db0e..07fc647a711c 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -9,7 +9,7 @@ In particular the dispute-coordinator is responsible for: - Ensuring that the node is able to raise a dispute in case an invalid candidate is found during approval checking. -- Ensuring lazy approval votes (votes given without running the parachain +- Ensuring lazy approval votes (votes given without running the parachain validation function) will be recorded, so lazy nodes can get slashed properly. - Coordinating actual participation in a dispute, ensuring that the node participates in any justified dispute in a way that ensures resolution of @@ -84,18 +84,18 @@ While there is no need to record approval votes in the dispute coordinator preemptively, we do need to make sure they are recorded when a dispute actually happens. This is because only votes recorded by the dispute coordinator will be considered for slashing. It is sufficient for our -threat model that malicious backers are slashed as opposed to both backers and -approval checkers. However, we still must import approval votes from the approvals -process into the disputes process to ensure that lazy approval checkers -actually run the parachain validation function. Slashing lazy approval checkers is necessary, else we risk a useless approvals process where every approval -checker blindly votes valid for every candidate. If we did not import approval -votes, lazy nodes would likely cast a properly checked explicit vote as part -of the dispute in addition to their blind approval vote and thus avoid a slash. -With the 2/3rd honest assumption it seems unrealistic that lazy approval voters -will keep sending unchecked approval votes once they became aware of a raised -dispute. Hence the most crucial approval votes to import are the early ones -(tranche 0), to take into account network latencies and such we still want to -import approval votes at a later point in time as well (in particular we need +threat model that malicious backers are slashed as opposed to both backers and +approval checkers. However, we still must import approval votes from the approvals +process into the disputes process to ensure that lazy approval checkers +actually run the parachain validation function. Slashing lazy approval checkers is necessary, else we risk a useless approvals process where every approval +checker blindly votes valid for every candidate. If we did not import approval +votes, lazy nodes would likely cast a properly checked explicit vote as part +of the dispute in addition to their blind approval vote and thus avoid a slash. +With the 2/3rd honest assumption it seems unrealistic that lazy approval voters +will keep sending unchecked approval votes once they became aware of a raised +dispute. Hence the most crucial approval votes to import are the early ones +(tranche 0), to take into account network latencies and such we still want to +import approval votes at a later point in time as well (in particular we need to make sure the dispute can conclude, but more on that later). As mentioned already previously, importing votes is most efficient when batched. @@ -202,11 +202,11 @@ time participation is faster than approval, a node would do double work. ### Ensuring Chain Import While in the previous section we discussed means for nodes to ensure relevant -votes are recorded so lazy approval checkers get slashed properly, it is crucial -to also discuss the actual chain import. Only if we guarantee that recorded votes -will also get imported on chain (on all potential chains really) we will succeed -in executing slashes. Particularly we need to make sure backing votes end up on -chain consistantly. In contrast recording and slashing lazy approval voters only +votes are recorded so lazy approval checkers get slashed properly, it is crucial +to also discuss the actual chain import. Only if we guarantee that recorded votes +will also get imported on chain (on all potential chains really) we will succeed +in executing slashes. Particularly we need to make sure backing votes end up on +chain consistantly. In contrast recording and slashing lazy approval voters only needs to be likely, not certain. Dispute distribution will make sure all explicit dispute votes get distributed @@ -227,14 +227,14 @@ production in the current set - they might only exist on an already abandoned fork. This means a block producer that just joined the set, might not have seen any of them. -For approvals it is even more tricky and less necessary: Approval voting together -with finalization is a completely off-chain process therefore those protocols -don't care about block production at all. Approval votes only have a guarantee of -being propagated between the nodes that are responsible for finalizing the -concerned blocks. This implies that on an era change the current authority set, -will not necessarily get informed about any approval votes for the previous era. -Hence even if all validators of the previous era successfully recorded all approval -votes in the dispute coordinator, they won't get a chance to put them on chain, +For approvals it is even more tricky and less necessary: Approval voting together +with finalization is a completely off-chain process therefore those protocols +don't care about block production at all. Approval votes only have a guarantee of +being propagated between the nodes that are responsible for finalizing the +concerned blocks. This implies that on an era change the current authority set, +will not necessarily get informed about any approval votes for the previous era. +Hence even if all validators of the previous era successfully recorded all approval +votes in the dispute coordinator, they won't get a chance to put them on chain, hence they won't be considered for slashing. It is important to note, that the essential properties of the system still hold: @@ -359,14 +359,19 @@ times instead of just once to the oldest offender. This is obviously a good idea, in particular it makes it impossible for an attacker to prevent rolling back a very old candidate, by keeping raising disputes for newer candidates. -For candidates we have not seen included, but we have our availability piece -available we put participation on a best-effort queue, which at the moment is -processed on the basis how often we requested participation locally, which -equals the number of times we imported votes for that dispute. The idea is, if -we have not seen the candidate included, but the dispute is valid, other nodes -will have seen it included - so the more votes there are, the more likely it is -a valid dispute and we should implicitly arrive at a similar ordering as the -nodes that are able to sort based on the relay parent block height. +For candidates we have not seen included, but we know are backed (thanks to chain +scraping) or we have seen a dispute with 1/3+1 participation (confirmed dispute) +on them - we put participation on a best-effort queue. It has got the same +ordering as the priority one - by block heights of the relay parent, older blocks +are with priority. There is a possibility not to be able to obtain the block number +of the parent when we are inserting the dispute in the queue. The reason for this +is either the dispute is completely made up or we are out of sync with the other +nodes in terms of last finalized block. The former is very unlikely. If we are +adding a dispute in best-effort it should already be either confirmed or the +candidate is backed. In the latter case we will promote the dispute to the +priority queue once we learn about the new block. NOTE: this is still work in +progress and is tracked by [this issue] +(https://github.com/paritytech/polkadot/issues/5875). #### Import @@ -381,6 +386,12 @@ dispute coordinator level (dispute-distribution also has its own), which is spam slots. For each import, where we don't know whether it might be spam or not we increment a counter for each signing participant of explicit `invalid` votes. +What votes do we treat as a potential spam? A vote will increase a spam slot if +and only if all of the following condidions are satisfied: +* the candidate under dispute is not included on any chain +* the dispute is not confirmed +* we haven't casted a vote for the dispute + The reason this works is because we only need to worry about actual dispute votes. Import of backing votes are already rate limited and concern only real candidates for approval votes a similar argument holds (if they come from From 95468905f7f03289c353c3fe122b6bc96445aa5b Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Thu, 17 Nov 2022 16:42:46 +0100 Subject: [PATCH 123/211] [ci] fix build implementers guide (#6306) * [ci] fix build implementers guide * add comment * rm git fetch from publish-docs --- scripts/ci/gitlab/pipeline/build.yml | 3 +++ scripts/ci/gitlab/pipeline/publish.yml | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index c6fe5916c3b6..e08a9f2b153c 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -168,6 +168,9 @@ build-implementers-guide: - .docker-env - .test-refs - .collect-artifacts-short + # git depth is set on purpose: https://github.com/paritytech/polkadot/issues/6284 + variables: + GIT_DEPTH: 0 script: - apt-get -y update; apt-get install -y graphviz - cargo install mdbook mdbook-mermaid mdbook-linkcheck mdbook-graphviz mdbook-last-changed diff --git a/scripts/ci/gitlab/pipeline/publish.yml b/scripts/ci/gitlab/pipeline/publish.yml index 12e087e188d1..9d638ad7b84a 100644 --- a/scripts/ci/gitlab/pipeline/publish.yml +++ b/scripts/ci/gitlab/pipeline/publish.yml @@ -153,8 +153,6 @@ publish-rustdoc: extends: - .kubernetes-env image: paritytech/tools:latest - variables: - GIT_DEPTH: 100 rules: - if: $CI_PIPELINE_SOURCE == "pipeline" when: never From 80651592e85ef3170c54d8340e01c8be6d41472c Mon Sep 17 00:00:00 2001 From: Koute Date: Fri, 18 Nov 2022 23:39:40 +0900 Subject: [PATCH 124/211] Remove the `wasmtime` feature flag (companion for substrate#12684) (#6268) * Remove the `wasmtime` feature flag * Update `substrate` to the newest `master` * Update `substrate` to the newest `master` --- Cargo.lock | 362 +++++++++++++++++------------------ cli/Cargo.toml | 3 +- node/test/service/Cargo.toml | 2 +- 3 files changed, 183 insertions(+), 184 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e244c01e3c03..65b6d822fc6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -2013,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", ] @@ -2037,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "Inflector", "array-bytes", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2139,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "bitflags", "frame-metadata", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "Inflector", "cfg-expr", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro2", "quote", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2259,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "log", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2303,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "parity-scale-codec", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "chrono", "frame-election-provider-support", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4973,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "anyhow", "jsonrpsee", @@ -5077,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -5110,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5130,7 +5130,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "sp-api", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -5157,7 +5157,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5180,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,7 +5245,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5279,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5316,7 +5316,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -5330,7 +5330,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5364,7 +5364,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "log", "sp-arithmetic", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -5404,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5485,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8007,7 +8007,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "env_logger 0.9.0", "log", @@ -8347,7 +8347,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "log", "sp-core", @@ -8358,7 +8358,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures", @@ -8385,7 +8385,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "futures-timer", @@ -8408,7 +8408,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8424,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8441,7 +8441,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8452,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "chrono", @@ -8492,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "fnv", "futures", @@ -8520,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "hash-db", "kvdb", @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures", @@ -8569,7 +8569,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "fork-tree", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "jsonrpsee", @@ -8632,7 +8632,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures", @@ -8669,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "lazy_static", "lru", @@ -8695,7 +8695,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "environmental", "parity-scale-codec", @@ -8711,7 +8711,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "log", "parity-scale-codec", @@ -8726,7 +8726,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "cfg-if", "libc", @@ -8746,7 +8746,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "ahash", "array-bytes", @@ -8787,7 +8787,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "finality-grandpa", "futures", @@ -8808,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "ansi_term", "futures", @@ -8825,7 +8825,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "async-trait", @@ -8840,7 +8840,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "async-trait", @@ -8887,7 +8887,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "cid", "futures", @@ -8907,7 +8907,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "bitflags", @@ -8933,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "ahash", "futures", @@ -8951,7 +8951,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "futures", @@ -8972,7 +8972,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "fork-tree", @@ -9002,7 +9002,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "futures", @@ -9021,7 +9021,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "bytes", @@ -9051,7 +9051,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "libp2p", @@ -9064,7 +9064,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9073,7 +9073,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "hash-db", @@ -9103,7 +9103,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "jsonrpsee", @@ -9126,7 +9126,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "jsonrpsee", @@ -9139,7 +9139,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "hex", @@ -9158,7 +9158,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "directories", @@ -9229,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "log", "parity-scale-codec", @@ -9243,7 +9243,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9262,7 +9262,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "libc", @@ -9281,7 +9281,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "chrono", "futures", @@ -9299,7 +9299,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "ansi_term", "atty", @@ -9330,7 +9330,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9341,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures", @@ -9368,7 +9368,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures", @@ -9382,7 +9382,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "futures-timer", @@ -9863,7 +9863,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "hash-db", "log", @@ -9881,7 +9881,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "blake2", "proc-macro-crate", @@ -9893,7 +9893,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9906,7 +9906,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "integer-sqrt", "num-traits", @@ -9921,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9934,7 +9934,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9946,7 +9946,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9958,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "log", @@ -9976,7 +9976,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures", @@ -9995,7 +9995,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "merlin", @@ -10018,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10032,7 +10032,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10045,7 +10045,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "base58", @@ -10090,7 +10090,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "blake2", "byteorder", @@ -10104,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro2", "quote", @@ -10115,7 +10115,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10124,7 +10124,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro2", "quote", @@ -10134,7 +10134,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "environmental", "parity-scale-codec", @@ -10145,7 +10145,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "finality-grandpa", "log", @@ -10163,7 +10163,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10177,7 +10177,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "bytes", "futures", @@ -10202,8 +10202,8 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +version = "7.0.0" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "lazy_static", "sp-core", @@ -10214,7 +10214,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "thiserror", "zstd", @@ -10240,7 +10240,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "log", "parity-scale-codec", @@ -10257,7 +10257,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "sp-api", "sp-core", @@ -10281,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "backtrace", "lazy_static", @@ -10291,7 +10291,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "rustc-hash", "serde", @@ -10301,7 +10301,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "either", "hash256-std-hasher", @@ -10324,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10342,7 +10342,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "Inflector", "proc-macro-crate", @@ -10354,7 +10354,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "log", "parity-scale-codec", @@ -10368,7 +10368,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10382,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10393,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "hash-db", "log", @@ -10415,12 +10415,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10433,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "futures-timer", @@ -10449,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "sp-std", @@ -10461,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "sp-api", "sp-runtime", @@ -10470,7 +10470,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "log", @@ -10486,7 +10486,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "ahash", "hash-db", @@ -10509,7 +10509,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10526,7 +10526,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10537,7 +10537,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "impl-trait-for-tuples", "log", @@ -10550,7 +10550,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10765,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "platforms", ] @@ -10773,7 +10773,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10794,7 +10794,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures-util", "hyper", @@ -10807,7 +10807,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "async-trait", "jsonrpsee", @@ -10820,7 +10820,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "jsonrpsee", "log", @@ -10841,7 +10841,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "array-bytes", "async-trait", @@ -10867,7 +10867,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10877,7 +10877,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10888,7 +10888,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "ansi_term", "build-helper", @@ -11595,7 +11595,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#108d8eed88e71b5bb676a23fe983174fabf43c35" +source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" dependencies = [ "clap", "frame-try-runtime", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c1fe95795328..13739d396b24 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -43,8 +43,7 @@ sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] -default = ["wasmtime", "db", "cli", "hostperfcheck", "full-node", "trie-memory-tracker", "polkadot-native"] -wasmtime = ["sc-cli/wasmtime"] +default = ["db", "cli", "hostperfcheck", "full-node", "trie-memory-tracker", "polkadot-native"] db = ["service/db"] cli = [ "clap", diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index 87111241b25a..f767bb4ae975 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -48,7 +48,7 @@ sc-network = { git = "https://github.com/paritytech/substrate", branch = "master sc-network-common = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" } -sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = [ "wasmtime" ] } +sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } From 8b9f5808a401dbf995f4f13b5e1a2ccb8df1b7a4 Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Sun, 20 Nov 2022 17:31:06 +0100 Subject: [PATCH 125/211] Add `starts_with` to v0 and v1 MultiLocation (#6311) * add `starts_with` to v0 and v1 MultiLocation * add tests * fmt --- xcm/src/v0/multi_location.rs | 43 ++++++++++++++++++++---- xcm/src/v1/multilocation.rs | 64 ++++++++++++++++++++++++++++++++---- 2 files changed, 95 insertions(+), 12 deletions(-) diff --git a/xcm/src/v0/multi_location.rs b/xcm/src/v0/multi_location.rs index 0491e27d644f..1bf49ad841a6 100644 --- a/xcm/src/v0/multi_location.rs +++ b/xcm/src/v0/multi_location.rs @@ -356,17 +356,30 @@ impl MultiLocation { /// # } /// ``` pub fn match_and_split(&self, prefix: &MultiLocation) -> Option<&Junction> { - if prefix.len() + 1 != self.len() { + if prefix.len() + 1 != self.len() || !self.starts_with(prefix) { return None } - for i in 0..prefix.len() { - if prefix.at(i) != self.at(i) { - return None - } - } return self.at(prefix.len()) } + /// Returns whether `self` begins with or is equal to `prefix`. + /// + /// # Example + /// ```rust + /// # use xcm::v0::{Junction::*, MultiLocation::*}; + /// let m = X4(Parent, PalletInstance(3), OnlyChild, OnlyChild); + /// assert!(m.starts_with(&X2(Parent, PalletInstance(3)))); + /// assert!(m.starts_with(&m)); + /// assert!(!m.starts_with(&X2(Parent, GeneralIndex(99)))); + /// assert!(!m.starts_with(&X1(PalletInstance(3)))); + /// ``` + pub fn starts_with(&self, prefix: &MultiLocation) -> bool { + if self.len() < prefix.len() { + return false + } + prefix.iter().zip(self.iter()).all(|(l, r)| l == r) + } + /// Mutates `self`, suffixing it with `new`. Returns `Err` in case of overflow. pub fn push(&mut self, new: Junction) -> result::Result<(), ()> { let mut n = MultiLocation::Null; @@ -601,6 +614,24 @@ mod tests { assert_eq!(m.match_and_split(&m), None); } + #[test] + fn starts_with_works() { + let full = X3(Parent, Parachain(1000), AccountIndex64 { network: Any, index: 23 }); + let identity = full.clone(); + let prefix = X2(Parent, Parachain(1000)); + let wrong_parachain = X2(Parent, Parachain(1001)); + let wrong_account = X3(Parent, Parachain(1000), AccountIndex64 { network: Any, index: 24 }); + let no_parents = X1(Parachain(1000)); + let too_many_parents = X3(Parent, Parent, Parachain(1000)); + + assert!(full.starts_with(&identity)); + assert!(full.starts_with(&prefix)); + assert!(!full.starts_with(&wrong_parachain)); + assert!(!full.starts_with(&wrong_account)); + assert!(!full.starts_with(&no_parents)); + assert!(!full.starts_with(&too_many_parents)); + } + #[test] fn append_with_works() { let acc = AccountIndex64 { network: Any, index: 23 }; diff --git a/xcm/src/v1/multilocation.rs b/xcm/src/v1/multilocation.rs index 0c2b2da31698..83cf0095c3b8 100644 --- a/xcm/src/v1/multilocation.rs +++ b/xcm/src/v1/multilocation.rs @@ -253,6 +253,24 @@ impl MultiLocation { self.interior.match_and_split(&prefix.interior) } + /// Returns whether `self` has the same number of parents as `prefix` and its junctions begins + /// with the junctions of `prefix`. + /// + /// # Example + /// ```rust + /// # use xcm::v1::{Junctions::*, Junction::*, MultiLocation}; + /// let m = MultiLocation::new(1, X3(PalletInstance(3), OnlyChild, OnlyChild)); + /// assert!(m.starts_with(&MultiLocation::new(1, X1(PalletInstance(3))))); + /// assert!(!m.starts_with(&MultiLocation::new(1, X1(GeneralIndex(99))))); + /// assert!(!m.starts_with(&MultiLocation::new(0, X1(PalletInstance(3))))); + /// ``` + pub fn starts_with(&self, prefix: &MultiLocation) -> bool { + if self.parents != prefix.parents { + return false + } + self.interior.starts_with(&prefix.interior) + } + /// Mutate `self` so that it is suffixed with `suffix`. /// /// Does not modify `self` and returns `Err` with `suffix` in case of overflow. @@ -801,15 +819,29 @@ impl Junctions { /// # } /// ``` pub fn match_and_split(&self, prefix: &Junctions) -> Option<&Junction> { - if prefix.len() + 1 != self.len() { + if prefix.len() + 1 != self.len() || !self.starts_with(prefix) { return None } - for i in 0..prefix.len() { - if prefix.at(i) != self.at(i) { - return None - } + self.at(prefix.len()) + } + + /// Returns whether `self` begins with or is equal to `prefix`. + /// + /// # Example + /// ```rust + /// # use xcm::v1::{Junctions::*, Junction::*}; + /// let mut j = X3(Parachain(2), PalletInstance(3), OnlyChild); + /// assert!(j.starts_with(&X2(Parachain(2), PalletInstance(3)))); + /// assert!(j.starts_with(&j)); + /// assert!(j.starts_with(&X1(Parachain(2)))); + /// assert!(!j.starts_with(&X1(Parachain(999)))); + /// assert!(!j.starts_with(&X4(Parachain(2), PalletInstance(3), OnlyChild, OnlyChild))); + /// ``` + pub fn starts_with(&self, prefix: &Junctions) -> bool { + if self.len() < prefix.len() { + return false } - return self.at(prefix.len()) + prefix.iter().zip(self.iter()).all(|(l, r)| l == r) } } @@ -929,6 +961,26 @@ mod tests { assert_eq!(m.match_and_split(&m), None); } + #[test] + fn starts_with_works() { + let full: MultiLocation = + (Parent, Parachain(1000), AccountId32 { network: Any, id: [0; 32] }).into(); + let identity: MultiLocation = full.clone(); + let prefix: MultiLocation = (Parent, Parachain(1000)).into(); + let wrong_parachain: MultiLocation = (Parent, Parachain(1001)).into(); + let wrong_account: MultiLocation = + (Parent, Parachain(1000), AccountId32 { network: Any, id: [1; 32] }).into(); + let no_parents: MultiLocation = (Parachain(1000)).into(); + let too_many_parents: MultiLocation = (Parent, Parent, Parachain(1000)).into(); + + assert!(full.starts_with(&identity)); + assert!(full.starts_with(&prefix)); + assert!(!full.starts_with(&wrong_parachain)); + assert!(!full.starts_with(&wrong_account)); + assert!(!full.starts_with(&no_parents)); + assert!(!full.starts_with(&too_many_parents)); + } + #[test] fn append_with_works() { let acc = AccountIndex64 { network: Any, index: 23 }; From c7e43d6fff83396a545db9a99baa72eb70fc2900 Mon Sep 17 00:00:00 2001 From: Koute Date: Mon, 21 Nov 2022 20:40:47 +0900 Subject: [PATCH 126/211] Extend lower bound of `manage_lease_period_start` from `runtime_common::slots` (#6318) --- runtime/common/src/slots/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/common/src/slots/mod.rs b/runtime/common/src/slots/mod.rs index 673d9f86e1bd..21391dc3d774 100644 --- a/runtime/common/src/slots/mod.rs +++ b/runtime/common/src/slots/mod.rs @@ -1039,8 +1039,8 @@ mod benchmarking { // Worst case scenario, T parathreads onboard, and C parachains offboard. manage_lease_period_start { // Assume reasonable maximum of 100 paras at any time - let c in 1 .. 100; - let t in 1 .. 100; + let c in 0 .. 100; + let t in 0 .. 100; let period_begin = 1u32.into(); let period_count = 4u32.into(); From 3cf644abad63c4a177f0697683b72a64c4706852 Mon Sep 17 00:00:00 2001 From: Aaro Altonen <48052676+altonen@users.noreply.github.com> Date: Tue, 22 Nov 2022 11:04:18 +0200 Subject: [PATCH 127/211] Update async-trait version to v0.1.58 (#6319) * Update async-trait version * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 365 +++++++++++++++++++++++++++-------------------------- 1 file changed, 183 insertions(+), 182 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 65b6d822fc6f..f8c46862ef44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -324,9 +324,9 @@ checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0" [[package]] name = "async-trait" -version = "0.1.57" +version = "0.1.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" +checksum = "1e805d94e6b5001b651426cf4cd446b1ab5f319d27bab5c644f61de0a804360c" dependencies = [ "proc-macro2", "quote", @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -2013,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", ] @@ -2037,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "Inflector", "array-bytes", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2139,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "bitflags", "frame-metadata", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "Inflector", "cfg-expr", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro2", "quote", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2259,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "log", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -2303,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "sp-api", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "parity-scale-codec", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "chrono", "frame-election-provider-support", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -4973,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "anyhow", "jsonrpsee", @@ -5077,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -5110,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5130,7 +5130,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "sp-api", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -5157,7 +5157,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5180,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,7 +5245,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5279,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5316,7 +5316,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -5330,7 +5330,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5364,7 +5364,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "log", "sp-arithmetic", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -5404,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5485,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-benchmarking", "frame-support", @@ -8007,7 +8007,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "env_logger 0.9.0", "log", @@ -8347,7 +8347,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "log", "sp-core", @@ -8358,7 +8358,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures", @@ -8385,7 +8385,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "futures-timer", @@ -8408,7 +8408,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8424,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8441,7 +8441,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8452,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "chrono", @@ -8492,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "fnv", "futures", @@ -8520,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "hash-db", "kvdb", @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures", @@ -8569,7 +8569,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "fork-tree", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "jsonrpsee", @@ -8632,7 +8632,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures", @@ -8669,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "lazy_static", "lru", @@ -8695,7 +8695,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "environmental", "parity-scale-codec", @@ -8711,7 +8711,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "log", "parity-scale-codec", @@ -8726,7 +8726,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "cfg-if", "libc", @@ -8746,7 +8746,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "ahash", "array-bytes", @@ -8787,7 +8787,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "finality-grandpa", "futures", @@ -8808,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "ansi_term", "futures", @@ -8825,7 +8825,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "async-trait", @@ -8840,7 +8840,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "async-trait", @@ -8887,7 +8887,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "cid", "futures", @@ -8907,7 +8907,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "bitflags", @@ -8933,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "ahash", "futures", @@ -8951,7 +8951,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "futures", @@ -8972,9 +8972,10 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", + "async-trait", "fork-tree", "futures", "libp2p", @@ -9002,7 +9003,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "futures", @@ -9021,7 +9022,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "bytes", @@ -9051,7 +9052,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "libp2p", @@ -9064,7 +9065,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9073,7 +9074,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "hash-db", @@ -9103,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "jsonrpsee", @@ -9126,7 +9127,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "jsonrpsee", @@ -9139,7 +9140,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "hex", @@ -9158,7 +9159,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "directories", @@ -9229,7 +9230,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "log", "parity-scale-codec", @@ -9243,7 +9244,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9262,7 +9263,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "libc", @@ -9281,7 +9282,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "chrono", "futures", @@ -9299,7 +9300,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "ansi_term", "atty", @@ -9330,7 +9331,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9341,7 +9342,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures", @@ -9368,7 +9369,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures", @@ -9382,7 +9383,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "futures-timer", @@ -9863,7 +9864,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "hash-db", "log", @@ -9881,7 +9882,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "blake2", "proc-macro-crate", @@ -9893,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -9906,7 +9907,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "integer-sqrt", "num-traits", @@ -9921,7 +9922,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -9934,7 +9935,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "parity-scale-codec", @@ -9946,7 +9947,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "sp-api", @@ -9958,7 +9959,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "log", @@ -9976,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures", @@ -9995,7 +9996,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "merlin", @@ -10018,7 +10019,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -10032,7 +10033,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -10045,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "base58", @@ -10090,7 +10091,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "blake2", "byteorder", @@ -10104,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro2", "quote", @@ -10115,7 +10116,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10124,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro2", "quote", @@ -10134,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "environmental", "parity-scale-codec", @@ -10145,7 +10146,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "finality-grandpa", "log", @@ -10163,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10177,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "bytes", "futures", @@ -10203,7 +10204,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "lazy_static", "sp-core", @@ -10214,7 +10215,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures", @@ -10231,7 +10232,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "thiserror", "zstd", @@ -10240,7 +10241,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "log", "parity-scale-codec", @@ -10257,7 +10258,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -10271,7 +10272,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "sp-api", "sp-core", @@ -10281,7 +10282,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "backtrace", "lazy_static", @@ -10291,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "rustc-hash", "serde", @@ -10301,7 +10302,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "either", "hash256-std-hasher", @@ -10324,7 +10325,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10342,7 +10343,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "Inflector", "proc-macro-crate", @@ -10354,7 +10355,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "log", "parity-scale-codec", @@ -10368,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -10382,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "scale-info", @@ -10393,7 +10394,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "hash-db", "log", @@ -10415,12 +10416,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10433,7 +10434,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "futures-timer", @@ -10449,7 +10450,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "sp-std", @@ -10461,7 +10462,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "sp-api", "sp-runtime", @@ -10470,7 +10471,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "log", @@ -10486,7 +10487,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "ahash", "hash-db", @@ -10509,7 +10510,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10526,7 +10527,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10537,7 +10538,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "impl-trait-for-tuples", "log", @@ -10550,7 +10551,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10765,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "platforms", ] @@ -10773,7 +10774,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10794,7 +10795,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures-util", "hyper", @@ -10807,7 +10808,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "async-trait", "jsonrpsee", @@ -10820,7 +10821,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "jsonrpsee", "log", @@ -10841,7 +10842,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "array-bytes", "async-trait", @@ -10867,7 +10868,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10877,7 +10878,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10888,7 +10889,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "ansi_term", "build-helper", @@ -11595,7 +11596,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#a73a35eaf917f26612f56395325017576ac7ce0f" +source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" dependencies = [ "clap", "frame-try-runtime", From cfb10d484b7a51119056cc70d355acee14bb2b1e Mon Sep 17 00:00:00 2001 From: Marcin S Date: Wed, 23 Nov 2022 08:20:25 -0500 Subject: [PATCH 128/211] Add PVF module documentation (#6293) * Add PVF module documentation TODO (once the PRs land): - [ ] Document executor parametrization. - [ ] Document CPU time measurement of timeouts. * Update node/core/pvf/src/lib.rs Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Clarify meaning of PVF acronym * Move PVF doc to implementer's guide * Clean up implementer's guide a bit * Add page for PVF types * pvf: Better separation between crate docs and implementer's guide * ci: Add "prevalidating" to the dictionary * ig: Remove types/chain.md The types contained therein did not exist and the file was not referenced anywhere. Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> --- node/core/pvf/src/executor_intf.rs | 2 +- node/core/pvf/src/lib.rs | 37 +++++++++++++------ node/core/pvf/src/priority.rs | 2 +- roadmap/implementers-guide/README.md | 5 +++ roadmap/implementers-guide/src/SUMMARY.md | 1 - roadmap/implementers-guide/src/glossary.md | 1 - .../src/node/utility/candidate-validation.md | 35 ++++++++++++++++++ .../src/node/utility/pvf-prechecker.md | 6 +-- .../implementers-guide/src/types/candidate.md | 16 ++++++++ roadmap/implementers-guide/src/types/chain.md | 30 --------------- .../src/types/overseer-protocol.md | 4 +- .../src/types/pvf-prechecking.md | 2 + scripts/ci/gitlab/lingua.dic | 1 + 13 files changed, 91 insertions(+), 51 deletions(-) delete mode 100644 roadmap/implementers-guide/src/types/chain.md diff --git a/node/core/pvf/src/executor_intf.rs b/node/core/pvf/src/executor_intf.rs index 6827fb636eac..bbeb6195e1dc 100644 --- a/node/core/pvf/src/executor_intf.rs +++ b/node/core/pvf/src/executor_intf.rs @@ -96,7 +96,7 @@ pub fn prevalidate(code: &[u8]) -> Result Result, sc_executor_common::error::WasmError> { sc_executor_wasmtime::prepare_runtime_artifact(blob, &CONFIG.semantics) } diff --git a/node/core/pvf/src/lib.rs b/node/core/pvf/src/lib.rs index ef5f31889237..1aabb1100437 100644 --- a/node/core/pvf/src/lib.rs +++ b/node/core/pvf/src/lib.rs @@ -16,18 +16,27 @@ #![warn(missing_docs)] -//! A crate that implements PVF validation host. +//! A crate that implements the PVF validation host. +//! +//! For more background, refer to the Implementer's Guide: [PVF +//! Pre-checking](https://paritytech.github.io/polkadot/book/pvf-prechecking.html) and [Candidate +//! Validation](https://paritytech.github.io/polkadot/book/node/utility/candidate-validation.html#pvf-host). +//! +//! # Entrypoint //! //! This crate provides a simple API. You first [`start`] the validation host, which gives you the //! [handle][`ValidationHost`] and the future you need to poll. //! -//! Then using the handle the client can send two types of requests: +//! Then using the handle the client can send three types of requests: +//! +//! (a) PVF pre-checking. This takes the PVF [code][`Pvf`] and tries to prepare it (verify and +//! compile) in order to pre-check its validity. //! -//! (a) PVF execution. This accepts the PVF [`params`][`polkadot_parachain::primitives::ValidationParams`] +//! (b) PVF execution. This accepts the PVF [`params`][`polkadot_parachain::primitives::ValidationParams`] //! and the PVF [code][`Pvf`], prepares (verifies and compiles) the code, and then executes PVF //! with the `params`. //! -//! (b) Heads up. This request allows to signal that the given PVF may be needed soon and that it +//! (c) Heads up. This request allows to signal that the given PVF may be needed soon and that it //! should be prepared for execution. //! //! The preparation results are cached for some time after they either used or was signaled in heads up. @@ -39,7 +48,7 @@ //! PVF execution requests can specify the [priority][`Priority`] with which the given request should //! be handled. Different priority levels have different effects. This is discussed below. //! -//! Preparation started by a heads up signal always starts in with the background priority. If there +//! Preparation started by a heads up signal always starts with the background priority. If there //! is already a request for that PVF preparation under way the priority is inherited. If after heads //! up, a new PVF execution request comes in with a higher priority, then the original task's priority //! will be adjusted to match the new one if it's larger. @@ -48,6 +57,8 @@ //! //! # Under the hood //! +//! ## The flow +//! //! Under the hood, the validation host is built using a bunch of communicating processes, not //! dissimilar to actors. Each of such "processes" is a future task that contains an event loop that //! processes incoming messages, potentially delegating sub-tasks to other "processes". @@ -55,11 +66,13 @@ //! Two of these processes are queues. The first one is for preparation jobs and the second one is for //! execution. Both of the queues are backed by separate pools of workers of different kind. //! -//! Preparation workers handle preparation requests by preverifying and instrumenting PVF wasm code, +//! Preparation workers handle preparation requests by prevalidating and instrumenting PVF wasm code, //! and then passing it into the compiler, to prepare the artifact. //! -//! Artifact is a final product of preparation. If the preparation succeeded, then the artifact will -//! contain the compiled code usable for quick execution by a worker later on. +//! ## Artifacts +//! +//! An artifact is the final product of preparation. If the preparation succeeded, then the artifact +//! will contain the compiled code usable for quick execution by a worker later on. //! //! If the preparation failed, then the worker will still write the artifact with the error message. //! We save the artifact with the error so that we don't try to prepare the artifacts that are broken @@ -68,12 +81,14 @@ //! The artifact is saved on disk and is also tracked by an in memory table. This in memory table //! doesn't contain the artifact contents though, only a flag that the given artifact is compiled. //! +//! A pruning task will run at a fixed interval of time. This task will remove all artifacts that +//! weren't used or received a heads up signal for a while. +//! +//! ## Execution +//! //! The execute workers will be fed by the requests from the execution queue, which is basically a //! combination of a path to the compiled artifact and the //! [`params`][`polkadot_parachain::primitives::ValidationParams`]. -//! -//! Each fixed interval of time a pruning task will run. This task will remove all artifacts that -//! weren't used or received a heads up signal for a while. mod artifacts; mod error; diff --git a/node/core/pvf/src/priority.rs b/node/core/pvf/src/priority.rs index de169be0696b..b80c9195832a 100644 --- a/node/core/pvf/src/priority.rs +++ b/node/core/pvf/src/priority.rs @@ -24,7 +24,7 @@ pub enum Priority { Normal, /// This priority is used for requests that are required to be processed as soon as possible. /// - /// For example, backing is on critical path and require execution as soon as possible. + /// For example, backing is on a critical path and requires execution as soon as possible. Critical, } diff --git a/roadmap/implementers-guide/README.md b/roadmap/implementers-guide/README.md index 7f3f8cef7e63..996041f176bb 100644 --- a/roadmap/implementers-guide/README.md +++ b/roadmap/implementers-guide/README.md @@ -22,6 +22,11 @@ Then install and build the book: ```sh cargo install mdbook mdbook-linkcheck mdbook-graphviz mdbook-mermaid mdbook-last-changed mdbook serve roadmap/implementers-guide +``` + +and in a second terminal window run: + +```sh open http://localhost:3000 ``` diff --git a/roadmap/implementers-guide/src/SUMMARY.md b/roadmap/implementers-guide/src/SUMMARY.md index bcf87aad8a49..c504b9ac1923 100644 --- a/roadmap/implementers-guide/src/SUMMARY.md +++ b/roadmap/implementers-guide/src/SUMMARY.md @@ -75,7 +75,6 @@ - [Availability](types/availability.md) - [Overseer and Subsystem Protocol](types/overseer-protocol.md) - [Runtime](types/runtime.md) - - [Chain](types/chain.md) - [Messages](types/messages.md) - [Network](types/network.md) - [Approvals](types/approval.md) diff --git a/roadmap/implementers-guide/src/glossary.md b/roadmap/implementers-guide/src/glossary.md index 8612d8834cb8..ed6a358be6da 100644 --- a/roadmap/implementers-guide/src/glossary.md +++ b/roadmap/implementers-guide/src/glossary.md @@ -48,4 +48,3 @@ exactly one downward message queue. Also of use is the [Substrate Glossary](https://substrate.dev/docs/en/knowledgebase/getting-started/glossary). [0]: https://wiki.polkadot.network/docs/learn-consensus -[1]: #pvf diff --git a/roadmap/implementers-guide/src/node/utility/candidate-validation.md b/roadmap/implementers-guide/src/node/utility/candidate-validation.md index 5393368c5c6b..07d7c09bf2f2 100644 --- a/roadmap/implementers-guide/src/node/utility/candidate-validation.md +++ b/roadmap/implementers-guide/src/node/utility/candidate-validation.md @@ -48,4 +48,39 @@ Once we have all parameters, we can spin up a background task to perform the val If we can assume the presence of the relay-chain state (that is, during processing [`CandidateValidationMessage`][CVM]`::ValidateFromChainState`) we can run all the checks that the relay-chain would run at the inclusion time thus confirming that the candidate will be accepted. +### PVF Host + +The PVF host is responsible for handling requests to prepare and execute PVF +code blobs. + +One high-level goal is to make PVF operations as deterministic as possible, to +reduce the rate of disputes. Disputes can happen due to e.g. a job timing out on +one machine, but not another. While we do not yet have full determinism, there +are some dispute reduction mechanisms in place right now. + +#### Retrying execution requests + +If the execution request fails during **preparation**, we will retry if it is +possible that the preparation error was transient (e.g. if the error was a panic +or time out). We will only retry preparation if another request comes in after +15 minutes, to ensure any potential transient conditions had time to be +resolved. We will retry up to 5 times. + +If the actual **execution** of the artifact fails, we will retry once if it was +an ambiguous error after a 1 second delay, to allow any potential transient +conditions to clear. + +#### Preparation timeouts + +We use timeouts for both preparation and execution jobs to limit the amount of +time they can take. As the time for a job can vary depending on the machine and +load on the machine, this can potentially lead to disputes where some validators +successfuly execute a PVF and others don't. + +One mitigation we have in place is a more lenient timeout for preparation during +execution than during pre-checking. The rationale is that the PVF has already +passed pre-checking, so we know it should be valid, and we allow it to take +longer than expected, as this is likely due to an issue with the machine and not +the PVF. + [CVM]: ../../types/overseer-protocol.md#validationrequesttype diff --git a/roadmap/implementers-guide/src/node/utility/pvf-prechecker.md b/roadmap/implementers-guide/src/node/utility/pvf-prechecker.md index b0f58346da99..fd75ce9e3804 100644 --- a/roadmap/implementers-guide/src/node/utility/pvf-prechecker.md +++ b/roadmap/implementers-guide/src/node/utility/pvf-prechecker.md @@ -12,11 +12,11 @@ This subsytem does not produce any output messages either. The subsystem will, h If the node is running in a collator mode, this subsystem will be disabled. The PVF pre-checker subsystem keeps track of the PVFs that are relevant for the subsystem. -To be relevant for the subsystem, a PVF must be returned by `pvfs_require_precheck` [`pvfs_require_precheck` runtime API][PVF pre-checking runtime API] in any of the active leaves. If the PVF is not present in any of the active leaves, it ceases to be relevant. +To be relevant for the subsystem, a PVF must be returned by the [`pvfs_require_precheck` runtime API][PVF pre-checking runtime API] in any of the active leaves. If the PVF is not present in any of the active leaves, it ceases to be relevant. When a PVF just becomes relevant, the subsystem will send a message to the [Candidate Validation] subsystem asking for the pre-check. -Upon receving a message from the candidate-validation subsystem, the pre-checker will note down that the PVF has its judgement and will also sign and submit a [`PvfCheckStatement`] via the [`submit_pvf_check_statement` runtime API][PVF pre-checking runtime API]. In case, a judgement was received for a PVF that is no longer in view it is ignored. It is possible that the candidate validation was not able to check the PVF. In that case, the PVF pre-checker will abstain and won't submit any check statements. +Upon receving a message from the candidate-validation subsystem, the pre-checker will note down that the PVF has its judgement and will also sign and submit a [`PvfCheckStatement`][PvfCheckStatement] via the [`submit_pvf_check_statement` runtime API][PVF pre-checking runtime API]. In case, a judgement was received for a PVF that is no longer in view it is ignored. It is possible that the candidate validation was not able to check the PVF. In that case, the PVF pre-checker will abstain and won't submit any check statements. Since a vote only is valid during [one session][overview], the subsystem will have to resign and submit the statements for for the new session. The new session is assumed to be started if at least one of the leaves has a greater session index that was previously observed in any of the leaves. @@ -28,4 +28,4 @@ If the node is not in the active validator set, it will still perform all the ch [Runtime API]: runtime-api.md [PVF pre-checking runtime API]: ../../runtime-api/pvf-prechecking.md [Candidate Validation]: candidate-validation.md -[`PvfCheckStatement`]: ../../types/pvf-prechecking.md +[PvfCheckStatement]: ../../types/pvf-prechecking.md#pvfcheckstatement diff --git a/roadmap/implementers-guide/src/types/candidate.md b/roadmap/implementers-guide/src/types/candidate.md index b9d5900b7f17..baad5b07e6cd 100644 --- a/roadmap/implementers-guide/src/types/candidate.md +++ b/roadmap/implementers-guide/src/types/candidate.md @@ -92,6 +92,22 @@ struct CandidateDescriptor { } ``` +## `ValidationParams` + +```rust +/// Validation parameters for evaluating the parachain validity function. +pub struct ValidationParams { + /// Previous head-data. + pub parent_head: HeadData, + /// The collation body. + pub block_data: BlockData, + /// The current relay-chain block number. + pub relay_parent_number: RelayChainBlockNumber, + /// The relay-chain block's storage root. + pub relay_parent_storage_root: Hash, +} +``` + ## `PersistedValidationData` The validation data provides information about how to create the inputs for validation of a candidate. This information is derived from the chain state and will vary from para to para, although some of the fields may be the same for every para. diff --git a/roadmap/implementers-guide/src/types/chain.md b/roadmap/implementers-guide/src/types/chain.md deleted file mode 100644 index e8ec6cea8f4a..000000000000 --- a/roadmap/implementers-guide/src/types/chain.md +++ /dev/null @@ -1,30 +0,0 @@ -# Chain - -Types pertaining to the relay-chain - events, structures, etc. - -## Block Import Event - -```rust -/// Indicates that a new block has been added to the blockchain. -struct BlockImportEvent { - /// The block header-hash. - hash: Hash, - /// The header itself. - header: Header, - /// Whether this block is considered the head of the best chain according to the - /// event emitter's fork-choice rule. - new_best: bool, -} -``` - -## Block Finalization Event - -```rust -/// Indicates that a new block has been finalized. -struct BlockFinalizationEvent { - /// The block header-hash. - hash: Hash, - /// The header of the finalized block. - header: Header, -} -``` diff --git a/roadmap/implementers-guide/src/types/overseer-protocol.md b/roadmap/implementers-guide/src/types/overseer-protocol.md index 4b9dc97c27e2..ad66d0132788 100644 --- a/roadmap/implementers-guide/src/types/overseer-protocol.md +++ b/roadmap/implementers-guide/src/types/overseer-protocol.md @@ -681,9 +681,7 @@ enum ProvisionerMessage { The Runtime API subsystem is responsible for providing an interface to the state of the chain's runtime. -This is fueled by an auxiliary type encapsulating all request types defined in the Runtime API section of the guide. - -> To do: link to the Runtime API section. Not possible currently because of https://github.com/Michael-F-Bryan/mdbook-linkcheck/issues/25. Once v0.7.1 is released it will work. +This is fueled by an auxiliary type encapsulating all request types defined in the [Runtime API section](../runtime-api) of the guide. ```rust enum RuntimeApiRequest { diff --git a/roadmap/implementers-guide/src/types/pvf-prechecking.md b/roadmap/implementers-guide/src/types/pvf-prechecking.md index 331429bd1fc5..f68f1e60feee 100644 --- a/roadmap/implementers-guide/src/types/pvf-prechecking.md +++ b/roadmap/implementers-guide/src/types/pvf-prechecking.md @@ -1,5 +1,7 @@ # PVF Pre-checking types +## `PvfCheckStatement` + > ⚠️ This type was added in v2. One of the main units of information on which PVF pre-checking voting is build is the `PvfCheckStatement`. diff --git a/scripts/ci/gitlab/lingua.dic b/scripts/ci/gitlab/lingua.dic index 3a19233a8fb9..a2f64af1cbd6 100644 --- a/scripts/ci/gitlab/lingua.dic +++ b/scripts/ci/gitlab/lingua.dic @@ -209,6 +209,7 @@ preconfigured preimage/MS preopen prepend/G +prevalidating prevalidation preverify/G programmatically From b5e498c67212ed405bbbfa1c29bf1269c3edb9eb Mon Sep 17 00:00:00 2001 From: eskimor Date: Wed, 23 Nov 2022 16:43:30 +0100 Subject: [PATCH 129/211] Rate limit improvements (#6315) * We actually don't need to rate limit redundant requests. Those redundant requests should not actually happen, but still. * Add some logging. * Also log message when the receiving side hit the rate limit. * Update node/network/dispute-distribution/src/sender/mod.rs Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Co-authored-by: eskimor Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> --- .../dispute-distribution/src/receiver/mod.rs | 6 ++++++ .../dispute-distribution/src/sender/mod.rs | 18 ++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/node/network/dispute-distribution/src/receiver/mod.rs b/node/network/dispute-distribution/src/receiver/mod.rs index 158c66e20655..9030fc0b3f96 100644 --- a/node/network/dispute-distribution/src/receiver/mod.rs +++ b/node/network/dispute-distribution/src/receiver/mod.rs @@ -302,6 +302,12 @@ where // Queue request: if let Err((authority_id, req)) = self.peer_queues.push_req(authority_id, req) { + gum::debug!( + target: LOG_TARGET, + ?authority_id, + ?peer, + "Peer hit the rate limit - dropping message." + ); req.send_outgoing_response(OutgoingResponse { result: Err(()), reputation_changes: vec![COST_APPARENT_FLOOD], diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index 64299e52bf23..b25561df5652 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -108,8 +108,6 @@ impl DisputeSender { runtime: &mut RuntimeInfo, msg: DisputeMessage, ) -> Result<()> { - self.rate_limit.limit().await; - let req: DisputeRequest = msg.into(); let candidate_hash = req.0.candidate_receipt.hash(); match self.disputes.entry(candidate_hash) { @@ -118,6 +116,8 @@ impl DisputeSender { return Ok(()) }, Entry::Vacant(vacant) => { + self.rate_limit.limit("in start_sender", candidate_hash).await; + let send_task = SendTask::new( ctx, runtime, @@ -169,10 +169,12 @@ impl DisputeSender { // Iterates in order of insertion: let mut should_rate_limit = true; - for dispute in self.disputes.values_mut() { + for (candidate_hash, dispute) in self.disputes.iter_mut() { if have_new_sessions || dispute.has_failed_sends() { if should_rate_limit { - self.rate_limit.limit().await; + self.rate_limit + .limit("while going through new sessions/failed sends", *candidate_hash) + .await; } let sends_happened = dispute .refresh_sends(ctx, runtime, &self.active_sessions, &self.metrics) @@ -193,7 +195,7 @@ impl DisputeSender { // recovered at startup will be relatively "old" anyway and we assume that no more than a // third of the validators will go offline at any point in time anyway. for dispute in unknown_disputes { - self.rate_limit.limit().await; + self.rate_limit.limit("while going through unknown disputes", dispute.1).await; self.start_send_for_dispute(ctx, runtime, dispute).await?; } Ok(()) @@ -383,7 +385,9 @@ impl RateLimit { } /// Wait until ready and prepare for next call. - async fn limit(&mut self) { + /// + /// String given as occasion and candidate hash are logged in case the rate limit hit. + async fn limit(&mut self, occasion: &'static str, candidate_hash: CandidateHash) { // Wait for rate limit and add some logging: poll_fn(|cx| { let old_limit = Pin::new(&mut self.limit); @@ -391,6 +395,8 @@ impl RateLimit { Poll::Pending => { gum::debug!( target: LOG_TARGET, + ?occasion, + ?candidate_hash, "Sending rate limit hit, slowing down requests" ); Poll::Pending From e1cd7cec7a7bf4e441ff500fa4137c1cb526dd1e Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Thu, 24 Nov 2022 10:06:07 +0100 Subject: [PATCH 130/211] [ci] fix build-implementers-guide (#6335) * [ci] fix build-implementers-guide * fix user --- scripts/ci/gitlab/pipeline/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index e08a9f2b153c..0a01ea9d8ccd 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -171,14 +171,12 @@ build-implementers-guide: # git depth is set on purpose: https://github.com/paritytech/polkadot/issues/6284 variables: GIT_DEPTH: 0 + CI_IMAGE: paritytech/mdbook-utils:e14aae4a-20221123 script: - - apt-get -y update; apt-get install -y graphviz - - cargo install mdbook mdbook-mermaid mdbook-linkcheck mdbook-graphviz mdbook-last-changed - mdbook build ./roadmap/implementers-guide - mkdir -p artifacts - mv roadmap/implementers-guide/book artifacts/ - # FIXME: remove me after CI image gets nonroot - - chown -R nonroot:nonroot artifacts/ + - ls -la artifacts/ build-short-benchmark: stage: build From ba5dd205222c947dbc6ebe68eaa0d3c32c798516 Mon Sep 17 00:00:00 2001 From: tugy <33746108+tugytur@users.noreply.github.com> Date: Thu, 24 Nov 2022 14:06:48 +0100 Subject: [PATCH 131/211] Added Amforc bootnodes for Polkadot and Kusama (#6077) * add wss and update dns * fix wrong node id --- node/service/chain-specs/kusama.json | 4 +++- node/service/chain-specs/polkadot.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/node/service/chain-specs/kusama.json b/node/service/chain-specs/kusama.json index 3cc515f50be1..581f40aff4d6 100644 --- a/node/service/chain-specs/kusama.json +++ b/node/service/chain-specs/kusama.json @@ -23,7 +23,9 @@ "/dns/boot.stake.plus/tcp/31333/p2p/12D3KooWLa1UyG5xLPds2GbiRBCTJjpsVwRWHWN7Dff14yiNJRpR", "/dns/boot.stake.plus/tcp/31334/wss/p2p/12D3KooWLa1UyG5xLPds2GbiRBCTJjpsVwRWHWN7Dff14yiNJRpR", "/dns/boot-node.helikon.io/tcp/7060/p2p/12D3KooWL4KPqfAsPE2aY1g5Zo1CxsDwcdJ7mmAghK7cg6M2fdbD", - "/dns/boot-node.helikon.io/tcp/7062/wss/p2p/12D3KooWL4KPqfAsPE2aY1g5Zo1CxsDwcdJ7mmAghK7cg6M2fdbD" + "/dns/boot-node.helikon.io/tcp/7062/wss/p2p/12D3KooWL4KPqfAsPE2aY1g5Zo1CxsDwcdJ7mmAghK7cg6M2fdbD", + "/dns/kusama.bootnode.amforc.com/tcp/30333/p2p/12D3KooWLx6nsj6Fpd8biP1VDyuCUjazvRiGWyBam8PsqRJkbUb9", + "/dns/kusama.bootnode.amforc.com/tcp/30334/wss/p2p/12D3KooWLx6nsj6Fpd8biP1VDyuCUjazvRiGWyBam8PsqRJkbUb9" ], "telemetryEndpoints": [ [ diff --git a/node/service/chain-specs/polkadot.json b/node/service/chain-specs/polkadot.json index 0871b24ff2fc..8fc8ac63ba32 100644 --- a/node/service/chain-specs/polkadot.json +++ b/node/service/chain-specs/polkadot.json @@ -23,7 +23,9 @@ "/dns/boot.stake.plus/tcp/30333/p2p/12D3KooWKT4ZHNxXH4icMjdrv7EwWBkfbz5duxE5sdJKKeWFYi5n", "/dns/boot.stake.plus/tcp/30334/wss/p2p/12D3KooWKT4ZHNxXH4icMjdrv7EwWBkfbz5duxE5sdJKKeWFYi5n", "/dns/boot-node.helikon.io/tcp/7070/p2p/12D3KooWS9ZcvRxyzrSf6p63QfTCWs12nLoNKhGux865crgxVA4H", - "/dns/boot-node.helikon.io/tcp/7072/wss/p2p/12D3KooWS9ZcvRxyzrSf6p63QfTCWs12nLoNKhGux865crgxVA4H" + "/dns/boot-node.helikon.io/tcp/7072/wss/p2p/12D3KooWS9ZcvRxyzrSf6p63QfTCWs12nLoNKhGux865crgxVA4H", + "/dns/polkadot.bootnode.amforc.com/tcp/30333/p2p/12D3KooWAsuCEVCzUVUrtib8W82Yne3jgVGhQZN3hizko5FTnDg3", + "/dns/polkadot.bootnode.amforc.com/tcp/30334/wss/p2p/12D3KooWAsuCEVCzUVUrtib8W82Yne3jgVGhQZN3hizko5FTnDg3" ], "telemetryEndpoints": [ [ From 795b20c7150b04759ebddadd419e2f26fa382519 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Thu, 24 Nov 2022 08:06:56 -0500 Subject: [PATCH 132/211] ig: Fix description of execution retry delay (#6342) The delay is 3s and not 1s. I removed the reference to a specific number of seconds as it may be too specific for a high-level description. --- .../implementers-guide/src/node/utility/candidate-validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roadmap/implementers-guide/src/node/utility/candidate-validation.md b/roadmap/implementers-guide/src/node/utility/candidate-validation.md index 07d7c09bf2f2..4e67be069155 100644 --- a/roadmap/implementers-guide/src/node/utility/candidate-validation.md +++ b/roadmap/implementers-guide/src/node/utility/candidate-validation.md @@ -67,7 +67,7 @@ or time out). We will only retry preparation if another request comes in after resolved. We will retry up to 5 times. If the actual **execution** of the artifact fails, we will retry once if it was -an ambiguous error after a 1 second delay, to allow any potential transient +an ambiguous error after a brief delay, to allow any potential transient conditions to clear. #### Preparation timeouts From b4b3fa59bb959a50db1435c9e85eeab16cbdd1b3 Mon Sep 17 00:00:00 2001 From: Sebastian Kunert Date: Sat, 26 Nov 2022 10:22:09 +0100 Subject: [PATCH 133/211] Add support for outbound only configs on request/response protocols (#6343) * Add option ot add outbound_only configurations * Improve comment --- .../protocol/src/request_response/mod.rs | 39 ++++++++++++++----- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/node/network/protocol/src/request_response/mod.rs b/node/network/protocol/src/request_response/mod.rs index d24537e219c7..6ce0c883cc6c 100644 --- a/node/network/protocol/src/request_response/mod.rs +++ b/node/network/protocol/src/request_response/mod.rs @@ -126,6 +126,17 @@ const STATEMENT_RESPONSE_SIZE: u64 = MAX_CODE_SIZE as u64 + 10_000; pub const DISPUTE_REQUEST_TIMEOUT: Duration = Duration::from_secs(12); impl Protocol { + /// Get a configuration for a given Request response protocol. + /// + /// Returns a `ProtocolConfig` for this protocol. + /// Use this if you plan only to send requests for this protocol. + pub fn get_outbound_only_config( + self, + req_protocol_names: &ReqProtocolNames, + ) -> RequestResponseConfig { + self.create_config(req_protocol_names, None) + } + /// Get a configuration for a given Request response protocol. /// /// Returns a receiver for messages received on this protocol and the requested @@ -134,10 +145,19 @@ impl Protocol { self, req_protocol_names: &ReqProtocolNames, ) -> (mpsc::Receiver, RequestResponseConfig) { + let (tx, rx) = mpsc::channel(self.get_channel_size()); + let cfg = self.create_config(req_protocol_names, Some(tx)); + (rx, cfg) + } + + fn create_config( + self, + req_protocol_names: &ReqProtocolNames, + tx: Option>, + ) -> RequestResponseConfig { let name = req_protocol_names.get_name(self); let fallback_names = self.get_fallback_names(); - let (tx, rx) = mpsc::channel(self.get_channel_size()); - let cfg = match self { + match self { Protocol::ChunkFetchingV1 => RequestResponseConfig { name, fallback_names, @@ -145,7 +165,7 @@ impl Protocol { max_response_size: POV_RESPONSE_SIZE as u64 * 3, // We are connected to all validators: request_timeout: CHUNK_REQUEST_TIMEOUT, - inbound_queue: Some(tx), + inbound_queue: tx, }, Protocol::CollationFetchingV1 => RequestResponseConfig { name, @@ -154,7 +174,7 @@ impl Protocol { max_response_size: POV_RESPONSE_SIZE, // Taken from initial implementation in collator protocol: request_timeout: POV_REQUEST_TIMEOUT_CONNECTED, - inbound_queue: Some(tx), + inbound_queue: tx, }, Protocol::PoVFetchingV1 => RequestResponseConfig { name, @@ -162,7 +182,7 @@ impl Protocol { max_request_size: 1_000, max_response_size: POV_RESPONSE_SIZE, request_timeout: POV_REQUEST_TIMEOUT_CONNECTED, - inbound_queue: Some(tx), + inbound_queue: tx, }, Protocol::AvailableDataFetchingV1 => RequestResponseConfig { name, @@ -171,7 +191,7 @@ impl Protocol { // Available data size is dominated by the PoV size. max_response_size: POV_RESPONSE_SIZE, request_timeout: POV_REQUEST_TIMEOUT_CONNECTED, - inbound_queue: Some(tx), + inbound_queue: tx, }, Protocol::StatementFetchingV1 => RequestResponseConfig { name, @@ -189,7 +209,7 @@ impl Protocol { // fail, but this is desired, so we can quickly move on to a faster one - we should // also decrease its reputation. request_timeout: Duration::from_secs(1), - inbound_queue: Some(tx), + inbound_queue: tx, }, Protocol::DisputeSendingV1 => RequestResponseConfig { name, @@ -199,10 +219,9 @@ impl Protocol { /// plenty. max_response_size: 100, request_timeout: DISPUTE_REQUEST_TIMEOUT, - inbound_queue: Some(tx), + inbound_queue: tx, }, - }; - (rx, cfg) + } } // Channel sizes for the supported protocols. From 8549b378e80c70d8637d72e6867c812f099d97ba Mon Sep 17 00:00:00 2001 From: ordian Date: Sun, 27 Nov 2022 15:33:59 +0100 Subject: [PATCH 134/211] cargo update -p sp-io (#6351) --- Cargo.lock | 360 ++++++++++++++++++++++++++--------------------------- 1 file changed, 180 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f8c46862ef44..339f650ad6ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -2013,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", ] @@ -2037,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "Inflector", "array-bytes", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2139,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "bitflags", "frame-metadata", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "Inflector", "cfg-expr", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro2", "quote", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2259,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "log", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -2303,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "sp-api", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "parity-scale-codec", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "chrono", "frame-election-provider-support", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -4973,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "ckb-merkle-mountain-range", "frame-benchmarking", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "anyhow", "jsonrpsee", @@ -5077,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -5110,7 +5110,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5130,7 +5130,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "sp-api", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -5157,7 +5157,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5180,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5197,7 +5197,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5230,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,7 +5245,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5279,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5316,7 +5316,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -5330,7 +5330,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5364,7 +5364,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "log", "sp-arithmetic", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,7 +5390,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -5404,7 +5404,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5422,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5485,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5518,7 +5518,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -5533,7 +5533,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-benchmarking", "frame-support", @@ -8007,7 +8007,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "env_logger 0.9.0", "log", @@ -8347,7 +8347,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "log", "sp-core", @@ -8358,7 +8358,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures", @@ -8385,7 +8385,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "futures-timer", @@ -8408,7 +8408,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8424,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8441,7 +8441,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8452,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "chrono", @@ -8492,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "fnv", "futures", @@ -8520,7 +8520,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "hash-db", "kvdb", @@ -8545,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures", @@ -8569,7 +8569,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "fork-tree", @@ -8610,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "jsonrpsee", @@ -8632,7 +8632,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8645,7 +8645,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures", @@ -8669,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "lazy_static", "lru", @@ -8695,7 +8695,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "environmental", "parity-scale-codec", @@ -8711,7 +8711,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "log", "parity-scale-codec", @@ -8726,7 +8726,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "cfg-if", "libc", @@ -8746,7 +8746,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "ahash", "array-bytes", @@ -8787,7 +8787,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "finality-grandpa", "futures", @@ -8808,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "ansi_term", "futures", @@ -8825,7 +8825,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "async-trait", @@ -8840,7 +8840,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "async-trait", @@ -8887,7 +8887,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "cid", "futures", @@ -8907,7 +8907,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "bitflags", @@ -8933,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "ahash", "futures", @@ -8951,7 +8951,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "futures", @@ -8972,7 +8972,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "async-trait", @@ -9003,7 +9003,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "futures", @@ -9022,7 +9022,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "bytes", @@ -9052,7 +9052,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "libp2p", @@ -9065,7 +9065,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9074,7 +9074,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "hash-db", @@ -9104,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "jsonrpsee", @@ -9127,7 +9127,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "jsonrpsee", @@ -9140,7 +9140,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "hex", @@ -9159,7 +9159,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "directories", @@ -9230,7 +9230,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "log", "parity-scale-codec", @@ -9244,7 +9244,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9263,7 +9263,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "libc", @@ -9282,7 +9282,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "chrono", "futures", @@ -9300,7 +9300,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "ansi_term", "atty", @@ -9331,7 +9331,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9342,7 +9342,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures", @@ -9369,7 +9369,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures", @@ -9383,7 +9383,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "futures-timer", @@ -9864,7 +9864,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "hash-db", "log", @@ -9882,7 +9882,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "blake2", "proc-macro-crate", @@ -9894,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9907,7 +9907,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "integer-sqrt", "num-traits", @@ -9922,7 +9922,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -9935,7 +9935,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "parity-scale-codec", @@ -9947,7 +9947,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "sp-api", @@ -9959,7 +9959,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "log", @@ -9977,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures", @@ -9996,7 +9996,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "merlin", @@ -10019,7 +10019,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10033,7 +10033,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10046,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "base58", @@ -10091,7 +10091,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "blake2", "byteorder", @@ -10105,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro2", "quote", @@ -10116,7 +10116,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10125,7 +10125,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro2", "quote", @@ -10135,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "environmental", "parity-scale-codec", @@ -10146,7 +10146,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "finality-grandpa", "log", @@ -10164,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10178,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "bytes", "futures", @@ -10204,7 +10204,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "lazy_static", "sp-core", @@ -10215,7 +10215,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures", @@ -10232,7 +10232,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "thiserror", "zstd", @@ -10241,7 +10241,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "log", "parity-scale-codec", @@ -10258,7 +10258,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10272,7 +10272,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "sp-api", "sp-core", @@ -10282,7 +10282,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "backtrace", "lazy_static", @@ -10292,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "rustc-hash", "serde", @@ -10302,7 +10302,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "either", "hash256-std-hasher", @@ -10325,7 +10325,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10343,7 +10343,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "Inflector", "proc-macro-crate", @@ -10355,7 +10355,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "log", "parity-scale-codec", @@ -10369,7 +10369,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "scale-info", @@ -10394,7 +10394,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "hash-db", "log", @@ -10416,12 +10416,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10434,7 +10434,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "futures-timer", @@ -10450,7 +10450,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "sp-std", @@ -10462,7 +10462,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "sp-api", "sp-runtime", @@ -10471,7 +10471,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "log", @@ -10487,7 +10487,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "ahash", "hash-db", @@ -10510,7 +10510,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10527,7 +10527,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10538,7 +10538,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "impl-trait-for-tuples", "log", @@ -10551,7 +10551,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10766,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "platforms", ] @@ -10774,7 +10774,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10795,7 +10795,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures-util", "hyper", @@ -10808,7 +10808,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "async-trait", "jsonrpsee", @@ -10821,7 +10821,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "jsonrpsee", "log", @@ -10842,7 +10842,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "array-bytes", "async-trait", @@ -10868,7 +10868,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10878,7 +10878,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10889,7 +10889,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "ansi_term", "build-helper", @@ -11596,7 +11596,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6cb4b6799de6f784f4c42eb01a76a8fa67039a67" +source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" dependencies = [ "clap", "frame-try-runtime", From 728acfb6b6a1127f4ef4e05d3a8e8cc2b3549242 Mon Sep 17 00:00:00 2001 From: "Mattia L.V. Bradascio" <28816406+bredamatt@users.noreply.github.com> Date: Mon, 28 Nov 2022 11:30:27 +0000 Subject: [PATCH 135/211] Add more granularity to prometheus histogram buckets (#6348) * Add buckets below 5ms * Add more specific histogram buckets * Add more specific buckets * cargo fmt --- node/core/av-store/src/metrics.rs | 14 ++++++++++---- node/core/bitfield-signing/src/metrics.rs | 14 ++++++++++---- node/network/approval-distribution/src/metrics.rs | 2 +- 3 files changed, 21 insertions(+), 9 deletions(-) diff --git a/node/core/av-store/src/metrics.rs b/node/core/av-store/src/metrics.rs index c50932c6173e..fedeb2b7d0e5 100644 --- a/node/core/av-store/src/metrics.rs +++ b/node/core/av-store/src/metrics.rs @@ -140,10 +140,16 @@ impl metrics::Metrics for Metrics { registry, )?, get_chunk: prometheus::register( - prometheus::Histogram::with_opts(prometheus::HistogramOpts::new( - "polkadot_parachain_av_store_get_chunk", - "Time spent fetching requested chunks.`", - ))?, + prometheus::Histogram::with_opts( + prometheus::HistogramOpts::new( + "polkadot_parachain_av_store_get_chunk", + "Time spent fetching requested chunks.`", + ) + .buckets(vec![ + 0.000625, 0.00125, 0.0025, 0.005, 0.0075, 0.01, 0.025, 0.05, 0.1, 0.25, + 0.5, 1.0, 2.5, 5.0, 10.0, + ]), + )?, registry, )?, }; diff --git a/node/core/bitfield-signing/src/metrics.rs b/node/core/bitfield-signing/src/metrics.rs index ab4e73be0eeb..571a0c335bd7 100644 --- a/node/core/bitfield-signing/src/metrics.rs +++ b/node/core/bitfield-signing/src/metrics.rs @@ -50,10 +50,16 @@ impl metrics::Metrics for Metrics { registry, )?, run: prometheus::register( - prometheus::Histogram::with_opts(prometheus::HistogramOpts::new( - "polkadot_parachain_bitfield_signing_run", - "Time spent within `bitfield_signing::run`", - ))?, + prometheus::Histogram::with_opts( + prometheus::HistogramOpts::new( + "polkadot_parachain_bitfield_signing_run", + "Time spent within `bitfield_signing::run`", + ) + .buckets(vec![ + 0.000625, 0.00125, 0.0025, 0.005, 0.0075, 0.01, 0.025, 0.05, 0.1, 0.25, + 0.5, 1.0, 2.5, 5.0, 10.0, + ]), + )?, registry, )?, }; diff --git a/node/network/approval-distribution/src/metrics.rs b/node/network/approval-distribution/src/metrics.rs index c0887b25f7f4..b14e54c57403 100644 --- a/node/network/approval-distribution/src/metrics.rs +++ b/node/network/approval-distribution/src/metrics.rs @@ -127,7 +127,7 @@ impl MetricsTrait for Metrics { prometheus::Histogram::with_opts(prometheus::HistogramOpts::new( "polkadot_parachain_time_unify_with_peer", "Time spent within fn `unify_with_peer`.", - ))?, + ).buckets(vec![0.000625, 0.00125,0.0025, 0.005, 0.0075, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0,]))?, registry, )?, time_import_pending_now_known: prometheus::register( From e5602d4d6db81a9b3fcf142f06d8f634c1d0ecf7 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Mon, 28 Nov 2022 10:26:17 -0500 Subject: [PATCH 136/211] Provide some more granular metrics for polkadot_pvf_execution_time (#6346) --- node/core/pvf/src/metrics.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/node/core/pvf/src/metrics.rs b/node/core/pvf/src/metrics.rs index 20965ec7dbd7..8db105d895ea 100644 --- a/node/core/pvf/src/metrics.rs +++ b/node/core/pvf/src/metrics.rs @@ -183,6 +183,9 @@ impl metrics::Metrics for Metrics { ).buckets(vec![ // This is synchronized with `APPROVAL_EXECUTION_TIMEOUT` and // `BACKING_EXECUTION_TIMEOUT` constants in `node/primitives/src/lib.rs` + 0.01, + 0.025, + 0.05, 0.1, 0.25, 0.5, @@ -192,6 +195,9 @@ impl metrics::Metrics for Metrics { 4.0, 5.0, 6.0, + 8.0, + 10.0, + 12.0, ]), )?, registry, From 7538b7674103a4406867f55b089cb8ae0d7f803b Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Mon, 28 Nov 2022 16:31:49 +0100 Subject: [PATCH 137/211] [ci] fix implementer guide job (#6357) * [DNM] debug implementer guide job * remove git depth * change git strategy * add git depth * try k8s runner * fix k8s template * test job * fix test * fix * return pipeline back * enable disabled deploy-parity-testnet --- .gitlab-ci.yml | 28 +++++++++----------------- scripts/ci/gitlab/pipeline/build.yml | 6 ++---- scripts/ci/gitlab/pipeline/publish.yml | 13 ++++++++++-- 3 files changed, 22 insertions(+), 25 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8f70394cd5c..57a76ad2c857 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ variables: GIT_DEPTH: 100 CI_SERVER_NAME: "GitLab CI" CI_IMAGE: "paritytech/ci-linux:production" + BUILDAH_IMAGE: "quay.io/buildah/stable:v1.27" DOCKER_OS: "debian:stretch" ARCH: "x86_64" ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.78" @@ -40,6 +41,13 @@ variables: default: cache: {} + retry: + max: 2 + when: + - runner_system_failure + - unknown_failure + - api_failure + interruptible: true .collect-artifacts: artifacts: @@ -72,25 +80,12 @@ default: dotenv: pipeline-stopper.env .kubernetes-env: - retry: - max: 2 - when: - - runner_system_failure - - unknown_failure - - api_failure - interruptible: true + image: "${CI_IMAGE}" tags: - kubernetes-parity-build .docker-env: image: "${CI_IMAGE}" - retry: - max: 2 - when: - - runner_system_failure - - unknown_failure - - api_failure - interruptible: true tags: - linux-docker @@ -150,9 +145,6 @@ default: - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 .build-push-image: - extends: - - .kubernetes-env - image: quay.io/buildah/stable:v1.27 before_script: - test -s ./artifacts/VERSION || exit 1 - test -s ./artifacts/EXTRATAG || exit 1 @@ -196,8 +188,6 @@ include: # zombienet jobs - scripts/ci/gitlab/pipeline/zombienet.yml - - #### stage: .post deploy-parity-testnet: diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index 0a01ea9d8ccd..1553456a9e7b 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -22,7 +22,6 @@ build-linux-stable: RUN_UI_TESTS: 1 script: - time cargo build --profile testnet --features pyroscope --verbose --bin polkadot - - sccache -s # pack artifacts - mkdir -p ./artifacts - VERSION="${CI_COMMIT_REF_NAME}" # will be tag or branch name @@ -98,7 +97,6 @@ build-malus: - .collect-artifacts script: - time cargo build --profile testnet --verbose -p polkadot-test-malus - - sccache -s # pack artifacts - mkdir -p ./artifacts - mv ./target/testnet/malus ./artifacts/. @@ -165,18 +163,18 @@ build-implementers-guide: - job: test-deterministic-wasm artifacts: false extends: - - .docker-env + - .kubernetes-env - .test-refs - .collect-artifacts-short # git depth is set on purpose: https://github.com/paritytech/polkadot/issues/6284 variables: + GIT_STRATEGY: clone GIT_DEPTH: 0 CI_IMAGE: paritytech/mdbook-utils:e14aae4a-20221123 script: - mdbook build ./roadmap/implementers-guide - mkdir -p artifacts - mv roadmap/implementers-guide/book artifacts/ - - ls -la artifacts/ build-short-benchmark: stage: build diff --git a/scripts/ci/gitlab/pipeline/publish.yml b/scripts/ci/gitlab/pipeline/publish.yml index 9d638ad7b84a..3484fcae336e 100644 --- a/scripts/ci/gitlab/pipeline/publish.yml +++ b/scripts/ci/gitlab/pipeline/publish.yml @@ -7,6 +7,7 @@ publish-polkadot-debug-image: stage: publish extends: + - .kubernetes-env - .build-push-image rules: # Don't run when triggered from another pipeline @@ -18,6 +19,7 @@ publish-polkadot-debug-image: - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 variables: + CI_IMAGE: ${BUILDAH_IMAGE} GIT_STRATEGY: none DOCKER_USER: ${PARITYPR_USER} DOCKER_PASS: ${PARITYPR_PASS} @@ -42,9 +44,11 @@ publish-test-collators-image: # service image for Simnet stage: publish extends: + - .kubernetes-env - .build-push-image - .zombienet-refs variables: + CI_IMAGE: ${BUILDAH_IMAGE} GIT_STRATEGY: none DOCKER_USER: ${PARITYPR_USER} DOCKER_PASS: ${PARITYPR_PASS} @@ -68,9 +72,11 @@ publish-malus-image: # service image for Simnet stage: publish extends: + - .kubernetes-env - .build-push-image - .zombienet-refs variables: + CI_IMAGE: ${BUILDAH_IMAGE} GIT_STRATEGY: none DOCKER_USER: ${PARITYPR_USER} DOCKER_PASS: ${PARITYPR_PASS} @@ -93,9 +99,11 @@ publish-malus-image: publish-staking-miner-image: stage: publish extends: + - .kubernetes-env - .build-push-image - .publish-refs variables: + CI_IMAGE: ${BUILDAH_IMAGE} # scripts/ci/dockerfiles/staking-miner/staking-miner_injected.Dockerfile DOCKERFILE: ci/dockerfiles/staking-miner/staking-miner_injected.Dockerfile IMAGE_NAME: docker.io/paritytech/staking-miner @@ -114,8 +122,8 @@ publish-s3-release: needs: - job: build-linux-stable artifacts: true - image: paritytech/awscli:latest variables: + CI_IMAGE: paritytech/awscli:latest GIT_STRATEGY: none PREFIX: "builds/polkadot/${ARCH}-${DOCKER_OS}" rules: @@ -152,7 +160,8 @@ publish-rustdoc: stage: publish extends: - .kubernetes-env - image: paritytech/tools:latest + variables: + CI_IMAGE: paritytech/tools:latest rules: - if: $CI_PIPELINE_SOURCE == "pipeline" when: never From 1b1bc62e4447ef1d444869c2fc821c70d02d1d00 Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Mon, 28 Nov 2022 18:43:13 +0200 Subject: [PATCH 138/211] dispute-coordinator: fix earliest session checks for pruning and import (#6358) * RollingSession: add fn contains Signed-off-by: Andrei Sandu * handle_import_statements fix ancient dispute check Signed-off-by: Andrei Sandu * work with earliest session instead of latest Signed-off-by: Andrei Sandu * update comment Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- node/core/dispute-coordinator/src/db/v1.rs | 24 +++++++++---------- .../dispute-coordinator/src/initialized.rs | 8 +++---- node/core/dispute-coordinator/src/lib.rs | 4 ++-- .../src/rolling_session_window.rs | 20 ++++++++++++++++ 4 files changed, 38 insertions(+), 18 deletions(-) diff --git a/node/core/dispute-coordinator/src/db/v1.rs b/node/core/dispute-coordinator/src/db/v1.rs index bb1456a59745..ab571108af37 100644 --- a/node/core/dispute-coordinator/src/db/v1.rs +++ b/node/core/dispute-coordinator/src/db/v1.rs @@ -32,7 +32,7 @@ use crate::{ backend::{Backend, BackendWriteOp, OverlayedBackend}, error::{FatalError, FatalResult}, metrics::Metrics, - DISPUTE_WINDOW, LOG_TARGET, + LOG_TARGET, }; const RECENT_DISPUTES_KEY: &[u8; 15] = b"recent-disputes"; @@ -318,25 +318,24 @@ pub(crate) fn load_recent_disputes( /// /// If one or more ancient sessions are pruned, all metadata on candidates within the ancient /// session will be deleted. -pub(crate) fn note_current_session( +pub(crate) fn note_earliest_session( overlay_db: &mut OverlayedBackend<'_, impl Backend>, - current_session: SessionIndex, + new_earliest_session: SessionIndex, ) -> SubsystemResult<()> { - let new_earliest = current_session.saturating_sub(DISPUTE_WINDOW.get()); match overlay_db.load_earliest_session()? { None => { // First launch - write new-earliest. - overlay_db.write_earliest_session(new_earliest); + overlay_db.write_earliest_session(new_earliest_session); }, - Some(prev_earliest) if new_earliest > prev_earliest => { + Some(prev_earliest) if new_earliest_session > prev_earliest => { // Prune all data in the outdated sessions. - overlay_db.write_earliest_session(new_earliest); + overlay_db.write_earliest_session(new_earliest_session); // Clear recent disputes metadata. { let mut recent_disputes = overlay_db.load_recent_disputes()?.unwrap_or_default(); - let lower_bound = (new_earliest, CandidateHash(Hash::repeat_byte(0x00))); + let lower_bound = (new_earliest_session, CandidateHash(Hash::repeat_byte(0x00))); let new_recent_disputes = recent_disputes.split_off(&lower_bound); // Any remanining disputes are considered ancient and must be pruned. @@ -373,6 +372,7 @@ mod tests { use super::*; use ::test_helpers::{dummy_candidate_receipt, dummy_hash}; + use polkadot_node_primitives::DISPUTE_WINDOW; use polkadot_primitives::v2::{Hash, Id as ParaId}; fn make_db() -> DbBackend { @@ -422,7 +422,7 @@ mod tests { let mut overlay_db = OverlayedBackend::new(&backend); gum::trace!(target: LOG_TARGET, ?current_session, "Noting current session"); - note_current_session(&mut overlay_db, current_session).unwrap(); + note_earliest_session(&mut overlay_db, earliest_session).unwrap(); let write_ops = overlay_db.into_write_ops(); backend.write(write_ops).unwrap(); @@ -442,7 +442,7 @@ mod tests { let current_session = current_session + 1; let earliest_session = earliest_session + 1; - note_current_session(&mut overlay_db, current_session).unwrap(); + note_earliest_session(&mut overlay_db, earliest_session).unwrap(); let write_ops = overlay_db.into_write_ops(); backend.write(write_ops).unwrap(); @@ -599,7 +599,7 @@ mod tests { } #[test] - fn note_current_session_prunes_old() { + fn note_earliest_session_prunes_old() { let mut backend = make_db(); let hash_a = CandidateHash(Hash::repeat_byte(0x0a)); @@ -648,7 +648,7 @@ mod tests { backend.write(write_ops).unwrap(); let mut overlay_db = OverlayedBackend::new(&backend); - note_current_session(&mut overlay_db, current_session).unwrap(); + note_earliest_session(&mut overlay_db, new_earliest_session).unwrap(); assert_eq!(overlay_db.load_earliest_session().unwrap(), Some(new_earliest_session)); diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index ab9faca39868..4a2076a225be 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -27,7 +27,7 @@ use sc_keystore::LocalKeystore; use polkadot_node_primitives::{ CandidateVotes, DisputeMessage, DisputeMessageCheckError, DisputeStatus, - SignedDisputeStatement, Timestamp, DISPUTE_WINDOW, + SignedDisputeStatement, Timestamp, }; use polkadot_node_subsystem::{ messages::{ @@ -299,7 +299,7 @@ impl Initialized { self.highest_session = session; - db::v1::note_current_session(overlay_db, session)?; + db::v1::note_earliest_session(overlay_db, new_window_start)?; self.spam_slots.prune_old(new_window_start); } }, @@ -708,8 +708,8 @@ impl Initialized { now: Timestamp, ) -> Result { gum::trace!(target: LOG_TARGET, ?statements, "In handle import statements"); - if session + DISPUTE_WINDOW.get() < self.highest_session { - // It is not valid to participate in an ancient dispute (spam?). + if !self.rolling_session_window.contains(session) { + // It is not valid to participate in an ancient dispute (spam?) or too new. return Ok(ImportStatementsResult::InvalidImport) } diff --git a/node/core/dispute-coordinator/src/lib.rs b/node/core/dispute-coordinator/src/lib.rs index 09d6c621b999..e7ac66ce2ece 100644 --- a/node/core/dispute-coordinator/src/lib.rs +++ b/node/core/dispute-coordinator/src/lib.rs @@ -30,7 +30,7 @@ use futures::FutureExt; use sc_keystore::LocalKeystore; -use polkadot_node_primitives::{CandidateVotes, DISPUTE_WINDOW}; +use polkadot_node_primitives::CandidateVotes; use polkadot_node_subsystem::{ overseer, ActivatedLeaf, FromOrchestra, OverseerSignal, SpawnedSubsystem, SubsystemError, }; @@ -272,7 +272,7 @@ impl DisputeCoordinatorSubsystem { ChainScraper, )> { // Prune obsolete disputes: - db::v1::note_current_session(overlay_db, rolling_session_window.latest_session())?; + db::v1::note_earliest_session(overlay_db, rolling_session_window.earliest_session())?; let active_disputes = match overlay_db.load_recent_disputes() { Ok(Some(disputes)) => diff --git a/node/subsystem-util/src/rolling_session_window.rs b/node/subsystem-util/src/rolling_session_window.rs index beac31292b7d..4ebfad405b5b 100644 --- a/node/subsystem-util/src/rolling_session_window.rs +++ b/node/subsystem-util/src/rolling_session_window.rs @@ -294,6 +294,11 @@ impl RollingSessionWindow { self.earliest_session + (self.session_info.len() as SessionIndex).saturating_sub(1) } + /// Returns `true` if `session_index` is contained in the window. + pub fn contains(&self, session_index: SessionIndex) -> bool { + session_index >= self.earliest_session() && session_index <= self.latest_session() + } + async fn earliest_non_finalized_block_session( sender: &mut Sender, ) -> Result @@ -783,6 +788,21 @@ mod tests { cache_session_info_test(1, 2, Some(window), 2, None); } + #[test] + fn cache_session_window_contains() { + let window = RollingSessionWindow { + earliest_session: 10, + session_info: vec![dummy_session_info(1)], + window_size: SESSION_WINDOW_SIZE, + db_params: Some(dummy_db_params()), + }; + + assert!(!window.contains(0)); + assert!(!window.contains(10 + SESSION_WINDOW_SIZE.get())); + assert!(!window.contains(11)); + assert!(!window.contains(10 + SESSION_WINDOW_SIZE.get() - 1)); + } + #[test] fn cache_session_info_first_late() { cache_session_info_test( From 98d2350cf1058059bf5c218d31d70099596456c7 Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Tue, 29 Nov 2022 15:33:24 +0100 Subject: [PATCH 139/211] remove executed migrations (0.9.33) (#6364) --- runtime/kusama/src/lib.rs | 12 +----------- runtime/polkadot/src/lib.rs | 12 +----------- runtime/rococo/src/lib.rs | 10 +--------- runtime/westend/src/lib.rs | 11 +---------- 4 files changed, 4 insertions(+), 41 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 7ef451e52ea9..7ae5f08f8ecc 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1453,17 +1453,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - ( - // "Bound uses of call" - pallet_preimage::migration::v1::Migration, - pallet_scheduler::migration::v3::MigrateToV4, - pallet_democracy::migrations::v1::Migration, - pallet_multisig::migrations::v1::MigrateToV1, - // "Properly migrate weights to v2" - parachains_configuration::migration::v3::MigrateToV3, - pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, - pallet_fast_unstake::migrations::v1::MigrateToV1, - ), + (), >; /// The payload being signed in the transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 25b142a13be1..5bfb60854db7 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1609,17 +1609,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - ( - // "Bound uses of call" - pallet_preimage::migration::v1::Migration, - pallet_scheduler::migration::v3::MigrateToV4, - pallet_democracy::migrations::v1::Migration, - pallet_multisig::migrations::v1::MigrateToV1, - // "Properly migrate weights to v2" - parachains_configuration::migration::v3::MigrateToV3, - pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, - pallet_fast_unstake::migrations::v1::MigrateToV1, - ), + (), >; /// The payload being signed in transactions. diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index b230832b7454..647526aedb06 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1456,15 +1456,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - ( - // "Bound uses of call" - pallet_preimage::migration::v1::Migration, - pallet_scheduler::migration::v3::MigrateToV4, - pallet_democracy::migrations::v1::Migration, - pallet_multisig::migrations::v1::MigrateToV1, - // "Properly migrate weights to v2" - parachains_configuration::migration::v3::MigrateToV3, - ), + (), >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index a7930ff06ea6..e44749fd560c 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1222,16 +1222,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - ( - // "Bound uses of call" - pallet_preimage::migration::v1::Migration, - pallet_scheduler::migration::v3::MigrateToV4, - pallet_multisig::migrations::v1::MigrateToV1, - // "Properly migrate weights to v2" - parachains_configuration::migration::v3::MigrateToV3, - pallet_election_provider_multi_phase::migrations::v1::MigrateToV1, - pallet_fast_unstake::migrations::v1::MigrateToV1, - ), + (), >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; From 3f288d36554fb49715eabfe880b5c19e5c59e235 Mon Sep 17 00:00:00 2001 From: Serban Iorga Date: Tue, 29 Nov 2022 17:23:34 +0200 Subject: [PATCH 140/211] Companion for: pallet-mmr: move offchain logic to client-side gadget (#6321) * Spawn MMR gadget when offchain indexing is enabled * companion PR code review changes: 1st iteration * Code review changes: 2nd iteration * update lockfile for {"substrate"} Co-authored-by: acatangiu Co-authored-by: parity-processbot <> --- Cargo.lock | 385 +++++++++++++++++--------------- node/service/Cargo.toml | 2 + node/service/src/lib.rs | 14 ++ runtime/kusama/src/lib.rs | 4 + runtime/polkadot/src/lib.rs | 4 + runtime/rococo/src/lib.rs | 6 +- runtime/test-runtime/src/lib.rs | 4 + runtime/westend/src/lib.rs | 3 + 8 files changed, 240 insertions(+), 182 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 339f650ad6ba..0932cd0f364b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -2013,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", ] @@ -2037,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "Inflector", "array-bytes", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2139,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "bitflags", "frame-metadata", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "Inflector", "cfg-expr", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro2", "quote", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2259,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "log", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -2303,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "sp-api", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "parity-scale-codec", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "chrono", "frame-election-provider-support", @@ -4110,6 +4110,26 @@ dependencies = [ "winapi", ] +[[package]] +name = "mmr-gadget" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +dependencies = [ + "beefy-primitives", + "futures", + "log", + "parity-scale-codec", + "sc-client-api", + "sc-offchain", + "sp-api", + "sp-blockchain", + "sp-consensus", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", +] + [[package]] name = "mockall" version = "0.11.2" @@ -4611,7 +4631,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4645,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4661,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4676,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4720,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4739,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4754,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4770,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4793,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4811,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4830,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4847,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4864,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4906,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4937,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4955,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4950,7 +4970,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -4973,7 +4993,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4989,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,9 +5063,8 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ - "ckb-merkle-mountain-range", "frame-benchmarking", "frame-support", "frame-system", @@ -5061,7 +5080,7 @@ dependencies = [ [[package]] name = "pallet-mmr-rpc" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "anyhow", "jsonrpsee", @@ -5077,7 +5096,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5093,7 +5112,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -5110,7 +5129,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5130,7 +5149,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "sp-api", @@ -5140,7 +5159,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -5157,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5180,7 +5199,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5197,7 +5216,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5231,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5230,7 +5249,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5245,7 +5264,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5263,7 +5282,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5279,7 +5298,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -5300,7 +5319,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5316,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -5330,7 +5349,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5353,7 +5372,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5364,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "log", "sp-arithmetic", @@ -5373,7 +5392,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5390,7 +5409,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -5404,7 +5423,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5422,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5441,7 +5460,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-support", "frame-system", @@ -5457,7 +5476,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5473,7 +5492,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5485,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5521,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5518,7 +5537,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -5533,7 +5552,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-benchmarking", "frame-support", @@ -7094,6 +7113,7 @@ dependencies = [ "kvdb-rocksdb", "log", "lru", + "mmr-gadget", "pallet-babe", "pallet-im-online", "pallet-staking", @@ -7171,6 +7191,7 @@ dependencies = [ "sp-inherents", "sp-io", "sp-keystore", + "sp-mmr-primitives", "sp-offchain", "sp-runtime", "sp-session", @@ -8007,7 +8028,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "env_logger 0.9.0", "log", @@ -8347,7 +8368,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "log", "sp-core", @@ -8358,7 +8379,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures", @@ -8385,7 +8406,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "futures-timer", @@ -8408,7 +8429,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8424,7 +8445,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8441,7 +8462,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8452,7 +8473,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "chrono", @@ -8492,7 +8513,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "fnv", "futures", @@ -8520,7 +8541,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "hash-db", "kvdb", @@ -8545,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures", @@ -8569,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "fork-tree", @@ -8610,7 +8631,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "jsonrpsee", @@ -8632,7 +8653,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8645,7 +8666,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures", @@ -8669,7 +8690,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "lazy_static", "lru", @@ -8695,7 +8716,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "environmental", "parity-scale-codec", @@ -8711,7 +8732,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "log", "parity-scale-codec", @@ -8726,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "cfg-if", "libc", @@ -8746,7 +8767,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "ahash", "array-bytes", @@ -8787,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "finality-grandpa", "futures", @@ -8808,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "ansi_term", "futures", @@ -8825,7 +8846,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "async-trait", @@ -8840,7 +8861,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "async-trait", @@ -8887,7 +8908,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "cid", "futures", @@ -8907,7 +8928,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "bitflags", @@ -8933,7 +8954,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "ahash", "futures", @@ -8951,7 +8972,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "futures", @@ -8972,7 +8993,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "async-trait", @@ -9003,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "futures", @@ -9022,7 +9043,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "bytes", @@ -9052,7 +9073,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "libp2p", @@ -9065,7 +9086,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9074,7 +9095,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "hash-db", @@ -9104,7 +9125,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "jsonrpsee", @@ -9127,7 +9148,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "jsonrpsee", @@ -9140,7 +9161,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "hex", @@ -9159,7 +9180,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "directories", @@ -9230,7 +9251,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "log", "parity-scale-codec", @@ -9244,7 +9265,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9263,7 +9284,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "libc", @@ -9282,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "chrono", "futures", @@ -9300,7 +9321,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "ansi_term", "atty", @@ -9331,7 +9352,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9342,7 +9363,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures", @@ -9369,7 +9390,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures", @@ -9383,7 +9404,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "futures-timer", @@ -9864,7 +9885,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "hash-db", "log", @@ -9882,7 +9903,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "blake2", "proc-macro-crate", @@ -9894,7 +9915,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -9907,7 +9928,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "integer-sqrt", "num-traits", @@ -9922,7 +9943,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -9935,7 +9956,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "parity-scale-codec", @@ -9947,7 +9968,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "sp-api", @@ -9959,7 +9980,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "log", @@ -9977,7 +9998,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures", @@ -9996,7 +10017,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "merlin", @@ -10019,7 +10040,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10033,7 +10054,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10046,7 +10067,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "base58", @@ -10091,7 +10112,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "blake2", "byteorder", @@ -10105,7 +10126,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro2", "quote", @@ -10116,7 +10137,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10125,7 +10146,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro2", "quote", @@ -10135,7 +10156,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "environmental", "parity-scale-codec", @@ -10146,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "finality-grandpa", "log", @@ -10164,7 +10185,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10178,9 +10199,10 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "bytes", + "ed25519-dalek", "futures", "hash-db", "libsecp256k1", @@ -10204,7 +10226,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "lazy_static", "sp-core", @@ -10215,7 +10237,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures", @@ -10232,7 +10254,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "thiserror", "zstd", @@ -10241,8 +10263,9 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ + "ckb-merkle-mountain-range", "log", "parity-scale-codec", "scale-info", @@ -10258,7 +10281,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10272,7 +10295,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "sp-api", "sp-core", @@ -10282,7 +10305,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "backtrace", "lazy_static", @@ -10292,7 +10315,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "rustc-hash", "serde", @@ -10302,7 +10325,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "either", "hash256-std-hasher", @@ -10325,7 +10348,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10343,7 +10366,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "Inflector", "proc-macro-crate", @@ -10355,7 +10378,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "log", "parity-scale-codec", @@ -10369,7 +10392,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10383,7 +10406,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "scale-info", @@ -10394,7 +10417,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "hash-db", "log", @@ -10416,12 +10439,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10434,7 +10457,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "futures-timer", @@ -10450,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "sp-std", @@ -10462,7 +10485,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "sp-api", "sp-runtime", @@ -10471,7 +10494,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "log", @@ -10487,7 +10510,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "ahash", "hash-db", @@ -10510,7 +10533,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10527,7 +10550,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10538,7 +10561,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "impl-trait-for-tuples", "log", @@ -10551,7 +10574,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10766,7 +10789,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "platforms", ] @@ -10774,7 +10797,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10795,7 +10818,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures-util", "hyper", @@ -10808,7 +10831,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "async-trait", "jsonrpsee", @@ -10821,7 +10844,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "jsonrpsee", "log", @@ -10842,7 +10865,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "array-bytes", "async-trait", @@ -10868,7 +10891,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10878,7 +10901,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10889,7 +10912,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "ansi_term", "build-helper", @@ -11596,7 +11619,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#39ef178c439e606e608b4b27d435b45e6692fa0a" +source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index e6e073546a13..007e9deb19da 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -13,6 +13,8 @@ beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = " beefy-gadget = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } +mmr-gadget = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-mmr-primitives = { git = "https://github.com/paritytech/substrate", branch = "master"} sc-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-chain-spec = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 3e535f3bd1f5..e80f085ef2bc 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -95,6 +95,7 @@ pub use polkadot_client::PolkadotExecutorDispatch; pub use chain_spec::{KusamaChainSpec, PolkadotChainSpec, RococoChainSpec, WestendChainSpec}; pub use consensus_common::{block_validation::Chain, Proposal, SelectChain}; +use mmr_gadget::MmrGadget; #[cfg(feature = "full-node")] pub use polkadot_client::{ AbstractClient, Client, ClientHandle, ExecuteWithClient, FullBackend, FullClient, @@ -758,6 +759,7 @@ where { use polkadot_node_network_protocol::request_response::IncomingRequest; + let is_offchain_indexing_enabled = config.offchain_worker.indexing_enabled; let role = config.role.clone(); let force_authoring = config.force_authoring; let backoff_authoring_blocks = { @@ -1219,6 +1221,18 @@ where } else { task_manager.spawn_handle().spawn_blocking("beefy-gadget", None, gadget); } + + if is_offchain_indexing_enabled { + task_manager.spawn_handle().spawn_blocking( + "mmr-gadget", + None, + MmrGadget::start( + client.clone(), + backend.clone(), + sp_mmr_primitives::INDEXING_PREFIX.to_vec(), + ), + ); + } } let config = grandpa::Config { diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 7ae5f08f8ecc..3a4d63ef3372 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1694,6 +1694,10 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } + fn mmr_leaf_count() -> Result { + Err(mmr::Error::PalletNotIncluded) + } + fn generate_proof( _block_numbers: Vec, _best_known_block_number: Option, diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 5bfb60854db7..8e2a8eeb3001 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1851,6 +1851,10 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } + fn mmr_leaf_count() -> Result { + Err(mmr::Error::PalletNotIncluded) + } + fn generate_proof( _block_numbers: Vec, _best_known_block_number: Option, diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 647526aedb06..156448bd5ba3 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1224,7 +1224,7 @@ impl pallet_beefy::Config for Runtime { type MmrHash = ::Output; impl pallet_mmr::Config for Runtime { - const INDEXING_PREFIX: &'static [u8] = b"mmr"; + const INDEXING_PREFIX: &'static [u8] = mmr::INDEXING_PREFIX; type Hashing = Keccak256; type Hash = MmrHash; type OnNewRoot = pallet_beefy_mmr::DepositBeefyDigest; @@ -1715,6 +1715,10 @@ sp_api::impl_runtime_apis! { Ok(Mmr::mmr_root()) } + fn mmr_leaf_count() -> Result { + Ok(Mmr::mmr_leaves()) + } + fn generate_proof( block_numbers: Vec, best_known_block_number: Option, diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 0210f1ecd8b7..e4abb2392727 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -930,6 +930,10 @@ sp_api::impl_runtime_apis! { Err(mmr::Error::PalletNotIncluded) } + fn mmr_leaf_count() -> Result { + Err(mmr::Error::PalletNotIncluded) + } + fn generate_proof( _block_numbers: Vec, _best_known_block_number: Option, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index e44749fd560c..1455cac12246 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1450,7 +1450,10 @@ sp_api::impl_runtime_apis! { impl mmr::MmrApi for Runtime { fn mmr_root() -> Result { + Err(mmr::Error::PalletNotIncluded) + } + fn mmr_leaf_count() -> Result { Err(mmr::Error::PalletNotIncluded) } From d8ae6241aa827f154a03005f22461ccdc4786426 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 29 Nov 2022 10:28:44 -0500 Subject: [PATCH 141/211] Remove `parity-util-mem` from `runtime-api` cache (#6367) --- Cargo.lock | 12 +- node/core/runtime-api/Cargo.toml | 3 +- node/core/runtime-api/src/cache.rs | 256 +++++++++++------------------ 3 files changed, 100 insertions(+), 171 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0932cd0f364b..e012377be660 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4027,15 +4027,6 @@ dependencies = [ "parity-util-mem", ] -[[package]] -name = "memory-lru" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce95ae042940bad7e312857b929ee3d11b8f799a80cb7b9c7ec5125516906395" -dependencies = [ - "lru", -] - [[package]] name = "memory_units" version = "0.4.0" @@ -6550,8 +6541,7 @@ name = "polkadot-node-core-runtime-api" version = "0.9.31" dependencies = [ "futures", - "memory-lru", - "parity-util-mem", + "lru", "polkadot-node-primitives", "polkadot-node-subsystem", "polkadot-node-subsystem-test-helpers", diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index ff7ea662603c..8c941228cd95 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -7,8 +7,7 @@ edition = "2021" [dependencies] futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } -memory-lru = "0.1.1" -parity-util-mem = { version = "0.12.0", default-features = false } +lru = "0.8" sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/runtime-api/src/cache.rs b/node/core/runtime-api/src/cache.rs index 0fe9b74dc86d..d202b46d0da3 100644 --- a/node/core/runtime-api/src/cache.rs +++ b/node/core/runtime-api/src/cache.rs @@ -14,10 +14,9 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::collections::btree_map::BTreeMap; +use std::{collections::btree_map::BTreeMap, num::NonZeroUsize}; -use memory_lru::{MemoryLruCache, ResidentSize}; -use parity_util_mem::{MallocSizeOf, MallocSizeOfExt}; +use lru::LruCache; use sp_consensus_babe::Epoch; use polkadot_primitives::v2::{ @@ -28,126 +27,67 @@ use polkadot_primitives::v2::{ ValidationCodeHash, ValidatorId, ValidatorIndex, ValidatorSignature, }; -const AUTHORITIES_CACHE_SIZE: usize = 128 * 1024; -const VALIDATORS_CACHE_SIZE: usize = 64 * 1024; -const VALIDATOR_GROUPS_CACHE_SIZE: usize = 64 * 1024; -const AVAILABILITY_CORES_CACHE_SIZE: usize = 64 * 1024; -const PERSISTED_VALIDATION_DATA_CACHE_SIZE: usize = 64 * 1024; -const ASSUMED_VALIDATION_DATA_CACHE_SIZE: usize = 64 * 1024; -const CHECK_VALIDATION_OUTPUTS_CACHE_SIZE: usize = 64 * 1024; -const SESSION_INDEX_FOR_CHILD_CACHE_SIZE: usize = 64 * 1024; -const VALIDATION_CODE_CACHE_SIZE: usize = 10 * 1024 * 1024; -const CANDIDATE_PENDING_AVAILABILITY_CACHE_SIZE: usize = 64 * 1024; -const CANDIDATE_EVENTS_CACHE_SIZE: usize = 64 * 1024; -const SESSION_INFO_CACHE_SIZE: usize = 64 * 1024; -const DMQ_CONTENTS_CACHE_SIZE: usize = 64 * 1024; -const INBOUND_HRMP_CHANNELS_CACHE_SIZE: usize = 64 * 1024; -const CURRENT_BABE_EPOCH_CACHE_SIZE: usize = 64 * 1024; -const ON_CHAIN_VOTES_CACHE_SIZE: usize = 3 * 1024; -const PVFS_REQUIRE_PRECHECK_SIZE: usize = 1024; -const VALIDATION_CODE_HASH_CACHE_SIZE: usize = 64 * 1024; -const VERSION_CACHE_SIZE: usize = 4 * 1024; -const DISPUTES_CACHE_SIZE: usize = 64 * 1024; - -struct ResidentSizeOf(T); - -impl ResidentSize for ResidentSizeOf { - fn resident_size(&self) -> usize { - std::mem::size_of::() + self.0.malloc_size_of() - } -} - -struct DoesNotAllocate(T); - -impl ResidentSize for DoesNotAllocate { - fn resident_size(&self) -> usize { - std::mem::size_of::() - } -} - -// this is an ugly workaround for `AuthorityDiscoveryId` -// not implementing `MallocSizeOf` -struct VecOfDoesNotAllocate(Vec); - -impl ResidentSize for VecOfDoesNotAllocate { - fn resident_size(&self) -> usize { - std::mem::size_of::() * self.0.capacity() - } -} +/// For consistency we have the same capacity for all caches. We use 128 as we'll only need that +/// much if finality stalls (we only query state for unfinalized blocks + maybe latest finalized). +/// In any case, a cache is an optimization. We should avoid a situation where having a large cache +/// leads to OOM or puts pressure on other important stuff like PVF execution/preparation. +const DEFAULT_CACHE_CAP: NonZeroUsize = match NonZeroUsize::new(128) { + Some(cap) => cap, + None => panic!("lru capacity must be non-zero"), +}; pub(crate) struct RequestResultCache { - authorities: MemoryLruCache>, - validators: MemoryLruCache>>, - validator_groups: - MemoryLruCache>, GroupRotationInfo)>>, - availability_cores: MemoryLruCache>>, - persisted_validation_data: MemoryLruCache< - (Hash, ParaId, OccupiedCoreAssumption), - ResidentSizeOf>, - >, - assumed_validation_data: MemoryLruCache< - (ParaId, Hash), - ResidentSizeOf>, - >, - check_validation_outputs: - MemoryLruCache<(Hash, ParaId, CandidateCommitments), ResidentSizeOf>, - session_index_for_child: MemoryLruCache>, - validation_code: MemoryLruCache< - (Hash, ParaId, OccupiedCoreAssumption), - ResidentSizeOf>, - >, - validation_code_by_hash: - MemoryLruCache>>, - candidate_pending_availability: - MemoryLruCache<(Hash, ParaId), ResidentSizeOf>>, - candidate_events: MemoryLruCache>>, - session_info: MemoryLruCache>, - dmq_contents: - MemoryLruCache<(Hash, ParaId), ResidentSizeOf>>>, - inbound_hrmp_channels_contents: MemoryLruCache< - (Hash, ParaId), - ResidentSizeOf>>>, - >, - current_babe_epoch: MemoryLruCache>, - on_chain_votes: MemoryLruCache>>, - pvfs_require_precheck: MemoryLruCache>>, - validation_code_hash: MemoryLruCache< - (Hash, ParaId, OccupiedCoreAssumption), - ResidentSizeOf>, - >, - version: MemoryLruCache>, - disputes: MemoryLruCache< - Hash, - ResidentSizeOf)>>, - >, + authorities: LruCache>, + validators: LruCache>, + validator_groups: LruCache>, GroupRotationInfo)>, + availability_cores: LruCache>, + persisted_validation_data: + LruCache<(Hash, ParaId, OccupiedCoreAssumption), Option>, + assumed_validation_data: + LruCache<(ParaId, Hash), Option<(PersistedValidationData, ValidationCodeHash)>>, + check_validation_outputs: LruCache<(Hash, ParaId, CandidateCommitments), bool>, + session_index_for_child: LruCache, + validation_code: LruCache<(Hash, ParaId, OccupiedCoreAssumption), Option>, + validation_code_by_hash: LruCache>, + candidate_pending_availability: LruCache<(Hash, ParaId), Option>, + candidate_events: LruCache>, + session_info: LruCache, + dmq_contents: LruCache<(Hash, ParaId), Vec>>, + inbound_hrmp_channels_contents: + LruCache<(Hash, ParaId), BTreeMap>>>, + current_babe_epoch: LruCache, + on_chain_votes: LruCache>, + pvfs_require_precheck: LruCache>, + validation_code_hash: + LruCache<(Hash, ParaId, OccupiedCoreAssumption), Option>, + version: LruCache, + disputes: LruCache)>>, } impl Default for RequestResultCache { fn default() -> Self { Self { - authorities: MemoryLruCache::new(AUTHORITIES_CACHE_SIZE), - validators: MemoryLruCache::new(VALIDATORS_CACHE_SIZE), - validator_groups: MemoryLruCache::new(VALIDATOR_GROUPS_CACHE_SIZE), - availability_cores: MemoryLruCache::new(AVAILABILITY_CORES_CACHE_SIZE), - persisted_validation_data: MemoryLruCache::new(PERSISTED_VALIDATION_DATA_CACHE_SIZE), - assumed_validation_data: MemoryLruCache::new(ASSUMED_VALIDATION_DATA_CACHE_SIZE), - check_validation_outputs: MemoryLruCache::new(CHECK_VALIDATION_OUTPUTS_CACHE_SIZE), - session_index_for_child: MemoryLruCache::new(SESSION_INDEX_FOR_CHILD_CACHE_SIZE), - validation_code: MemoryLruCache::new(VALIDATION_CODE_CACHE_SIZE), - validation_code_by_hash: MemoryLruCache::new(VALIDATION_CODE_CACHE_SIZE), - candidate_pending_availability: MemoryLruCache::new( - CANDIDATE_PENDING_AVAILABILITY_CACHE_SIZE, - ), - candidate_events: MemoryLruCache::new(CANDIDATE_EVENTS_CACHE_SIZE), - session_info: MemoryLruCache::new(SESSION_INFO_CACHE_SIZE), - dmq_contents: MemoryLruCache::new(DMQ_CONTENTS_CACHE_SIZE), - inbound_hrmp_channels_contents: MemoryLruCache::new(INBOUND_HRMP_CHANNELS_CACHE_SIZE), - current_babe_epoch: MemoryLruCache::new(CURRENT_BABE_EPOCH_CACHE_SIZE), - on_chain_votes: MemoryLruCache::new(ON_CHAIN_VOTES_CACHE_SIZE), - pvfs_require_precheck: MemoryLruCache::new(PVFS_REQUIRE_PRECHECK_SIZE), - validation_code_hash: MemoryLruCache::new(VALIDATION_CODE_HASH_CACHE_SIZE), - version: MemoryLruCache::new(VERSION_CACHE_SIZE), - disputes: MemoryLruCache::new(DISPUTES_CACHE_SIZE), + authorities: LruCache::new(DEFAULT_CACHE_CAP), + validators: LruCache::new(DEFAULT_CACHE_CAP), + validator_groups: LruCache::new(DEFAULT_CACHE_CAP), + availability_cores: LruCache::new(DEFAULT_CACHE_CAP), + persisted_validation_data: LruCache::new(DEFAULT_CACHE_CAP), + assumed_validation_data: LruCache::new(DEFAULT_CACHE_CAP), + check_validation_outputs: LruCache::new(DEFAULT_CACHE_CAP), + session_index_for_child: LruCache::new(DEFAULT_CACHE_CAP), + validation_code: LruCache::new(DEFAULT_CACHE_CAP), + validation_code_by_hash: LruCache::new(DEFAULT_CACHE_CAP), + candidate_pending_availability: LruCache::new(DEFAULT_CACHE_CAP), + candidate_events: LruCache::new(DEFAULT_CACHE_CAP), + session_info: LruCache::new(DEFAULT_CACHE_CAP), + dmq_contents: LruCache::new(DEFAULT_CACHE_CAP), + inbound_hrmp_channels_contents: LruCache::new(DEFAULT_CACHE_CAP), + current_babe_epoch: LruCache::new(DEFAULT_CACHE_CAP), + on_chain_votes: LruCache::new(DEFAULT_CACHE_CAP), + pvfs_require_precheck: LruCache::new(DEFAULT_CACHE_CAP), + validation_code_hash: LruCache::new(DEFAULT_CACHE_CAP), + version: LruCache::new(DEFAULT_CACHE_CAP), + disputes: LruCache::new(DEFAULT_CACHE_CAP), } } } @@ -157,7 +97,7 @@ impl RequestResultCache { &mut self, relay_parent: &Hash, ) -> Option<&Vec> { - self.authorities.get(relay_parent).map(|v| &v.0) + self.authorities.get(relay_parent) } pub(crate) fn cache_authorities( @@ -165,22 +105,22 @@ impl RequestResultCache { relay_parent: Hash, authorities: Vec, ) { - self.authorities.insert(relay_parent, VecOfDoesNotAllocate(authorities)); + self.authorities.put(relay_parent, authorities); } pub(crate) fn validators(&mut self, relay_parent: &Hash) -> Option<&Vec> { - self.validators.get(relay_parent).map(|v| &v.0) + self.validators.get(relay_parent) } pub(crate) fn cache_validators(&mut self, relay_parent: Hash, validators: Vec) { - self.validators.insert(relay_parent, ResidentSizeOf(validators)); + self.validators.put(relay_parent, validators); } pub(crate) fn validator_groups( &mut self, relay_parent: &Hash, ) -> Option<&(Vec>, GroupRotationInfo)> { - self.validator_groups.get(relay_parent).map(|v| &v.0) + self.validator_groups.get(relay_parent) } pub(crate) fn cache_validator_groups( @@ -188,22 +128,22 @@ impl RequestResultCache { relay_parent: Hash, groups: (Vec>, GroupRotationInfo), ) { - self.validator_groups.insert(relay_parent, ResidentSizeOf(groups)); + self.validator_groups.put(relay_parent, groups); } pub(crate) fn availability_cores(&mut self, relay_parent: &Hash) -> Option<&Vec> { - self.availability_cores.get(relay_parent).map(|v| &v.0) + self.availability_cores.get(relay_parent) } pub(crate) fn cache_availability_cores(&mut self, relay_parent: Hash, cores: Vec) { - self.availability_cores.insert(relay_parent, ResidentSizeOf(cores)); + self.availability_cores.put(relay_parent, cores); } pub(crate) fn persisted_validation_data( &mut self, key: (Hash, ParaId, OccupiedCoreAssumption), ) -> Option<&Option> { - self.persisted_validation_data.get(&key).map(|v| &v.0) + self.persisted_validation_data.get(&key) } pub(crate) fn cache_persisted_validation_data( @@ -211,14 +151,14 @@ impl RequestResultCache { key: (Hash, ParaId, OccupiedCoreAssumption), data: Option, ) { - self.persisted_validation_data.insert(key, ResidentSizeOf(data)); + self.persisted_validation_data.put(key, data); } pub(crate) fn assumed_validation_data( &mut self, key: (Hash, ParaId, Hash), ) -> Option<&Option<(PersistedValidationData, ValidationCodeHash)>> { - self.assumed_validation_data.get(&(key.1, key.2)).map(|v| &v.0) + self.assumed_validation_data.get(&(key.1, key.2)) } pub(crate) fn cache_assumed_validation_data( @@ -226,14 +166,14 @@ impl RequestResultCache { key: (ParaId, Hash), data: Option<(PersistedValidationData, ValidationCodeHash)>, ) { - self.assumed_validation_data.insert(key, ResidentSizeOf(data)); + self.assumed_validation_data.put(key, data); } pub(crate) fn check_validation_outputs( &mut self, key: (Hash, ParaId, CandidateCommitments), ) -> Option<&bool> { - self.check_validation_outputs.get(&key).map(|v| &v.0) + self.check_validation_outputs.get(&key) } pub(crate) fn cache_check_validation_outputs( @@ -241,11 +181,11 @@ impl RequestResultCache { key: (Hash, ParaId, CandidateCommitments), value: bool, ) { - self.check_validation_outputs.insert(key, ResidentSizeOf(value)); + self.check_validation_outputs.put(key, value); } pub(crate) fn session_index_for_child(&mut self, relay_parent: &Hash) -> Option<&SessionIndex> { - self.session_index_for_child.get(relay_parent).map(|v| &v.0) + self.session_index_for_child.get(relay_parent) } pub(crate) fn cache_session_index_for_child( @@ -253,14 +193,14 @@ impl RequestResultCache { relay_parent: Hash, index: SessionIndex, ) { - self.session_index_for_child.insert(relay_parent, ResidentSizeOf(index)); + self.session_index_for_child.put(relay_parent, index); } pub(crate) fn validation_code( &mut self, key: (Hash, ParaId, OccupiedCoreAssumption), ) -> Option<&Option> { - self.validation_code.get(&key).map(|v| &v.0) + self.validation_code.get(&key) } pub(crate) fn cache_validation_code( @@ -268,7 +208,7 @@ impl RequestResultCache { key: (Hash, ParaId, OccupiedCoreAssumption), value: Option, ) { - self.validation_code.insert(key, ResidentSizeOf(value)); + self.validation_code.put(key, value); } // the actual key is `ValidationCodeHash` (`Hash` is ignored), @@ -277,7 +217,7 @@ impl RequestResultCache { &mut self, key: (Hash, ValidationCodeHash), ) -> Option<&Option> { - self.validation_code_by_hash.get(&key.1).map(|v| &v.0) + self.validation_code_by_hash.get(&key.1) } pub(crate) fn cache_validation_code_by_hash( @@ -285,14 +225,14 @@ impl RequestResultCache { key: ValidationCodeHash, value: Option, ) { - self.validation_code_by_hash.insert(key, ResidentSizeOf(value)); + self.validation_code_by_hash.put(key, value); } pub(crate) fn candidate_pending_availability( &mut self, key: (Hash, ParaId), ) -> Option<&Option> { - self.candidate_pending_availability.get(&key).map(|v| &v.0) + self.candidate_pending_availability.get(&key) } pub(crate) fn cache_candidate_pending_availability( @@ -300,11 +240,11 @@ impl RequestResultCache { key: (Hash, ParaId), value: Option, ) { - self.candidate_pending_availability.insert(key, ResidentSizeOf(value)); + self.candidate_pending_availability.put(key, value); } pub(crate) fn candidate_events(&mut self, relay_parent: &Hash) -> Option<&Vec> { - self.candidate_events.get(relay_parent).map(|v| &v.0) + self.candidate_events.get(relay_parent) } pub(crate) fn cache_candidate_events( @@ -312,22 +252,22 @@ impl RequestResultCache { relay_parent: Hash, events: Vec, ) { - self.candidate_events.insert(relay_parent, ResidentSizeOf(events)); + self.candidate_events.put(relay_parent, events); } pub(crate) fn session_info(&mut self, key: SessionIndex) -> Option<&SessionInfo> { - self.session_info.get(&key).map(|v| &v.0) + self.session_info.get(&key) } pub(crate) fn cache_session_info(&mut self, key: SessionIndex, value: SessionInfo) { - self.session_info.insert(key, ResidentSizeOf(value)); + self.session_info.put(key, value); } pub(crate) fn dmq_contents( &mut self, key: (Hash, ParaId), ) -> Option<&Vec>> { - self.dmq_contents.get(&key).map(|v| &v.0) + self.dmq_contents.get(&key) } pub(crate) fn cache_dmq_contents( @@ -335,14 +275,14 @@ impl RequestResultCache { key: (Hash, ParaId), value: Vec>, ) { - self.dmq_contents.insert(key, ResidentSizeOf(value)); + self.dmq_contents.put(key, value); } pub(crate) fn inbound_hrmp_channels_contents( &mut self, key: (Hash, ParaId), ) -> Option<&BTreeMap>>> { - self.inbound_hrmp_channels_contents.get(&key).map(|v| &v.0) + self.inbound_hrmp_channels_contents.get(&key) } pub(crate) fn cache_inbound_hrmp_channel_contents( @@ -350,22 +290,22 @@ impl RequestResultCache { key: (Hash, ParaId), value: BTreeMap>>, ) { - self.inbound_hrmp_channels_contents.insert(key, ResidentSizeOf(value)); + self.inbound_hrmp_channels_contents.put(key, value); } pub(crate) fn current_babe_epoch(&mut self, relay_parent: &Hash) -> Option<&Epoch> { - self.current_babe_epoch.get(relay_parent).map(|v| &v.0) + self.current_babe_epoch.get(relay_parent) } pub(crate) fn cache_current_babe_epoch(&mut self, relay_parent: Hash, epoch: Epoch) { - self.current_babe_epoch.insert(relay_parent, DoesNotAllocate(epoch)); + self.current_babe_epoch.put(relay_parent, epoch); } pub(crate) fn on_chain_votes( &mut self, relay_parent: &Hash, ) -> Option<&Option> { - self.on_chain_votes.get(relay_parent).map(|v| &v.0) + self.on_chain_votes.get(relay_parent) } pub(crate) fn cache_on_chain_votes( @@ -373,14 +313,14 @@ impl RequestResultCache { relay_parent: Hash, scraped: Option, ) { - self.on_chain_votes.insert(relay_parent, ResidentSizeOf(scraped)); + self.on_chain_votes.put(relay_parent, scraped); } pub(crate) fn pvfs_require_precheck( &mut self, relay_parent: &Hash, ) -> Option<&Vec> { - self.pvfs_require_precheck.get(relay_parent).map(|v| &v.0) + self.pvfs_require_precheck.get(relay_parent) } pub(crate) fn cache_pvfs_require_precheck( @@ -388,14 +328,14 @@ impl RequestResultCache { relay_parent: Hash, pvfs: Vec, ) { - self.pvfs_require_precheck.insert(relay_parent, ResidentSizeOf(pvfs)) + self.pvfs_require_precheck.put(relay_parent, pvfs); } pub(crate) fn validation_code_hash( &mut self, key: (Hash, ParaId, OccupiedCoreAssumption), ) -> Option<&Option> { - self.validation_code_hash.get(&key).map(|v| &v.0) + self.validation_code_hash.get(&key) } pub(crate) fn cache_validation_code_hash( @@ -403,22 +343,22 @@ impl RequestResultCache { key: (Hash, ParaId, OccupiedCoreAssumption), value: Option, ) { - self.validation_code_hash.insert(key, ResidentSizeOf(value)); + self.validation_code_hash.put(key, value); } pub(crate) fn version(&mut self, relay_parent: &Hash) -> Option<&u32> { - self.version.get(&relay_parent).map(|v| &v.0) + self.version.get(relay_parent) } pub(crate) fn cache_version(&mut self, key: Hash, value: u32) { - self.version.insert(key, ResidentSizeOf(value)); + self.version.put(key, value); } pub(crate) fn disputes( &mut self, relay_parent: &Hash, ) -> Option<&Vec<(SessionIndex, CandidateHash, DisputeState)>> { - self.disputes.get(relay_parent).map(|v| &v.0) + self.disputes.get(relay_parent) } pub(crate) fn cache_disputes( @@ -426,7 +366,7 @@ impl RequestResultCache { relay_parent: Hash, value: Vec<(SessionIndex, CandidateHash, DisputeState)>, ) { - self.disputes.insert(relay_parent, ResidentSizeOf(value)); + self.disputes.put(relay_parent, value); } } From 7cd860e3e10dfc38503ececf7701d004b7698886 Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Tue, 29 Nov 2022 17:14:47 +0100 Subject: [PATCH 142/211] Add Collectives as Trusted Teleporter (#6326) * add collectives as trusted teleporter * fix statemint-specific doc --- runtime/polkadot/src/xcm_config.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/polkadot/src/xcm_config.rs b/runtime/polkadot/src/xcm_config.rs index 846d98a59d99..39f7a337479a 100644 --- a/runtime/polkadot/src/xcm_config.rs +++ b/runtime/polkadot/src/xcm_config.rs @@ -107,10 +107,12 @@ pub type XcmRouter = ( parameter_types! { pub const Polkadot: MultiAssetFilter = Wild(AllOf { fun: WildFungible, id: Concrete(DotLocation::get()) }); pub const PolkadotForStatemint: (MultiAssetFilter, MultiLocation) = (Polkadot::get(), Parachain(1000).into()); + pub const PolkadotForCollectives: (MultiAssetFilter, MultiLocation) = (Polkadot::get(), Parachain(1001).into()); } -/// Polkadot Relay recognizes/respects the Statemint chain as a teleporter. -pub type TrustedTeleporters = (xcm_builder::Case,); +/// Polkadot Relay recognizes/respects System parachains as teleporters. +pub type TrustedTeleporters = + (xcm_builder::Case, xcm_builder::Case); match_types! { pub type OnlyParachains: impl Contains = { From 782161459b566ea05d54aeff9002f9e56df35dea Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Wed, 30 Nov 2022 09:32:20 +0100 Subject: [PATCH 143/211] sync versions with current release (0.9.33) (#6363) * westend: update transaction version * polkadot: update transaction version * kusama: update transaction version * Bump spec_version to 9330 * bump versions to 0.9.33 --- Cargo.lock | 166 +++++++++--------- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- core-primitives/Cargo.toml | 2 +- erasure-coding/Cargo.toml | 2 +- erasure-coding/fuzzer/Cargo.toml | 2 +- node/client/Cargo.toml | 2 +- node/collation-generation/Cargo.toml | 2 +- node/core/approval-voting/Cargo.toml | 2 +- node/core/av-store/Cargo.toml | 2 +- node/core/backing/Cargo.toml | 2 +- node/core/bitfield-signing/Cargo.toml | 2 +- node/core/candidate-validation/Cargo.toml | 2 +- node/core/chain-api/Cargo.toml | 2 +- node/core/chain-selection/Cargo.toml | 2 +- node/core/dispute-coordinator/Cargo.toml | 2 +- node/core/parachains-inherent/Cargo.toml | 2 +- node/core/provisioner/Cargo.toml | 2 +- node/core/pvf-checker/Cargo.toml | 2 +- node/core/pvf/Cargo.toml | 2 +- node/core/runtime-api/Cargo.toml | 2 +- node/gum/Cargo.toml | 2 +- node/gum/proc-macro/Cargo.toml | 2 +- node/jaeger/Cargo.toml | 2 +- node/malus/Cargo.toml | 2 +- node/metrics/Cargo.toml | 2 +- node/network/approval-distribution/Cargo.toml | 2 +- .../availability-distribution/Cargo.toml | 2 +- node/network/availability-recovery/Cargo.toml | 2 +- node/network/bitfield-distribution/Cargo.toml | 2 +- node/network/bridge/Cargo.toml | 2 +- node/network/collator-protocol/Cargo.toml | 2 +- node/network/dispute-distribution/Cargo.toml | 2 +- node/network/gossip-support/Cargo.toml | 2 +- node/network/protocol/Cargo.toml | 2 +- .../network/statement-distribution/Cargo.toml | 2 +- node/overseer/Cargo.toml | 2 +- node/primitives/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- node/subsystem-test-helpers/Cargo.toml | 2 +- node/subsystem-types/Cargo.toml | 2 +- node/subsystem-util/Cargo.toml | 2 +- node/subsystem/Cargo.toml | 2 +- node/test/client/Cargo.toml | 2 +- node/test/performance-test/Cargo.toml | 2 +- node/test/service/Cargo.toml | 2 +- node/zombienet-backchannel/Cargo.toml | 2 +- parachain/Cargo.toml | 2 +- parachain/test-parachains/Cargo.toml | 2 +- parachain/test-parachains/adder/Cargo.toml | 2 +- .../test-parachains/adder/collator/Cargo.toml | 2 +- parachain/test-parachains/halt/Cargo.toml | 2 +- parachain/test-parachains/undying/Cargo.toml | 2 +- .../undying/collator/Cargo.toml | 2 +- primitives/Cargo.toml | 2 +- primitives/test-helpers/Cargo.toml | 2 +- rpc/Cargo.toml | 2 +- runtime/common/Cargo.toml | 2 +- runtime/common/slot_range_helper/Cargo.toml | 2 +- runtime/kusama/Cargo.toml | 2 +- runtime/kusama/constants/Cargo.toml | 2 +- runtime/kusama/src/lib.rs | 4 +- runtime/metrics/Cargo.toml | 2 +- runtime/parachains/Cargo.toml | 2 +- runtime/polkadot/Cargo.toml | 2 +- runtime/polkadot/constants/Cargo.toml | 2 +- runtime/polkadot/src/lib.rs | 4 +- runtime/rococo/Cargo.toml | 2 +- runtime/rococo/constants/Cargo.toml | 2 +- runtime/rococo/src/lib.rs | 2 +- runtime/test-runtime/Cargo.toml | 2 +- runtime/test-runtime/constants/Cargo.toml | 2 +- runtime/westend/Cargo.toml | 2 +- runtime/westend/constants/Cargo.toml | 2 +- runtime/westend/src/lib.rs | 4 +- statement-table/Cargo.toml | 2 +- utils/generate-bags/Cargo.toml | 2 +- utils/remote-ext-tests/bags-list/Cargo.toml | 2 +- utils/staking-miner/Cargo.toml | 2 +- xcm/Cargo.toml | 2 +- xcm/pallet-xcm-benchmarks/Cargo.toml | 2 +- xcm/pallet-xcm/Cargo.toml | 2 +- xcm/procedural/Cargo.toml | 2 +- xcm/xcm-builder/Cargo.toml | 2 +- xcm/xcm-executor/Cargo.toml | 2 +- xcm/xcm-executor/integration-tests/Cargo.toml | 2 +- xcm/xcm-simulator/Cargo.toml | 2 +- xcm/xcm-simulator/example/Cargo.toml | 2 +- xcm/xcm-simulator/fuzzer/Cargo.toml | 2 +- 89 files changed, 174 insertions(+), 174 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e012377be660..48552eb2cbcc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3209,7 +3209,7 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" [[package]] name = "kusama-runtime" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-primitives", "bitvec", @@ -3313,7 +3313,7 @@ dependencies = [ [[package]] name = "kusama-runtime-constants" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "polkadot-primitives", @@ -5557,7 +5557,7 @@ dependencies = [ [[package]] name = "pallet-xcm" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "frame-system", @@ -5579,7 +5579,7 @@ dependencies = [ [[package]] name = "pallet-xcm-benchmarks" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-benchmarking", "frame-support", @@ -5894,7 +5894,7 @@ checksum = "e8d0eef3571242013a0d5dc84861c3ae4a652e56e12adf8bdc26ff5f8cb34c94" [[package]] name = "polkadot" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_cmd", "color-eyre", @@ -5909,7 +5909,7 @@ dependencies = [ [[package]] name = "polkadot-approval-distribution" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "env_logger 0.9.0", @@ -5933,7 +5933,7 @@ dependencies = [ [[package]] name = "polkadot-availability-bitfield-distribution" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "bitvec", @@ -5958,7 +5958,7 @@ dependencies = [ [[package]] name = "polkadot-availability-distribution" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "derive_more", @@ -5987,7 +5987,7 @@ dependencies = [ [[package]] name = "polkadot-availability-recovery" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "env_logger 0.9.0", @@ -6016,7 +6016,7 @@ dependencies = [ [[package]] name = "polkadot-cli" -version = "0.9.31" +version = "0.9.33" dependencies = [ "clap", "frame-benchmarking-cli", @@ -6042,7 +6042,7 @@ dependencies = [ [[package]] name = "polkadot-client" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-primitives", "frame-benchmarking", @@ -6084,7 +6084,7 @@ dependencies = [ [[package]] name = "polkadot-collator-protocol" -version = "0.9.31" +version = "0.9.33" dependencies = [ "always-assert", "assert_matches", @@ -6113,7 +6113,7 @@ dependencies = [ [[package]] name = "polkadot-core-primitives" -version = "0.9.31" +version = "0.9.33" dependencies = [ "parity-scale-codec", "parity-util-mem", @@ -6125,7 +6125,7 @@ dependencies = [ [[package]] name = "polkadot-dispute-distribution" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -6157,7 +6157,7 @@ dependencies = [ [[package]] name = "polkadot-erasure-coding" -version = "0.9.31" +version = "0.9.33" dependencies = [ "parity-scale-codec", "polkadot-node-primitives", @@ -6170,7 +6170,7 @@ dependencies = [ [[package]] name = "polkadot-gossip-support" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -6197,7 +6197,7 @@ dependencies = [ [[package]] name = "polkadot-network-bridge" -version = "0.9.31" +version = "0.9.33" dependencies = [ "always-assert", "assert_matches", @@ -6226,7 +6226,7 @@ dependencies = [ [[package]] name = "polkadot-node-collation-generation" -version = "0.9.31" +version = "0.9.33" dependencies = [ "futures", "parity-scale-codec", @@ -6245,7 +6245,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-approval-voting" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -6284,7 +6284,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-av-store" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "bitvec", @@ -6312,7 +6312,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-backing" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "bitvec", @@ -6338,7 +6338,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-bitfield-signing" -version = "0.9.31" +version = "0.9.33" dependencies = [ "futures", "polkadot-node-subsystem", @@ -6354,7 +6354,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-candidate-validation" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -6377,7 +6377,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-api" -version = "0.9.31" +version = "0.9.33" dependencies = [ "futures", "maplit", @@ -6396,7 +6396,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-chain-selection" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "futures", @@ -6417,7 +6417,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "fatality", @@ -6444,7 +6444,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-parachains-inherent" -version = "0.9.31" +version = "0.9.33" dependencies = [ "async-trait", "futures", @@ -6460,7 +6460,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-provisioner" -version = "0.9.31" +version = "0.9.33" dependencies = [ "bitvec", "fatality", @@ -6481,7 +6481,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf" -version = "0.9.31" +version = "0.9.33" dependencies = [ "always-assert", "assert_matches", @@ -6515,7 +6515,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-pvf-checker" -version = "0.9.31" +version = "0.9.33" dependencies = [ "futures", "futures-timer", @@ -6538,7 +6538,7 @@ dependencies = [ [[package]] name = "polkadot-node-core-runtime-api" -version = "0.9.31" +version = "0.9.33" dependencies = [ "futures", "lru", @@ -6559,7 +6559,7 @@ dependencies = [ [[package]] name = "polkadot-node-jaeger" -version = "0.9.31" +version = "0.9.33" dependencies = [ "async-std", "lazy_static", @@ -6576,7 +6576,7 @@ dependencies = [ [[package]] name = "polkadot-node-metrics" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_cmd", "bs58", @@ -6604,7 +6604,7 @@ dependencies = [ [[package]] name = "polkadot-node-network-protocol" -version = "0.9.31" +version = "0.9.33" dependencies = [ "async-trait", "derive_more", @@ -6627,7 +6627,7 @@ dependencies = [ [[package]] name = "polkadot-node-primitives" -version = "0.9.31" +version = "0.9.33" dependencies = [ "bounded-vec", "futures", @@ -6649,7 +6649,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem" -version = "0.9.31" +version = "0.9.33" dependencies = [ "polkadot-node-jaeger", "polkadot-node-subsystem-types", @@ -6658,7 +6658,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-test-helpers" -version = "0.9.31" +version = "0.9.33" dependencies = [ "async-trait", "futures", @@ -6676,7 +6676,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-types" -version = "0.9.31" +version = "0.9.33" dependencies = [ "async-trait", "derive_more", @@ -6698,7 +6698,7 @@ dependencies = [ [[package]] name = "polkadot-node-subsystem-util" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -6739,7 +6739,7 @@ dependencies = [ [[package]] name = "polkadot-overseer" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -6765,7 +6765,7 @@ dependencies = [ [[package]] name = "polkadot-parachain" -version = "0.9.31" +version = "0.9.33" dependencies = [ "derive_more", "frame-support", @@ -6781,7 +6781,7 @@ dependencies = [ [[package]] name = "polkadot-performance-test" -version = "0.9.31" +version = "0.9.33" dependencies = [ "env_logger 0.9.0", "kusama-runtime", @@ -6795,7 +6795,7 @@ dependencies = [ [[package]] name = "polkadot-primitives" -version = "0.9.31" +version = "0.9.33" dependencies = [ "bitvec", "hex-literal", @@ -6821,7 +6821,7 @@ dependencies = [ [[package]] name = "polkadot-primitives-test-helpers" -version = "0.9.31" +version = "0.9.33" dependencies = [ "polkadot-primitives", "rand 0.8.5", @@ -6833,7 +6833,7 @@ dependencies = [ [[package]] name = "polkadot-rpc" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-gadget", "beefy-gadget-rpc", @@ -6864,7 +6864,7 @@ dependencies = [ [[package]] name = "polkadot-runtime" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-primitives", "bitvec", @@ -6960,7 +6960,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-common" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-primitives", "bitvec", @@ -7012,7 +7012,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-constants" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "polkadot-primitives", @@ -7023,7 +7023,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-metrics" -version = "0.9.31" +version = "0.9.33" dependencies = [ "bs58", "parity-scale-codec", @@ -7034,7 +7034,7 @@ dependencies = [ [[package]] name = "polkadot-runtime-parachains" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "bitflags", @@ -7086,7 +7086,7 @@ dependencies = [ [[package]] name = "polkadot-service" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -7200,7 +7200,7 @@ dependencies = [ [[package]] name = "polkadot-statement-distribution" -version = "0.9.31" +version = "0.9.33" dependencies = [ "arrayvec 0.5.2", "assert_matches", @@ -7231,7 +7231,7 @@ dependencies = [ [[package]] name = "polkadot-statement-table" -version = "0.9.31" +version = "0.9.33" dependencies = [ "parity-scale-codec", "polkadot-primitives", @@ -7240,7 +7240,7 @@ dependencies = [ [[package]] name = "polkadot-test-client" -version = "0.9.31" +version = "0.9.33" dependencies = [ "futures", "parity-scale-codec", @@ -7266,7 +7266,7 @@ dependencies = [ [[package]] name = "polkadot-test-malus" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "async-trait", @@ -7295,7 +7295,7 @@ dependencies = [ [[package]] name = "polkadot-test-runtime" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-primitives", "bitvec", @@ -7360,7 +7360,7 @@ dependencies = [ [[package]] name = "polkadot-test-service" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-benchmarking", "frame-system", @@ -7415,7 +7415,7 @@ dependencies = [ [[package]] name = "polkadot-voter-bags" -version = "0.9.31" +version = "0.9.33" dependencies = [ "clap", "generate-bags", @@ -7998,7 +7998,7 @@ checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" [[package]] name = "remote-ext-tests-bags-list" -version = "0.9.31" +version = "0.9.33" dependencies = [ "clap", "frame-system", @@ -8126,7 +8126,7 @@ dependencies = [ [[package]] name = "rococo-runtime" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-merkle-tree", "beefy-primitives", @@ -8215,7 +8215,7 @@ dependencies = [ [[package]] name = "rococo-runtime-constants" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "polkadot-primitives", @@ -9799,7 +9799,7 @@ checksum = "03b634d87b960ab1a38c4fe143b508576f075e7c978bfad18217645ebfdfa2ec" [[package]] name = "slot-range-helper" -version = "0.9.31" +version = "0.9.33" dependencies = [ "enumn", "parity-scale-codec", @@ -10616,7 +10616,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staking-miner" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_cmd", "clap", @@ -11041,7 +11041,7 @@ checksum = "13a4ec180a2de59b57434704ccfad967f789b12737738798fa08798cd5824c16" [[package]] name = "test-parachain-adder" -version = "0.9.31" +version = "0.9.33" dependencies = [ "dlmalloc", "parity-scale-codec", @@ -11054,7 +11054,7 @@ dependencies = [ [[package]] name = "test-parachain-adder-collator" -version = "0.9.31" +version = "0.9.33" dependencies = [ "clap", "futures", @@ -11080,14 +11080,14 @@ dependencies = [ [[package]] name = "test-parachain-halt" -version = "0.9.31" +version = "0.9.33" dependencies = [ "substrate-wasm-builder", ] [[package]] name = "test-parachain-undying" -version = "0.9.31" +version = "0.9.33" dependencies = [ "dlmalloc", "log", @@ -11101,7 +11101,7 @@ dependencies = [ [[package]] name = "test-parachain-undying-collator" -version = "0.9.31" +version = "0.9.33" dependencies = [ "clap", "futures", @@ -11127,7 +11127,7 @@ dependencies = [ [[package]] name = "test-parachains" -version = "0.9.31" +version = "0.9.33" dependencies = [ "parity-scale-codec", "sp-core", @@ -11138,7 +11138,7 @@ dependencies = [ [[package]] name = "test-runtime-constants" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "polkadot-primitives", @@ -11453,7 +11453,7 @@ dependencies = [ [[package]] name = "tracing-gum" -version = "0.9.31" +version = "0.9.33" dependencies = [ "polkadot-node-jaeger", "polkadot-primitives", @@ -11463,7 +11463,7 @@ dependencies = [ [[package]] name = "tracing-gum-proc-macro" -version = "0.9.31" +version = "0.9.33" dependencies = [ "assert_matches", "expander 0.0.6", @@ -12281,7 +12281,7 @@ dependencies = [ [[package]] name = "westend-runtime" -version = "0.9.31" +version = "0.9.33" dependencies = [ "beefy-primitives", "bitvec", @@ -12377,7 +12377,7 @@ dependencies = [ [[package]] name = "westend-runtime-constants" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "polkadot-primitives", @@ -12603,7 +12603,7 @@ dependencies = [ [[package]] name = "xcm" -version = "0.9.31" +version = "0.9.33" dependencies = [ "derivative", "impl-trait-for-tuples", @@ -12616,7 +12616,7 @@ dependencies = [ [[package]] name = "xcm-builder" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "frame-system", @@ -12639,7 +12639,7 @@ dependencies = [ [[package]] name = "xcm-executor" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-benchmarking", "frame-support", @@ -12656,7 +12656,7 @@ dependencies = [ [[package]] name = "xcm-executor-integration-tests" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "frame-system", @@ -12676,7 +12676,7 @@ dependencies = [ [[package]] name = "xcm-procedural" -version = "0.9.31" +version = "0.9.33" dependencies = [ "Inflector", "proc-macro2", @@ -12686,7 +12686,7 @@ dependencies = [ [[package]] name = "xcm-simulator" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "parity-scale-codec", @@ -12702,7 +12702,7 @@ dependencies = [ [[package]] name = "xcm-simulator-example" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "frame-system", @@ -12725,7 +12725,7 @@ dependencies = [ [[package]] name = "xcm-simulator-fuzzer" -version = "0.9.31" +version = "0.9.33" dependencies = [ "frame-support", "frame-system", @@ -12784,7 +12784,7 @@ dependencies = [ [[package]] name = "zombienet-backchannel" -version = "0.9.31" +version = "0.9.33" dependencies = [ "futures-util", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index 4b0e2047bf64..8beb3e81568f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ path = "src/main.rs" name = "polkadot" description = "Implementation of a `https://polkadot.network` node in Rust based on the Substrate framework." license = "GPL-3.0-only" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" rust-version = "1.57.0" # custom profiles diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 13739d396b24..c4705d4a3537 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-cli" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Polkadot Relay-chain Client Node" edition = "2021" diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index 2c6fe070522d..67d764cccc9b 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-core-primitives" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/erasure-coding/Cargo.toml b/erasure-coding/Cargo.toml index 0a6c4002a1c5..4c8cbbe6c33e 100644 --- a/erasure-coding/Cargo.toml +++ b/erasure-coding/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-erasure-coding" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/erasure-coding/fuzzer/Cargo.toml b/erasure-coding/fuzzer/Cargo.toml index 6c8ad88e3955..8e7710417e59 100644 --- a/erasure-coding/fuzzer/Cargo.toml +++ b/erasure-coding/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "erasure_coding_fuzzer" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index 4889ecb6ecef..305ace46eb08 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-client" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/collation-generation/Cargo.toml b/node/collation-generation/Cargo.toml index 46eaf83b4498..b5152945ae7f 100644 --- a/node/collation-generation/Cargo.toml +++ b/node/collation-generation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-collation-generation" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index bf580c3bf348..4f5b457e5400 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-approval-voting" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index a4a39df77668..6e221b08ef27 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-av-store" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index bf52d54167fc..386db79f8a37 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-backing" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/bitfield-signing/Cargo.toml b/node/core/bitfield-signing/Cargo.toml index 54aa27766b7b..6f4cb9909ce6 100644 --- a/node/core/bitfield-signing/Cargo.toml +++ b/node/core/bitfield-signing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-bitfield-signing" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index 105d7c1a21dc..d1ea999cd66d 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-candidate-validation" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/chain-api/Cargo.toml b/node/core/chain-api/Cargo.toml index 19cff83c9fdf..cf1c800c1a7f 100644 --- a/node/core/chain-api/Cargo.toml +++ b/node/core/chain-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-chain-api" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index 1e505a4df98d..90f764c903a9 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "polkadot-node-core-chain-selection" description = "Chain Selection Subsystem" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index 19eff42d4ad3..7088a7817f3e 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index c38b45944d5b..3f2afadba97e 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-parachains-inherent" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/provisioner/Cargo.toml b/node/core/provisioner/Cargo.toml index 6fbdc8cf0435..035d62676e51 100644 --- a/node/core/provisioner/Cargo.toml +++ b/node/core/provisioner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-provisioner" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/pvf-checker/Cargo.toml b/node/core/pvf-checker/Cargo.toml index b0881042e957..a5e46b689526 100644 --- a/node/core/pvf-checker/Cargo.toml +++ b/node/core/pvf-checker/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-pvf-checker" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index 8bcecf55475e..b69d96c0cfef 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-pvf" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index 8c941228cd95..e828d7c4c7dd 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-core-runtime-api" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/gum/Cargo.toml b/node/gum/Cargo.toml index c9338cd71a81..a42116154bad 100644 --- a/node/gum/Cargo.toml +++ b/node/gum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-gum" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Stick logs together with the TraceID as provided by tempo" diff --git a/node/gum/proc-macro/Cargo.toml b/node/gum/proc-macro/Cargo.toml index 7fa597f759fe..2b4402a3828f 100644 --- a/node/gum/proc-macro/Cargo.toml +++ b/node/gum/proc-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tracing-gum-proc-macro" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition." diff --git a/node/jaeger/Cargo.toml b/node/jaeger/Cargo.toml index 2042d6cb60d7..8faabfad8579 100644 --- a/node/jaeger/Cargo.toml +++ b/node/jaeger/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-jaeger" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo" diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index 2f78fa43bdf2..5b477e58b6fd 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -2,7 +2,7 @@ name = "polkadot-test-malus" description = "Misbehaving nodes for local testnets, system and Simnet tests." license = "GPL-3.0-only" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" readme = "README.md" diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index 26ea24766e53..21cfbaa16d4b 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-metrics" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem metric helpers" diff --git a/node/network/approval-distribution/Cargo.toml b/node/network/approval-distribution/Cargo.toml index b6efa097ac28..e52b03faa525 100644 --- a/node/network/approval-distribution/Cargo.toml +++ b/node/network/approval-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-approval-distribution" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index 3e0924a4a86b..00699a76e845 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-distribution" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/availability-recovery/Cargo.toml b/node/network/availability-recovery/Cargo.toml index a82f2360a0fc..d82145fe5ed2 100644 --- a/node/network/availability-recovery/Cargo.toml +++ b/node/network/availability-recovery/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-recovery" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index 6e819fbe7cf4..2bfd031765ee 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-availability-bitfield-distribution" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/bridge/Cargo.toml b/node/network/bridge/Cargo.toml index 4ca402536000..ff932203e834 100644 --- a/node/network/bridge/Cargo.toml +++ b/node/network/bridge/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-network-bridge" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index cae4ec2b1730..d66dcb6443c0 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-collator-protocol" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/dispute-distribution/Cargo.toml b/node/network/dispute-distribution/Cargo.toml index d70d41f6916f..38af6d3df7ba 100644 --- a/node/network/dispute-distribution/Cargo.toml +++ b/node/network/dispute-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-dispute-distribution" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index fa99366c098d..5360efae09de 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-gossip-support" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index c3fa1faedb67..daa097886801 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-network-protocol" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Primitives types for the Node-side" diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index 1490ed01142a..7805cfeb0fda 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-distribution" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Statement Distribution Subsystem" edition = "2021" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 3aaa74e22da1..ddaf14c0af10 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-overseer" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index 3f0865b1e033..c7cfde987ce1 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-primitives" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Primitives types for the Node-side" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 007e9deb19da..d796f02aebb9 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-service" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" rust-version = "1.60" diff --git a/node/subsystem-test-helpers/Cargo.toml b/node/subsystem-test-helpers/Cargo.toml index de4b0ae0a388..11c7e72b1015 100644 --- a/node/subsystem-test-helpers/Cargo.toml +++ b/node/subsystem-test-helpers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-test-helpers" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index acd66a067241..be88b217804c 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-types" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index d390fd2b42cc..15a06aaddd4c 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem-util" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions" diff --git a/node/subsystem/Cargo.toml b/node/subsystem/Cargo.toml index 1d783f748b45..67f6bd9559f7 100644 --- a/node/subsystem/Cargo.toml +++ b/node/subsystem/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-node-subsystem" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" description = "Subsystem traits and message definitions and the generated overseer" diff --git a/node/test/client/Cargo.toml b/node/test/client/Cargo.toml index 712f2a902c2d..2e94093c072d 100644 --- a/node/test/client/Cargo.toml +++ b/node/test/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-client" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/test/performance-test/Cargo.toml b/node/test/performance-test/Cargo.toml index 55d74ad62f1d..cd07d1558e08 100644 --- a/node/test/performance-test/Cargo.toml +++ b/node/test/performance-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-performance-test" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index f767bb4ae975..3add5d2c14a3 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-service" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/node/zombienet-backchannel/Cargo.toml b/node/zombienet-backchannel/Cargo.toml index 74cd56ec521a..b34e94408f26 100644 --- a/node/zombienet-backchannel/Cargo.toml +++ b/node/zombienet-backchannel/Cargo.toml @@ -2,7 +2,7 @@ name = "zombienet-backchannel" description = "Zombienet backchannel to notify test runner and coordinate with malus actors." license = "GPL-3.0-only" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" readme = "README.md" diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 665a7b0986cc..7b2954d45138 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-parachain" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Types and utilities for creating and working with parachains" edition = "2021" diff --git a/parachain/test-parachains/Cargo.toml b/parachain/test-parachains/Cargo.toml index 8ed8ae6211c4..7ad254f8eb46 100644 --- a/parachain/test-parachains/Cargo.toml +++ b/parachain/test-parachains/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachains" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Integration tests using the test-parachains" edition = "2021" diff --git a/parachain/test-parachains/adder/Cargo.toml b/parachain/test-parachains/adder/Cargo.toml index 42ffaf728ac5..6cc1bb3230f0 100644 --- a/parachain/test-parachains/adder/Cargo.toml +++ b/parachain/test-parachains/adder/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-adder" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Test parachain which adds to a number as its state transition" edition = "2021" diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index 132fe2c0a527..3359e7fa98f4 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-adder-collator" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Collator for the adder test parachain" edition = "2021" diff --git a/parachain/test-parachains/halt/Cargo.toml b/parachain/test-parachains/halt/Cargo.toml index 3a9096c4d56b..771207749f6c 100644 --- a/parachain/test-parachains/halt/Cargo.toml +++ b/parachain/test-parachains/halt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-halt" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Test parachain which executes forever" edition = "2021" diff --git a/parachain/test-parachains/undying/Cargo.toml b/parachain/test-parachains/undying/Cargo.toml index ab27c07781c5..aae021ddea83 100644 --- a/parachain/test-parachains/undying/Cargo.toml +++ b/parachain/test-parachains/undying/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-undying" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Test parachain for zombienet integration tests" edition = "2021" diff --git a/parachain/test-parachains/undying/collator/Cargo.toml b/parachain/test-parachains/undying/collator/Cargo.toml index f8198f8e4006..273d96524a27 100644 --- a/parachain/test-parachains/undying/collator/Cargo.toml +++ b/parachain/test-parachains/undying/collator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-parachain-undying-collator" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Collator for the undying test parachain" edition = "2021" diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index b99ac7bc19e6..7233fa5bd4a3 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/primitives/test-helpers/Cargo.toml b/primitives/test-helpers/Cargo.toml index 3ea45e12df7f..401b5efaf5a1 100644 --- a/primitives/test-helpers/Cargo.toml +++ b/primitives/test-helpers/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-primitives-test-helpers" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 401eec5a30d9..d0bbb0195bc8 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-rpc" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index 96f29eae9257..d7664ba2d078 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-common" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/common/slot_range_helper/Cargo.toml b/runtime/common/slot_range_helper/Cargo.toml index 0cd436955827..1957f35551c5 100644 --- a/runtime/common/slot_range_helper/Cargo.toml +++ b/runtime/common/slot_range_helper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "slot-range-helper" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index ec3de40ec5e6..969f85e7e721 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kusama-runtime" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/kusama/constants/Cargo.toml b/runtime/kusama/constants/Cargo.toml index 6f85387f743d..caaf4e3af577 100644 --- a/runtime/kusama/constants/Cargo.toml +++ b/runtime/kusama/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kusama-runtime-constants" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 3a4d63ef3372..b1f71f01fdaa 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -124,13 +124,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), authoring_version: 2, - spec_version: 9310, + spec_version: 9330, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], - transaction_version: 15, + transaction_version: 16, state_version: 0, }; diff --git a/runtime/metrics/Cargo.toml b/runtime/metrics/Cargo.toml index efa7569d1130..73c0b751f01b 100644 --- a/runtime/metrics/Cargo.toml +++ b/runtime/metrics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-metrics" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index cb8b989ccdda..1d055c7630f2 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-parachains" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 9809fb8ff843..c621fa876573 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/polkadot/constants/Cargo.toml b/runtime/polkadot/constants/Cargo.toml index 953ff98c2d5b..6b930c0e4196 100644 --- a/runtime/polkadot/constants/Cargo.toml +++ b/runtime/polkadot/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-runtime-constants" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 8e2a8eeb3001..4e15d4feb9c4 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -114,13 +114,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), authoring_version: 0, - spec_version: 9310, + spec_version: 9330, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], - transaction_version: 16, + transaction_version: 17, state_version: 0, }; diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index b79b2cf444be..b07703060a7f 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rococo-runtime" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/rococo/constants/Cargo.toml b/runtime/rococo/constants/Cargo.toml index ec520965684b..772d66766d2d 100644 --- a/runtime/rococo/constants/Cargo.toml +++ b/runtime/rococo/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rococo-runtime-constants" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 156448bd5ba3..8f3599686672 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -108,7 +108,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("rococo"), impl_name: create_runtime_str!("parity-rococo-v2.0"), authoring_version: 0, - spec_version: 9310, + spec_version: 9330, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index e05ee85c6250..ae0ec62c8493 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-test-runtime" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/test-runtime/constants/Cargo.toml b/runtime/test-runtime/constants/Cargo.toml index 4f6f144c2b61..c1d7b89408e7 100644 --- a/runtime/test-runtime/constants/Cargo.toml +++ b/runtime/test-runtime/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "test-runtime-constants" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index d5efbb28d5a4..fa3456f762d8 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "westend-runtime" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" build = "build.rs" diff --git a/runtime/westend/constants/Cargo.toml b/runtime/westend/constants/Cargo.toml index d891ea0aa3a3..1c3703678f61 100644 --- a/runtime/westend/constants/Cargo.toml +++ b/runtime/westend/constants/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "westend-runtime-constants" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 1455cac12246..2fee85a336a2 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -109,13 +109,13 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westend"), impl_name: create_runtime_str!("parity-westend"), authoring_version: 2, - spec_version: 9310, + spec_version: 9330, impl_version: 0, #[cfg(not(feature = "disable-runtime-api"))] apis: RUNTIME_API_VERSIONS, #[cfg(feature = "disable-runtime-api")] apis: sp_version::create_apis_vec![[]], - transaction_version: 14, + transaction_version: 15, state_version: 0, }; diff --git a/statement-table/Cargo.toml b/statement-table/Cargo.toml index 81b4be51c8e4..a7d9eba3a440 100644 --- a/statement-table/Cargo.toml +++ b/statement-table/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-statement-table" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index 8f2d8e79e1e5..fc6b9b69f9b4 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "polkadot-voter-bags" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/remote-ext-tests/bags-list/Cargo.toml b/utils/remote-ext-tests/bags-list/Cargo.toml index 20dc36fd5385..98ff17f777f8 100644 --- a/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/utils/remote-ext-tests/bags-list/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "remote-ext-tests-bags-list" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 45cb5fec6d1a..28904d225d34 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "staking-miner" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] edition = "2021" diff --git a/xcm/Cargo.toml b/xcm/Cargo.toml index 5a2e6813b0b4..7ac855b9c63d 100644 --- a/xcm/Cargo.toml +++ b/xcm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "The basic XCM datastructures." edition = "2021" diff --git a/xcm/pallet-xcm-benchmarks/Cargo.toml b/xcm/pallet-xcm-benchmarks/Cargo.toml index a4fd91004e66..483a22f72b37 100644 --- a/xcm/pallet-xcm-benchmarks/Cargo.toml +++ b/xcm/pallet-xcm-benchmarks/Cargo.toml @@ -2,7 +2,7 @@ name = "pallet-xcm-benchmarks" authors = ["Parity Technologies "] edition = "2021" -version = "0.9.31" +version = "0.9.33" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/xcm/pallet-xcm/Cargo.toml b/xcm/pallet-xcm/Cargo.toml index a5b6ad7de395..8545490a9d8e 100644 --- a/xcm/pallet-xcm/Cargo.toml +++ b/xcm/pallet-xcm/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "pallet-xcm" -version = "0.9.31" +version = "0.9.33" [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } diff --git a/xcm/procedural/Cargo.toml b/xcm/procedural/Cargo.toml index 14a7d068db68..3e10f246e53d 100644 --- a/xcm/procedural/Cargo.toml +++ b/xcm/procedural/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Parity Technologies "] name = "xcm-procedural" -version = "0.9.31" +version = "0.9.33" edition = "2021" [lib] diff --git a/xcm/xcm-builder/Cargo.toml b/xcm/xcm-builder/Cargo.toml index 3b3f97fd823c..7fb2dfc2bd40 100644 --- a/xcm/xcm-builder/Cargo.toml +++ b/xcm/xcm-builder/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-builder" description = "Tools & types for building with XCM and its executor." -version = "0.9.31" +version = "0.9.33" [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } diff --git a/xcm/xcm-executor/Cargo.toml b/xcm/xcm-executor/Cargo.toml index 1f9842887eae..6ba0e89d9fb9 100644 --- a/xcm/xcm-executor/Cargo.toml +++ b/xcm/xcm-executor/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-executor" description = "An abstract and configurable XCM message executor." -version = "0.9.31" +version = "0.9.33" [dependencies] impl-trait-for-tuples = "0.2.2" diff --git a/xcm/xcm-executor/integration-tests/Cargo.toml b/xcm/xcm-executor/integration-tests/Cargo.toml index 9e5adab26286..4e3ec402bd07 100644 --- a/xcm/xcm-executor/integration-tests/Cargo.toml +++ b/xcm/xcm-executor/integration-tests/Cargo.toml @@ -3,7 +3,7 @@ authors = ["Parity Technologies "] edition = "2021" name = "xcm-executor-integration-tests" description = "Integration tests for the XCM Executor" -version = "0.9.31" +version = "0.9.33" [dependencies] frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/xcm/xcm-simulator/Cargo.toml b/xcm/xcm-simulator/Cargo.toml index 4c3c45c404b7..5e2bda46e494 100644 --- a/xcm/xcm-simulator/Cargo.toml +++ b/xcm/xcm-simulator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Test kit to simulate cross-chain message passing and XCM execution" edition = "2021" diff --git a/xcm/xcm-simulator/example/Cargo.toml b/xcm/xcm-simulator/example/Cargo.toml index 7fa6ade69fc5..ce95b05450e1 100644 --- a/xcm/xcm-simulator/example/Cargo.toml +++ b/xcm/xcm-simulator/example/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator-example" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." edition = "2021" diff --git a/xcm/xcm-simulator/fuzzer/Cargo.toml b/xcm/xcm-simulator/fuzzer/Cargo.toml index 7ecff2f8c021..85f99e6bd884 100644 --- a/xcm/xcm-simulator/fuzzer/Cargo.toml +++ b/xcm/xcm-simulator/fuzzer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xcm-simulator-fuzzer" -version = "0.9.31" +version = "0.9.33" authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." edition = "2021" From 71a0fadd627e97b5a71c3cc6fa2aefda14328c19 Mon Sep 17 00:00:00 2001 From: alexgparity <115470171+alexgparity@users.noreply.github.com> Date: Wed, 30 Nov 2022 09:34:06 +0100 Subject: [PATCH 144/211] Clippyfy (#6341) * Add clippy config and remove .cargo from gitignore * first fixes * Clippyfied * Add clippy CI job * comment out rusty-cachier * minor * fix ci * remove DAG from check-dependent-project * add DAG to clippy Co-authored-by: alvicsam --- .cargo/config.toml | 32 ++++++++ .gitignore | 1 - cli/src/command.rs | 12 +-- erasure-coding/src/lib.rs | 2 +- node/client/src/benchmarking.rs | 8 +- .../approval-voting/src/approval_checking.rs | 4 +- node/core/approval-voting/src/criteria.rs | 8 +- node/core/approval-voting/src/import.rs | 7 +- node/core/approval-voting/src/lib.rs | 11 +-- node/core/av-store/src/lib.rs | 2 +- node/core/backing/src/lib.rs | 6 +- node/core/candidate-validation/src/lib.rs | 4 +- node/core/chain-selection/src/lib.rs | 1 + node/core/dispute-coordinator/src/import.rs | 2 +- .../dispute-coordinator/src/initialized.rs | 60 +++++++------- .../src/participation/mod.rs | 2 +- .../src/participation/queues/mod.rs | 2 +- .../src/disputes/prioritized_selection/mod.rs | 2 +- node/core/provisioner/src/lib.rs | 4 +- node/core/pvf/src/execute/queue.rs | 4 +- node/core/pvf/src/executor_intf.rs | 2 +- node/core/pvf/src/prepare/worker.rs | 2 +- node/core/pvf/src/testing.rs | 2 +- node/core/runtime-api/src/lib.rs | 2 +- node/metrics/src/metronome.rs | 2 +- node/network/approval-distribution/src/lib.rs | 78 +++++++++---------- node/network/availability-recovery/src/lib.rs | 5 +- node/network/bitfield-distribution/src/lib.rs | 25 +++--- node/network/bridge/src/network.rs | 4 +- node/network/bridge/src/rx/mod.rs | 22 +++--- .../src/collator_side/mod.rs | 13 ++-- .../src/validator_side/mod.rs | 46 ++++------- .../dispute-distribution/src/receiver/mod.rs | 2 +- .../dispute-distribution/src/sender/mod.rs | 4 +- node/network/protocol/src/grid_topology.rs | 4 +- node/network/protocol/src/lib.rs | 2 +- .../network/statement-distribution/src/lib.rs | 48 ++++++------ node/overseer/src/dummy.rs | 8 +- node/overseer/src/lib.rs | 4 +- node/primitives/src/disputes/message.rs | 4 +- node/service/src/overseer.rs | 14 ++-- node/service/src/relay_chain_selection.rs | 5 +- node/subsystem-types/src/errors.rs | 7 +- node/subsystem-types/src/messages.rs | 4 +- .../src/messages/network_bridge_event.rs | 13 +--- primitives/src/v2/mod.rs | 2 +- runtime/common/src/claims.rs | 24 +++--- runtime/common/src/crowdloan/migration.rs | 30 +++---- runtime/common/src/slots/migration.rs | 38 ++++----- runtime/parachains/src/disputes.rs | 2 +- runtime/parachains/src/hrmp.rs | 6 +- runtime/parachains/src/inclusion/mod.rs | 7 +- runtime/parachains/src/initializer.rs | 2 +- runtime/parachains/src/paras_inherent/mod.rs | 6 +- runtime/parachains/src/runtime_api_impl/v2.rs | 4 +- runtime/parachains/src/scheduler.rs | 12 ++- runtime/parachains/src/ump.rs | 2 +- scripts/ci/gitlab/pipeline/test.yml | 15 ++++ tests/benchmark_block.rs | 6 +- tests/benchmark_extrinsic.rs | 9 +-- tests/benchmark_overhead.rs | 2 +- tests/benchmark_storage_works.rs | 2 +- tests/common.rs | 6 +- tests/invalid_order_arguments.rs | 2 +- tests/purge_chain_works.rs | 8 +- tests/running_the_node_and_interrupt.rs | 2 +- xcm/xcm-executor/src/assets.rs | 6 +- 67 files changed, 338 insertions(+), 351 deletions(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 000000000000..66b28b3485d8 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,32 @@ +# +# An auto defined `clippy` feature was introduced, +# but it was found to clash with user defined features, +# so was renamed to `cargo-clippy`. +# +# If you want standard clippy run: +# RUSTFLAGS= cargo clippy +[target.'cfg(feature = "cargo-clippy")'] +rustflags = [ + "-Aclippy::all", + "-Dclippy::correctness", + "-Aclippy::if-same-then-else", + "-Aclippy::clone-double-ref", + "-Dclippy::complexity", + "-Aclippy::zero-prefixed-literal", # 00_1000_000 + "-Aclippy::type_complexity", # raison d'etre + "-Aclippy::nonminimal-bool", # maybe + "-Aclippy::borrowed-box", # Reasonable to fix this one + "-Aclippy::too-many-arguments", # (Turning this on would lead to) + "-Aclippy::unnecessary_cast", # Types may change + "-Aclippy::identity-op", # One case where we do 0 + + "-Aclippy::useless_conversion", # Types may change + "-Aclippy::unit_arg", # styalistic. + "-Aclippy::option-map-unit-fn", # styalistic + "-Aclippy::bind_instead_of_map", # styalistic + "-Aclippy::erasing_op", # E.g. 0 * DOLLARS + "-Aclippy::eq_op", # In tests we test equality. + "-Aclippy::while_immutable_condition", # false positives + "-Aclippy::needless_option_as_deref", # false positives + "-Aclippy::derivable_impls", # false positives + "-Aclippy::stable_sort_primitive", # prefer stable sort +] diff --git a/.gitignore b/.gitignore index 5ea0458ddfc8..f9ab33eb63f3 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,4 @@ polkadot.* !polkadot.service !.rpm/* .DS_Store -.cargo .env diff --git a/cli/src/command.rs b/cli/src/command.rs index 5ce7c05162c1..0995e1d265d4 100644 --- a/cli/src/command.rs +++ b/cli/src/command.rs @@ -591,27 +591,27 @@ pub fn run() -> Result<()> { #[cfg(feature = "kusama-native")] if chain_spec.is_kusama() { - return Ok(runner.sync_run(|config| { + return runner.sync_run(|config| { cmd.run::(config) .map_err(|e| Error::SubstrateCli(e)) - })?) + }) } #[cfg(feature = "westend-native")] if chain_spec.is_westend() { - return Ok(runner.sync_run(|config| { + return runner.sync_run(|config| { cmd.run::(config) .map_err(|e| Error::SubstrateCli(e)) - })?) + }) } // else we assume it is polkadot. #[cfg(feature = "polkadot-native")] { - return Ok(runner.sync_run(|config| { + return runner.sync_run(|config| { cmd.run::(config) .map_err(|e| Error::SubstrateCli(e)) - })?) + }) } #[cfg(not(feature = "polkadot-native"))] diff --git a/erasure-coding/src/lib.rs b/erasure-coding/src/lib.rs index 5e85809f4117..6abd7dce4dd3 100644 --- a/erasure-coding/src/lib.rs +++ b/erasure-coding/src/lib.rs @@ -216,7 +216,7 @@ pub struct Branches<'a, I> { impl<'a, I: AsRef<[u8]>> Branches<'a, I> { /// Get the trie root. pub fn root(&self) -> H256 { - self.root.clone() + self.root } } diff --git a/node/client/src/benchmarking.rs b/node/client/src/benchmarking.rs index 7990bc88d218..aaa60a168b4d 100644 --- a/node/client/src/benchmarking.rs +++ b/node/client/src/benchmarking.rs @@ -165,7 +165,7 @@ impl BenchmarkCallSigner (), runtime::VERSION.spec_version, runtime::VERSION.transaction_version, - genesis.clone(), + genesis, genesis, (), (), @@ -220,7 +220,7 @@ impl BenchmarkCallSigner (), runtime::VERSION.spec_version, runtime::VERSION.transaction_version, - genesis.clone(), + genesis, genesis, (), (), @@ -274,7 +274,7 @@ impl BenchmarkCallSigner (), runtime::VERSION.spec_version, runtime::VERSION.transaction_version, - genesis.clone(), + genesis, genesis, (), (), @@ -328,7 +328,7 @@ impl BenchmarkCallSigner (), runtime::VERSION.spec_version, runtime::VERSION.transaction_version, - genesis.clone(), + genesis, genesis, (), (), diff --git a/node/core/approval-voting/src/approval_checking.rs b/node/core/approval-voting/src/approval_checking.rs index b513c18895b3..82a9a8c89bf5 100644 --- a/node/core/approval-voting/src/approval_checking.rs +++ b/node/core/approval-voting/src/approval_checking.rs @@ -282,8 +282,8 @@ impl State { /// Constructs an infinite iterator from an array of `TrancheEntry` values. Any missing tranches /// are filled with empty assignments, as they are needed to compute the approved tranches. -fn filled_tranche_iterator<'a>( - tranches: &'a [TrancheEntry], +fn filled_tranche_iterator( + tranches: &[TrancheEntry], ) -> impl Iterator { let mut gap_end = None; diff --git a/node/core/approval-voting/src/criteria.rs b/node/core/approval-voting/src/criteria.rs index fea71d79c098..520a1a745056 100644 --- a/node/core/approval-voting/src/criteria.rs +++ b/node/core/approval-voting/src/criteria.rs @@ -155,10 +155,10 @@ impl<'a> From<&'a SessionInfo> for Config { Config { assignment_keys: s.assignment_keys.clone(), validator_groups: s.validator_groups.clone(), - n_cores: s.n_cores.clone(), - zeroth_delay_tranche_width: s.zeroth_delay_tranche_width.clone(), - relay_vrf_modulo_samples: s.relay_vrf_modulo_samples.clone(), - n_delay_tranches: s.n_delay_tranches.clone(), + n_cores: s.n_cores, + zeroth_delay_tranche_width: s.zeroth_delay_tranche_width, + relay_vrf_modulo_samples: s.relay_vrf_modulo_samples, + n_delay_tranches: s.n_delay_tranches, } } } diff --git a/node/core/approval-voting/src/import.rs b/node/core/approval-voting/src/import.rs index 20629dd022d4..2331b50b6bb1 100644 --- a/node/core/approval-voting/src/import.rs +++ b/node/core/approval-voting/src/import.rs @@ -415,11 +415,8 @@ pub(crate) async fn handle_new_head( Err(error) => { // It's possible that we've lost a race with finality. let (tx, rx) = oneshot::channel(); - ctx.send_message(ChainApiMessage::FinalizedBlockHash( - block_header.number.clone(), - tx, - )) - .await; + ctx.send_message(ChainApiMessage::FinalizedBlockHash(block_header.number, tx)) + .await; let lost_to_finality = match rx.await { Ok(Ok(Some(h))) if h != block_hash => true, diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index bc63549795c2..06a4f0b24bb0 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -621,10 +621,7 @@ impl CurrentlyCheckingSet { .candidate_hash_map .remove(&approval_state.candidate_hash) .unwrap_or_default(); - approvals_cache.put( - approval_state.candidate_hash.clone(), - approval_state.approval_outcome.clone(), - ); + approvals_cache.put(approval_state.candidate_hash, approval_state.approval_outcome); return (out, approval_state) } } @@ -768,7 +765,7 @@ async fn run( where B: Backend, { - if let Err(err) = db_sanity_check(subsystem.db.clone(), subsystem.db_config.clone()) { + if let Err(err) = db_sanity_check(subsystem.db.clone(), subsystem.db_config) { gum::warn!(target: LOG_TARGET, ?err, "Could not run approval vote DB sanity check"); } @@ -1278,7 +1275,7 @@ async fn get_approval_signatures_for_candidate( Some(e) => e, }; - let relay_hashes = entry.block_assignments.iter().map(|(relay_hash, _)| relay_hash); + let relay_hashes = entry.block_assignments.keys(); let mut candidate_indices = HashSet::new(); // Retrieve `CoreIndices`/`CandidateIndices` as required by approval-distribution: @@ -2502,7 +2499,7 @@ async fn issue_approval( }; let candidate_hash = match block_entry.candidate(candidate_index as usize) { - Some((_, h)) => h.clone(), + Some((_, h)) => *h, None => { gum::warn!( target: LOG_TARGET, diff --git a/node/core/av-store/src/lib.rs b/node/core/av-store/src/lib.rs index 4fbbf3740ab0..cbbbf2bbd7dc 100644 --- a/node/core/av-store/src/lib.rs +++ b/node/core/av-store/src/lib.rs @@ -61,7 +61,7 @@ const PRUNE_BY_TIME_PREFIX: &[u8; 13] = b"prune_by_time"; // We have some keys we want to map to empty values because existence of the key is enough. We use this because // rocksdb doesn't support empty values. -const TOMBSTONE_VALUE: &[u8] = &*b" "; +const TOMBSTONE_VALUE: &[u8] = b" "; /// Unavailable blocks are kept for 1 hour. const KEEP_UNAVAILABLE_FOR: Duration = Duration::from_secs(60 * 60); diff --git a/node/core/backing/src/lib.rs b/node/core/backing/src/lib.rs index a9ae518e3103..2f8aa4490f27 100644 --- a/node/core/backing/src/lib.rs +++ b/node/core/backing/src/lib.rs @@ -482,9 +482,7 @@ impl TableContextTrait for TableContext { } fn is_member_of(&self, authority: &ValidatorIndex, group: &ParaId) -> bool { - self.groups - .get(group) - .map_or(false, |g| g.iter().position(|a| a == authority).is_some()) + self.groups.get(group).map_or(false, |g| g.iter().any(|a| a == authority)) } fn requisite_votes(&self, group: &ParaId) -> usize { @@ -499,7 +497,7 @@ struct InvalidErasureRoot; fn primitive_statement_to_table(s: &SignedFullStatement) -> TableSignedStatement { let statement = match s.payload() { Statement::Seconded(c) => TableStatement::Seconded(c.clone()), - Statement::Valid(h) => TableStatement::Valid(h.clone()), + Statement::Valid(h) => TableStatement::Valid(*h), }; TableSignedStatement { diff --git a/node/core/candidate-validation/src/lib.rs b/node/core/candidate-validation/src/lib.rs index 7d9db4f3d794..f21f1be2f1bf 100644 --- a/node/core/candidate-validation/src/lib.rs +++ b/node/core/candidate-validation/src/lib.rs @@ -502,7 +502,7 @@ async fn validate_candidate_exhaustive( let _timer = metrics.time_validate_candidate_exhaustive(); let validation_code_hash = validation_code.hash(); - let para_id = candidate_receipt.descriptor.para_id.clone(); + let para_id = candidate_receipt.descriptor.para_id; gum::debug!( target: LOG_TARGET, ?validation_code_hash, @@ -513,7 +513,7 @@ async fn validate_candidate_exhaustive( if let Err(e) = perform_basic_checks( &candidate_receipt.descriptor, persisted_validation_data.max_pov_size, - &*pov, + &pov, &validation_code_hash, ) { gum::info!(target: LOG_TARGET, ?para_id, "Invalid candidate (basic checks)"); diff --git a/node/core/chain-selection/src/lib.rs b/node/core/chain-selection/src/lib.rs index e5ffe6811d6e..786454fb9891 100644 --- a/node/core/chain-selection/src/lib.rs +++ b/node/core/chain-selection/src/lib.rs @@ -381,6 +381,7 @@ async fn run( ) where B: Backend, { + #![allow(clippy::all)] loop { let res = run_until_error( &mut ctx, diff --git a/node/core/dispute-coordinator/src/import.rs b/node/core/dispute-coordinator/src/import.rs index c0f0d3d9e009..28eacffab861 100644 --- a/node/core/dispute-coordinator/src/import.rs +++ b/node/core/dispute-coordinator/src/import.rs @@ -169,7 +169,7 @@ impl CandidateVoteState { } /// Create a new `CandidateVoteState` from already existing votes. - pub fn new<'a>(votes: CandidateVotes, env: &CandidateEnvironment<'a>, now: Timestamp) -> Self { + pub fn new(votes: CandidateVotes, env: &CandidateEnvironment, now: Timestamp) -> Self { let own_vote = OwnVoteState::new(&votes, env); let n_validators = env.validators().len(); diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 4a2076a225be..a9c174921749 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -713,20 +713,22 @@ impl Initialized { return Ok(ImportStatementsResult::InvalidImport) } - let env = - match CandidateEnvironment::new(&*self.keystore, &self.rolling_session_window, session) - { - None => { - gum::warn!( - target: LOG_TARGET, - session, - "We are lacking a `SessionInfo` for handling import of statements." - ); + let env = match CandidateEnvironment::new( + &self.keystore, + &self.rolling_session_window, + session, + ) { + None => { + gum::warn!( + target: LOG_TARGET, + session, + "We are lacking a `SessionInfo` for handling import of statements." + ); - return Ok(ImportStatementsResult::InvalidImport) - }, - Some(env) => env, - }; + return Ok(ImportStatementsResult::InvalidImport) + }, + Some(env) => env, + }; let candidate_hash = candidate_receipt.hash(); @@ -1075,20 +1077,22 @@ impl Initialized { "Issuing local statement for candidate!" ); // Load environment: - let env = - match CandidateEnvironment::new(&*self.keystore, &self.rolling_session_window, session) - { - None => { - gum::warn!( - target: LOG_TARGET, - session, - "Missing info for session which has an active dispute", - ); + let env = match CandidateEnvironment::new( + &self.keystore, + &self.rolling_session_window, + session, + ) { + None => { + gum::warn!( + target: LOG_TARGET, + session, + "Missing info for session which has an active dispute", + ); - return Ok(()) - }, - Some(env) => env, - }; + return Ok(()) + }, + Some(env) => env, + }; let votes = overlay_db .load_candidate_votes(session, &candidate_hash)? @@ -1257,7 +1261,7 @@ fn make_dispute_message( votes.invalid.iter().next().ok_or(DisputeMessageCreationError::NoOppositeVote)?; let other_vote = SignedDisputeStatement::new_checked( DisputeStatement::Invalid(*statement_kind), - our_vote.candidate_hash().clone(), + *our_vote.candidate_hash(), our_vote.session_index(), validators .get(*validator_index) @@ -1272,7 +1276,7 @@ fn make_dispute_message( votes.valid.iter().next().ok_or(DisputeMessageCreationError::NoOppositeVote)?; let other_vote = SignedDisputeStatement::new_checked( DisputeStatement::Valid(*statement_kind), - our_vote.candidate_hash().clone(), + *our_vote.candidate_hash(), our_vote.session_index(), validators .get(*validator_index) diff --git a/node/core/dispute-coordinator/src/participation/mod.rs b/node/core/dispute-coordinator/src/participation/mod.rs index 874f37e63213..e923e13e8142 100644 --- a/node/core/dispute-coordinator/src/participation/mod.rs +++ b/node/core/dispute-coordinator/src/participation/mod.rs @@ -235,7 +235,7 @@ impl Participation { req: ParticipationRequest, recent_head: Hash, ) -> FatalResult<()> { - if self.running_participations.insert(req.candidate_hash().clone()) { + if self.running_participations.insert(*req.candidate_hash()) { let sender = ctx.sender().clone(); ctx.spawn( "participation-worker", diff --git a/node/core/dispute-coordinator/src/participation/queues/mod.rs b/node/core/dispute-coordinator/src/participation/queues/mod.rs index d2fcab1ba258..29380bd77df1 100644 --- a/node/core/dispute-coordinator/src/participation/queues/mod.rs +++ b/node/core/dispute-coordinator/src/participation/queues/mod.rs @@ -204,7 +204,7 @@ impl Queues { // Once https://github.com/rust-lang/rust/issues/62924 is there, we can use a simple: // target.pop_first(). if let Some((comparator, _)) = target.iter().next() { - let comparator = comparator.clone(); + let comparator = *comparator; target .remove(&comparator) .map(|participation_request| (comparator, participation_request)) diff --git a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs index dcfcd0d1c2f0..4231dc840c2c 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs @@ -99,7 +99,7 @@ where ); // Fetch the onchain disputes. We'll do a prioritization based on them. - let onchain = match get_onchain_disputes(sender, leaf.hash.clone()).await { + let onchain = match get_onchain_disputes(sender, leaf.hash).await { Ok(r) => r, Err(GetOnchainDisputesError::NotSupported(runtime_api_err, relay_parent)) => { // Runtime version is checked before calling this method, so the error below should never happen! diff --git a/node/core/provisioner/src/lib.rs b/node/core/provisioner/src/lib.rs index 0530d48aabda..fcb65d66f286 100644 --- a/node/core/provisioner/src/lib.rs +++ b/node/core/provisioner/src/lib.rs @@ -373,7 +373,7 @@ async fn send_inherent_data( let disputes = match has_required_runtime( from_job, - leaf.hash.clone(), + leaf.hash, PRIORITIZED_SELECTION_RUNTIME_VERSION_REQUIREMENT, ) .await @@ -506,7 +506,7 @@ fn select_availability_bitfields( bitfields.len() ); - selected.into_iter().map(|(_, b)| b).collect() + selected.into_values().collect() } /// Determine which cores are free, and then to the degree possible, pick a candidate appropriate to each free core. diff --git a/node/core/pvf/src/execute/queue.rs b/node/core/pvf/src/execute/queue.rs index b4c6a66b7719..17fb5765f7d3 100644 --- a/node/core/pvf/src/execute/queue.rs +++ b/node/core/pvf/src/execute/queue.rs @@ -225,10 +225,8 @@ fn handle_job_finish( result_tx: ResultSender, ) { let (idle_worker, result) = match outcome { - Outcome::Ok { result_descriptor, duration_ms, idle_worker } => { + Outcome::Ok { result_descriptor, duration_ms: _, idle_worker } => { // TODO: propagate the soft timeout - drop(duration_ms); - (Some(idle_worker), Ok(result_descriptor)) }, Outcome::InvalidCandidate { err, idle_worker } => ( diff --git a/node/core/pvf/src/executor_intf.rs b/node/core/pvf/src/executor_intf.rs index bbeb6195e1dc..c5578f5f81ad 100644 --- a/node/core/pvf/src/executor_intf.rs +++ b/node/core/pvf/src/executor_intf.rs @@ -424,7 +424,7 @@ impl sp_core::traits::ReadRuntimeVersion for ReadRuntimeVersion { use parity_scale_codec::Encode; Ok(version.encode()) }, - None => Err(format!("runtime version section is not found")), + None => Err("runtime version section is not found".to_string()), } } } diff --git a/node/core/pvf/src/prepare/worker.rs b/node/core/pvf/src/prepare/worker.rs index 1cf512894740..a16b9b94176e 100644 --- a/node/core/pvf/src/prepare/worker.rs +++ b/node/core/pvf/src/prepare/worker.rs @@ -219,7 +219,7 @@ async fn send_request( code: Arc>, tmp_file: &Path, ) -> io::Result<()> { - framed_send(stream, &*code).await?; + framed_send(stream, &code).await?; framed_send(stream, path_to_bytes(tmp_file)).await?; Ok(()) } diff --git a/node/core/pvf/src/testing.rs b/node/core/pvf/src/testing.rs index 3b64d130fc6a..cbd37b06d403 100644 --- a/node/core/pvf/src/testing.rs +++ b/node/core/pvf/src/testing.rs @@ -34,7 +34,7 @@ pub fn validate_candidate( let code = sp_maybe_compressed_blob::decompress(code, 10 * 1024 * 1024) .expect("Decompressing code failed"); - let blob = prevalidate(&*code)?; + let blob = prevalidate(&code)?; let artifact = prepare(blob)?; let tmpdir = tempfile::tempdir()?; let artifact_path = tmpdir.path().join("blob"); diff --git a/node/core/runtime-api/src/lib.rs b/node/core/runtime-api/src/lib.rs index 36355b5759e6..de42ace3af0c 100644 --- a/node/core/runtime-api/src/lib.rs +++ b/node/core/runtime-api/src/lib.rs @@ -268,7 +268,7 @@ where let (sender, receiver) = oneshot::channel(); // TODO: make the cache great again https://github.com/paritytech/polkadot/issues/5546 - let request = match self.query_cache(relay_parent.clone(), request) { + let request = match self.query_cache(relay_parent, request) { Some(request) => request, None => return, }; diff --git a/node/metrics/src/metronome.rs b/node/metrics/src/metronome.rs index 9184f7ac20ad..ac47e20319d8 100644 --- a/node/metrics/src/metronome.rs +++ b/node/metrics/src/metronome.rs @@ -49,7 +49,7 @@ impl futures::Stream for Metronome { loop { match self.state { MetronomeState::SetAlarm => { - let val = self.period.clone(); + let val = self.period; self.delay.reset(val); self.state = MetronomeState::Snooze; }, diff --git a/node/network/approval-distribution/src/lib.rs b/node/network/approval-distribution/src/lib.rs index 5afae66ae818..017538cae5f3 100644 --- a/node/network/approval-distribution/src/lib.rs +++ b/node/network/approval-distribution/src/lib.rs @@ -309,7 +309,7 @@ enum MessageSource { impl MessageSource { fn peer_id(&self) -> Option { match self { - Self::Peer(id) => Some(id.clone()), + Self::Peer(id) => Some(*id), Self::Local => None, } } @@ -389,7 +389,7 @@ impl State { ) { let mut new_hashes = HashSet::new(); for meta in &metas { - match self.blocks.entry(meta.hash.clone()) { + match self.blocks.entry(meta.hash) { hash_map::Entry::Vacant(entry) => { let candidates_count = meta.candidates.len(); let mut candidates = Vec::with_capacity(candidates_count); @@ -398,7 +398,7 @@ impl State { entry.insert(BlockEntry { known_by: HashMap::new(), number: meta.number, - parent_hash: meta.parent_hash.clone(), + parent_hash: meta.parent_hash, knowledge: Knowledge::default(), candidates, session: meta.session, @@ -406,7 +406,7 @@ impl State { self.topologies.inc_session_refs(meta.session); - new_hashes.insert(meta.hash.clone()); + new_hashes.insert(meta.hash); // In case there are duplicates, we should only set this if the entry // was vacant. @@ -433,7 +433,7 @@ impl State { &mut self.blocks, &self.topologies, self.peer_views.len(), - peer_id.clone(), + *peer_id, view_intersection, rng, ) @@ -563,10 +563,8 @@ impl State { "Pending assignment", ); - pending.push(( - peer_id.clone(), - PendingMessage::Assignment(assignment, claimed_index), - )); + pending + .push((peer_id, PendingMessage::Assignment(assignment, claimed_index))); continue } @@ -574,7 +572,7 @@ impl State { self.import_and_circulate_assignment( ctx, metrics, - MessageSource::Peer(peer_id.clone()), + MessageSource::Peer(peer_id), assignment, claimed_index, rng, @@ -604,7 +602,7 @@ impl State { "Pending approval", ); - pending.push((peer_id.clone(), PendingMessage::Approval(approval_vote))); + pending.push((peer_id, PendingMessage::Approval(approval_vote))); continue } @@ -612,7 +610,7 @@ impl State { self.import_and_circulate_approval( ctx, metrics, - MessageSource::Peer(peer_id.clone()), + MessageSource::Peer(peer_id), approval_vote, ) .await; @@ -663,7 +661,7 @@ impl State { &mut self.blocks, &self.topologies, self.peer_views.len(), - peer_id.clone(), + peer_id, view, rng, ) @@ -709,7 +707,7 @@ impl State { ) where R: CryptoRng + Rng, { - let block_hash = assignment.block_hash.clone(); + let block_hash = assignment.block_hash; let validator_index = assignment.validator; let entry = match self.blocks.get_mut(&block_hash) { @@ -737,7 +735,7 @@ impl State { if let Some(peer_id) = source.peer_id() { // check if our knowledge of the peer already contains this assignment - match entry.known_by.entry(peer_id.clone()) { + match entry.known_by.entry(peer_id) { hash_map::Entry::Occupied(mut peer_knowledge) => { let peer_knowledge = peer_knowledge.get_mut(); if peer_knowledge.contains(&message_subject, message_kind) { @@ -761,13 +759,13 @@ impl State { ?message_subject, "Assignment from a peer is out of view", ); - modify_reputation(ctx.sender(), peer_id.clone(), COST_UNEXPECTED_MESSAGE).await; + modify_reputation(ctx.sender(), peer_id, COST_UNEXPECTED_MESSAGE).await; }, } // if the assignment is known to be valid, reward the peer if entry.knowledge.contains(&message_subject, message_kind) { - modify_reputation(ctx.sender(), peer_id.clone(), BENEFIT_VALID_MESSAGE).await; + modify_reputation(ctx.sender(), peer_id, BENEFIT_VALID_MESSAGE).await; if let Some(peer_knowledge) = entry.known_by.get_mut(&peer_id) { gum::trace!(target: LOG_TARGET, ?peer_id, ?message_subject, "Known assignment"); peer_knowledge.received.insert(message_subject, message_kind); @@ -803,8 +801,7 @@ impl State { ); match result { AssignmentCheckResult::Accepted => { - modify_reputation(ctx.sender(), peer_id.clone(), BENEFIT_VALID_MESSAGE_FIRST) - .await; + modify_reputation(ctx.sender(), peer_id, BENEFIT_VALID_MESSAGE_FIRST).await; entry.knowledge.known_messages.insert(message_subject.clone(), message_kind); if let Some(peer_knowledge) = entry.known_by.get_mut(&peer_id) { peer_knowledge.received.insert(message_subject.clone(), message_kind); @@ -970,7 +967,7 @@ impl State { source: MessageSource, vote: IndirectSignedApprovalVote, ) { - let block_hash = vote.block_hash.clone(); + let block_hash = vote.block_hash; let validator_index = vote.validator; let candidate_index = vote.candidate_index; @@ -1003,7 +1000,7 @@ impl State { } // check if our knowledge of the peer already contains this approval - match entry.known_by.entry(peer_id.clone()) { + match entry.known_by.entry(peer_id) { hash_map::Entry::Occupied(mut knowledge) => { let peer_knowledge = knowledge.get_mut(); if peer_knowledge.contains(&message_subject, message_kind) { @@ -1027,14 +1024,14 @@ impl State { ?message_subject, "Approval from a peer is out of view", ); - modify_reputation(ctx.sender(), peer_id.clone(), COST_UNEXPECTED_MESSAGE).await; + modify_reputation(ctx.sender(), peer_id, COST_UNEXPECTED_MESSAGE).await; }, } // if the approval is known to be valid, reward the peer if entry.knowledge.contains(&message_subject, message_kind) { gum::trace!(target: LOG_TARGET, ?peer_id, ?message_subject, "Known approval"); - modify_reputation(ctx.sender(), peer_id.clone(), BENEFIT_VALID_MESSAGE).await; + modify_reputation(ctx.sender(), peer_id, BENEFIT_VALID_MESSAGE).await; if let Some(peer_knowledge) = entry.known_by.get_mut(&peer_id) { peer_knowledge.received.insert(message_subject.clone(), message_kind); } @@ -1065,8 +1062,7 @@ impl State { ); match result { ApprovalCheckResult::Accepted => { - modify_reputation(ctx.sender(), peer_id.clone(), BENEFIT_VALID_MESSAGE_FIRST) - .await; + modify_reputation(ctx.sender(), peer_id, BENEFIT_VALID_MESSAGE_FIRST).await; entry.knowledge.insert(message_subject.clone(), message_kind); if let Some(peer_knowledge) = entry.known_by.get_mut(&peer_id) { @@ -1301,7 +1297,7 @@ impl State { break } - let peer_knowledge = entry.known_by.entry(peer_id.clone()).or_default(); + let peer_knowledge = entry.known_by.entry(peer_id).or_default(); let topology = topologies.get_topology(entry.session); @@ -1335,13 +1331,12 @@ impl State { } } - let message_subject = - MessageSubject(block.clone(), candidate_index, validator.clone()); + let message_subject = MessageSubject(block, candidate_index, *validator); let assignment_message = ( IndirectAssignmentCert { - block_hash: block.clone(), - validator: validator.clone(), + block_hash: block, + validator: *validator, cert: message_state.approval_state.assignment_cert().clone(), }, candidate_index, @@ -1350,8 +1345,8 @@ impl State { let approval_message = message_state.approval_state.approval_signature().map(|signature| { IndirectSignedApprovalVote { - block_hash: block.clone(), - validator: validator.clone(), + block_hash: block, + validator: *validator, candidate_index, signature, } @@ -1374,7 +1369,7 @@ impl State { } } - block = entry.parent_hash.clone(); + block = entry.parent_hash; } } @@ -1388,7 +1383,7 @@ impl State { sender .send_message(NetworkBridgeTxMessage::SendValidationMessage( - vec![peer_id.clone()], + vec![peer_id], Versioned::V1(protocol_v1::ValidationProtocol::ApprovalDistribution( protocol_v1::ApprovalDistributionMessage::Assignments(assignments_to_send), )), @@ -1558,13 +1553,12 @@ async fn adjust_required_routing_and_propagate( ctx.send_message(AvailabilityStoreMessage::QueryAvailableData(candidate_hash, tx)) .await; - Ok(rx.await.map_err(error::Error::CanceledQueryFullData)?) + rx.await.map_err(error::Error::CanceledQueryFullData) } #[overseer::contextbounds(AvailabilityRecovery, prefix = self::overseer)] diff --git a/node/network/bitfield-distribution/src/lib.rs b/node/network/bitfield-distribution/src/lib.rs index 2a1e3b8d9ef3..1bd9230a3787 100644 --- a/node/network/bitfield-distribution/src/lib.rs +++ b/node/network/bitfield-distribution/src/lib.rs @@ -319,7 +319,7 @@ async fn handle_bitfield_distribution( } let validator_index = signed_availability.validator_index(); - let validator = if let Some(validator) = validator_set.get(*&validator_index.0 as usize) { + let validator = if let Some(validator) = validator_set.get(validator_index.0 as usize) { validator.clone() } else { gum::debug!(target: LOG_TARGET, validator_index = ?validator_index.0, "Could not find a validator for index"); @@ -395,7 +395,7 @@ async fn relay_message( }; if need_routing { - Some(peer.clone()) + Some(*peer) } else { None } @@ -412,7 +412,7 @@ async fn relay_message( // track the message as sent for this peer job_data .message_sent_to_peer - .entry(peer.clone()) + .entry(*peer) .or_default() .insert(validator.clone()); }); @@ -497,7 +497,7 @@ async fn process_incoming_peer_message( // Check if the peer already sent us a message for the validator denoted in the message earlier. // Must be done after validator index verification, in order to avoid storing an unbounded // number of set entries. - let received_set = job_data.message_received_from_peer.entry(origin.clone()).or_default(); + let received_set = job_data.message_received_from_peer.entry(origin).or_default(); if !received_set.contains(&validator) { received_set.insert(validator.clone()); @@ -656,7 +656,7 @@ async fn handle_peer_view_change( ) { let added = state .peer_views - .entry(origin.clone()) + .entry(origin) .or_default() .replace_difference(view) .cloned() @@ -681,11 +681,10 @@ async fn handle_peer_view_change( let delta_set: Vec<(ValidatorId, BitfieldGossipMessage)> = added .into_iter() .filter_map(|new_relay_parent_interest| { - if let Some(job_data) = (&*state).per_relay_parent.get(&new_relay_parent_interest) { + if let Some(job_data) = state.per_relay_parent.get(&new_relay_parent_interest) { // Send all jointly known messages for a validator (given the current relay parent) // to the peer `origin`... let one_per_validator = job_data.one_per_validator.clone(); - let origin = origin.clone(); Some(one_per_validator.into_iter().filter(move |(validator, _message)| { // ..except for the ones the peer already has. job_data.message_from_validator_needed_by_peer(&origin, validator) @@ -699,7 +698,7 @@ async fn handle_peer_view_change( .collect(); for (validator, message) in delta_set.into_iter() { - send_tracked_gossip_message(ctx, state, origin.clone(), validator, message).await; + send_tracked_gossip_message(ctx, state, origin, validator, message).await; } } @@ -727,11 +726,7 @@ async fn send_tracked_gossip_message( "Sending gossip message" ); - job_data - .message_sent_to_peer - .entry(dest.clone()) - .or_default() - .insert(validator.clone()); + job_data.message_sent_to_peer.entry(dest).or_default().insert(validator.clone()); ctx.send_message(NetworkBridgeTxMessage::SendValidationMessage( vec![dest], @@ -760,14 +755,14 @@ async fn query_basics( // query validators ctx.send_message(RuntimeApiMessage::Request( - relay_parent.clone(), + relay_parent, RuntimeApiRequest::Validators(validators_tx), )) .await; // query signing context ctx.send_message(RuntimeApiMessage::Request( - relay_parent.clone(), + relay_parent, RuntimeApiRequest::SessionIndexForChild(session_tx), )) .await; diff --git a/node/network/bridge/src/network.rs b/node/network/bridge/src/network.rs index 9b326cbbfb38..32dc79d25814 100644 --- a/node/network/bridge/src/network.rs +++ b/node/network/bridge/src/network.rs @@ -174,7 +174,7 @@ impl Network for Arc> { Ok(v) => v, Err(_) => continue, }; - NetworkService::add_known_address(&*self, peer_id.clone(), addr); + NetworkService::add_known_address(self, peer_id, addr); found_peer_id = Some(peer_id); } found_peer_id @@ -197,7 +197,7 @@ impl Network for Arc> { }; NetworkService::start_request( - &*self, + self, peer_id, req_protocol_names.get_name(protocol), payload, diff --git a/node/network/bridge/src/rx/mod.rs b/node/network/bridge/src/rx/mod.rs index 8adbcf857811..1d3052d3a218 100644 --- a/node/network/bridge/src/rx/mod.rs +++ b/node/network/bridge/src/rx/mod.rs @@ -213,7 +213,7 @@ where PeerSet::Collation => &mut shared.collation_peers, }; - match peer_map.entry(peer.clone()) { + match peer_map.entry(peer) { hash_map::Entry::Occupied(_) => continue, hash_map::Entry::Vacant(vacant) => { vacant.insert(PeerData { view: View::default(), version }); @@ -234,12 +234,12 @@ where dispatch_validation_events_to_all( vec![ NetworkBridgeEvent::PeerConnected( - peer.clone(), + peer, role, version, maybe_authority, ), - NetworkBridgeEvent::PeerViewChange(peer.clone(), View::default()), + NetworkBridgeEvent::PeerViewChange(peer, View::default()), ], &mut sender, ) @@ -259,12 +259,12 @@ where dispatch_collation_events_to_all( vec![ NetworkBridgeEvent::PeerConnected( - peer.clone(), + peer, role, version, maybe_authority, ), - NetworkBridgeEvent::PeerViewChange(peer.clone(), View::default()), + NetworkBridgeEvent::PeerViewChange(peer, View::default()), ], &mut sender, ) @@ -421,7 +421,7 @@ where Some(ValidationVersion::V1.into()) { handle_v1_peer_messages::( - remote.clone(), + remote, PeerSet::Validation, &mut shared.0.lock().validation_peers, v_messages, @@ -442,7 +442,7 @@ where }; for report in reports { - network_service.report_peer(remote.clone(), report); + network_service.report_peer(remote, report); } dispatch_validation_events_to_all(events, &mut sender).await; @@ -454,7 +454,7 @@ where Some(CollationVersion::V1.into()) { handle_v1_peer_messages::( - remote.clone(), + remote, PeerSet::Collation, &mut shared.0.lock().collation_peers, c_messages, @@ -475,7 +475,7 @@ where }; for report in reports { - network_service.report_peer(remote.clone(), report); + network_service.report_peer(remote, report); } dispatch_collation_events_to_all(events, &mut sender).await; @@ -795,11 +795,11 @@ fn handle_v1_peer_messages>( } else { peer_data.view = new_view; - NetworkBridgeEvent::PeerViewChange(peer.clone(), peer_data.view.clone()) + NetworkBridgeEvent::PeerViewChange(peer, peer_data.view.clone()) } }, WireMessage::ProtocolMessage(message) => - NetworkBridgeEvent::PeerMessage(peer.clone(), message.into()), + NetworkBridgeEvent::PeerMessage(peer, message.into()), }) } diff --git a/node/network/collator-protocol/src/collator_side/mod.rs b/node/network/collator-protocol/src/collator_side/mod.rs index 7a603a8a404a..f7b27583a6dd 100644 --- a/node/network/collator-protocol/src/collator_side/mod.rs +++ b/node/network/collator-protocol/src/collator_side/mod.rs @@ -561,7 +561,7 @@ async fn advertise_collation( let wire_message = protocol_v1::CollatorProtocolMessage::AdvertiseCollation(relay_parent); ctx.send_message(NetworkBridgeTxMessage::SendCollationMessage( - vec![peer.clone()], + vec![peer], Versioned::V1(protocol_v1::CollationProtocol::CollatorProtocol(wire_message)), )) .await; @@ -707,11 +707,8 @@ async fn handle_incoming_peer_message( "AdvertiseCollation message is not expected on the collator side of the protocol", ); - ctx.send_message(NetworkBridgeTxMessage::ReportPeer( - origin.clone(), - COST_UNEXPECTED_MESSAGE, - )) - .await; + ctx.send_message(NetworkBridgeTxMessage::ReportPeer(origin, COST_UNEXPECTED_MESSAGE)) + .await; // If we are advertised to, this is another collator, and we should disconnect. ctx.send_message(NetworkBridgeTxMessage::DisconnectPeer(origin, PeerSet::Collation)) @@ -838,14 +835,14 @@ async fn handle_peer_view_change( peer_id: PeerId, view: View, ) { - let current = state.peer_views.entry(peer_id.clone()).or_default(); + let current = state.peer_views.entry(peer_id).or_default(); let added: Vec = view.difference(&*current).cloned().collect(); *current = view; for added in added.into_iter() { - advertise_collation(ctx, state, added, peer_id.clone()).await; + advertise_collation(ctx, state, added, peer_id).await; } } diff --git a/node/network/collator-protocol/src/validator_side/mod.rs b/node/network/collator-protocol/src/validator_side/mod.rs index b2b3dc4824b5..1442fbcc2bcb 100644 --- a/node/network/collator-protocol/src/validator_side/mod.rs +++ b/node/network/collator-protocol/src/validator_side/mod.rs @@ -287,7 +287,7 @@ impl PeerData { PeerState::Collating(ref mut state) => if state.advertisements.insert(on_relay_parent) { state.last_active = Instant::now(); - Ok((state.collator_id.clone(), state.para_id.clone())) + Ok((state.collator_id.clone(), state.para_id)) } else { Err(AdvertisementError::Duplicate) }, @@ -375,22 +375,19 @@ impl ActiveParas { .await .await .ok() - .map(|x| x.ok()) - .flatten(); + .and_then(|x| x.ok()); let mg = polkadot_node_subsystem_util::request_validator_groups(relay_parent, sender) .await .await .ok() - .map(|x| x.ok()) - .flatten(); + .and_then(|x| x.ok()); let mc = polkadot_node_subsystem_util::request_availability_cores(relay_parent, sender) .await .await .ok() - .map(|x| x.ok()) - .flatten(); + .and_then(|x| x.ok()); let (validators, groups, rotation_info, cores) = match (mv, mg, mc) { (Some(v), Some((g, r)), Some(c)) => (v, g, r, c), @@ -486,12 +483,7 @@ struct PendingCollation { impl PendingCollation { fn new(relay_parent: Hash, para_id: &ParaId, peer_id: &PeerId) -> Self { - Self { - relay_parent, - para_id: para_id.clone(), - peer_id: peer_id.clone(), - commitments_hash: None, - } + Self { relay_parent, para_id: *para_id, peer_id: *peer_id, commitments_hash: None } } } @@ -629,9 +621,9 @@ fn collator_peer_id( peer_data: &HashMap, collator_id: &CollatorId, ) -> Option { - peer_data.iter().find_map(|(peer, data)| { - data.collator_id().filter(|c| c == &collator_id).map(|_| peer.clone()) - }) + peer_data + .iter() + .find_map(|(peer, data)| data.collator_id().filter(|c| c == &collator_id).map(|_| *peer)) } async fn disconnect_peer(sender: &mut impl overseer::CollatorProtocolSenderTrait, peer_id: PeerId) { @@ -655,9 +647,7 @@ async fn fetch_collation( Delay::new(MAX_UNSHARED_DOWNLOAD_TIME).await; (collator_id, relay_parent) }; - state - .collation_fetch_timeouts - .push(timeout(id.clone(), relay_parent.clone()).boxed()); + state.collation_fetch_timeouts.push(timeout(id.clone(), relay_parent).boxed()); if let Some(peer_data) = state.peer_data.get(&peer_id) { if peer_data.has_advertised(&relay_parent) { @@ -729,7 +719,7 @@ async fn notify_collation_seconded( /// - Ongoing collation requests have to be canceled. /// - Advertisements by this peer that are no longer relevant have to be removed. async fn handle_peer_view_change(state: &mut State, peer_id: PeerId, view: View) -> Result<()> { - let peer_data = state.peer_data.entry(peer_id.clone()).or_default(); + let peer_data = state.peer_data.entry(peer_id).or_default(); peer_data.update_view(view); state @@ -883,7 +873,7 @@ async fn process_incoming_peer_message( "Declared as collator for unneeded para", ); - modify_reputation(ctx.sender(), origin.clone(), COST_UNNEEDED_COLLATOR).await; + modify_reputation(ctx.sender(), origin, COST_UNNEEDED_COLLATOR).await; gum::trace!(target: LOG_TARGET, "Disconnecting unneeded collator"); disconnect_peer(ctx.sender(), origin).await; } @@ -1013,7 +1003,7 @@ async fn handle_our_view_change( .span_per_head() .iter() .filter(|v| !old_view.contains(&v.0)) - .map(|v| (v.0.clone(), v.1.clone())) + .map(|v| (*v.0, v.1.clone())) .collect(); added.into_iter().for_each(|(h, s)| { @@ -1046,7 +1036,7 @@ async fn handle_our_view_change( ?para_id, "Disconnecting peer on view change (not current parachain id)" ); - disconnect_peer(ctx.sender(), peer_id.clone()).await; + disconnect_peer(ctx.sender(), *peer_id).await; } } } @@ -1254,7 +1244,7 @@ async fn poll_requests( retained_requested.insert(pending_collation.clone()); } if let CollationFetchResult::Error(Some(rep)) = result { - reputation_changes.push((pending_collation.peer_id.clone(), rep)); + reputation_changes.push((pending_collation.peer_id, rep)); } } requested_collations.retain(|k, _| retained_requested.contains(k)); @@ -1337,11 +1327,7 @@ async fn handle_collation_fetched_result( if let Entry::Vacant(entry) = state.pending_candidates.entry(relay_parent) { collation_event.1.commitments_hash = Some(candidate_receipt.commitments_hash); ctx.sender() - .send_message(CandidateBackingMessage::Second( - relay_parent.clone(), - candidate_receipt, - pov, - )) + .send_message(CandidateBackingMessage::Second(relay_parent, candidate_receipt, pov)) .await; entry.insert(collation_event); @@ -1366,7 +1352,7 @@ async fn disconnect_inactive_peers( for (peer, peer_data) in peers { if peer_data.is_inactive(&eviction_policy) { gum::trace!(target: LOG_TARGET, "Disconnecting inactive peer"); - disconnect_peer(sender, peer.clone()).await; + disconnect_peer(sender, *peer).await; } } } diff --git a/node/network/dispute-distribution/src/receiver/mod.rs b/node/network/dispute-distribution/src/receiver/mod.rs index 9030fc0b3f96..b84be7b2dfde 100644 --- a/node/network/dispute-distribution/src/receiver/mod.rs +++ b/node/network/dispute-distribution/src/receiver/mod.rs @@ -430,7 +430,7 @@ where ); return }, - Some(vote) => (vote.0.session_index(), vote.0.candidate_hash().clone()), + Some(vote) => (vote.0.session_index(), *vote.0.candidate_hash()), }; let (pending_confirmation, confirmation_rx) = oneshot::channel(); diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index b25561df5652..8cecc96c8dc7 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -304,7 +304,7 @@ impl DisputeSender { .get(*valid_index) .ok_or(JfyiError::InvalidStatementFromCoordinator)?; let valid_signed = SignedDisputeStatement::new_checked( - DisputeStatement::Valid(kind.clone()), + DisputeStatement::Valid(*kind), candidate_hash, session_index, valid_public.clone(), @@ -319,7 +319,7 @@ impl DisputeSender { .get(*invalid_index) .ok_or(JfyiError::InvalidValidatorIndexFromCoordinator)?; let invalid_signed = SignedDisputeStatement::new_checked( - DisputeStatement::Invalid(kind.clone()), + DisputeStatement::Invalid(*kind), candidate_hash, session_index, invalid_public.clone(), diff --git a/node/network/protocol/src/grid_topology.rs b/node/network/protocol/src/grid_topology.rs index 100ef66957bd..2ae43c07c355 100644 --- a/node/network/protocol/src/grid_topology.rs +++ b/node/network/protocol/src/grid_topology.rs @@ -94,7 +94,7 @@ impl SessionGridTopology { let n = &self.canonical_shuffling[r_n]; grid_subset.validator_indices_x.insert(n.validator_index); for p in &n.peer_ids { - grid_subset.peers_x.insert(p.clone()); + grid_subset.peers_x.insert(*p); } } @@ -102,7 +102,7 @@ impl SessionGridTopology { let n = &self.canonical_shuffling[c_n]; grid_subset.validator_indices_y.insert(n.validator_index); for p in &n.peer_ids { - grid_subset.peers_y.insert(p.clone()); + grid_subset.peers_y.insert(*p); } } diff --git a/node/network/protocol/src/lib.rs b/node/network/protocol/src/lib.rs index 169d916ce6f9..744217133eed 100644 --- a/node/network/protocol/src/lib.rs +++ b/node/network/protocol/src/lib.rs @@ -207,7 +207,7 @@ impl View { } /// Obtain an iterator over all heads. - pub fn iter<'a>(&'a self) -> impl Iterator { + pub fn iter(&self) -> impl Iterator { self.heads.iter() } diff --git a/node/network/statement-distribution/src/lib.rs b/node/network/statement-distribution/src/lib.rs index 055fd4123f9a..271072ab1031 100644 --- a/node/network/statement-distribution/src/lib.rs +++ b/node/network/statement-distribution/src/lib.rs @@ -278,10 +278,10 @@ impl PeerRelayParentKnowledge { let new_known = match fingerprint.0 { CompactStatement::Seconded(ref h) => { - self.seconded_counts.entry(fingerprint.1).or_default().note_local(h.clone()); + self.seconded_counts.entry(fingerprint.1).or_default().note_local(*h); let was_known = self.is_known_candidate(h); - self.sent_candidates.insert(h.clone()); + self.sent_candidates.insert(*h); !was_known }, CompactStatement::Valid(_) => false, @@ -345,7 +345,7 @@ impl PeerRelayParentKnowledge { .seconded_counts .entry(fingerprint.1) .or_insert_with(Default::default) - .note_remote(h.clone()); + .note_remote(*h); if !allowed_remote { return Err(COST_UNEXPECTED_STATEMENT_REMOTE) @@ -374,7 +374,7 @@ impl PeerRelayParentKnowledge { } self.received_statements.insert(fingerprint.clone()); - self.received_candidates.insert(candidate_hash.clone()); + self.received_candidates.insert(*candidate_hash); Ok(fresh) } @@ -1025,13 +1025,15 @@ async fn circulate_statement<'a, Context>( let mut peers_to_send: Vec = peers .iter() - .filter_map(|(peer, data)| { - if data.can_send(&relay_parent, &fingerprint) { - Some(peer.clone()) - } else { - None - } - }) + .filter_map( + |(peer, data)| { + if data.can_send(&relay_parent, &fingerprint) { + Some(*peer) + } else { + None + } + }, + ) .collect(); let good_peers: HashSet<&PeerId> = peers_to_send.iter().collect(); @@ -1087,7 +1089,7 @@ async fn circulate_statement<'a, Context>( "Sending statement", ); ctx.send_message(NetworkBridgeTxMessage::SendValidationMessage( - peers_to_send.iter().map(|(p, _)| p.clone()).collect(), + peers_to_send.iter().map(|(p, _)| *p).collect(), payload, )) .await; @@ -1126,11 +1128,8 @@ async fn send_statements_about( statement = ?statement.statement, "Sending statement", ); - ctx.send_message(NetworkBridgeTxMessage::SendValidationMessage( - vec![peer.clone()], - payload, - )) - .await; + ctx.send_message(NetworkBridgeTxMessage::SendValidationMessage(vec![peer], payload)) + .await; metrics.on_statement_distributed(); } @@ -1161,11 +1160,8 @@ async fn send_statements( statement = ?statement.statement, "Sending statement" ); - ctx.send_message(NetworkBridgeTxMessage::SendValidationMessage( - vec![peer.clone()], - payload, - )) - .await; + ctx.send_message(NetworkBridgeTxMessage::SendValidationMessage(vec![peer], payload)) + .await; metrics.on_statement_distributed(); } @@ -1431,7 +1427,7 @@ async fn handle_incoming_message<'a, Context>( } let fingerprint = message.get_fingerprint(); - let candidate_hash = fingerprint.0.candidate_hash().clone(); + let candidate_hash = *fingerprint.0.candidate_hash(); let handle_incoming_span = active_head .span .child("handle-incoming") @@ -1551,7 +1547,7 @@ async fn handle_incoming_message<'a, Context>( // Send the peer all statements concerning the candidate that we have, // since it appears to have just learned about the candidate. send_statements_about( - peer.clone(), + peer, peer_data, ctx, relay_parent, @@ -1627,7 +1623,7 @@ async fn update_peer_view_and_maybe_send_unlocked( continue } if let Some(active_head) = active_heads.get(&new) { - send_statements(peer.clone(), peer_data, ctx, new, active_head, metrics).await; + send_statements(peer, peer_data, ctx, new, active_head, metrics).await; } } } @@ -1710,7 +1706,7 @@ async fn handle_network_update( topology_storage, peers, active_heads, - &*recent_outdated_heads, + recent_outdated_heads, ctx, message, req_sender, diff --git a/node/overseer/src/dummy.rs b/node/overseer/src/dummy.rs index 84ecdd1e8a89..0706244356aa 100644 --- a/node/overseer/src/dummy.rs +++ b/node/overseer/src/dummy.rs @@ -56,10 +56,10 @@ where /// Create an overseer with all subsystem being `Sub`. /// /// Preferred way of initializing a dummy overseer for subsystem tests. -pub fn dummy_overseer_builder<'a, Spawner, SupportsParachains>( +pub fn dummy_overseer_builder( spawner: Spawner, supports_parachains: SupportsParachains, - registry: Option<&'a Registry>, + registry: Option<&Registry>, ) -> Result< InitializedOverseerBuilder< SpawnGlue, @@ -97,11 +97,11 @@ where } /// Create an overseer with all subsystem being `Sub`. -pub fn one_for_all_overseer_builder<'a, Spawner, SupportsParachains, Sub>( +pub fn one_for_all_overseer_builder( spawner: Spawner, supports_parachains: SupportsParachains, subsystem: Sub, - registry: Option<&'a Registry>, + registry: Option<&Registry>, ) -> Result< InitializedOverseerBuilder< SpawnGlue, diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index 70dbe92b2432..92baa12be79c 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -686,7 +686,7 @@ where subsystem_meters .iter() .cloned() - .filter_map(|x| x) + .flatten() .map(|(name, ref meters)| (name, meters.read())), ); @@ -861,7 +861,7 @@ where let mut span = jaeger::Span::new(*hash, "leaf-activated"); if let Some(parent_span) = parent_hash.and_then(|h| self.span_per_active_leaf.get(&h)) { - span.add_follows_from(&*parent_span); + span.add_follows_from(parent_span); } let span = Arc::new(span); diff --git a/node/primitives/src/disputes/message.rs b/node/primitives/src/disputes/message.rs index 1a943f8dcee6..c31ff1ecb283 100644 --- a/node/primitives/src/disputes/message.rs +++ b/node/primitives/src/disputes/message.rs @@ -170,13 +170,13 @@ impl DisputeMessage { let valid_vote = ValidDisputeVote { validator_index: valid_index, signature: valid_statement.validator_signature().clone(), - kind: valid_kind.clone(), + kind: *valid_kind, }; let invalid_vote = InvalidDisputeVote { validator_index: invalid_index, signature: invalid_statement.validator_signature().clone(), - kind: invalid_kind.clone(), + kind: *invalid_kind, }; Ok(DisputeMessage(UncheckedDisputeMessage { diff --git a/node/service/src/overseer.rs b/node/service/src/overseer.rs index a8ce3e5eaaf0..7dff86693827 100644 --- a/node/service/src/overseer.rs +++ b/node/service/src/overseer.rs @@ -129,7 +129,7 @@ where /// Obtain a prepared `OverseerBuilder`, that is initialized /// with all default values. -pub fn prepared_overseer_builder<'a, Spawner, RuntimeClient>( +pub fn prepared_overseer_builder( OverseerGenArgs { leaves, keystore, @@ -155,7 +155,7 @@ pub fn prepared_overseer_builder<'a, Spawner, RuntimeClient>( overseer_message_channel_capacity_override, req_protocol_names, peerset_protocol_names, - }: OverseerGenArgs<'a, Spawner, RuntimeClient>, + }: OverseerGenArgs, ) -> Result< InitializedOverseerBuilder< SpawnGlue, @@ -257,7 +257,7 @@ where .collator_protocol({ let side = match is_collator { IsCollator::Yes(collator_pair) => ProtocolSide::Collator( - network_service.local_peer_id().clone(), + network_service.local_peer_id(), collator_pair, collation_req_receiver, Metrics::register(registry)?, @@ -334,10 +334,10 @@ where /// would do. pub trait OverseerGen { /// Overwrite the full generation of the overseer, including the subsystems. - fn generate<'a, Spawner, RuntimeClient>( + fn generate( &self, connector: OverseerConnector, - args: OverseerGenArgs<'a, Spawner, RuntimeClient>, + args: OverseerGenArgs, ) -> Result<(Overseer, Arc>, OverseerHandle), Error> where RuntimeClient: 'static + ProvideRuntimeApi + HeaderBackend + AuxStore, @@ -358,10 +358,10 @@ use polkadot_overseer::KNOWN_LEAVES_CACHE_SIZE; pub struct RealOverseerGen; impl OverseerGen for RealOverseerGen { - fn generate<'a, Spawner, RuntimeClient>( + fn generate( &self, connector: OverseerConnector, - args: OverseerGenArgs<'a, Spawner, RuntimeClient>, + args: OverseerGenArgs, ) -> Result<(Overseer, Arc>, OverseerHandle), Error> where RuntimeClient: 'static + ProvideRuntimeApi + HeaderBackend + AuxStore, diff --git a/node/service/src/relay_chain_selection.rs b/node/service/src/relay_chain_selection.rs index df3e68cc7b1a..890e4c16ec8f 100644 --- a/node/service/src/relay_chain_selection.rs +++ b/node/service/src/relay_chain_selection.rs @@ -343,12 +343,11 @@ where // The Chain Selection subsystem is supposed to treat the finalized // block as the best leaf in the case that there are no viable // leaves, so this should not happen in practice. - let best_leaf = self + let best_leaf = *self .leaves() .await? .first() - .ok_or_else(|| ConsensusError::Other(Box::new(Error::EmptyLeaves)))? - .clone(); + .ok_or_else(|| ConsensusError::Other(Box::new(Error::EmptyLeaves)))?; gum::trace!(target: LOG_TARGET, ?best_leaf, "Best chain"); diff --git a/node/subsystem-types/src/errors.rs b/node/subsystem-types/src/errors.rs index 27c4fcdf8d37..48829e7fc779 100644 --- a/node/subsystem-types/src/errors.rs +++ b/node/subsystem-types/src/errors.rs @@ -79,7 +79,12 @@ pub enum RecoveryError { impl std::fmt::Display for RecoveryError { fn fmt(&self, f: &mut core::fmt::Formatter) -> Result<(), core::fmt::Error> { - write!(f, "{}", self) + let msg = match self { + RecoveryError::Invalid => "Invalid", + RecoveryError::Unavailable => "Unavailable", + }; + + write!(f, "{}", msg) } } diff --git a/node/subsystem-types/src/messages.rs b/node/subsystem-types/src/messages.rs index cb7caebcaa23..94562ae6baef 100644 --- a/node/subsystem-types/src/messages.rs +++ b/node/subsystem-types/src/messages.rs @@ -541,9 +541,7 @@ pub enum AvailabilityStoreMessage { impl AvailabilityStoreMessage { /// In fact, none of the `AvailabilityStore` messages assume a particular relay parent. pub fn relay_parent(&self) -> Option { - match self { - _ => None, - } + None } } diff --git a/node/subsystem-types/src/messages/network_bridge_event.rs b/node/subsystem-types/src/messages/network_bridge_event.rs index 5abad8a3c22c..06654153357a 100644 --- a/node/subsystem-types/src/messages/network_bridge_event.rs +++ b/node/subsystem-types/src/messages/network_bridge_event.rs @@ -86,24 +86,19 @@ impl NetworkBridgeEvent { { Ok(match *self { NetworkBridgeEvent::PeerMessage(ref peer, ref msg) => - NetworkBridgeEvent::PeerMessage(peer.clone(), T::try_from(msg)?), + NetworkBridgeEvent::PeerMessage(*peer, T::try_from(msg)?), NetworkBridgeEvent::PeerConnected( ref peer, ref role, ref version, ref authority_id, - ) => NetworkBridgeEvent::PeerConnected( - peer.clone(), - role.clone(), - *version, - authority_id.clone(), - ), + ) => NetworkBridgeEvent::PeerConnected(*peer, *role, *version, authority_id.clone()), NetworkBridgeEvent::PeerDisconnected(ref peer) => - NetworkBridgeEvent::PeerDisconnected(peer.clone()), + NetworkBridgeEvent::PeerDisconnected(*peer), NetworkBridgeEvent::NewGossipTopology(ref topology) => NetworkBridgeEvent::NewGossipTopology(topology.clone()), NetworkBridgeEvent::PeerViewChange(ref peer, ref view) => - NetworkBridgeEvent::PeerViewChange(peer.clone(), view.clone()), + NetworkBridgeEvent::PeerViewChange(*peer, view.clone()), NetworkBridgeEvent::OurViewChange(ref view) => NetworkBridgeEvent::OurViewChange(view.clone()), }) diff --git a/primitives/src/v2/mod.rs b/primitives/src/v2/mod.rs index ea1f4fcca0b9..646c657e8adf 100644 --- a/primitives/src/v2/mod.rs +++ b/primitives/src/v2/mod.rs @@ -766,7 +766,7 @@ pub fn check_candidate_backing + Clone + Encode>( .zip(backed.validity_votes.iter()) { let validator_id = validator_lookup(val_in_group_idx).ok_or(())?; - let payload = attestation.signed_payload(hash.clone(), signing_context); + let payload = attestation.signed_payload(hash, signing_context); let sig = attestation.signature(); if sig.verify(&payload[..], &validator_id) { diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index bb0663ec34f7..1bb5b0cdc8d3 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -247,12 +247,9 @@ pub mod pallet { impl GenesisBuild for GenesisConfig { fn build(&self) { // build `Claims` - self.claims - .iter() - .map(|(a, b, _, _)| (a.clone(), b.clone())) - .for_each(|(a, b)| { - Claims::::insert(a, b); - }); + self.claims.iter().map(|(a, b, _, _)| (*a, *b)).for_each(|(a, b)| { + Claims::::insert(a, b); + }); // build `Total` Total::::put( self.claims @@ -266,17 +263,16 @@ pub mod pallet { // build `Signing` self.claims .iter() - .filter_map(|(a, _, _, s)| Some((a.clone(), s.clone()?))) + .filter_map(|(a, _, _, s)| Some((*a, (*s)?))) .for_each(|(a, s)| { Signing::::insert(a, s); }); // build `Preclaims` - self.claims - .iter() - .filter_map(|(a, _, i, _)| Some((i.clone()?, a.clone()))) - .for_each(|(i, a)| { + self.claims.iter().filter_map(|(a, _, i, _)| Some((i.clone()?, *a))).for_each( + |(i, a)| { Preclaims::::insert(i, a); - }); + }, + ); } } @@ -538,7 +534,7 @@ impl Pallet { } let mut v = b"\x19Ethereum Signed Message:\n".to_vec(); v.extend(rev.into_iter().rev()); - v.extend_from_slice(&prefix[..]); + v.extend_from_slice(prefix); v.extend_from_slice(what); v.extend_from_slice(extra); v @@ -645,7 +641,7 @@ where info: &DispatchInfoOf, len: usize, ) -> Result { - Ok(self.validate(who, call, info, len).map(|_| ())?) + self.validate(who, call, info, len).map(|_| ()) } // diff --git a/runtime/common/src/crowdloan/migration.rs b/runtime/common/src/crowdloan/migration.rs index 775d70f92458..1ba1f20e8060 100644 --- a/runtime/common/src/crowdloan/migration.rs +++ b/runtime/common/src/crowdloan/migration.rs @@ -67,12 +67,10 @@ pub mod crowdloan_index_migration { let leases = Leases::::get(para_id).unwrap_or_default(); let mut found_lease_deposit = false; - for maybe_deposit in leases.iter() { - if let Some((who, _amount)) = maybe_deposit { - if *who == old_fund_account { - found_lease_deposit = true; - break - } + for (who, _amount) in leases.iter().flatten() { + if *who == old_fund_account { + found_lease_deposit = true; + break } } if found_lease_deposit { @@ -112,11 +110,9 @@ pub mod crowdloan_index_migration { weight = weight.saturating_add(T::DbWeight::get().reads_writes(1, 2)); let mut leases = Leases::::get(para_id).unwrap_or_default(); - for maybe_deposit in leases.iter_mut() { - if let Some((who, _amount)) = maybe_deposit { - if *who == old_fund_account { - *who = new_fund_account.clone(); - } + for (who, _amount) in leases.iter_mut().flatten() { + if *who == old_fund_account { + *who = new_fund_account.clone(); } } @@ -162,13 +158,11 @@ pub mod crowdloan_index_migration { let leases = Leases::::get(para_id).unwrap_or_default(); let mut new_account_found = false; - for maybe_deposit in leases.iter() { - if let Some((who, _amount)) = maybe_deposit { - if *who == old_fund_account { - panic!("Old fund account found after migration!"); - } else if *who == new_fund_account { - new_account_found = true; - } + for (who, _amount) in leases.iter().flatten() { + if *who == old_fund_account { + panic!("Old fund account found after migration!"); + } else if *who == new_fund_account { + new_account_found = true; } } if new_account_found { diff --git a/runtime/common/src/slots/migration.rs b/runtime/common/src/slots/migration.rs index 33d221b209d5..a87f1cd7a074 100644 --- a/runtime/common/src/slots/migration.rs +++ b/runtime/common/src/slots/migration.rs @@ -31,18 +31,16 @@ pub mod slots_crowdloan_index_migration { for (para_id, leases) in Leases::::iter() { let old_fund_account = old_fund_account_id::(para_id); - for maybe_deposit in leases.iter() { - if let Some((who, _amount)) = maybe_deposit { - if *who == old_fund_account { - let crowdloan = - crowdloan::Funds::::get(para_id).ok_or("no crowdloan found")?; - log::info!( - target: "runtime", - "para_id={:?}, old_fund_account={:?}, fund_id={:?}, leases={:?}", - para_id, old_fund_account, crowdloan.fund_index, leases, - ); - break - } + for (who, _amount) in leases.iter().flatten() { + if *who == old_fund_account { + let crowdloan = + crowdloan::Funds::::get(para_id).ok_or("no crowdloan found")?; + log::info!( + target: "runtime", + "para_id={:?}, old_fund_account={:?}, fund_id={:?}, leases={:?}", + para_id, old_fund_account, crowdloan.fund_index, leases, + ); + break } } } @@ -61,11 +59,9 @@ pub mod slots_crowdloan_index_migration { let new_fund_account = crowdloan::Pallet::::fund_account_id(fund.fund_index); // look for places the old account is used, and replace with the new account. - for maybe_deposit in leases.iter_mut() { - if let Some((who, _amount)) = maybe_deposit { - if *who == old_fund_account { - *who = new_fund_account.clone(); - } + for (who, _amount) in leases.iter_mut().flatten() { + if *who == old_fund_account { + *who = new_fund_account.clone(); } } @@ -83,11 +79,9 @@ pub mod slots_crowdloan_index_migration { let old_fund_account = old_fund_account_id::(para_id); log::info!(target: "runtime", "checking para_id: {:?}", para_id); // check the old fund account doesn't exist anywhere. - for maybe_deposit in leases.iter() { - if let Some((who, _amount)) = maybe_deposit { - if *who == old_fund_account { - panic!("old fund account found after migration!"); - } + for (who, _amount) in leases.iter().flatten() { + if *who == old_fund_account { + panic!("old fund account found after migration!"); } } } diff --git a/runtime/parachains/src/disputes.rs b/runtime/parachains/src/disputes.rs index 9f458421e2ed..b5e9d2540045 100644 --- a/runtime/parachains/src/disputes.rs +++ b/runtime/parachains/src/disputes.rs @@ -1112,7 +1112,7 @@ impl Pallet { // it's sufficient to count the votes in the statement set after they set.statements.iter().for_each(|(statement, v_i, _signature)| { if Some(true) == - summary.new_participants.get(v_i.0 as usize).map(|b| b.as_ref().clone()) + summary.new_participants.get(v_i.0 as usize).map(|b| *b.as_ref()) { match statement { // `summary.new_flags` contains the spam free votes. diff --git a/runtime/parachains/src/hrmp.rs b/runtime/parachains/src/hrmp.rs index 53ad6781048f..c0624cdcacfd 100644 --- a/runtime/parachains/src/hrmp.rs +++ b/runtime/parachains/src/hrmp.rs @@ -751,10 +751,10 @@ impl Pallet { let ingress = ::HrmpIngressChannelsIndex::take(outgoing_para) .into_iter() - .map(|sender| HrmpChannelId { sender, recipient: outgoing_para.clone() }); + .map(|sender| HrmpChannelId { sender, recipient: *outgoing_para }); let egress = ::HrmpEgressChannelsIndex::take(outgoing_para) .into_iter() - .map(|recipient| HrmpChannelId { sender: outgoing_para.clone(), recipient }); + .map(|recipient| HrmpChannelId { sender: *outgoing_para, recipient }); let mut to_close = ingress.chain(egress).collect::>(); to_close.sort(); to_close.dedup(); @@ -1075,7 +1075,7 @@ impl Pallet { channel.total_size += inbound.data.len() as u32; // compute the new MQC head of the channel - let prev_head = channel.mqc_head.clone().unwrap_or(Default::default()); + let prev_head = channel.mqc_head.unwrap_or(Default::default()); let new_head = BlakeTwo256::hash_of(&( prev_head, inbound.sent_at, diff --git a/runtime/parachains/src/inclusion/mod.rs b/runtime/parachains/src/inclusion/mod.rs index f74a8cfd3f8d..1df6c141e9df 100644 --- a/runtime/parachains/src/inclusion/mod.rs +++ b/runtime/parachains/src/inclusion/mod.rs @@ -102,7 +102,7 @@ impl CandidatePendingAvailability { /// Get the core index. pub(crate) fn core_occupied(&self) -> CoreIndex { - self.core.clone() + self.core } /// Get the candidate hash. @@ -383,7 +383,7 @@ impl Pallet { let mut freed_cores = Vec::with_capacity(expected_bits); for (para_id, pending_availability) in assigned_paras_record .into_iter() - .filter_map(|x| x) + .flatten() .filter_map(|(id, p)| p.map(|p| (id, p))) { if pending_availability.availability_votes.count_ones() >= threshold { @@ -644,8 +644,7 @@ impl Pallet { }; // one more sweep for actually writing to storage. - let core_indices = - core_indices_and_backers.iter().map(|&(ref c, _, _)| c.clone()).collect(); + let core_indices = core_indices_and_backers.iter().map(|&(ref c, _, _)| *c).collect(); for (candidate, (core, backers, group)) in candidates.into_iter().zip(core_indices_and_backers) { diff --git a/runtime/parachains/src/initializer.rs b/runtime/parachains/src/initializer.rs index eaa4510fafcf..ef00e5b884cc 100644 --- a/runtime/parachains/src/initializer.rs +++ b/runtime/parachains/src/initializer.rs @@ -247,7 +247,7 @@ impl Pallet { let validators = shared::Pallet::::initializer_on_new_session( session_index, - random_seed.clone(), + random_seed, &new_config, all_validators, ); diff --git a/runtime/parachains/src/paras_inherent/mod.rs b/runtime/parachains/src/paras_inherent/mod.rs index 188a8f677979..a053e3dbfaf9 100644 --- a/runtime/parachains/src/paras_inherent/mod.rs +++ b/runtime/parachains/src/paras_inherent/mod.rs @@ -513,7 +513,7 @@ impl Pallet { METRICS.on_candidates_sanitized(backed_candidates.len() as u64); // Process backed candidates according to scheduled cores. - let parent_storage_root = parent_header.state_root().clone(); + let parent_storage_root = *parent_header.state_root(); let inclusion::ProcessedCandidates::<::Hash> { core_indices: occupied, candidate_receipt_with_backing_validator_indices, @@ -711,7 +711,7 @@ impl Pallet { let scheduled = >::scheduled(); let relay_parent_number = now - One::one(); - let parent_storage_root = parent_header.state_root().clone(); + let parent_storage_root = *parent_header.state_root(); let check_ctx = CandidateCheckContext::::new(now, relay_parent_number); let backed_candidates = sanitize_backed_candidates::( @@ -1201,7 +1201,7 @@ fn compute_entropy(parent_hash: T::Hash) -> [u8; 32] { // known 2 epochs ago. it is marginally better than using the parent block // hash since it's harder to influence the VRF output than the block hash. let vrf_random = ParentBlockRandomness::::random(&CANDIDATE_SEED_SUBJECT[..]).0; - let mut entropy: [u8; 32] = CANDIDATE_SEED_SUBJECT.clone(); + let mut entropy: [u8; 32] = CANDIDATE_SEED_SUBJECT; if let Some(vrf_random) = vrf_random { entropy.as_mut().copy_from_slice(vrf_random.as_ref()); } else { diff --git a/runtime/parachains/src/runtime_api_impl/v2.rs b/runtime/parachains/src/runtime_api_impl/v2.rs index 77ea96742b54..57345a819de0 100644 --- a/runtime/parachains/src/runtime_api_impl/v2.rs +++ b/runtime/parachains/src/runtime_api_impl/v2.rs @@ -107,7 +107,7 @@ pub fn availability_cores() -> Vec>::pending_availability(para_id) .expect("Occupied core always has pending availability; qed"); - let backed_in_number = pending_availability.backed_in_number().clone(); + let backed_in_number = *pending_availability.backed_in_number(); OccupiedCore { next_up_on_available: >::next_up_on_available( CoreIndex(i as u32), @@ -135,7 +135,7 @@ pub fn availability_cores() -> Vec>::pending_availability(para_id) .expect("Occupied core always has pending availability; qed"); - let backed_in_number = pending_availability.backed_in_number().clone(); + let backed_in_number = *pending_availability.backed_in_number(); OccupiedCore { next_up_on_available: >::next_up_on_available( CoreIndex(i as u32), diff --git a/runtime/parachains/src/scheduler.rs b/runtime/parachains/src/scheduler.rs index 0185817b2aa1..6eb1b732705f 100644 --- a/runtime/parachains/src/scheduler.rs +++ b/runtime/parachains/src/scheduler.rs @@ -483,7 +483,7 @@ impl Pallet { Some(CoreAssignment { kind: AssignmentKind::Parachain, para_id: parachains[core_index], - core: core.clone(), + core, group_idx: Self::group_assigned_to_core(core, now).expect( "core is not out of bounds and we are guaranteed \ to be after the most recent session start; qed", @@ -496,7 +496,7 @@ impl Pallet { parathread_queue.take_next_on_core(core_offset).map(|entry| CoreAssignment { kind: AssignmentKind::Parathread(entry.claim.1, entry.retries), para_id: entry.claim.0, - core: core.clone(), + core, group_idx: Self::group_assigned_to_core(core, now).expect( "core is not out of bounds and we are guaranteed \ to be after the most recent session start; qed", @@ -610,11 +610,9 @@ impl Pallet { (at - session_start_block) / config.group_rotation_frequency.into(); let rotations_since_session_start = - match >::try_into(rotations_since_session_start) { - Ok(i) => i, - Err(_) => 0, // can only happen if rotations occur only once every u32::max(), - // so functionally no difference in behavior. - }; + >::try_into(rotations_since_session_start).unwrap_or(0); + // Error case can only happen if rotations occur only once every u32::max(), + // so functionally no difference in behavior. let group_idx = (core.0 as usize + rotations_since_session_start as usize) % validator_groups.len(); diff --git a/runtime/parachains/src/ump.rs b/runtime/parachains/src/ump.rs index 5aa7b17d923c..8d734acb3464 100644 --- a/runtime/parachains/src/ump.rs +++ b/runtime/parachains/src/ump.rs @@ -107,7 +107,7 @@ impl, C: Config> UmpSink VersionedXcm, }; - let id = upward_message_id(&data[..]); + let id = upward_message_id(data); let maybe_msg_and_weight = VersionedXcm::::decode_all_with_depth_limit( xcm::MAX_XCM_DECODE_DEPTH, &mut data, diff --git a/scripts/ci/gitlab/pipeline/test.yml b/scripts/ci/gitlab/pipeline/test.yml index 9a3dd0270fbb..3a21a77d90f2 100644 --- a/scripts/ci/gitlab/pipeline/test.yml +++ b/scripts/ci/gitlab/pipeline/test.yml @@ -72,3 +72,18 @@ test-deterministic-wasm: - .compiler-info script: - ./scripts/ci/gitlab/test_deterministic_wasm.sh + +cargo-clippy: + stage: test + # this is an artificial job dependency, for pipeline optimization using GitLab's DAGs + # the job can be found in check.yml + needs: + - job: job-starter + artifacts: false + variables: + RUSTY_CACHIER_TOOLCHAIN: nightly + extends: + - .docker-env + - .test-refs + script: + - SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo +nightly clippy --all-targets diff --git a/tests/benchmark_block.rs b/tests/benchmark_block.rs index ee68d43b2aa5..dc3b174599a9 100644 --- a/tests/benchmark_block.rs +++ b/tests/benchmark_block.rs @@ -32,7 +32,7 @@ use tempfile::tempdir; pub mod common; -static RUNTIMES: [&'static str; 4] = ["polkadot", "kusama", "westend", "rococo"]; +static RUNTIMES: [&str; 4] = ["polkadot", "kusama", "westend", "rococo"]; /// `benchmark block` works for all dev runtimes using the wasm executor. #[tokio::test] @@ -54,7 +54,7 @@ async fn build_chain(runtime: &str, base_path: &Path) -> Result<(), String> { let mut cmd = Command::new(cargo_bin("polkadot")) .stdout(process::Stdio::piped()) .stderr(process::Stdio::piped()) - .args(["--chain", &runtime, "--force-authoring", "--alice"]) + .args(["--chain", runtime, "--force-authoring", "--alice"]) .arg("-d") .arg(base_path) .arg("--no-hardware-benchmarks") @@ -77,7 +77,7 @@ async fn build_chain(runtime: &str, base_path: &Path) -> Result<(), String> { fn benchmark_block(runtime: &str, base_path: &Path, block: u32) -> Result<(), String> { // Invoke `benchmark block` with all options to make sure that they are valid. let status = Command::new(cargo_bin("polkadot")) - .args(["benchmark", "block", "--chain", &runtime]) + .args(["benchmark", "block", "--chain", runtime]) .arg("-d") .arg(base_path) .args(["--from", &block.to_string(), "--to", &block.to_string()]) diff --git a/tests/benchmark_extrinsic.rs b/tests/benchmark_extrinsic.rs index c112a8c023f8..79a7d4c45322 100644 --- a/tests/benchmark_extrinsic.rs +++ b/tests/benchmark_extrinsic.rs @@ -17,10 +17,9 @@ use assert_cmd::cargo::cargo_bin; use std::{process::Command, result::Result}; -static RUNTIMES: [&'static str; 4] = ["polkadot", "kusama", "westend", "rococo"]; +static RUNTIMES: [&str; 4] = ["polkadot", "kusama", "westend", "rococo"]; -static EXTRINSICS: [(&'static str, &'static str); 2] = - [("system", "remark"), ("balances", "transfer_keep_alive")]; +static EXTRINSICS: [(&str, &str); 2] = [("system", "remark"), ("balances", "transfer_keep_alive")]; /// `benchmark extrinsic` works for all dev runtimes and some extrinsics. #[test] @@ -43,8 +42,8 @@ fn benchmark_extrinsic_rejects_non_dev_runtimes() { fn benchmark_extrinsic(runtime: &str, pallet: &str, extrinsic: &str) -> Result<(), String> { let status = Command::new(cargo_bin("polkadot")) - .args(["benchmark", "extrinsic", "--chain", &runtime]) - .args(&["--pallet", pallet, "--extrinsic", extrinsic]) + .args(["benchmark", "extrinsic", "--chain", runtime]) + .args(["--pallet", pallet, "--extrinsic", extrinsic]) // Run with low repeats for faster execution. .args(["--repeat=1", "--warmup=1", "--max-ext-per-block=1"]) .status() diff --git a/tests/benchmark_overhead.rs b/tests/benchmark_overhead.rs index a3b4ed1160ea..10582870168e 100644 --- a/tests/benchmark_overhead.rs +++ b/tests/benchmark_overhead.rs @@ -18,7 +18,7 @@ use assert_cmd::cargo::cargo_bin; use std::{process::Command, result::Result}; use tempfile::tempdir; -static RUNTIMES: [&'static str; 4] = ["polkadot", "kusama", "westend", "rococo"]; +static RUNTIMES: [&str; 4] = ["polkadot", "kusama", "westend", "rococo"]; /// `benchmark overhead` works for all dev runtimes. #[test] diff --git a/tests/benchmark_storage_works.rs b/tests/benchmark_storage_works.rs index f5e2851f250f..8d9694aa0a0e 100644 --- a/tests/benchmark_storage_works.rs +++ b/tests/benchmark_storage_works.rs @@ -38,7 +38,7 @@ fn benchmark_storage_works() { /// Invoke the `benchmark storage` sub-command. fn benchmark_storage(db: &str, base_path: &Path) -> ExitStatus { Command::new(cargo_bin("polkadot")) - .args(&["benchmark", "storage", "--dev"]) + .args(["benchmark", "storage", "--dev"]) .arg("--db") .arg(db) .arg("--weight-path") diff --git a/tests/common.rs b/tests/common.rs index 3f040208972c..6a41975f87fa 100644 --- a/tests/common.rs +++ b/tests/common.rs @@ -91,11 +91,13 @@ pub fn find_ws_url_from_output(read: impl Read + Send) -> (String, String) { // does the line contain our port (we expect this specific output from substrate). let sock_addr = match line.split_once("Running JSON-RPC WS server: addr=") { None => return None, - Some((_, after)) => after.split_once(",").unwrap().0, + Some((_, after)) => after.split_once(',').unwrap().0, }; Some(format!("ws://{}", sock_addr)) }) - .expect(&format!("Could not find WebSocket address in process output:\n{}", &data)); + .unwrap_or_else(|| { + panic!("Could not find WebSocket address in process output:\n{}", &data) + }); (ws_url, data) } diff --git a/tests/invalid_order_arguments.rs b/tests/invalid_order_arguments.rs index f205e935ab95..f8dc32a82a26 100644 --- a/tests/invalid_order_arguments.rs +++ b/tests/invalid_order_arguments.rs @@ -24,7 +24,7 @@ fn invalid_order_arguments() { let tmpdir = tempdir().expect("could not create temp dir"); let status = Command::new(cargo_bin("polkadot")) - .args(&["--dev", "invalid_order_arguments", "-d"]) + .args(["--dev", "invalid_order_arguments", "-d"]) .arg(tmpdir.path()) .arg("-y") .status() diff --git a/tests/purge_chain_works.rs b/tests/purge_chain_works.rs index c69d8cc4a81a..ab3ee506b60a 100644 --- a/tests/purge_chain_works.rs +++ b/tests/purge_chain_works.rs @@ -36,7 +36,7 @@ async fn purge_chain_rocksdb_works() { let mut cmd = Command::new(cargo_bin("polkadot")) .stdout(process::Stdio::piped()) .stderr(process::Stdio::piped()) - .args(&["--dev", "-d"]) + .args(["--dev", "-d"]) .arg(tmpdir.path()) .arg("--port") .arg("33034") @@ -61,7 +61,7 @@ async fn purge_chain_rocksdb_works() { // Purge chain let status = Command::new(cargo_bin("polkadot")) - .args(&["purge-chain", "--dev", "-d"]) + .args(["purge-chain", "--dev", "-d"]) .arg(tmpdir.path()) .arg("-y") .status() @@ -86,7 +86,7 @@ async fn purge_chain_paritydb_works() { let mut cmd = Command::new(cargo_bin("polkadot")) .stdout(process::Stdio::piped()) .stderr(process::Stdio::piped()) - .args(&["--dev", "-d"]) + .args(["--dev", "-d"]) .arg(tmpdir.path()) .arg("--database") .arg("paritydb-experimental") @@ -111,7 +111,7 @@ async fn purge_chain_paritydb_works() { // Purge chain let status = Command::new(cargo_bin("polkadot")) - .args(&["purge-chain", "--dev", "-d"]) + .args(["purge-chain", "--dev", "-d"]) .arg(tmpdir.path()) .arg("--database") .arg("paritydb-experimental") diff --git a/tests/running_the_node_and_interrupt.rs b/tests/running_the_node_and_interrupt.rs index 895db534bc5c..5b0e6ec8b013 100644 --- a/tests/running_the_node_and_interrupt.rs +++ b/tests/running_the_node_and_interrupt.rs @@ -40,7 +40,7 @@ async fn running_the_node_works_and_can_be_interrupted() { let mut cmd = Command::new(cargo_bin("polkadot")) .stdout(process::Stdio::piped()) .stderr(process::Stdio::piped()) - .args(&["--dev", "-d"]) + .args(["--dev", "-d"]) .arg(tmpdir.path()) .arg("--no-hardware-benchmarks") .spawn() diff --git a/xcm/xcm-executor/src/assets.rs b/xcm/xcm-executor/src/assets.rs index 324e92dce9ff..6ecbf0e0cf44 100644 --- a/xcm/xcm-executor/src/assets.rs +++ b/xcm/xcm-executor/src/assets.rs @@ -100,14 +100,14 @@ impl Assets { } /// A borrowing iterator over the fungible assets. - pub fn fungible_assets_iter<'a>(&'a self) -> impl Iterator + 'a { + pub fn fungible_assets_iter(&self) -> impl Iterator + '_ { self.fungible .iter() .map(|(id, &amount)| MultiAsset { fun: Fungible(amount), id: id.clone() }) } /// A borrowing iterator over the non-fungible assets. - pub fn non_fungible_assets_iter<'a>(&'a self) -> impl Iterator + 'a { + pub fn non_fungible_assets_iter(&self) -> impl Iterator + '_ { self.non_fungible .iter() .map(|(id, instance)| MultiAsset { fun: NonFungible(instance.clone()), id: id.clone() }) @@ -126,7 +126,7 @@ impl Assets { } /// A borrowing iterator over all assets. - pub fn assets_iter<'a>(&'a self) -> impl Iterator + 'a { + pub fn assets_iter(&self) -> impl Iterator + '_ { self.fungible_assets_iter().chain(self.non_fungible_assets_iter()) } From 36a2c896bc7c01cbc92a775cb5ea48938a95039d Mon Sep 17 00:00:00 2001 From: Adrian Catangiu Date: Wed, 30 Nov 2022 11:28:48 +0200 Subject: [PATCH 145/211] Companion for: MMR: move RPC code from frame/ to client/ (#6369) * rpc: mmr rpc crate name change * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 394 ++++++++++++++++++++++++------------------------- rpc/Cargo.toml | 2 +- rpc/src/lib.rs | 4 +- 3 files changed, 200 insertions(+), 200 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 48552eb2cbcc..98d8ffc01638 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -2013,7 +2013,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", ] @@ -2037,7 +2037,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -2060,7 +2060,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "Inflector", "array-bytes", @@ -2112,7 +2112,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2123,7 +2123,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2139,7 +2139,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -2168,7 +2168,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "bitflags", "frame-metadata", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "Inflector", "cfg-expr", @@ -2214,7 +2214,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro2", "quote", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2259,7 +2259,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -2270,7 +2270,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "log", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -2303,7 +2303,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "sp-api", @@ -2312,7 +2312,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "parity-scale-codec", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "chrono", "frame-election-provider-support", @@ -4104,7 +4104,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "beefy-primitives", "futures", @@ -4121,6 +4121,22 @@ dependencies = [ "sp-runtime", ] +[[package]] +name = "mmr-rpc" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +dependencies = [ + "anyhow", + "jsonrpsee", + "parity-scale-codec", + "serde", + "sp-api", + "sp-blockchain", + "sp-core", + "sp-mmr-primitives", + "sp-runtime", +] + [[package]] name = "mockall" version = "0.11.2" @@ -4622,7 +4638,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4636,7 +4652,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -4652,7 +4668,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -4667,7 +4683,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4691,7 +4707,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4711,7 +4727,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4730,7 +4746,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4745,7 +4761,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "beefy-primitives", "frame-support", @@ -4761,7 +4777,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4784,7 +4800,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4802,7 +4818,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4821,7 +4837,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4838,7 +4854,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4855,7 +4871,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4873,7 +4889,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4897,7 +4913,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4910,7 +4926,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4928,7 +4944,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4946,7 +4962,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4961,7 +4977,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -4984,7 +5000,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5000,7 +5016,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5020,7 +5036,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5037,7 +5053,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5054,7 +5070,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5068,26 +5084,10 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-mmr-rpc" -version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" -dependencies = [ - "anyhow", - "jsonrpsee", - "parity-scale-codec", - "serde", - "sp-api", - "sp-blockchain", - "sp-core", - "sp-mmr-primitives", - "sp-runtime", -] - [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5103,7 +5103,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -5120,7 +5120,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5140,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "sp-api", @@ -5150,7 +5150,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -5167,7 +5167,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5190,7 +5190,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5207,7 +5207,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5222,7 +5222,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5240,7 +5240,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5255,7 +5255,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5273,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5289,7 +5289,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5326,7 +5326,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -5340,7 +5340,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5363,7 +5363,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5374,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "log", "sp-arithmetic", @@ -5383,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5400,7 +5400,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -5414,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5432,7 +5432,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5451,7 +5451,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-support", "frame-system", @@ -5467,7 +5467,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5483,7 +5483,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5495,7 +5495,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5512,7 +5512,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5528,7 +5528,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -5543,7 +5543,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-benchmarking", "frame-support", @@ -6838,7 +6838,7 @@ dependencies = [ "beefy-gadget", "beefy-gadget-rpc", "jsonrpsee", - "pallet-mmr-rpc", + "mmr-rpc", "pallet-transaction-payment-rpc", "polkadot-primitives", "sc-chain-spec", @@ -8018,7 +8018,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "env_logger 0.9.0", "log", @@ -8358,7 +8358,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "log", "sp-core", @@ -8369,7 +8369,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures", @@ -8396,7 +8396,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "futures-timer", @@ -8419,7 +8419,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8435,7 +8435,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8452,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8463,7 +8463,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "chrono", @@ -8503,7 +8503,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "fnv", "futures", @@ -8531,7 +8531,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "hash-db", "kvdb", @@ -8556,7 +8556,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures", @@ -8580,7 +8580,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "fork-tree", @@ -8621,7 +8621,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "jsonrpsee", @@ -8643,7 +8643,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8656,7 +8656,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures", @@ -8680,7 +8680,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "lazy_static", "lru", @@ -8706,7 +8706,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "environmental", "parity-scale-codec", @@ -8722,7 +8722,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "log", "parity-scale-codec", @@ -8737,7 +8737,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "cfg-if", "libc", @@ -8757,7 +8757,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "ahash", "array-bytes", @@ -8798,7 +8798,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "finality-grandpa", "futures", @@ -8819,7 +8819,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "ansi_term", "futures", @@ -8836,7 +8836,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "async-trait", @@ -8851,7 +8851,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "async-trait", @@ -8898,7 +8898,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "cid", "futures", @@ -8918,7 +8918,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "bitflags", @@ -8944,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "ahash", "futures", @@ -8962,7 +8962,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "futures", @@ -8983,7 +8983,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "async-trait", @@ -9014,7 +9014,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "futures", @@ -9033,7 +9033,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "bytes", @@ -9063,7 +9063,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "libp2p", @@ -9076,7 +9076,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9085,7 +9085,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "hash-db", @@ -9115,7 +9115,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "jsonrpsee", @@ -9138,7 +9138,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "jsonrpsee", @@ -9151,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "hex", @@ -9170,7 +9170,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "directories", @@ -9241,7 +9241,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "log", "parity-scale-codec", @@ -9255,7 +9255,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9274,7 +9274,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "libc", @@ -9293,7 +9293,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "chrono", "futures", @@ -9311,7 +9311,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "ansi_term", "atty", @@ -9342,7 +9342,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9353,7 +9353,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures", @@ -9380,7 +9380,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures", @@ -9394,7 +9394,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "futures-timer", @@ -9875,7 +9875,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "hash-db", "log", @@ -9893,7 +9893,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "blake2", "proc-macro-crate", @@ -9905,7 +9905,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -9918,7 +9918,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "integer-sqrt", "num-traits", @@ -9933,7 +9933,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -9946,7 +9946,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "parity-scale-codec", @@ -9958,7 +9958,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "sp-api", @@ -9970,7 +9970,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "log", @@ -9988,7 +9988,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures", @@ -10007,7 +10007,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "merlin", @@ -10030,7 +10030,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10044,7 +10044,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10057,7 +10057,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "base58", @@ -10102,7 +10102,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "blake2", "byteorder", @@ -10116,7 +10116,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro2", "quote", @@ -10127,7 +10127,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10136,7 +10136,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro2", "quote", @@ -10146,7 +10146,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "environmental", "parity-scale-codec", @@ -10157,7 +10157,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "finality-grandpa", "log", @@ -10175,7 +10175,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10189,7 +10189,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "bytes", "ed25519-dalek", @@ -10216,7 +10216,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "lazy_static", "sp-core", @@ -10227,7 +10227,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures", @@ -10244,7 +10244,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "thiserror", "zstd", @@ -10253,7 +10253,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10271,7 +10271,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10285,7 +10285,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "sp-api", "sp-core", @@ -10295,7 +10295,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "backtrace", "lazy_static", @@ -10305,7 +10305,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "rustc-hash", "serde", @@ -10315,7 +10315,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "either", "hash256-std-hasher", @@ -10338,7 +10338,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10356,7 +10356,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "Inflector", "proc-macro-crate", @@ -10368,7 +10368,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "log", "parity-scale-codec", @@ -10382,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10396,7 +10396,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "scale-info", @@ -10407,7 +10407,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "hash-db", "log", @@ -10429,12 +10429,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10447,7 +10447,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "futures-timer", @@ -10463,7 +10463,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "sp-std", @@ -10475,7 +10475,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "sp-api", "sp-runtime", @@ -10484,7 +10484,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "log", @@ -10500,7 +10500,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "ahash", "hash-db", @@ -10523,7 +10523,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10540,7 +10540,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10551,7 +10551,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "impl-trait-for-tuples", "log", @@ -10564,7 +10564,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10779,7 +10779,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "platforms", ] @@ -10787,7 +10787,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10808,7 +10808,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures-util", "hyper", @@ -10821,7 +10821,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "async-trait", "jsonrpsee", @@ -10834,7 +10834,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "jsonrpsee", "log", @@ -10855,7 +10855,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "array-bytes", "async-trait", @@ -10881,7 +10881,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10891,7 +10891,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10902,7 +10902,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "ansi_term", "build-helper", @@ -11609,7 +11609,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#9ce75afde9ada98a69e4ab3abbbfb7fa8202d72b" +source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" dependencies = [ "clap", "frame-try-runtime", diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index d0bbb0195bc8..cb5d8e59b24e 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -24,7 +24,7 @@ sc-finality-grandpa-rpc = { git = "https://github.com/paritytech/substrate", bra sc-sync-state-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } txpool-api = { package = "sc-transaction-pool-api", git = "https://github.com/paritytech/substrate", branch = "master" } frame-rpc-system = { package = "substrate-frame-rpc-system", git = "https://github.com/paritytech/substrate", branch = "master" } -pallet-mmr-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } +mmr-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-block-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } beefy-gadget = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index 2b3497832caa..0f54840f2ca5 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -108,7 +108,7 @@ where + Sync + 'static, C::Api: frame_rpc_system::AccountNonceApi, - C::Api: pallet_mmr_rpc::MmrRuntimeApi< + C::Api: mmr_rpc::MmrRuntimeApi< Block, ::Hash, BlockNumber, @@ -123,7 +123,7 @@ where { use beefy_gadget_rpc::{Beefy, BeefyApiServer}; use frame_rpc_system::{System, SystemApiServer}; - use pallet_mmr_rpc::{Mmr, MmrApiServer}; + use mmr_rpc::{Mmr, MmrApiServer}; use pallet_transaction_payment_rpc::{TransactionPayment, TransactionPaymentApiServer}; use sc_consensus_babe_rpc::{Babe, BabeApiServer}; use sc_finality_grandpa_rpc::{Grandpa, GrandpaApiServer}; From 90effe79a9d6e5b6ceafc90be6919c40f27dae42 Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Wed, 30 Nov 2022 13:17:09 +0100 Subject: [PATCH 146/211] support opengov calls in proxy definitions (#6366) --- runtime/kusama/src/lib.rs | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index b1f71f01fdaa..4accce8a860a 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1005,6 +1005,11 @@ impl InstanceFilter for ProxyType { RuntimeCall::Bounties(..) | RuntimeCall::ChildBounties(..) | RuntimeCall::Tips(..) | + RuntimeCall::ConvictionVoting(..) | + RuntimeCall::Referenda(..) | + RuntimeCall::FellowshipCollective(..) | + RuntimeCall::FellowshipReferenda(..) | + RuntimeCall::Whitelist(..) | RuntimeCall::Claims(..) | RuntimeCall::Utility(..) | RuntimeCall::Identity(..) | @@ -1034,17 +1039,22 @@ impl InstanceFilter for ProxyType { RuntimeCall::NominationPools(..) | RuntimeCall::FastUnstake(..) ), - ProxyType::Governance => - matches!( - c, - RuntimeCall::Democracy(..) | - RuntimeCall::Council(..) | RuntimeCall::TechnicalCommittee(..) | - RuntimeCall::PhragmenElection(..) | - RuntimeCall::Treasury(..) | - RuntimeCall::Bounties(..) | - RuntimeCall::Tips(..) | RuntimeCall::Utility(..) | - RuntimeCall::ChildBounties(..) - ), + ProxyType::Governance => matches!( + c, + RuntimeCall::Democracy(..) | + RuntimeCall::Council(..) | RuntimeCall::TechnicalCommittee(..) | + RuntimeCall::PhragmenElection(..) | + RuntimeCall::Treasury(..) | + RuntimeCall::Bounties(..) | + RuntimeCall::Tips(..) | RuntimeCall::Utility(..) | + RuntimeCall::ChildBounties(..) | + // OpenGov calls + RuntimeCall::ConvictionVoting(..) | + RuntimeCall::Referenda(..) | + RuntimeCall::FellowshipCollective(..) | + RuntimeCall::FellowshipReferenda(..) | + RuntimeCall::Whitelist(..) + ), ProxyType::Staking => { matches!( c, From ce003d6195fc2b515274d9d414bb36a245399926 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Wed, 30 Nov 2022 07:17:31 -0500 Subject: [PATCH 147/211] Use CPU clock timeout for PVF jobs (#6282) * Put in skeleton logic for CPU-time-preparation Still needed: - Flesh out logic - Refactor some spots - Tests * Continue filling in logic for prepare worker CPU time changes * Fix compiler errors * Update lenience factor * Fix some clippy lints for PVF module * Fix compilation errors * Address some review comments * Add logging * Add another log * Address some review comments; change Mutex to AtomicBool * Refactor handling response bytes * Add CPU clock timeout logic for execute jobs * Properly handle AtomicBool flag * Use `Ordering::Relaxed` * Refactor thread coordination logic * Fix bug * Add some timing information to execute tests * Add section about the mitigation to the IG * minor: Change more `Ordering`s to `Relaxed` * candidate-validation: Fix build errors --- Cargo.lock | 11 + node/core/candidate-validation/src/lib.rs | 4 +- node/core/candidate-validation/src/tests.rs | 12 +- node/core/pvf/Cargo.toml | 4 + node/core/pvf/src/artifacts.rs | 11 +- node/core/pvf/src/error.rs | 7 +- node/core/pvf/src/execute/mod.rs | 2 +- node/core/pvf/src/execute/queue.rs | 3 +- node/core/pvf/src/execute/worker.rs | 130 +++++++-- node/core/pvf/src/host.rs | 54 ++-- node/core/pvf/src/prepare/queue.rs | 40 ++- node/core/pvf/src/prepare/worker.rs | 273 ++++++++++++------ node/core/pvf/src/worker_common.rs | 103 ++++++- node/core/pvf/tests/it/adder.rs | 4 +- node/core/pvf/tests/it/main.rs | 24 +- .../src/node/utility/candidate-validation.md | 18 +- rpc/src/lib.rs | 6 +- 17 files changed, 536 insertions(+), 170 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 98d8ffc01638..20321502cf97 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1027,6 +1027,16 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "cpu-time" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9e393a7668fe1fad3075085b86c781883000b4ede868f43627b34a87c8b7ded" +dependencies = [ + "libc", + "winapi", +] + [[package]] name = "cpufeatures" version = "0.2.1" @@ -6487,6 +6497,7 @@ dependencies = [ "assert_matches", "async-process", "async-std", + "cpu-time", "futures", "futures-timer", "hex-literal", diff --git a/node/core/candidate-validation/src/lib.rs b/node/core/candidate-validation/src/lib.rs index f21f1be2f1bf..74610bc113ec 100644 --- a/node/core/candidate-validation/src/lib.rs +++ b/node/core/candidate-validation/src/lib.rs @@ -638,7 +638,7 @@ trait ValidationBackend { } } - async fn precheck_pvf(&mut self, pvf: Pvf) -> Result<(), PrepareError>; + async fn precheck_pvf(&mut self, pvf: Pvf) -> Result; } #[async_trait] @@ -664,7 +664,7 @@ impl ValidationBackend for ValidationHost { .map_err(|_| ValidationError::InternalError("validation was cancelled".into()))? } - async fn precheck_pvf(&mut self, pvf: Pvf) -> Result<(), PrepareError> { + async fn precheck_pvf(&mut self, pvf: Pvf) -> Result { let (tx, rx) = oneshot::channel(); if let Err(_) = self.precheck_pvf(pvf, tx).await { return Err(PrepareError::DidNotMakeIt) diff --git a/node/core/candidate-validation/src/tests.rs b/node/core/candidate-validation/src/tests.rs index cf467cd5c057..5ac93bc7d1f4 100644 --- a/node/core/candidate-validation/src/tests.rs +++ b/node/core/candidate-validation/src/tests.rs @@ -377,7 +377,7 @@ impl ValidationBackend for MockValidateCandidateBackend { result } - async fn precheck_pvf(&mut self, _pvf: Pvf) -> Result<(), PrepareError> { + async fn precheck_pvf(&mut self, _pvf: Pvf) -> Result { unreachable!() } } @@ -894,11 +894,11 @@ fn pov_decompression_failure_is_invalid() { } struct MockPreCheckBackend { - result: Result<(), PrepareError>, + result: Result, } impl MockPreCheckBackend { - fn with_hardcoded_result(result: Result<(), PrepareError>) -> Self { + fn with_hardcoded_result(result: Result) -> Self { Self { result } } } @@ -914,7 +914,7 @@ impl ValidationBackend for MockPreCheckBackend { unreachable!() } - async fn precheck_pvf(&mut self, _pvf: Pvf) -> Result<(), PrepareError> { + async fn precheck_pvf(&mut self, _pvf: Pvf) -> Result { self.result.clone() } } @@ -931,7 +931,7 @@ fn precheck_works() { let (check_fut, check_result) = precheck_pvf( ctx.sender(), - MockPreCheckBackend::with_hardcoded_result(Ok(())), + MockPreCheckBackend::with_hardcoded_result(Ok(Duration::default())), relay_parent, validation_code_hash, ) @@ -977,7 +977,7 @@ fn precheck_invalid_pvf_blob_compression() { let (check_fut, check_result) = precheck_pvf( ctx.sender(), - MockPreCheckBackend::with_hardcoded_result(Ok(())), + MockPreCheckBackend::with_hardcoded_result(Ok(Duration::default())), relay_parent, validation_code_hash, ) diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index b69d96c0cfef..b88837e0833e 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -13,6 +13,7 @@ always-assert = "0.1" async-std = { version = "1.11.0", features = ["attributes"] } async-process = "1.3.0" assert_matches = "1.4.0" +cpu-time = "1.0.0" futures = "0.3.21" futures-timer = "3.0.2" slotmap = "1.0" @@ -21,10 +22,13 @@ pin-project = "1.0.9" rand = "0.8.5" tempfile = "3.3.0" rayon = "1.5.1" + parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } + polkadot-parachain = { path = "../../../parachain" } polkadot-core-primitives = { path = "../../../core-primitives" } polkadot-node-metrics = { path = "../../metrics"} + sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor-wasmtime = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-executor-common = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/pvf/src/artifacts.rs b/node/core/pvf/src/artifacts.rs index 038d8e803299..413d73b4c558 100644 --- a/node/core/pvf/src/artifacts.rs +++ b/node/core/pvf/src/artifacts.rs @@ -101,6 +101,8 @@ pub enum ArtifactState { /// This is updated when we get the heads up for this artifact or when we just discover /// this file. last_time_needed: SystemTime, + /// The CPU time that was taken preparing this artifact. + cpu_time_elapsed: Duration, }, /// A task to prepare this artifact is scheduled. Preparing { @@ -171,11 +173,16 @@ impl Artifacts { /// This function must be used only for brand-new artifacts and should never be used for /// replacing existing ones. #[cfg(test)] - pub fn insert_prepared(&mut self, artifact_id: ArtifactId, last_time_needed: SystemTime) { + pub fn insert_prepared( + &mut self, + artifact_id: ArtifactId, + last_time_needed: SystemTime, + cpu_time_elapsed: Duration, + ) { // See the precondition. always!(self .artifacts - .insert(artifact_id, ArtifactState::Prepared { last_time_needed }) + .insert(artifact_id, ArtifactState::Prepared { last_time_needed, cpu_time_elapsed }) .is_none()); } diff --git a/node/core/pvf/src/error.rs b/node/core/pvf/src/error.rs index 4aca2da4b3ba..ddcdb2561cfd 100644 --- a/node/core/pvf/src/error.rs +++ b/node/core/pvf/src/error.rs @@ -15,10 +15,11 @@ // along with Polkadot. If not, see . use parity_scale_codec::{Decode, Encode}; -use std::any::Any; +use std::{any::Any, time::Duration}; -/// Result of PVF preparation performed by the validation host. -pub type PrepareResult = Result<(), PrepareError>; +/// Result of PVF preparation performed by the validation host. Contains the elapsed CPU time if +/// successful +pub type PrepareResult = Result; /// An error that occurred during the prepare part of the PVF pipeline. #[derive(Debug, Clone, Encode, Decode)] diff --git a/node/core/pvf/src/execute/mod.rs b/node/core/pvf/src/execute/mod.rs index 86e1d79fc951..bc7f035a8b40 100644 --- a/node/core/pvf/src/execute/mod.rs +++ b/node/core/pvf/src/execute/mod.rs @@ -24,4 +24,4 @@ mod queue; mod worker; pub use queue::{start, ToQueue}; -pub use worker::worker_entrypoint; +pub use worker::{worker_entrypoint, Response as ExecuteResponse}; diff --git a/node/core/pvf/src/execute/queue.rs b/node/core/pvf/src/execute/queue.rs index 17fb5765f7d3..72b6e450351b 100644 --- a/node/core/pvf/src/execute/queue.rs +++ b/node/core/pvf/src/execute/queue.rs @@ -225,8 +225,9 @@ fn handle_job_finish( result_tx: ResultSender, ) { let (idle_worker, result) = match outcome { - Outcome::Ok { result_descriptor, duration_ms: _, idle_worker } => { + Outcome::Ok { result_descriptor, duration: _, idle_worker } => { // TODO: propagate the soft timeout + (Some(idle_worker), Ok(result_descriptor)) }, Outcome::InvalidCandidate { err, idle_worker } => ( diff --git a/node/core/pvf/src/execute/worker.rs b/node/core/pvf/src/execute/worker.rs index a0b8337ddc4a..46226a159c26 100644 --- a/node/core/pvf/src/execute/worker.rs +++ b/node/core/pvf/src/execute/worker.rs @@ -18,8 +18,9 @@ use crate::{ artifacts::ArtifactPathId, executor_intf::Executor, worker_common::{ - bytes_to_path, framed_recv, framed_send, path_to_bytes, spawn_with_program_path, - worker_event_loop, IdleWorker, SpawnErr, WorkerHandle, + bytes_to_path, cpu_time_monitor_loop, framed_recv, framed_send, path_to_bytes, + spawn_with_program_path, worker_event_loop, IdleWorker, JobKind, SpawnErr, WorkerHandle, + JOB_TIMEOUT_WALL_CLOCK_FACTOR, }, LOG_TARGET, }; @@ -27,12 +28,21 @@ use async_std::{ io, os::unix::net::UnixStream, path::{Path, PathBuf}, + task, }; +use cpu_time::ProcessTime; use futures::FutureExt; use futures_timer::Delay; use parity_scale_codec::{Decode, Encode}; use polkadot_parachain::primitives::ValidationResult; -use std::time::{Duration, Instant}; +use std::{ + sync::{ + atomic::{AtomicBool, Ordering}, + Arc, + }, + thread, + time::Duration, +}; /// Spawns a new worker with the given program path that acts as the worker and the spawn timeout. /// @@ -48,7 +58,7 @@ pub async fn spawn( pub enum Outcome { /// PVF execution completed successfully and the result is returned. The worker is ready for /// another job. - Ok { result_descriptor: ValidationResult, duration_ms: u64, idle_worker: IdleWorker }, + Ok { result_descriptor: ValidationResult, duration: Duration, idle_worker: IdleWorker }, /// The candidate validation failed. It may be for example because the wasm execution triggered a trap. /// Errors related to the preparation process are not expected to be encountered by the execution workers. InvalidCandidate { err: String, idle_worker: IdleWorker }, @@ -80,7 +90,9 @@ pub async fn start_work( artifact.path.display(), ); - if let Err(error) = send_request(&mut stream, &artifact.path, &validation_params).await { + if let Err(error) = + send_request(&mut stream, &artifact.path, &validation_params, execution_timeout).await + { gum::warn!( target: LOG_TARGET, worker_pid = %pid, @@ -91,6 +103,12 @@ pub async fn start_work( return Outcome::IoErr } + // We use a generous timeout here. This is in addition to the one in the child process, in + // case the child stalls. We have a wall clock timeout here in the host, but a CPU timeout + // in the child. We want to use CPU time because it varies less than wall clock time under + // load, but the CPU resources of the child can only be measured from the parent after the + // child process terminates. + let timeout = execution_timeout * JOB_TIMEOUT_WALL_CLOCK_FACTOR; let response = futures::select! { response = recv_response(&mut stream).fuse() => { match response { @@ -104,25 +122,47 @@ pub async fn start_work( ); return Outcome::IoErr }, - Ok(response) => response, + Ok(response) => { + if let Response::Ok{duration, ..} = response { + if duration > execution_timeout { + // The job didn't complete within the timeout. + gum::warn!( + target: LOG_TARGET, + worker_pid = %pid, + "execute job took {}ms cpu time, exceeded execution timeout {}ms.", + duration.as_millis(), + execution_timeout.as_millis(), + ); + + // Return a timeout error. + return Outcome::HardTimeout; + } + } + + response + }, } }, - _ = Delay::new(execution_timeout).fuse() => { + _ = Delay::new(timeout).fuse() => { gum::warn!( target: LOG_TARGET, worker_pid = %pid, validation_code_hash = ?artifact.id.code_hash, "execution worker exceeded alloted time for execution", ); - return Outcome::HardTimeout; + // TODO: This case is not really a hard timeout as the timeout here in the host is + // lenient. Should fix this as part of + // https://github.com/paritytech/polkadot/issues/3754. + Response::TimedOut }, }; match response { - Response::Ok { result_descriptor, duration_ms } => - Outcome::Ok { result_descriptor, duration_ms, idle_worker: IdleWorker { stream, pid } }, + Response::Ok { result_descriptor, duration } => + Outcome::Ok { result_descriptor, duration, idle_worker: IdleWorker { stream, pid } }, Response::InvalidCandidate(err) => Outcome::InvalidCandidate { err, idle_worker: IdleWorker { stream, pid } }, + Response::TimedOut => Outcome::HardTimeout, Response::InternalError(err) => Outcome::InternalError { err, idle_worker: IdleWorker { stream, pid } }, } @@ -132,12 +172,14 @@ async fn send_request( stream: &mut UnixStream, artifact_path: &Path, validation_params: &[u8], + execution_timeout: Duration, ) -> io::Result<()> { framed_send(stream, path_to_bytes(artifact_path)).await?; - framed_send(stream, validation_params).await + framed_send(stream, validation_params).await?; + framed_send(stream, &execution_timeout.encode()).await } -async fn recv_request(stream: &mut UnixStream) -> io::Result<(PathBuf, Vec)> { +async fn recv_request(stream: &mut UnixStream) -> io::Result<(PathBuf, Vec, Duration)> { let artifact_path = framed_recv(stream).await?; let artifact_path = bytes_to_path(&artifact_path).ok_or_else(|| { io::Error::new( @@ -146,7 +188,14 @@ async fn recv_request(stream: &mut UnixStream) -> io::Result<(PathBuf, Vec)> ) })?; let params = framed_recv(stream).await?; - Ok((artifact_path, params)) + let execution_timeout = framed_recv(stream).await?; + let execution_timeout = Duration::decode(&mut &execution_timeout[..]).map_err(|_| { + io::Error::new( + io::ErrorKind::Other, + "execute pvf recv_request: failed to decode duration".to_string(), + ) + })?; + Ok((artifact_path, params, execution_timeout)) } async fn send_response(stream: &mut UnixStream, response: Response) -> io::Result<()> { @@ -164,9 +213,10 @@ async fn recv_response(stream: &mut UnixStream) -> io::Result { } #[derive(Encode, Decode)] -enum Response { - Ok { result_descriptor: ValidationResult, duration_ms: u64 }, +pub enum Response { + Ok { result_descriptor: ValidationResult, duration: Duration }, InvalidCandidate(String), + TimedOut, InternalError(String), } @@ -187,15 +237,53 @@ pub fn worker_entrypoint(socket_path: &str) { let executor = Executor::new().map_err(|e| { io::Error::new(io::ErrorKind::Other, format!("cannot create executor: {}", e)) })?; + loop { - let (artifact_path, params) = recv_request(&mut stream).await?; + let (artifact_path, params, execution_timeout) = recv_request(&mut stream).await?; gum::debug!( target: LOG_TARGET, worker_pid = %std::process::id(), "worker: validating artifact {}", artifact_path.display(), ); - let response = validate_using_artifact(&artifact_path, ¶ms, &executor).await; + + // Create a lock flag. We set it when either thread finishes. + let lock = Arc::new(AtomicBool::new(false)); + let cpu_time_start = ProcessTime::now(); + + // Spawn a new thread that runs the CPU time monitor. Continuously wakes up from + // sleeping and then either sleeps for the remaining CPU time, or kills the process if + // we exceed the CPU timeout. + let (stream_2, cpu_time_start_2, execution_timeout_2, lock_2) = + (stream.clone(), cpu_time_start, execution_timeout, lock.clone()); + let handle = + thread::Builder::new().name("CPU time monitor".into()).spawn(move || { + task::block_on(async { + cpu_time_monitor_loop( + JobKind::Execute, + stream_2, + cpu_time_start_2, + execution_timeout_2, + lock_2, + ) + .await; + }) + })?; + + let response = + validate_using_artifact(&artifact_path, ¶ms, &executor, cpu_time_start).await; + + let lock_result = + lock.compare_exchange(false, true, Ordering::Relaxed, Ordering::Relaxed); + if lock_result.is_err() { + // The other thread is still sending an error response over the socket. Wait on it + // and return. + let _ = handle.join(); + // Monitor thread detected timeout and likely already terminated the process, + // nothing to do. + continue + } + send_response(&mut stream, response).await?; } }); @@ -205,19 +293,19 @@ async fn validate_using_artifact( artifact_path: &Path, params: &[u8], executor: &Executor, + cpu_time_start: ProcessTime, ) -> Response { - let validation_started_at = Instant::now(); let descriptor_bytes = match unsafe { // SAFETY: this should be safe since the compiled artifact passed here comes from the // file created by the prepare workers. These files are obtained by calling // [`executor_intf::prepare`]. executor.execute(artifact_path.as_ref(), params) } { - Err(err) => return Response::format_invalid("execute", &err.to_string()), + Err(err) => return Response::format_invalid("execute", &err), Ok(d) => d, }; - let duration_ms = validation_started_at.elapsed().as_millis() as u64; + let duration = cpu_time_start.elapsed(); let result_descriptor = match ValidationResult::decode(&mut &descriptor_bytes[..]) { Err(err) => @@ -225,5 +313,5 @@ async fn validate_using_artifact( Ok(r) => r, }; - Response::Ok { result_descriptor, duration_ms } + Response::Ok { result_descriptor, duration } } diff --git a/node/core/pvf/src/host.rs b/node/core/pvf/src/host.rs index 5c29072da1c3..483419409448 100644 --- a/node/core/pvf/src/host.rs +++ b/node/core/pvf/src/host.rs @@ -218,7 +218,7 @@ pub fn start(config: Config, metrics: Metrics) -> (ValidationHost, impl Future { + ArtifactState::Prepared { last_time_needed, cpu_time_elapsed } => { *last_time_needed = SystemTime::now(); - let _ = result_sender.send(Ok(())); + let _ = result_sender.send(Ok(*cpu_time_elapsed)); }, ArtifactState::Preparing { waiting_for_response, num_failures: _ } => waiting_for_response.push(result_sender), @@ -490,7 +490,7 @@ async fn handle_precheck_pvf( /// /// If the prepare job failed previously, we may retry it under certain conditions. /// -/// When preparing for execution, we use a more lenient timeout ([`EXECUTE_COMPILATION_TIMEOUT`]) +/// When preparing for execution, we use a more lenient timeout ([`EXECUTE_PREPARATION_TIMEOUT`]) /// than when prechecking. async fn handle_execute_pvf( cache_path: &Path, @@ -505,7 +505,7 @@ async fn handle_execute_pvf( if let Some(state) = artifacts.artifact_state_mut(&artifact_id) { match state { - ArtifactState::Prepared { last_time_needed } => { + ArtifactState::Prepared { last_time_needed, .. } => { *last_time_needed = SystemTime::now(); // This artifact has already been prepared, send it to the execute queue. @@ -563,7 +563,7 @@ async fn handle_execute_pvf( awaiting_prepare.add(artifact_id, execution_timeout, params, result_tx); } - return Ok(()) + Ok(()) } async fn handle_heads_up( @@ -701,11 +701,12 @@ async fn handle_prepare_done( } *state = match result { - Ok(()) => ArtifactState::Prepared { last_time_needed: SystemTime::now() }, + Ok(cpu_time_elapsed) => + ArtifactState::Prepared { last_time_needed: SystemTime::now(), cpu_time_elapsed }, Err(error) => ArtifactState::FailedToProcess { last_time_failed: SystemTime::now(), num_failures: *num_failures + 1, - error: error.clone(), + error, }, }; @@ -780,7 +781,7 @@ fn can_retry_prepare_after_failure( // Gracefully returned an error, so it will probably be reproducible. Don't retry. Prevalidation(_) | Preparation(_) => false, // Retry if the retry cooldown has elapsed and if we have already retried less than - // `NUM_PREPARE_RETRIES` times. + // `NUM_PREPARE_RETRIES` times. IO errors may resolve themselves. Panic(_) | TimedOut | DidNotMakeIt => SystemTime::now() >= last_time_failed + PREPARE_FAILURE_COOLDOWN && num_failures <= NUM_PREPARE_RETRIES, @@ -1016,8 +1017,8 @@ mod tests { let mut builder = Builder::default(); builder.cleanup_pulse_interval = Duration::from_millis(100); builder.artifact_ttl = Duration::from_millis(500); - builder.artifacts.insert_prepared(artifact_id(1), mock_now); - builder.artifacts.insert_prepared(artifact_id(2), mock_now); + builder.artifacts.insert_prepared(artifact_id(1), mock_now, Duration::default()); + builder.artifacts.insert_prepared(artifact_id(2), mock_now, Duration::default()); let mut test = builder.build(); let mut host = test.host_handle(); @@ -1087,7 +1088,10 @@ mod tests { ); test.from_prepare_queue_tx - .send(prepare::FromQueue { artifact_id: artifact_id(1), result: Ok(()) }) + .send(prepare::FromQueue { + artifact_id: artifact_id(1), + result: Ok(Duration::default()), + }) .await .unwrap(); let result_tx_pvf_1_1 = assert_matches!( @@ -1100,7 +1104,10 @@ mod tests { ); test.from_prepare_queue_tx - .send(prepare::FromQueue { artifact_id: artifact_id(2), result: Ok(()) }) + .send(prepare::FromQueue { + artifact_id: artifact_id(2), + result: Ok(Duration::default()), + }) .await .unwrap(); let result_tx_pvf_2 = assert_matches!( @@ -1149,13 +1156,16 @@ mod tests { ); // Send `Ok` right away and poll the host. test.from_prepare_queue_tx - .send(prepare::FromQueue { artifact_id: artifact_id(1), result: Ok(()) }) + .send(prepare::FromQueue { + artifact_id: artifact_id(1), + result: Ok(Duration::default()), + }) .await .unwrap(); // No pending execute requests. test.poll_ensure_to_execute_queue_is_empty().await; // Received the precheck result. - assert_matches!(result_rx.now_or_never().unwrap().unwrap(), Ok(())); + assert_matches!(result_rx.now_or_never().unwrap().unwrap(), Ok(_)); // Send multiple requests for the same PVF. let mut precheck_receivers = Vec::new(); @@ -1253,7 +1263,10 @@ mod tests { prepare::ToQueue::Enqueue { .. } ); test.from_prepare_queue_tx - .send(prepare::FromQueue { artifact_id: artifact_id(2), result: Ok(()) }) + .send(prepare::FromQueue { + artifact_id: artifact_id(2), + result: Ok(Duration::default()), + }) .await .unwrap(); // The execute queue receives new request, preckecking is finished and we can @@ -1263,7 +1276,7 @@ mod tests { execute::ToQueue::Enqueue { .. } ); for result_rx in precheck_receivers { - assert_matches!(result_rx.now_or_never().unwrap().unwrap(), Ok(())); + assert_matches!(result_rx.now_or_never().unwrap().unwrap(), Ok(_)); } } @@ -1511,7 +1524,10 @@ mod tests { ); test.from_prepare_queue_tx - .send(prepare::FromQueue { artifact_id: artifact_id(1), result: Ok(()) }) + .send(prepare::FromQueue { + artifact_id: artifact_id(1), + result: Ok(Duration::default()), + }) .await .unwrap(); diff --git a/node/core/pvf/src/prepare/queue.rs b/node/core/pvf/src/prepare/queue.rs index ae0757d80461..df0a8ec41883 100644 --- a/node/core/pvf/src/prepare/queue.rs +++ b/node/core/pvf/src/prepare/queue.rs @@ -364,16 +364,14 @@ async fn handle_worker_concluded( // the pool up to the hard cap. spawn_extra_worker(queue, false).await?; } + } else if queue.limits.should_cull(queue.workers.len() + queue.spawn_inflight) { + // We no longer need services of this worker. Kill it. + queue.workers.remove(worker); + send_pool(&mut queue.to_pool_tx, pool::ToPool::Kill(worker)).await?; } else { - if queue.limits.should_cull(queue.workers.len() + queue.spawn_inflight) { - // We no longer need services of this worker. Kill it. - queue.workers.remove(worker); - send_pool(&mut queue.to_pool_tx, pool::ToPool::Kill(worker)).await?; - } else { - // see if there are more work available and schedule it. - if let Some(job) = queue.unscheduled.next() { - assign(queue, worker, job).await?; - } + // see if there are more work available and schedule it. + if let Some(job) = queue.unscheduled.next() { + assign(queue, worker, job).await?; } } @@ -618,7 +616,11 @@ mod tests { let w = test.workers.insert(()); test.send_from_pool(pool::FromPool::Spawned(w)); - test.send_from_pool(pool::FromPool::Concluded { worker: w, rip: false, result: Ok(()) }); + test.send_from_pool(pool::FromPool::Concluded { + worker: w, + rip: false, + result: Ok(Duration::default()), + }); assert_eq!(test.poll_and_recv_from_queue().await.artifact_id, pvf(1).as_artifact_id()); } @@ -647,7 +649,11 @@ mod tests { assert_matches!(test.poll_and_recv_to_pool().await, pool::ToPool::StartWork { .. }); assert_matches!(test.poll_and_recv_to_pool().await, pool::ToPool::StartWork { .. }); - test.send_from_pool(pool::FromPool::Concluded { worker: w1, rip: false, result: Ok(()) }); + test.send_from_pool(pool::FromPool::Concluded { + worker: w1, + rip: false, + result: Ok(Duration::default()), + }); assert_matches!(test.poll_and_recv_to_pool().await, pool::ToPool::StartWork { .. }); @@ -693,7 +699,11 @@ mod tests { // That's a bit silly in this context, but in production there will be an entire pool up // to the `soft_capacity` of workers and it doesn't matter which one to cull. Either way, // we just check that edge case of an edge case works. - test.send_from_pool(pool::FromPool::Concluded { worker: w1, rip: false, result: Ok(()) }); + test.send_from_pool(pool::FromPool::Concluded { + worker: w1, + rip: false, + result: Ok(Duration::default()), + }); assert_eq!(test.poll_and_recv_to_pool().await, pool::ToPool::Kill(w1)); } @@ -719,7 +729,11 @@ mod tests { assert_matches!(test.poll_and_recv_to_pool().await, pool::ToPool::StartWork { .. }); // Conclude worker 1 and rip it. - test.send_from_pool(pool::FromPool::Concluded { worker: w1, rip: true, result: Ok(()) }); + test.send_from_pool(pool::FromPool::Concluded { + worker: w1, + rip: true, + result: Ok(Duration::default()), + }); // Since there is still work, the queue requested one extra worker to spawn to handle the // remaining enqueued work items. diff --git a/node/core/pvf/src/prepare/worker.rs b/node/core/pvf/src/prepare/worker.rs index a16b9b94176e..4e0c411e45de 100644 --- a/node/core/pvf/src/prepare/worker.rs +++ b/node/core/pvf/src/prepare/worker.rs @@ -18,8 +18,9 @@ use crate::{ artifacts::CompiledArtifact, error::{PrepareError, PrepareResult}, worker_common::{ - bytes_to_path, framed_recv, framed_send, path_to_bytes, spawn_with_program_path, - tmpfile_in, worker_event_loop, IdleWorker, SpawnErr, WorkerHandle, + bytes_to_path, cpu_time_monitor_loop, framed_recv, framed_send, path_to_bytes, + spawn_with_program_path, tmpfile_in, worker_event_loop, IdleWorker, JobKind, SpawnErr, + WorkerHandle, JOB_TIMEOUT_WALL_CLOCK_FACTOR, }, LOG_TARGET, }; @@ -27,10 +28,20 @@ use async_std::{ io, os::unix::net::UnixStream, path::{Path, PathBuf}, + task, }; +use cpu_time::ProcessTime; use parity_scale_codec::{Decode, Encode}; use sp_core::hexdisplay::HexDisplay; -use std::{panic, sync::Arc, time::Duration}; +use std::{ + panic, + sync::{ + atomic::{AtomicBool, Ordering}, + Arc, + }, + thread, + time::Duration, +}; /// Spawns a new worker with the given program path that acts as the worker and the spawn timeout. /// @@ -58,6 +69,13 @@ pub enum Outcome { DidNotMakeIt, } +#[derive(Debug)] +enum Selected { + Done(PrepareResult), + IoErr, + Deadline, +} + /// Given the idle token of a worker and parameters of work, communicates with the worker and /// returns the outcome. pub async fn start_work( @@ -77,7 +95,7 @@ pub async fn start_work( ); with_tmp_file(pid, cache_path, |tmp_file| async move { - if let Err(err) = send_request(&mut stream, code, &tmp_file).await { + if let Err(err) = send_request(&mut stream, code, &tmp_file, preparation_timeout).await { gum::warn!( target: LOG_TARGET, worker_pid = %pid, @@ -88,78 +106,52 @@ pub async fn start_work( } // Wait for the result from the worker, keeping in mind that there may be a timeout, the - // worker may get killed, or something along these lines. + // worker may get killed, or something along these lines. In that case we should propagate + // the error to the pool. // - // In that case we should propagate the error to the pool. + // We use a generous timeout here. This is in addition to the one in the child process, in + // case the child stalls. We have a wall clock timeout here in the host, but a CPU timeout + // in the child. We want to use CPU time because it varies less than wall clock time under + // load, but the CPU resources of the child can only be measured from the parent after the + // child process terminates. + let timeout = preparation_timeout * JOB_TIMEOUT_WALL_CLOCK_FACTOR; + let result = async_std::future::timeout(timeout, framed_recv(&mut stream)).await; - #[derive(Debug)] - enum Selected { - Done(PrepareResult), - IoErr, - Deadline, - } - - let selected = - match async_std::future::timeout(preparation_timeout, framed_recv(&mut stream)).await { - Ok(Ok(response_bytes)) => { - // Received bytes from worker within the time limit. - // By convention we expect encoded `PrepareResult`. - if let Ok(result) = PrepareResult::decode(&mut response_bytes.as_slice()) { - if result.is_ok() { - gum::debug!( - target: LOG_TARGET, - worker_pid = %pid, - "promoting WIP artifact {} to {}", - tmp_file.display(), - artifact_path.display(), - ); - - async_std::fs::rename(&tmp_file, &artifact_path) - .await - .map(|_| Selected::Done(result)) - .unwrap_or_else(|err| { - gum::warn!( - target: LOG_TARGET, - worker_pid = %pid, - "failed to rename the artifact from {} to {}: {:?}", - tmp_file.display(), - artifact_path.display(), - err, - ); - Selected::IoErr - }) - } else { - Selected::Done(result) - } - } else { - // We received invalid bytes from the worker. - let bound_bytes = &response_bytes[..response_bytes.len().min(4)]; - gum::warn!( - target: LOG_TARGET, - worker_pid = %pid, - "received unexpected response from the prepare worker: {}", - HexDisplay::from(&bound_bytes), - ); - Selected::IoErr - } - }, - Ok(Err(err)) => { - // Communication error within the time limit. - gum::warn!( - target: LOG_TARGET, - worker_pid = %pid, - "failed to recv a prepare response: {:?}", - err, - ); - Selected::IoErr - }, - Err(_) => { - // Timed out. - Selected::Deadline - }, - }; + let selected = match result { + // Received bytes from worker within the time limit. + Ok(Ok(response_bytes)) => + handle_response_bytes( + response_bytes, + pid, + tmp_file, + artifact_path, + preparation_timeout, + ) + .await, + Ok(Err(err)) => { + // Communication error within the time limit. + gum::warn!( + target: LOG_TARGET, + worker_pid = %pid, + "failed to recv a prepare response: {:?}", + err, + ); + Selected::IoErr + }, + Err(_) => { + // Timed out here on the host. + gum::warn!( + target: LOG_TARGET, + worker_pid = %pid, + "did not recv a prepare response within the time limit", + ); + Selected::Deadline + }, + }; match selected { + // Timed out on the child. This should already be logged by the child. + Selected::Done(Err(PrepareError::TimedOut)) => Outcome::TimedOut, Selected::Done(result) => Outcome::Concluded { worker: IdleWorker { stream, pid }, result }, Selected::Deadline => Outcome::TimedOut, @@ -169,6 +161,76 @@ pub async fn start_work( .await } +/// Handles the case where we successfully received response bytes on the host from the child. +async fn handle_response_bytes( + response_bytes: Vec, + pid: u32, + tmp_file: PathBuf, + artifact_path: PathBuf, + preparation_timeout: Duration, +) -> Selected { + // By convention we expect encoded `PrepareResult`. + let result = match PrepareResult::decode(&mut response_bytes.as_slice()) { + Ok(result) => result, + Err(_) => { + // We received invalid bytes from the worker. + let bound_bytes = &response_bytes[..response_bytes.len().min(4)]; + gum::warn!( + target: LOG_TARGET, + worker_pid = %pid, + "received unexpected response from the prepare worker: {}", + HexDisplay::from(&bound_bytes), + ); + return Selected::IoErr + }, + }; + let cpu_time_elapsed = match result { + Ok(result) => result, + Err(_) => return Selected::Done(result), + }; + + if cpu_time_elapsed > preparation_timeout { + // The job didn't complete within the timeout. + gum::warn!( + target: LOG_TARGET, + worker_pid = %pid, + "prepare job took {}ms cpu time, exceeded preparation timeout {}ms. Clearing WIP artifact {}", + cpu_time_elapsed.as_millis(), + preparation_timeout.as_millis(), + tmp_file.display(), + ); + + // Return a timeout error. + // + // NOTE: The artifact exists, but is located in a temporary file which + // will be cleared by `with_tmp_file`. + return Selected::Deadline + } + + gum::debug!( + target: LOG_TARGET, + worker_pid = %pid, + "promoting WIP artifact {} to {}", + tmp_file.display(), + artifact_path.display(), + ); + + async_std::fs::rename(&tmp_file, &artifact_path) + .await + .map(|_| Selected::Done(result)) + .unwrap_or_else(|err| { + gum::warn!( + target: LOG_TARGET, + worker_pid = %pid, + "failed to rename the artifact from {} to {}: {:?}", + tmp_file.display(), + artifact_path.display(), + err, + ); + Selected::IoErr + }) +} + /// Create a temporary file for an artifact at the given cache path and execute the given /// future/closure passing the file path in. /// @@ -218,13 +280,15 @@ async fn send_request( stream: &mut UnixStream, code: Arc>, tmp_file: &Path, + preparation_timeout: Duration, ) -> io::Result<()> { framed_send(stream, &code).await?; framed_send(stream, path_to_bytes(tmp_file)).await?; + framed_send(stream, &preparation_timeout.encode()).await?; Ok(()) } -async fn recv_request(stream: &mut UnixStream) -> io::Result<(Vec, PathBuf)> { +async fn recv_request(stream: &mut UnixStream) -> io::Result<(Vec, PathBuf, Duration)> { let code = framed_recv(stream).await?; let tmp_file = framed_recv(stream).await?; let tmp_file = bytes_to_path(&tmp_file).ok_or_else(|| { @@ -233,7 +297,14 @@ async fn recv_request(stream: &mut UnixStream) -> io::Result<(Vec, PathBuf)> "prepare pvf recv_request: non utf-8 artifact path".to_string(), ) })?; - Ok((code, tmp_file)) + let preparation_timeout = framed_recv(stream).await?; + let preparation_timeout = Duration::decode(&mut &preparation_timeout[..]).map_err(|_| { + io::Error::new( + io::ErrorKind::Other, + "prepare pvf recv_request: failed to decode duration".to_string(), + ) + })?; + Ok((code, tmp_file, preparation_timeout)) } /// The entrypoint that the spawned prepare worker should start with. The `socket_path` specifies @@ -241,7 +312,7 @@ async fn recv_request(stream: &mut UnixStream) -> io::Result<(Vec, PathBuf)> pub fn worker_entrypoint(socket_path: &str) { worker_event_loop("prepare", socket_path, |mut stream| async move { loop { - let (code, dest) = recv_request(&mut stream).await?; + let (code, dest, preparation_timeout) = recv_request(&mut stream).await?; gum::debug!( target: LOG_TARGET, @@ -249,18 +320,54 @@ pub fn worker_entrypoint(socket_path: &str) { "worker: preparing artifact", ); - let result = match prepare_artifact(&code) { + // Create a lock flag. We set it when either thread finishes. + let lock = Arc::new(AtomicBool::new(false)); + let cpu_time_start = ProcessTime::now(); + + // Spawn a new thread that runs the CPU time monitor. Continuously wakes up from + // sleeping and then either sleeps for the remaining CPU time, or kills the process if + // we exceed the CPU timeout. + let (stream_2, cpu_time_start_2, preparation_timeout_2, lock_2) = + (stream.clone(), cpu_time_start, preparation_timeout, lock.clone()); + let handle = + thread::Builder::new().name("CPU time monitor".into()).spawn(move || { + task::block_on(async { + cpu_time_monitor_loop( + JobKind::Prepare, + stream_2, + cpu_time_start_2, + preparation_timeout_2, + lock_2, + ) + .await; + }) + })?; + + // Prepares the artifact in a separate thread. + let result = match prepare_artifact(&code).await { Err(err) => { // Serialized error will be written into the socket. Err(err) }, Ok(compiled_artifact) => { + let cpu_time_elapsed = cpu_time_start.elapsed(); + + let lock_result = + lock.compare_exchange(false, true, Ordering::Relaxed, Ordering::Relaxed); + if lock_result.is_err() { + // The other thread is still sending an error response over the socket. Wait on it and + // return. + let _ = handle.join(); + // Monitor thread detected timeout and likely already terminated the + // process, nothing to do. + continue + } + // Write the serialized artifact into a temp file. - // PVF host only keeps artifacts statuses in its memory, - // successfully compiled code gets stored on the disk (and - // consequently deserialized by execute-workers). The prepare - // worker is only required to send an empty `Ok` to the pool - // to indicate the success. + // + // PVF host only keeps artifacts statuses in its memory, successfully compiled code gets stored + // on the disk (and consequently deserialized by execute-workers). The prepare worker is only + // required to send `Ok` to the pool to indicate the success. gum::debug!( target: LOG_TARGET, @@ -270,7 +377,7 @@ pub fn worker_entrypoint(socket_path: &str) { ); async_std::fs::write(&dest, &compiled_artifact).await?; - Ok(()) + Ok(cpu_time_elapsed) }, }; @@ -279,7 +386,7 @@ pub fn worker_entrypoint(socket_path: &str) { }); } -fn prepare_artifact(code: &[u8]) -> Result { +async fn prepare_artifact(code: &[u8]) -> Result { panic::catch_unwind(|| { let blob = match crate::executor_intf::prevalidate(code) { Err(err) => return Err(PrepareError::Prevalidation(format!("{:?}", err))), diff --git a/node/core/pvf/src/worker_common.rs b/node/core/pvf/src/worker_common.rs index 572e3717832b..55c91a64424d 100644 --- a/node/core/pvf/src/worker_common.rs +++ b/node/core/pvf/src/worker_common.rs @@ -16,25 +16,54 @@ //! Common logic for implementation of worker processes. -use crate::LOG_TARGET; +use crate::{execute::ExecuteResponse, PrepareError, LOG_TARGET}; use async_std::{ io, os::unix::net::{UnixListener, UnixStream}, path::{Path, PathBuf}, }; +use cpu_time::ProcessTime; use futures::{ never::Never, AsyncRead, AsyncReadExt as _, AsyncWrite, AsyncWriteExt as _, FutureExt as _, }; use futures_timer::Delay; +use parity_scale_codec::Encode; use pin_project::pin_project; use rand::Rng; use std::{ fmt, mem, pin::Pin, + sync::{ + atomic::{AtomicBool, Ordering}, + Arc, + }, task::{Context, Poll}, time::Duration, }; +/// A multiple of the job timeout (in CPU time) for which we are willing to wait on the host (in +/// wall clock time). This is lenient because CPU time may go slower than wall clock time. +pub const JOB_TIMEOUT_WALL_CLOCK_FACTOR: u32 = 4; + +/// Some allowed overhead that we account for in the "CPU time monitor" thread's sleeps, on the +/// child process. +pub const JOB_TIMEOUT_OVERHEAD: Duration = Duration::from_millis(50); + +#[derive(Copy, Clone, Debug)] +pub enum JobKind { + Prepare, + Execute, +} + +impl fmt::Display for JobKind { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + match self { + Self::Prepare => write!(f, "prepare"), + Self::Execute => write!(f, "execute"), + } + } +} + /// This is publicly exposed only for integration tests. #[doc(hidden)] pub async fn spawn_with_program_path( @@ -169,6 +198,74 @@ where ); } +/// Loop that runs in the CPU time monitor thread on prepare and execute jobs. Continuously wakes up +/// from sleeping and then either sleeps for the remaining CPU time, or kills the process if we +/// exceed the CPU timeout. +/// +/// NOTE: Killed processes are detected and cleaned up in `purge_dead`. +/// +/// NOTE: If the job completes and this thread is still sleeping, it will continue sleeping in the +/// background. When it wakes, it will see that the flag has been set and return. +pub async fn cpu_time_monitor_loop( + job_kind: JobKind, + mut stream: UnixStream, + cpu_time_start: ProcessTime, + timeout: Duration, + lock: Arc, +) { + loop { + let cpu_time_elapsed = cpu_time_start.elapsed(); + + // Treat the timeout as CPU time, which is less subject to variance due to load. + if cpu_time_elapsed > timeout { + let result = lock.compare_exchange(false, true, Ordering::Relaxed, Ordering::Relaxed); + if result.is_err() { + // Hit the job-completed case first, return from this thread. + return + } + + // Log if we exceed the timeout. + gum::warn!( + target: LOG_TARGET, + worker_pid = %std::process::id(), + "{job_kind} job took {}ms cpu time, exceeded {job_kind} timeout {}ms", + cpu_time_elapsed.as_millis(), + timeout.as_millis(), + ); + + // Send back a TimedOut error on timeout. + let encoded_result = match job_kind { + JobKind::Prepare => { + let result: Result<(), PrepareError> = Err(PrepareError::TimedOut); + result.encode() + }, + JobKind::Execute => { + let result = ExecuteResponse::TimedOut; + result.encode() + }, + }; + // If we error there is nothing else we can do here, and we are killing the process, + // anyway. The receiving side will just have to time out. + if let Err(err) = framed_send(&mut stream, encoded_result.as_slice()).await { + gum::warn!( + target: LOG_TARGET, + worker_pid = %std::process::id(), + "{job_kind} worker -> pvf host: error sending result over the socket: {:?}", + err + ); + } + + // Kill the process. + std::process::exit(1); + } + + // Sleep for the remaining CPU time, plus a bit to account for overhead. Note that the sleep + // is wall clock time. The CPU clock may be slower than the wall clock. + let sleep_interval = timeout - cpu_time_elapsed + JOB_TIMEOUT_OVERHEAD; + std::thread::sleep(sleep_interval); + } +} + /// A struct that represents an idle worker. /// /// This struct is supposed to be used as a token that is passed by move into a subroutine that @@ -200,8 +297,8 @@ pub enum SpawnErr { /// This is a representation of a potentially running worker. Drop it and the process will be killed. /// /// A worker's handle is also a future that resolves when it's detected that the worker's process -/// has been terminated. Since the worker is running in another process it is obviously not necessary -/// to poll this future to make the worker run, it's only for termination detection. +/// has been terminated. Since the worker is running in another process it is obviously not +/// necessary to poll this future to make the worker run, it's only for termination detection. /// /// This future relies on the fact that a child process's stdout `fd` is closed upon it's termination. #[pin_project] diff --git a/node/core/pvf/tests/it/adder.rs b/node/core/pvf/tests/it/adder.rs index 83cbd27b6ed5..69b6b7d21979 100644 --- a/node/core/pvf/tests/it/adder.rs +++ b/node/core/pvf/tests/it/adder.rs @@ -23,7 +23,7 @@ use polkadot_parachain::primitives::{ }; #[async_std::test] -async fn execute_good_on_parent() { +async fn execute_good_block_on_parent() { let parent_head = HeadData { number: 0, parent_hash: [0; 32], post_state: hash_state(0) }; let block_data = BlockData { state: 0, add: 512 }; @@ -89,7 +89,7 @@ async fn execute_good_chain_on_parent() { } #[async_std::test] -async fn execute_bad_on_parent() { +async fn execute_bad_block_on_parent() { let parent_head = HeadData { number: 0, parent_hash: [0; 32], post_state: hash_state(0) }; let block_data = BlockData { diff --git a/node/core/pvf/tests/it/main.rs b/node/core/pvf/tests/it/main.rs index bf0983d50874..a6aaf5d369d4 100644 --- a/node/core/pvf/tests/it/main.rs +++ b/node/core/pvf/tests/it/main.rs @@ -101,6 +101,7 @@ async fn terminates_on_timeout() { #[async_std::test] async fn parallel_execution() { + // Run some jobs that do not complete, thus timing out. let host = TestHost::new(); let execute_pvf_future_1 = host.validate_candidate( halt::wasm_binary_unwrap(), @@ -124,11 +125,14 @@ async fn parallel_execution() { let start = std::time::Instant::now(); let (_, _) = futures::join!(execute_pvf_future_1, execute_pvf_future_2); - // total time should be < 2 x EXECUTION_TIMEOUT_SEC - const EXECUTION_TIMEOUT_SEC: u64 = 3; + // Total time should be < 2 x TEST_EXECUTION_TIMEOUT (two workers run in parallel). + let duration = std::time::Instant::now().duration_since(start); + let max_duration = 2 * TEST_EXECUTION_TIMEOUT; assert!( - std::time::Instant::now().duration_since(start) < - std::time::Duration::from_secs(EXECUTION_TIMEOUT_SEC * 2) + duration < max_duration, + "Expected duration {}ms to be less than {}ms", + duration.as_millis(), + max_duration.as_millis() ); } @@ -141,6 +145,7 @@ async fn execute_queue_doesnt_stall_if_workers_died() { // Here we spawn 8 validation jobs for the `halt` PVF and share those between 5 workers. The // first five jobs should timeout and the workers killed. For the next 3 jobs a new batch of // workers should be spun up. + let start = std::time::Instant::now(); futures::future::join_all((0u8..=8).map(|_| { host.validate_candidate( halt::wasm_binary_unwrap(), @@ -153,4 +158,15 @@ async fn execute_queue_doesnt_stall_if_workers_died() { ) })) .await; + + // Total time should be >= 2 x TEST_EXECUTION_TIMEOUT (two separate sets of workers that should + // both timeout). + let duration = std::time::Instant::now().duration_since(start); + let max_duration = 2 * TEST_EXECUTION_TIMEOUT; + assert!( + duration >= max_duration, + "Expected duration {}ms to be greater than or equal to {}ms", + duration.as_millis(), + max_duration.as_millis() + ); } diff --git a/roadmap/implementers-guide/src/node/utility/candidate-validation.md b/roadmap/implementers-guide/src/node/utility/candidate-validation.md index 4e67be069155..6e7a5f3d0c8f 100644 --- a/roadmap/implementers-guide/src/node/utility/candidate-validation.md +++ b/roadmap/implementers-guide/src/node/utility/candidate-validation.md @@ -77,10 +77,18 @@ time they can take. As the time for a job can vary depending on the machine and load on the machine, this can potentially lead to disputes where some validators successfuly execute a PVF and others don't. -One mitigation we have in place is a more lenient timeout for preparation during -execution than during pre-checking. The rationale is that the PVF has already -passed pre-checking, so we know it should be valid, and we allow it to take -longer than expected, as this is likely due to an issue with the machine and not -the PVF. +One dispute mitigation we have in place is a more lenient timeout for +preparation during execution than during pre-checking. The rationale is that the +PVF has already passed pre-checking, so we know it should be valid, and we allow +it to take longer than expected, as this is likely due to an issue with the +machine and not the PVF. + +#### CPU clock timeouts + +Another timeout-related mitigation we employ is to measure the time taken by +jobs using CPU time, rather than wall clock time. This is because the CPU time +of a process is less variable under different system conditions. When the +overall system is under heavy load, the wall clock time of a job is affected +more than the CPU time. [CVM]: ../../types/overseer-protocol.md#validationrequesttype diff --git a/rpc/src/lib.rs b/rpc/src/lib.rs index 0f54840f2ca5..43efefcae15b 100644 --- a/rpc/src/lib.rs +++ b/rpc/src/lib.rs @@ -108,11 +108,7 @@ where + Sync + 'static, C::Api: frame_rpc_system::AccountNonceApi, - C::Api: mmr_rpc::MmrRuntimeApi< - Block, - ::Hash, - BlockNumber, - >, + C::Api: mmr_rpc::MmrRuntimeApi::Hash, BlockNumber>, C::Api: pallet_transaction_payment_rpc::TransactionPaymentRuntimeApi, C::Api: BabeApi, C::Api: BlockBuilder, From 6343ae77745191512c54bec885c41890f9bcab6f Mon Sep 17 00:00:00 2001 From: ordian Date: Wed, 30 Nov 2022 13:28:35 +0100 Subject: [PATCH 148/211] guide: remove refences to outdated secondary checkers (#6309) * guide: remove refences to outdated secondary checkers * Update roadmap/implementers-guide/src/glossary.md * guide: remove refences to Fisherman * revert changes to roadmap/parachains.md --- node/primitives/src/lib.rs | 2 +- roadmap/implementers-guide/src/glossary.md | 3 +-- .../src/node/availability/README.md | 2 +- .../implementers-guide/src/protocol-overview.md | 1 - roadmap/implementers-guide/src/runtime/README.md | 14 ++++++++------ roadmap/implementers-guide/src/types/approval.md | 2 +- roadmap/implementers-guide/src/types/candidate.md | 4 ++-- .../src/types/overseer-protocol.md | 2 +- runtime/parachains/src/paras/mod.rs | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/node/primitives/src/lib.rs b/node/primitives/src/lib.rs index e75181b900e9..f9403ea6c186 100644 --- a/node/primitives/src/lib.rs +++ b/node/primitives/src/lib.rs @@ -383,7 +383,7 @@ impl std::fmt::Debug for CollationGenerationConfig { pub struct AvailableData { /// The Proof-of-Validation of the candidate. pub pov: std::sync::Arc, - /// The persisted validation data needed for secondary checks. + /// The persisted validation data needed for approval checks. pub validation_data: PersistedValidationData, } diff --git a/roadmap/implementers-guide/src/glossary.md b/roadmap/implementers-guide/src/glossary.md index ed6a358be6da..d379c2813b59 100644 --- a/roadmap/implementers-guide/src/glossary.md +++ b/roadmap/implementers-guide/src/glossary.md @@ -2,6 +2,7 @@ Here you can find definitions of a bunch of jargon, usually specific to the Polkadot project. +- **Approval Checker:** A validator who randomly self-selects so to perform validity checks on a parablock which is pending approval. - **BABE:** (Blind Assignment for Blockchain Extension). The algorithm validators use to safely extend the Relay Chain. See [the Polkadot wiki][0] for more information. - **Backable Candidate:** A Parachain Candidate which is backed by a majority of validators assigned to a given parachain. - **Backed Candidate:** A Backable Candidate noted in a relay-chain block @@ -31,11 +32,9 @@ exactly one downward message queue. - **PVF Prechecking:** This is the process of initially checking the PVF when it is first added. We attempt preparation of the PVF and make sure it succeeds within a given timeout. - **PVF Preparation:** This is the process of preparing the WASM blob and includes both prevalidation and compilation. As prevalidation is pretty minimal right now, preparation mostly consists of compilation. - **Relay Parent:** A block in the relay chain, referred to in a context where work is being done in the context of the state at this block. -- **Router:** The router module is a meta module that consists of three runtime modules responsible for routing messages between paras and the relay chain. The three separate runtime modules are: Dmp, Ump, Hrmp, each responsible for the respective part of message routing. - **Runtime:** The relay-chain state machine. - **Runtime Module:** See Module. - **Runtime API:** A means for the node-side behavior to access structured information based on the state of a fork of the blockchain. -- **Secondary Checker:** A validator who has been randomly selected to perform secondary approval checks on a parablock which is pending approval. - **Subsystem:** A long-running task which is responsible for carrying out a particular category of work. - **UMP:** (Upward Message Passing) A vertical message passing mechanism from a parachain to the relay chain. - **Validator:** Specially-selected node in the network who is responsible for validating parachain blocks and issuing attestations about their validity. diff --git a/roadmap/implementers-guide/src/node/availability/README.md b/roadmap/implementers-guide/src/node/availability/README.md index 46ee4b204982..76bd6467e178 100644 --- a/roadmap/implementers-guide/src/node/availability/README.md +++ b/roadmap/implementers-guide/src/node/availability/README.md @@ -1,3 +1,3 @@ # Availability Subsystems -The availability subsystems are responsible for ensuring that Proofs of Validity of backed candidates are widely available within the validator set, without requiring every node to retain a full copy. They accomplish this by broadly distributing erasure-coded chunks of the PoV, keeping track of which validator has which chunk by means of signed bitfields. They are also responsible for reassembling a complete PoV when required, e.g. when a fisherman reports a potentially invalid block. +The availability subsystems are responsible for ensuring that Proofs of Validity of backed candidates are widely available within the validator set, without requiring every node to retain a full copy. They accomplish this by broadly distributing erasure-coded chunks of the PoV, keeping track of which validator has which chunk by means of signed bitfields. They are also responsible for reassembling a complete PoV when required, e.g. when an approval checker needs to validate a parachain block. diff --git a/roadmap/implementers-guide/src/protocol-overview.md b/roadmap/implementers-guide/src/protocol-overview.md index 77b3a7448c44..fa5a866e6121 100644 --- a/roadmap/implementers-guide/src/protocol-overview.md +++ b/roadmap/implementers-guide/src/protocol-overview.md @@ -8,7 +8,6 @@ First, it's important to go over the main actors we have involved in this protoc 1. Validators. These nodes are responsible for validating proposed parachain blocks. They do so by checking a Proof-of-Validity (PoV) of the block and ensuring that the PoV remains available. They put financial capital down as "skin in the game" which can be slashed (destroyed) if they are proven to have misvalidated. 1. Collators. These nodes are responsible for creating the Proofs-of-Validity that validators know how to check. Creating a PoV typically requires familiarity with the transaction format and block authoring rules of the parachain, as well as having access to the full state of the parachain. -1. Fishermen. These are user-operated, permissionless nodes whose goal is to catch misbehaving validators in exchange for a bounty. Collators and validators can behave as Fishermen too. Fishermen aren't necessary for security, and aren't covered in-depth by this document. This implies a simple pipeline where collators send validators parachain blocks and their requisite PoV to check. Then, validators validate the block using the PoV, signing statements which describe either the positive or negative outcome, and with enough positive statements, the block can be noted on the relay-chain. Negative statements are not a veto but will lead to a dispute, with those on the wrong side being slashed. If another validator later detects that a validator or group of validators incorrectly signed a statement claiming a block was valid, then those validators will be _slashed_, with the checker receiving a bounty. diff --git a/roadmap/implementers-guide/src/runtime/README.md b/roadmap/implementers-guide/src/runtime/README.md index 178346e184f5..f1f9d6c950e2 100644 --- a/roadmap/implementers-guide/src/runtime/README.md +++ b/roadmap/implementers-guide/src/runtime/README.md @@ -14,16 +14,18 @@ There is some functionality of the relay chain relating to parachains that we al We will split the logic of the runtime up into these modules: -* Initializer: manage initialization order of the other modules. +* Initializer: manages initialization order of the other modules. * Shared: manages shared storage and configurations for other modules. -* Configuration: manage configuration and configuration updates in a non-racy manner. -* Paras: manage chain-head and validation code for parachains and parathreads. +* Configuration: manages configuration and configuration updates in a non-racy manner. +* Paras: manages chain-head and validation code for parachains and parathreads. * Scheduler: manages parachain and parathread scheduling as well as validator assignments. * Inclusion: handles the inclusion and availability of scheduled parachains and parathreads. -* Validity: handles secondary checks and dispute resolution for included, available parablocks. +* SessionInfo: manages various session keys of validators and other params stored per session. +* Disputes: handles dispute resolution for included, available parablocks. +* Slashing: handles slashing logic for concluded disputes. * HRMP: handles horizontal messages between paras. -* UMP: Handles upward messages from a para to the relay chain. -* DMP: Handles downward messages from the relay chain to the para. +* UMP: handles upward messages from a para to the relay chain. +* DMP: handles downward messages from the relay chain to the para. The [Initializer module](initializer.md) is special - it's responsible for handling the initialization logic of the other modules to ensure that the correct initialization order and related invariants are maintained. The other modules won't specify a on-initialize logic, but will instead expose a special semi-private routine that the initialization module will call. The other modules are relatively straightforward and perform the roles described above. diff --git a/roadmap/implementers-guide/src/types/approval.md b/roadmap/implementers-guide/src/types/approval.md index e85a625b0710..b58e0a8187e1 100644 --- a/roadmap/implementers-guide/src/types/approval.md +++ b/roadmap/implementers-guide/src/types/approval.md @@ -6,7 +6,7 @@ The public key of a keypair used by a validator for determining assignments to a ## `AssignmentCert` -An `AssignmentCert`, short for Assignment Certificate, is a piece of data provided by a validator to prove that they have been selected to perform secondary approval checks on an included candidate. +An `AssignmentCert`, short for Assignment Certificate, is a piece of data provided by a validator to prove that they have been selected to perform approval checks on an included candidate. These certificates can be checked in the context of a specific block, candidate, and validator assignment VRF key. The block state will also provide further context about the availability core states at that block. diff --git a/roadmap/implementers-guide/src/types/candidate.md b/roadmap/implementers-guide/src/types/candidate.md index baad5b07e6cd..729c72180ee5 100644 --- a/roadmap/implementers-guide/src/types/candidate.md +++ b/roadmap/implementers-guide/src/types/candidate.md @@ -76,7 +76,7 @@ struct CandidateDescriptor { collator: CollatorId, /// The blake2-256 hash of the persisted validation data. These are extra parameters /// derived from relay-chain state that influence the validity of the block which - /// must also be kept available for secondary checkers. + /// must also be kept available for approval checkers. persisted_validation_data_hash: Hash, /// The blake2-256 hash of the `pov-block`. pov_hash: Hash, @@ -116,7 +116,7 @@ Since this data is used to form inputs to the validation function, it needs to b Furthermore, the validation data acts as a way to authorize the additional data the collator needs to pass to the validation function. For example, the validation function can check whether the incoming messages (e.g. downward messages) were actually sent by using the data provided in the validation data using so called MQC heads. -Since the commitments of the validation function are checked by the relay-chain, secondary checkers can rely on the invariant that the relay-chain only includes para-blocks for which these checks have already been done. As such, there is no need for the validation data used to inform validators and collators about the checks the relay-chain will perform to be persisted by the availability system. +Since the commitments of the validation function are checked by the relay-chain, approval checkers can rely on the invariant that the relay-chain only includes para-blocks for which these checks have already been done. As such, there is no need for the validation data used to inform validators and collators about the checks the relay-chain will perform to be persisted by the availability system. The `PersistedValidationData` should be relatively lightweight primarily because it is constructed during inclusion for each candidate and therefore lies on the critical path of inclusion. diff --git a/roadmap/implementers-guide/src/types/overseer-protocol.md b/roadmap/implementers-guide/src/types/overseer-protocol.md index ad66d0132788..41d624670363 100644 --- a/roadmap/implementers-guide/src/types/overseer-protocol.md +++ b/roadmap/implementers-guide/src/types/overseer-protocol.md @@ -825,7 +825,7 @@ pub enum CandidateValidationMessage { /// /// This request doesn't involve acceptance criteria checking, therefore only useful for the /// cases where the validity of the candidate is established. This is the case for the typical - /// use-case: secondary checkers would use this request relying on the full prior checks + /// use-case: approval checkers would use this request relying on the full prior checks /// performed by the relay-chain. ValidateFromExhaustive( PersistedValidationData, diff --git a/runtime/parachains/src/paras/mod.rs b/runtime/parachains/src/paras/mod.rs index 3c5744b96546..c4fadcf5642b 100644 --- a/runtime/parachains/src/paras/mod.rs +++ b/runtime/parachains/src/paras/mod.rs @@ -659,7 +659,7 @@ pub mod pallet { /// Past code of parachains. The parachains themselves may not be registered anymore, /// but we also keep their code on-chain for the same amount of time as outdated code - /// to keep it available for secondary checkers. + /// to keep it available for approval checkers. #[pallet::storage] #[pallet::getter(fn past_code_meta)] pub(super) type PastCodeMeta = From bc65cf22a359859c20bc4aae94bcffad1846d5b6 Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Thu, 1 Dec 2022 13:22:37 +0100 Subject: [PATCH 149/211] Kusama: approve/reject treasury prop by treasurer (#6354) --- runtime/kusama/src/governance/mod.rs | 2 +- runtime/kusama/src/governance/origins.rs | 1 + runtime/kusama/src/lib.rs | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index 87cbfd7eea2f..03a1aa03c3a1 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -30,7 +30,7 @@ mod origins; pub use origins::{ pallet_custom_origins, AuctionAdmin, Fellows, FellowshipAdmin, FellowshipExperts, FellowshipInitiates, FellowshipMasters, GeneralAdmin, LeaseAdmin, ReferendumCanceller, - ReferendumKiller, Spender, StakingAdmin, WhitelistedCaller, + ReferendumKiller, Spender, StakingAdmin, Treasurer, WhitelistedCaller, }; mod tracks; pub use tracks::TracksInfo; diff --git a/runtime/kusama/src/governance/origins.rs b/runtime/kusama/src/governance/origins.rs index be8c44430f46..780f9472e95a 100644 --- a/runtime/kusama/src/governance/origins.rs +++ b/runtime/kusama/src/governance/origins.rs @@ -120,6 +120,7 @@ pub mod pallet_custom_origins { } decl_unit_ensures!( StakingAdmin, + Treasurer, FellowshipAdmin, GeneralAdmin, AuctionAdmin, diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 4accce8a860a..c9a9691953ea 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -106,7 +106,7 @@ pub mod xcm_config; pub mod governance; use governance::{ old::CouncilCollective, pallet_custom_origins, AuctionAdmin, GeneralAdmin, LeaseAdmin, - StakingAdmin, TreasurySpender, + StakingAdmin, Treasurer, TreasurySpender, }; #[cfg(test)] @@ -633,8 +633,8 @@ parameter_types! { impl pallet_treasury::Config for Runtime { type PalletId = TreasuryPalletId; type Currency = Balances; - type ApproveOrigin = EnsureRoot; - type RejectOrigin = EnsureRoot; + type ApproveOrigin = EitherOfDiverse, Treasurer>; + type RejectOrigin = EitherOfDiverse, Treasurer>; type RuntimeEvent = RuntimeEvent; type OnSlash = Treasury; type ProposalBond = ProposalBond; From 3a918d403f0b6b176ff97ba4b613fb0f3160a55c Mon Sep 17 00:00:00 2001 From: "Mattia L.V. Bradascio" <28816406+bredamatt@users.noreply.github.com> Date: Fri, 2 Dec 2022 16:28:24 +0000 Subject: [PATCH 150/211] Add buckets on lower end of distribution to network bridge latency metrics (#6359) * Add two more buckets on lower end of distribution * add even smaller buckets * cargo fmt --- node/network/statement-distribution/src/metrics.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/node/network/statement-distribution/src/metrics.rs b/node/network/statement-distribution/src/metrics.rs index 6bc6f724ae09..6acbf63eadc0 100644 --- a/node/network/statement-distribution/src/metrics.rs +++ b/node/network/statement-distribution/src/metrics.rs @@ -17,8 +17,10 @@ use polkadot_node_subsystem_util::metrics::{self, prometheus}; /// Buckets more suitable for checking the typical latency values -const HISTOGRAM_LATENCY_BUCKETS: &[f64] = - &[0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.75, 0.9, 1.0, 1.2, 1.5, 1.75]; +const HISTOGRAM_LATENCY_BUCKETS: &[f64] = &[ + 0.000025, 0.00005, 0.000075, 0.0001, 0.0003125, 0.000625, 0.00125, 0.0025, 0.005, 0.01, 0.025, + 0.05, 0.1, +]; #[derive(Clone)] struct MetricsInner { From acd91768bee273fa8d9f26594712d2ba85720b7d Mon Sep 17 00:00:00 2001 From: alexgparity <115470171+alexgparity@users.noreply.github.com> Date: Fri, 2 Dec 2022 23:46:49 +0100 Subject: [PATCH 151/211] Reduce provisioner work (#6328) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Store values needed to create inherent data when needed instead of creating them early on * Point deps to substrate branch * Arc the client * Cargo update * Fix main cargo files * Undo cargo file changes * Add overseer dep to inherents * Update deps * Simplify code * Update benchmark * Update node/client/src/benchmarking.rs Co-authored-by: Bastian Köcher * Update node/core/parachains-inherent/src/lib.rs Co-authored-by: Bastian Köcher * Update node/core/parachains-inherent/src/lib.rs Co-authored-by: Bastian Köcher * Revert "Update node/core/parachains-inherent/src/lib.rs" This reverts commit 8b9555dc2451acfabab173d259e00da2728b7aa2. * Revert "Update node/core/parachains-inherent/src/lib.rs" This reverts commit 816c92d0e001e71f677d0acbcf22bdc3f511bc56. * cargo update -p sp-io * fmt Co-authored-by: Bastian Köcher --- Cargo.lock | 365 ++++++++++++----------- node/client/Cargo.toml | 2 + node/client/src/benchmarking.rs | 5 +- node/core/parachains-inherent/Cargo.toml | 1 + node/core/parachains-inherent/src/lib.rs | 41 ++- node/service/src/lib.rs | 11 +- 6 files changed, 221 insertions(+), 204 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 20321502cf97..f0f381cb85de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -426,7 +426,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +483,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -2023,7 +2023,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", ] @@ -2047,7 +2047,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -2070,7 +2070,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "Inflector", "array-bytes", @@ -2122,7 +2122,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2149,7 +2149,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -2178,7 +2178,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "bitflags", "frame-metadata", @@ -2210,7 +2210,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "Inflector", "cfg-expr", @@ -2224,7 +2224,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2236,7 +2236,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro2", "quote", @@ -2246,7 +2246,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2269,7 +2269,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -2280,7 +2280,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "log", @@ -2298,7 +2298,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -2313,7 +2313,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "sp-api", @@ -2322,7 +2322,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "parity-scale-codec", @@ -2493,7 +2493,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "chrono", "frame-election-provider-support", @@ -4114,7 +4114,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "beefy-primitives", "futures", @@ -4134,7 +4134,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "anyhow", "jsonrpsee", @@ -4648,7 +4648,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4662,7 +4662,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -4678,7 +4678,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -4693,7 +4693,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4717,7 +4717,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4737,7 +4737,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4756,7 +4756,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4771,7 +4771,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "beefy-primitives", "frame-support", @@ -4787,7 +4787,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4828,7 +4828,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4847,7 +4847,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4864,7 +4864,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4923,7 +4923,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4936,7 +4936,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4954,7 +4954,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4972,7 +4972,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -4987,7 +4987,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +5010,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5026,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +5046,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5063,7 +5063,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5080,7 +5080,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5097,7 +5097,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5113,7 +5113,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -5130,7 +5130,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5150,7 +5150,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "sp-api", @@ -5160,7 +5160,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -5177,7 +5177,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5200,7 +5200,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5217,7 +5217,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5232,7 +5232,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5250,7 +5250,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5265,7 +5265,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5283,7 +5283,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5299,7 +5299,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5336,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -5350,7 +5350,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5373,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5384,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "log", "sp-arithmetic", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5410,7 +5410,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -5424,7 +5424,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5442,7 +5442,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5461,7 +5461,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-support", "frame-system", @@ -5477,7 +5477,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5493,7 +5493,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5505,7 +5505,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5522,7 +5522,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5538,7 +5538,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -5553,7 +5553,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-benchmarking", "frame-support", @@ -6054,11 +6054,13 @@ dependencies = [ name = "polkadot-client" version = "0.9.33" dependencies = [ + "async-trait", "beefy-primitives", "frame-benchmarking", "frame-benchmarking-cli", "frame-system", "frame-system-rpc-runtime-api", + "futures", "kusama-runtime", "pallet-transaction-payment", "pallet-transaction-payment-rpc-runtime-api", @@ -6460,6 +6462,7 @@ dependencies = [ "futures", "futures-timer", "polkadot-node-subsystem", + "polkadot-overseer", "polkadot-primitives", "sp-blockchain", "sp-inherents", @@ -8029,7 +8032,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "env_logger 0.9.0", "log", @@ -8369,7 +8372,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "log", "sp-core", @@ -8380,7 +8383,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures", @@ -8407,7 +8410,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "futures-timer", @@ -8430,7 +8433,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8446,7 +8449,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8463,7 +8466,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8474,7 +8477,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "chrono", @@ -8514,7 +8517,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "fnv", "futures", @@ -8542,7 +8545,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "hash-db", "kvdb", @@ -8567,7 +8570,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures", @@ -8591,7 +8594,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "fork-tree", @@ -8632,7 +8635,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "jsonrpsee", @@ -8654,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8667,7 +8670,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures", @@ -8691,7 +8694,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "lazy_static", "lru", @@ -8717,7 +8720,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "environmental", "parity-scale-codec", @@ -8733,7 +8736,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "log", "parity-scale-codec", @@ -8748,7 +8751,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "cfg-if", "libc", @@ -8768,7 +8771,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "ahash", "array-bytes", @@ -8809,7 +8812,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "finality-grandpa", "futures", @@ -8830,7 +8833,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "ansi_term", "futures", @@ -8847,7 +8850,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "async-trait", @@ -8862,7 +8865,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "async-trait", @@ -8909,7 +8912,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "cid", "futures", @@ -8929,7 +8932,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "bitflags", @@ -8955,7 +8958,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "ahash", "futures", @@ -8973,7 +8976,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "futures", @@ -8994,7 +8997,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "async-trait", @@ -9025,7 +9028,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "futures", @@ -9044,7 +9047,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "bytes", @@ -9074,7 +9077,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "libp2p", @@ -9087,7 +9090,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9096,7 +9099,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "hash-db", @@ -9126,7 +9129,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "jsonrpsee", @@ -9149,7 +9152,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "jsonrpsee", @@ -9162,7 +9165,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "hex", @@ -9181,7 +9184,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "directories", @@ -9252,7 +9255,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "log", "parity-scale-codec", @@ -9266,7 +9269,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9285,7 +9288,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "libc", @@ -9304,7 +9307,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "chrono", "futures", @@ -9322,7 +9325,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "ansi_term", "atty", @@ -9353,7 +9356,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9364,7 +9367,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures", @@ -9391,7 +9394,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures", @@ -9405,7 +9408,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "futures-timer", @@ -9886,7 +9889,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "hash-db", "log", @@ -9904,7 +9907,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "blake2", "proc-macro-crate", @@ -9916,7 +9919,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -9929,7 +9932,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "integer-sqrt", "num-traits", @@ -9944,7 +9947,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -9957,7 +9960,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "parity-scale-codec", @@ -9969,7 +9972,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "sp-api", @@ -9981,7 +9984,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "log", @@ -9999,7 +10002,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures", @@ -10018,7 +10021,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "merlin", @@ -10041,7 +10044,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -10055,7 +10058,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -10068,7 +10071,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "base58", @@ -10113,7 +10116,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "blake2", "byteorder", @@ -10127,7 +10130,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro2", "quote", @@ -10138,7 +10141,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10147,7 +10150,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro2", "quote", @@ -10157,7 +10160,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "environmental", "parity-scale-codec", @@ -10168,7 +10171,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "finality-grandpa", "log", @@ -10186,7 +10189,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10200,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "bytes", "ed25519-dalek", @@ -10227,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "lazy_static", "sp-core", @@ -10238,7 +10241,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures", @@ -10255,7 +10258,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "thiserror", "zstd", @@ -10264,7 +10267,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10282,7 +10285,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -10296,7 +10299,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "sp-api", "sp-core", @@ -10306,7 +10309,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "backtrace", "lazy_static", @@ -10316,7 +10319,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "rustc-hash", "serde", @@ -10326,7 +10329,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "either", "hash256-std-hasher", @@ -10349,7 +10352,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10367,7 +10370,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "Inflector", "proc-macro-crate", @@ -10379,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "log", "parity-scale-codec", @@ -10393,7 +10396,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -10407,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "scale-info", @@ -10418,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "hash-db", "log", @@ -10440,12 +10443,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10458,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "futures-timer", @@ -10474,7 +10477,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "sp-std", @@ -10486,7 +10489,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "sp-api", "sp-runtime", @@ -10495,7 +10498,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "log", @@ -10511,7 +10514,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "ahash", "hash-db", @@ -10534,7 +10537,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10551,7 +10554,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10562,7 +10565,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "impl-trait-for-tuples", "log", @@ -10575,7 +10578,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10790,7 +10793,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "platforms", ] @@ -10798,7 +10801,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10819,7 +10822,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures-util", "hyper", @@ -10832,7 +10835,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "async-trait", "jsonrpsee", @@ -10845,7 +10848,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "jsonrpsee", "log", @@ -10866,7 +10869,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "array-bytes", "async-trait", @@ -10892,7 +10895,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10902,7 +10905,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10913,7 +10916,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "ansi_term", "build-helper", @@ -11620,7 +11623,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5c8aa7eebaceaf37c8aaa58c980c1f445fbb1ebf" +source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index 305ace46eb08..5ecd155df96b 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -5,6 +5,8 @@ authors = ["Parity Technologies "] edition = "2021" [dependencies] +async-trait = "0.1.57" +futures = "0.3.21" frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master" } pallet-transaction-payment = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/client/src/benchmarking.rs b/node/client/src/benchmarking.rs index aaa60a168b4d..17ef63f4ba6e 100644 --- a/node/client/src/benchmarking.rs +++ b/node/client/src/benchmarking.rs @@ -359,7 +359,7 @@ pub fn benchmark_inherent_data( // Assume that all runtimes have the `timestamp` pallet. let d = std::time::Duration::from_millis(0); let timestamp = sp_timestamp::InherentDataProvider::new(d.into()); - timestamp.provide_inherent_data(&mut inherent_data)?; + futures::executor::block_on(timestamp.provide_inherent_data(&mut inherent_data))?; let para_data = polkadot_primitives::v2::InherentData { bitfields: Vec::new(), @@ -368,8 +368,7 @@ pub fn benchmark_inherent_data( parent_header: header, }; - polkadot_node_core_parachains_inherent::ParachainsInherentDataProvider::from_data(para_data) - .provide_inherent_data(&mut inherent_data)?; + inherent_data.put_data(polkadot_primitives::v2::PARACHAINS_INHERENT_IDENTIFIER, ¶_data)?; Ok(inherent_data) } diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index 3f2afadba97e..31174dae1321 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -11,6 +11,7 @@ gum = { package = "tracing-gum", path = "../../gum" } thiserror = "1.0.31" async-trait = "0.1.57" polkadot-node-subsystem = { path = "../../subsystem" } +polkadot-overseer = { path = "../../overseer" } polkadot-primitives = { path = "../../../primitives" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/parachains-inherent/src/lib.rs b/node/core/parachains-inherent/src/lib.rs index e9441d21aefe..7634522128e7 100644 --- a/node/core/parachains-inherent/src/lib.rs +++ b/node/core/parachains-inherent/src/lib.rs @@ -29,9 +29,8 @@ use polkadot_node_subsystem::{ errors::SubsystemError, messages::ProvisionerMessage, overseer::Handle, }; use polkadot_primitives::v2::{Block, Hash, InherentData as ParachainsInherentData}; -use sp_blockchain::HeaderBackend; use sp_runtime::generic::BlockId; -use std::time; +use std::{sync::Arc, time}; pub(crate) const LOG_TARGET: &str = "parachain::parachains-inherent"; @@ -39,22 +38,24 @@ pub(crate) const LOG_TARGET: &str = "parachain::parachains-inherent"; const PROVISIONER_TIMEOUT: time::Duration = core::time::Duration::from_millis(2500); /// Provides the parachains inherent data. -pub struct ParachainsInherentDataProvider { - inherent_data: ParachainsInherentData, +pub struct ParachainsInherentDataProvider> { + pub client: Arc, + pub overseer: polkadot_overseer::Handle, + pub parent: Hash, } -impl ParachainsInherentDataProvider { - /// Create a [`Self`] directly from some [`ParachainsInherentData`]. - pub fn from_data(inherent_data: ParachainsInherentData) -> Self { - Self { inherent_data } +impl> ParachainsInherentDataProvider { + /// Create a new [`Self`]. + pub fn new(client: Arc, overseer: polkadot_overseer::Handle, parent: Hash) -> Self { + ParachainsInherentDataProvider { client, overseer, parent } } /// Create a new instance of the [`ParachainsInherentDataProvider`]. - pub async fn create>( - client: &C, + pub async fn create( + client: Arc, mut overseer: Handle, parent: Hash, - ) -> Result { + ) -> Result { let pid = async { let (sender, receiver) = futures::channel::oneshot::channel(); gum::trace!( @@ -119,18 +120,28 @@ impl ParachainsInherentDataProvider { }, }; - Ok(Self { inherent_data }) + Ok(inherent_data) } } #[async_trait::async_trait] -impl sp_inherents::InherentDataProvider for ParachainsInherentDataProvider { - fn provide_inherent_data( +impl> sp_inherents::InherentDataProvider + for ParachainsInherentDataProvider +{ + async fn provide_inherent_data( &self, dst_inherent_data: &mut sp_inherents::InherentData, ) -> Result<(), sp_inherents::Error> { + let inherent_data = ParachainsInherentDataProvider::create( + self.client.clone(), + self.overseer.clone(), + self.parent, + ) + .await + .map_err(|e| sp_inherents::Error::Application(Box::new(e)))?; + dst_inherent_data - .put_data(polkadot_primitives::v2::PARACHAINS_INHERENT_IDENTIFIER, &self.inherent_data) + .put_data(polkadot_primitives::v2::PARACHAINS_INHERENT_IDENTIFIER, &inherent_data) } async fn try_handle_error( diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index e80f085ef2bc..4252474a68f5 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -1154,11 +1154,12 @@ where let overseer_handle = overseer_handle.clone(); async move { - let parachain = polkadot_node_core_parachains_inherent::ParachainsInherentDataProvider::create( - &*client_clone, - overseer_handle, - parent, - ).await.map_err(|e| Box::new(e))?; + let parachain = + polkadot_node_core_parachains_inherent::ParachainsInherentDataProvider::new( + client_clone, + overseer_handle, + parent, + ); let timestamp = sp_timestamp::InherentDataProvider::from_system_time(); From d28b09e19002382f1f6309458572da9dd87e9660 Mon Sep 17 00:00:00 2001 From: amab8901 <83634595+amab8901@users.noreply.github.com> Date: Sat, 3 Dec 2022 21:10:10 +0100 Subject: [PATCH 152/211] update deprecated alias `--all` (#6383) `--all` is a deprecated alias for `--workspace` (https://doc.rust-lang.org/cargo/commands/cargo-test.html) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55b66f6ea619..319e1714fd7b 100644 --- a/README.md +++ b/README.md @@ -200,7 +200,7 @@ cargo build # Builds all native code You can run the tests if you like: ```bash -cargo test --all --release +cargo test --workspace --release ``` You can start a development chain with: From 2821cc05bd0656e22bf1241ebc6c9339f0e9080b Mon Sep 17 00:00:00 2001 From: Dmitry Markin Date: Mon, 5 Dec 2022 13:15:06 +0300 Subject: [PATCH 153/211] Upgrade tokio to 1.22.0 (#6262) Co-authored-by: Sebastian Kunert --- Cargo.lock | 480 +++++++++--------- Cargo.toml | 2 +- node/jaeger/Cargo.toml | 2 +- node/jaeger/src/lib.rs | 2 +- node/metrics/Cargo.toml | 2 +- node/test/service/Cargo.toml | 4 +- node/zombienet-backchannel/Cargo.toml | 2 +- .../test-parachains/adder/collator/Cargo.toml | 2 +- .../undying/collator/Cargo.toml | 2 +- runtime/kusama/Cargo.toml | 2 +- runtime/polkadot/Cargo.toml | 2 +- runtime/westend/Cargo.toml | 2 +- utils/remote-ext-tests/bags-list/Cargo.toml | 2 +- utils/staking-miner/Cargo.toml | 2 +- 14 files changed, 265 insertions(+), 243 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f0f381cb85de..f5fce2487e19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -284,7 +284,6 @@ dependencies = [ "async-global-executor", "async-io", "async-lock", - "async-process", "crossbeam-utils", "futures-channel", "futures-core", @@ -301,21 +300,6 @@ dependencies = [ "wasm-bindgen-futures", ] -[[package]] -name = "async-std-resolver" -version = "0.22.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba50e24d9ee0a8950d3d03fc6d0dd10aa14b5de3b101949b4e160f7fee7c723" -dependencies = [ - "async-std", - "async-trait", - "futures-io", - "futures-util", - "pin-utils", - "socket2", - "trust-dns-resolver", -] - [[package]] name = "async-task" version = "4.0.3" @@ -365,9 +349,9 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" @@ -426,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "async-trait", @@ -463,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -483,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "beefy-primitives", "sp-api", @@ -493,7 +477,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -2023,7 +2007,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", ] @@ -2047,7 +2031,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -2070,7 +2054,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "Inflector", "array-bytes", @@ -2122,7 +2106,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2133,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2149,7 +2133,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -2178,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "bitflags", "frame-metadata", @@ -2210,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "Inflector", "cfg-expr", @@ -2224,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2236,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro2", "quote", @@ -2246,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2269,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -2280,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "log", @@ -2298,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -2313,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "sp-api", @@ -2322,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "parity-scale-codec", @@ -2493,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "chrono", "frame-election-provider-support", @@ -3506,7 +3490,6 @@ version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2322c9fb40d99101def6a01612ee30500c89abbbecb6297b3cd252903a4c1720" dependencies = [ - "async-std-resolver", "futures", "libp2p-core", "log", @@ -3570,7 +3553,6 @@ version = "0.41.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "761704e727f7d68d58d7bc2231eafae5fc1b9814de24290f126df09d4bd37a15" dependencies = [ - "async-io", "data-encoding", "dns-parser", "futures", @@ -3581,6 +3563,7 @@ dependencies = [ "rand 0.8.5", "smallvec", "socket2", + "tokio", "void", ] @@ -3709,7 +3692,6 @@ version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9839d96761491c6d3e238e70554b856956fca0ab60feb9de2cd08eed4473fa92" dependencies = [ - "async-io", "futures", "futures-timer", "if-watch", @@ -3717,6 +3699,7 @@ dependencies = [ "libp2p-core", "log", "socket2", + "tokio", ] [[package]] @@ -4090,31 +4073,20 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.2" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52da4364ffb0e4fe33a9841a98a3f3014fb964045ce4f7a45a398243c8d6b0c9" +checksum = "e5d732bc30207a6423068df043e3d02e0735b155ad7ce1a6f76fe2baa5b158de" dependencies = [ "libc", "log", - "miow", - "ntapi", "wasi 0.11.0+wasi-snapshot-preview1", - "winapi", -] - -[[package]] -name = "miow" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" -dependencies = [ - "winapi", + "windows-sys 0.42.0", ] [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "beefy-primitives", "futures", @@ -4134,7 +4106,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "anyhow", "jsonrpsee", @@ -4430,15 +4402,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" -[[package]] -name = "ntapi" -version = "0.3.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44" -dependencies = [ - "winapi", -] - [[package]] name = "num-bigint" version = "0.4.3" @@ -4648,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4662,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -4678,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -4693,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4717,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4737,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4756,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4771,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "beefy-primitives", "frame-support", @@ -4787,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4810,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4828,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4847,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4864,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4881,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4899,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4923,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4936,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4954,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4972,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-gilt" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -4987,7 +4950,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5010,7 +4973,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "enumflags2", "frame-benchmarking", @@ -5026,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5046,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5063,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5080,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5097,7 +5060,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5113,7 +5076,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -5130,7 +5093,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5150,7 +5113,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "sp-api", @@ -5160,7 +5123,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -5177,7 +5140,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5200,7 +5163,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5217,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5232,7 +5195,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5250,7 +5213,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5265,7 +5228,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5283,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5299,7 +5262,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -5320,7 +5283,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5336,7 +5299,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -5350,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5373,7 +5336,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5384,7 +5347,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "log", "sp-arithmetic", @@ -5393,7 +5356,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5410,7 +5373,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -5424,7 +5387,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5442,7 +5405,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5461,7 +5424,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-support", "frame-system", @@ -5477,7 +5440,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5493,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5505,7 +5468,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5522,7 +5485,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5538,7 +5501,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -5553,7 +5516,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-benchmarking", "frame-support", @@ -6575,7 +6538,6 @@ dependencies = [ name = "polkadot-node-jaeger" version = "0.9.33" dependencies = [ - "async-std", "lazy_static", "log", "mick-jaeger", @@ -6586,6 +6548,7 @@ dependencies = [ "sc-network", "sp-core", "thiserror", + "tokio", ] [[package]] @@ -8032,7 +7995,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "env_logger 0.9.0", "log", @@ -8372,7 +8335,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "log", "sp-core", @@ -8383,7 +8346,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures", @@ -8410,7 +8373,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "futures-timer", @@ -8433,7 +8396,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8449,7 +8412,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8466,7 +8429,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8477,7 +8440,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "chrono", @@ -8517,7 +8480,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "fnv", "futures", @@ -8545,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "hash-db", "kvdb", @@ -8570,7 +8533,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures", @@ -8594,7 +8557,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "fork-tree", @@ -8635,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "jsonrpsee", @@ -8657,7 +8620,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8670,7 +8633,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures", @@ -8694,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "lazy_static", "lru", @@ -8720,7 +8683,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "environmental", "parity-scale-codec", @@ -8736,7 +8699,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "log", "parity-scale-codec", @@ -8751,7 +8714,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "cfg-if", "libc", @@ -8771,7 +8734,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "ahash", "array-bytes", @@ -8812,7 +8775,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "finality-grandpa", "futures", @@ -8833,7 +8796,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "ansi_term", "futures", @@ -8850,7 +8813,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "async-trait", @@ -8865,7 +8828,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "async-trait", @@ -8912,7 +8875,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "cid", "futures", @@ -8932,7 +8895,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "bitflags", @@ -8958,7 +8921,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "ahash", "futures", @@ -8976,7 +8939,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "futures", @@ -8997,7 +8960,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "async-trait", @@ -9028,7 +8991,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "futures", @@ -9047,7 +9010,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "bytes", @@ -9077,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "libp2p", @@ -9090,7 +9053,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9099,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "hash-db", @@ -9129,7 +9092,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "jsonrpsee", @@ -9152,7 +9115,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "jsonrpsee", @@ -9165,7 +9128,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "hex", @@ -9184,7 +9147,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "directories", @@ -9255,7 +9218,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "log", "parity-scale-codec", @@ -9269,7 +9232,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9288,7 +9251,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "libc", @@ -9307,7 +9270,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "chrono", "futures", @@ -9325,7 +9288,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "ansi_term", "atty", @@ -9356,7 +9319,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9367,7 +9330,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures", @@ -9394,7 +9357,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures", @@ -9408,7 +9371,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "futures-timer", @@ -9889,7 +9852,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "hash-db", "log", @@ -9907,7 +9870,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "blake2", "proc-macro-crate", @@ -9919,7 +9882,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -9932,7 +9895,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "integer-sqrt", "num-traits", @@ -9947,7 +9910,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -9960,7 +9923,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "parity-scale-codec", @@ -9972,7 +9935,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "sp-api", @@ -9984,7 +9947,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "log", @@ -10002,7 +9965,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures", @@ -10021,7 +9984,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "merlin", @@ -10044,7 +10007,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10058,7 +10021,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10071,7 +10034,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "base58", @@ -10116,7 +10079,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "blake2", "byteorder", @@ -10130,7 +10093,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro2", "quote", @@ -10141,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10150,7 +10113,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro2", "quote", @@ -10160,7 +10123,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "environmental", "parity-scale-codec", @@ -10171,7 +10134,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "finality-grandpa", "log", @@ -10189,7 +10152,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10203,7 +10166,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "bytes", "ed25519-dalek", @@ -10230,7 +10193,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "lazy_static", "sp-core", @@ -10241,7 +10204,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures", @@ -10258,7 +10221,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "thiserror", "zstd", @@ -10267,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10285,7 +10248,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10299,7 +10262,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "sp-api", "sp-core", @@ -10309,7 +10272,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "backtrace", "lazy_static", @@ -10319,7 +10282,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "rustc-hash", "serde", @@ -10329,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "either", "hash256-std-hasher", @@ -10352,7 +10315,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10370,7 +10333,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "Inflector", "proc-macro-crate", @@ -10382,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "log", "parity-scale-codec", @@ -10396,7 +10359,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10410,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "scale-info", @@ -10421,7 +10384,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "hash-db", "log", @@ -10443,12 +10406,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10461,7 +10424,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "futures-timer", @@ -10477,7 +10440,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "sp-std", @@ -10489,7 +10452,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "sp-api", "sp-runtime", @@ -10498,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "log", @@ -10514,7 +10477,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "ahash", "hash-db", @@ -10537,7 +10500,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10554,7 +10517,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10565,7 +10528,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "impl-trait-for-tuples", "log", @@ -10578,7 +10541,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10793,7 +10756,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "platforms", ] @@ -10801,7 +10764,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10822,7 +10785,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures-util", "hyper", @@ -10835,7 +10798,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "async-trait", "jsonrpsee", @@ -10848,7 +10811,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "jsonrpsee", "log", @@ -10869,7 +10832,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "array-bytes", "async-trait", @@ -10895,7 +10858,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10905,7 +10868,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10916,7 +10879,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "ansi_term", "build-helper", @@ -11306,16 +11269,16 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.19.2" +version = "1.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" +checksum = "d76ce4a75fb488c605c54bf610f221cea8b0dafb53333c1a67e8ee199dcd2ae3" dependencies = [ + "autocfg", "bytes", "libc", "memchr", "mio", "num_cpus", - "once_cell", "parking_lot 0.12.1", "pin-project-lite 0.2.7", "signal-hook-registry", @@ -11591,6 +11554,7 @@ dependencies = [ "smallvec", "thiserror", "tinyvec", + "tokio", "tracing", "url", ] @@ -11610,6 +11574,7 @@ dependencies = [ "resolv-conf", "smallvec", "thiserror", + "tokio", "tracing", "trust-dns-proto", ] @@ -11623,7 +11588,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#34900ca6f85ed74be7c49958860bc43cb4d03753" +source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" dependencies = [ "clap", "frame-try-runtime", @@ -12487,6 +12452,27 @@ dependencies = [ "windows_x86_64_msvc 0.36.1", ] +[[package]] +name = "windows-sys" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +dependencies = [ + "windows_aarch64_gnullvm", + "windows_aarch64_msvc 0.42.0", + "windows_i686_gnu 0.42.0", + "windows_i686_msvc 0.42.0", + "windows_x86_64_gnu 0.42.0", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc 0.42.0", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" + [[package]] name = "windows_aarch64_msvc" version = "0.32.0" @@ -12505,6 +12491,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" +[[package]] +name = "windows_aarch64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" + [[package]] name = "windows_i686_gnu" version = "0.32.0" @@ -12523,6 +12515,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" +[[package]] +name = "windows_i686_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" + [[package]] name = "windows_i686_msvc" version = "0.32.0" @@ -12541,6 +12539,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" +[[package]] +name = "windows_i686_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" + [[package]] name = "windows_x86_64_gnu" version = "0.32.0" @@ -12559,6 +12563,18 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" +[[package]] +name = "windows_x86_64_gnu" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" + [[package]] name = "windows_x86_64_msvc" version = "0.32.0" @@ -12577,6 +12593,12 @@ version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" +[[package]] +name = "windows_x86_64_msvc" +version = "0.42.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" + [[package]] name = "winreg" version = "0.7.0" diff --git a/Cargo.toml b/Cargo.toml index 8beb3e81568f..4c8fb17b732f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ parity-util-mem = { version = "0.12.0", default-features = false, features = ["j assert_cmd = "2.0.4" nix = "0.24.1" tempfile = "3.2.0" -tokio = "1.19.2" +tokio = "1.22.0" substrate-rpc-client = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-core-primitives = { path = "core-primitives" } diff --git a/node/jaeger/Cargo.toml b/node/jaeger/Cargo.toml index 8faabfad8579..fa083d5eaef3 100644 --- a/node/jaeger/Cargo.toml +++ b/node/jaeger/Cargo.toml @@ -6,7 +6,6 @@ edition = "2021" description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo" [dependencies] -async-std = "1.11.0" mick-jaeger = "0.1.8" lazy_static = "1.4" parking_lot = "0.12.0" @@ -15,5 +14,6 @@ polkadot-node-primitives = { path = "../primitives" } sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } thiserror = "1.0.31" +tokio = "1.22.0" log = "0.4.17" parity-scale-codec = { version = "3.1.5", default-features = false } diff --git a/node/jaeger/src/lib.rs b/node/jaeger/src/lib.rs index 5af77764d9c8..f33563a3d752 100644 --- a/node/jaeger/src/lib.rs +++ b/node/jaeger/src/lib.rs @@ -129,7 +129,7 @@ impl Jaeger { "jaeger-collector", Some("jaeger"), Box::pin(async move { - match async_std::net::UdpSocket::bind("0.0.0.0:0").await { + match tokio::net::UdpSocket::bind("0.0.0.0:0").await { Ok(udp_socket) => loop { let buf = traces_out.next().await; // UDP sending errors happen only either if the API is misused or in case of missing privilege. diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index 21cfbaa16d4b..f828195ebf8b 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -28,7 +28,7 @@ assert_cmd = "2.0.4" nix = "0.24.1" tempfile = "3.2.0" hyper = { version = "0.14.20", default-features = false, features = ["http1", "tcp"] } -tokio = "1.19.2" +tokio = "1.22.0" polkadot-test-service = { path = "../test/service", features=["runtime-metrics"]} substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index 3add5d2c14a3..69f3579c8fbe 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -10,7 +10,7 @@ hex = "0.4.3" gum = { package = "tracing-gum", path = "../../gum" } rand = "0.8.5" tempfile = "3.2.0" -tokio = "1.19.2" +tokio = "1.22.0" # Polkadot dependencies polkadot-overseer = { path = "../../overseer" } @@ -61,7 +61,7 @@ substrate-test-client = { git = "https://github.com/paritytech/substrate", branc pallet-balances = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } serde_json = "1.0.81" substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.22.0", features = ["macros"] } [features] runtime-metrics=["polkadot-test-runtime/runtime-metrics"] diff --git a/node/zombienet-backchannel/Cargo.toml b/node/zombienet-backchannel/Cargo.toml index b34e94408f26..9d5b6a678b49 100644 --- a/node/zombienet-backchannel/Cargo.toml +++ b/node/zombienet-backchannel/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" publish = false [dependencies] -tokio = { version = "1.19.2", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } +tokio = { version = "1.22.0", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } url = "2.0.0" tokio-tungstenite = "0.17" futures-util = "0.3.23" diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index 3359e7fa98f4..c47aff6b74ff 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -44,4 +44,4 @@ substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.22.0", features = ["macros"] } diff --git a/parachain/test-parachains/undying/collator/Cargo.toml b/parachain/test-parachains/undying/collator/Cargo.toml index 273d96524a27..8a89ea48148b 100644 --- a/parachain/test-parachains/undying/collator/Cargo.toml +++ b/parachain/test-parachains/undying/collator/Cargo.toml @@ -44,4 +44,4 @@ substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch sc-service = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.19", features = ["macros"] } +tokio = { version = "1.22.0", features = ["macros"] } diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 969f85e7e721..4b165a648af6 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -109,7 +109,7 @@ sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } separator = "0.4.1" serde_json = "1.0.81" remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.22.0", features = ["macros"] } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [build-dependencies] diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index c621fa876573..a213f86270b9 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -101,7 +101,7 @@ sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.81" separator = "0.4.1" remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.22.0", features = ["macros"] } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [build-dependencies] diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index fa3456f762d8..11e345825787 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -101,7 +101,7 @@ keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substra sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.81" remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.22.0", features = ["macros"] } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } [build-dependencies] diff --git a/utils/remote-ext-tests/bags-list/Cargo.toml b/utils/remote-ext-tests/bags-list/Cargo.toml index 98ff17f777f8..e436f7b575b6 100644 --- a/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/utils/remote-ext-tests/bags-list/Cargo.toml @@ -19,4 +19,4 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } clap = { version = "4.0.9", features = ["derive"] } log = "0.4.17" -tokio = { version = "1.19.2", features = ["macros"] } +tokio = { version = "1.22.0", features = ["macros"] } diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 28904d225d34..7dd4a2cd0fd1 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -14,7 +14,7 @@ paste = "1.0.7" serde = "1.0.137" serde_json = "1.0" thiserror = "1.0.31" -tokio = { version = "1.19.2", features = ["macros", "rt-multi-thread", "sync"] } +tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread", "sync"] } remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } From d96d68db3717493bcb6227699c550e0e4de031d8 Mon Sep 17 00:00:00 2001 From: Squirrel Date: Mon, 5 Dec 2022 11:36:16 +0000 Subject: [PATCH 154/211] Set polkadot version in one place (#6095) * rust 1.64 enables workspace properties * add edition, repository and authors. * of course, update the version in one place. Co-authored-by: Andronik --- Cargo.toml | 14 ++++++++++---- cli/Cargo.toml | 6 +++--- core-primitives/Cargo.toml | 6 +++--- erasure-coding/Cargo.toml | 6 +++--- erasure-coding/fuzzer/Cargo.toml | 6 +++--- node/client/Cargo.toml | 6 +++--- node/collation-generation/Cargo.toml | 6 +++--- node/core/approval-voting/Cargo.toml | 6 +++--- node/core/av-store/Cargo.toml | 6 +++--- node/core/backing/Cargo.toml | 6 +++--- node/core/bitfield-signing/Cargo.toml | 6 +++--- node/core/candidate-validation/Cargo.toml | 6 +++--- node/core/chain-api/Cargo.toml | 6 +++--- node/core/chain-selection/Cargo.toml | 6 +++--- node/core/dispute-coordinator/Cargo.toml | 6 +++--- node/core/parachains-inherent/Cargo.toml | 6 +++--- node/core/provisioner/Cargo.toml | 6 +++--- node/core/pvf-checker/Cargo.toml | 6 +++--- node/core/pvf/Cargo.toml | 6 +++--- node/core/runtime-api/Cargo.toml | 6 +++--- node/gum/Cargo.toml | 6 +++--- node/gum/proc-macro/Cargo.toml | 6 +++--- node/jaeger/Cargo.toml | 6 +++--- node/malus/Cargo.toml | 6 +++--- node/metrics/Cargo.toml | 6 +++--- node/network/approval-distribution/Cargo.toml | 6 +++--- node/network/availability-distribution/Cargo.toml | 6 +++--- node/network/availability-recovery/Cargo.toml | 6 +++--- node/network/bitfield-distribution/Cargo.toml | 6 +++--- node/network/bridge/Cargo.toml | 6 +++--- node/network/collator-protocol/Cargo.toml | 6 +++--- node/network/dispute-distribution/Cargo.toml | 6 +++--- node/network/gossip-support/Cargo.toml | 6 +++--- node/network/protocol/Cargo.toml | 6 +++--- node/network/statement-distribution/Cargo.toml | 6 +++--- node/overseer/Cargo.toml | 6 +++--- node/primitives/Cargo.toml | 6 +++--- node/service/Cargo.toml | 6 +++--- node/subsystem-test-helpers/Cargo.toml | 6 +++--- node/subsystem-types/Cargo.toml | 6 +++--- node/subsystem-util/Cargo.toml | 6 +++--- node/subsystem/Cargo.toml | 6 +++--- node/test/client/Cargo.toml | 6 +++--- node/test/performance-test/Cargo.toml | 6 +++--- node/test/service/Cargo.toml | 6 +++--- node/zombienet-backchannel/Cargo.toml | 6 +++--- parachain/Cargo.toml | 6 +++--- parachain/test-parachains/Cargo.toml | 6 +++--- parachain/test-parachains/adder/Cargo.toml | 6 +++--- .../test-parachains/adder/collator/Cargo.toml | 6 +++--- parachain/test-parachains/halt/Cargo.toml | 6 +++--- parachain/test-parachains/undying/Cargo.toml | 6 +++--- .../test-parachains/undying/collator/Cargo.toml | 6 +++--- primitives/Cargo.toml | 6 +++--- primitives/test-helpers/Cargo.toml | 6 +++--- rpc/Cargo.toml | 6 +++--- runtime/common/Cargo.toml | 6 +++--- runtime/common/slot_range_helper/Cargo.toml | 6 +++--- runtime/kusama/Cargo.toml | 6 +++--- runtime/kusama/constants/Cargo.toml | 6 +++--- runtime/metrics/Cargo.toml | 6 +++--- runtime/parachains/Cargo.toml | 6 +++--- runtime/polkadot/Cargo.toml | 6 +++--- runtime/polkadot/constants/Cargo.toml | 6 +++--- runtime/rococo/Cargo.toml | 6 +++--- runtime/rococo/constants/Cargo.toml | 6 +++--- runtime/test-runtime/Cargo.toml | 6 +++--- runtime/test-runtime/constants/Cargo.toml | 6 +++--- runtime/westend/Cargo.toml | 6 +++--- runtime/westend/constants/Cargo.toml | 6 +++--- statement-table/Cargo.toml | 6 +++--- utils/generate-bags/Cargo.toml | 6 +++--- utils/remote-ext-tests/bags-list/Cargo.toml | 6 +++--- utils/staking-miner/Cargo.toml | 6 +++--- xcm/Cargo.toml | 6 +++--- xcm/pallet-xcm-benchmarks/Cargo.toml | 6 +++--- xcm/pallet-xcm/Cargo.toml | 7 ++++--- xcm/procedural/Cargo.toml | 6 +++--- xcm/xcm-builder/Cargo.toml | 6 +++--- xcm/xcm-executor/Cargo.toml | 6 +++--- xcm/xcm-executor/integration-tests/Cargo.toml | 6 +++--- xcm/xcm-simulator/Cargo.toml | 6 +++--- xcm/xcm-simulator/example/Cargo.toml | 6 +++--- xcm/xcm-simulator/fuzzer/Cargo.toml | 6 +++--- 84 files changed, 260 insertions(+), 253 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4c8fb17b732f..001ff7edb155 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,11 +6,17 @@ path = "src/main.rs" name = "polkadot" description = "Implementation of a `https://polkadot.network` node in Rust based on the Substrate framework." license = "GPL-3.0-only" -version = "0.9.33" +rust-version = "1.64.0" # workspace properties +readme = "README.md" +authors.workspace = true +edition.workspace = true +version.workspace = true + +[workspace.package] authors = ["Parity Technologies "] edition = "2021" -rust-version = "1.57.0" # custom profiles -readme = "README.md" +repository = "https://github.com/paritytech/polkadot.git" +version = "0.9.33" [dependencies] polkadot-cli = { path = "cli", features = [ "kusama-native", "westend-native", "rococo-native" ] } @@ -24,7 +30,7 @@ tempfile = "3.2.0" tokio = "1.22.0" substrate-rpc-client = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-core-primitives = { path = "core-primitives" } - + [workspace] members = [ "cli", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index c4705d4a3537..89f67ae9f131 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-cli" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Polkadot Relay-chain Client Node" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [package.metadata.wasm-pack.profile.release] # `wasm-opt` has some problems on Linux, see diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index 67d764cccc9b..4da75bf4e524 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-core-primitives" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] sp-core = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/erasure-coding/Cargo.toml b/erasure-coding/Cargo.toml index 4c8cbbe6c33e..6d59b6a4b01d 100644 --- a/erasure-coding/Cargo.toml +++ b/erasure-coding/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-erasure-coding" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] polkadot-primitives = { path = "../primitives" } diff --git a/erasure-coding/fuzzer/Cargo.toml b/erasure-coding/fuzzer/Cargo.toml index 8e7710417e59..bd8632a185f5 100644 --- a/erasure-coding/fuzzer/Cargo.toml +++ b/erasure-coding/fuzzer/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "erasure_coding_fuzzer" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] polkadot-erasure-coding = { path = ".." } diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index 5ecd155df96b..840fc304d9ea 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-client" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] async-trait = "0.1.57" diff --git a/node/collation-generation/Cargo.toml b/node/collation-generation/Cargo.toml index b5152945ae7f..93b06f315b5f 100644 --- a/node/collation-generation/Cargo.toml +++ b/node/collation-generation/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-collation-generation" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index 4f5b457e5400..69d9b29f21be 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-approval-voting" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index 6e221b08ef27..ad05e49cbd0f 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-av-store" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/backing/Cargo.toml b/node/core/backing/Cargo.toml index 386db79f8a37..7428372eec62 100644 --- a/node/core/backing/Cargo.toml +++ b/node/core/backing/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-backing" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/bitfield-signing/Cargo.toml b/node/core/bitfield-signing/Cargo.toml index 6f4cb9909ce6..b94cc6708c74 100644 --- a/node/core/bitfield-signing/Cargo.toml +++ b/node/core/bitfield-signing/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-bitfield-signing" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/candidate-validation/Cargo.toml b/node/core/candidate-validation/Cargo.toml index d1ea999cd66d..56fa0e08115d 100644 --- a/node/core/candidate-validation/Cargo.toml +++ b/node/core/candidate-validation/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-candidate-validation" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] async-trait = "0.1.57" diff --git a/node/core/chain-api/Cargo.toml b/node/core/chain-api/Cargo.toml index cf1c800c1a7f..571b840120f7 100644 --- a/node/core/chain-api/Cargo.toml +++ b/node/core/chain-api/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-chain-api" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index 90f764c903a9..a5c3922a6568 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-node-core-chain-selection" description = "Chain Selection Subsystem" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index 7088a7817f3e..a366107b54c7 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-dispute-coordinator" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index 31174dae1321..26277dd47f8a 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-parachains-inherent" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/provisioner/Cargo.toml b/node/core/provisioner/Cargo.toml index 035d62676e51..c6d78582cfc9 100644 --- a/node/core/provisioner/Cargo.toml +++ b/node/core/provisioner/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-provisioner" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/node/core/pvf-checker/Cargo.toml b/node/core/pvf-checker/Cargo.toml index a5e46b689526..d41955d9bac5 100644 --- a/node/core/pvf-checker/Cargo.toml +++ b/node/core/pvf-checker/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-pvf-checker" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/core/pvf/Cargo.toml b/node/core/pvf/Cargo.toml index b88837e0833e..2aaf408ae56d 100644 --- a/node/core/pvf/Cargo.toml +++ b/node/core/pvf/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-pvf" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [[bin]] name = "puppet_worker" diff --git a/node/core/runtime-api/Cargo.toml b/node/core/runtime-api/Cargo.toml index e828d7c4c7dd..b342e8aad980 100644 --- a/node/core/runtime-api/Cargo.toml +++ b/node/core/runtime-api/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-core-runtime-api" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/gum/Cargo.toml b/node/gum/Cargo.toml index a42116154bad..13cb9954df43 100644 --- a/node/gum/Cargo.toml +++ b/node/gum/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "tracing-gum" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Stick logs together with the TraceID as provided by tempo" [dependencies] diff --git a/node/gum/proc-macro/Cargo.toml b/node/gum/proc-macro/Cargo.toml index 2b4402a3828f..fccd4d218121 100644 --- a/node/gum/proc-macro/Cargo.toml +++ b/node/gum/proc-macro/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "tracing-gum-proc-macro" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Generate an overseer including builder pattern and message wrapper from a single annotated struct definition." [package.metadata.docs.rs] diff --git a/node/jaeger/Cargo.toml b/node/jaeger/Cargo.toml index fa083d5eaef3..b940307a4920 100644 --- a/node/jaeger/Cargo.toml +++ b/node/jaeger/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-jaeger" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Polkadot Jaeger primitives, but equally useful for Grafana/Tempo" [dependencies] diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index 5b477e58b6fd..360cfe60b735 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -2,9 +2,9 @@ name = "polkadot-test-malus" description = "Misbehaving nodes for local testnets, system and Simnet tests." license = "GPL-3.0-only" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true readme = "README.md" publish = false diff --git a/node/metrics/Cargo.toml b/node/metrics/Cargo.toml index f828195ebf8b..b49928dc8462 100644 --- a/node/metrics/Cargo.toml +++ b/node/metrics/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-node-metrics" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" description = "Subsystem metric helpers" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/network/approval-distribution/Cargo.toml b/node/network/approval-distribution/Cargo.toml index e52b03faa525..4138446b1851 100644 --- a/node/network/approval-distribution/Cargo.toml +++ b/node/network/approval-distribution/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-approval-distribution" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] polkadot-node-primitives = { path = "../../primitives" } diff --git a/node/network/availability-distribution/Cargo.toml b/node/network/availability-distribution/Cargo.toml index 00699a76e845..5653e07a8bac 100644 --- a/node/network/availability-distribution/Cargo.toml +++ b/node/network/availability-distribution/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-availability-distribution" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/network/availability-recovery/Cargo.toml b/node/network/availability-recovery/Cargo.toml index d82145fe5ed2..c731808b1b86 100644 --- a/node/network/availability-recovery/Cargo.toml +++ b/node/network/availability-recovery/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-availability-recovery" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/network/bitfield-distribution/Cargo.toml b/node/network/bitfield-distribution/Cargo.toml index 2bfd031765ee..8ac7c2ac6bfb 100644 --- a/node/network/bitfield-distribution/Cargo.toml +++ b/node/network/bitfield-distribution/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-availability-bitfield-distribution" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/network/bridge/Cargo.toml b/node/network/bridge/Cargo.toml index ff932203e834..56208ba6a3a3 100644 --- a/node/network/bridge/Cargo.toml +++ b/node/network/bridge/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-network-bridge" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] always-assert = "0.1" diff --git a/node/network/collator-protocol/Cargo.toml b/node/network/collator-protocol/Cargo.toml index d66dcb6443c0..c7618baa3cd7 100644 --- a/node/network/collator-protocol/Cargo.toml +++ b/node/network/collator-protocol/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-collator-protocol" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] always-assert = "0.1.2" diff --git a/node/network/dispute-distribution/Cargo.toml b/node/network/dispute-distribution/Cargo.toml index 38af6d3df7ba..4db7b854a74d 100644 --- a/node/network/dispute-distribution/Cargo.toml +++ b/node/network/dispute-distribution/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-dispute-distribution" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/network/gossip-support/Cargo.toml b/node/network/gossip-support/Cargo.toml index 5360efae09de..2236b72d3c77 100644 --- a/node/network/gossip-support/Cargo.toml +++ b/node/network/gossip-support/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-gossip-support" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/network/protocol/Cargo.toml b/node/network/protocol/Cargo.toml index daa097886801..2cfe1ce58e61 100644 --- a/node/network/protocol/Cargo.toml +++ b/node/network/protocol/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-node-network-protocol" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true description = "Primitives types for the Node-side" [dependencies] diff --git a/node/network/statement-distribution/Cargo.toml b/node/network/statement-distribution/Cargo.toml index 7805cfeb0fda..5ebdcd01b7ab 100644 --- a/node/network/statement-distribution/Cargo.toml +++ b/node/network/statement-distribution/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-statement-distribution" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Statement Distribution Subsystem" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index ddaf14c0af10..1663a78b8355 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-overseer" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] client = { package = "sc-client-api", git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/primitives/Cargo.toml b/node/primitives/Cargo.toml index c7cfde987ce1..b865298f8467 100644 --- a/node/primitives/Cargo.toml +++ b/node/primitives/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-node-primitives" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" description = "Primitives types for the Node-side" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bounded-vec = "0.6" diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index d796f02aebb9..47ca1011c7af 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-service" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" rust-version = "1.60" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] # Substrate Client diff --git a/node/subsystem-test-helpers/Cargo.toml b/node/subsystem-test-helpers/Cargo.toml index 11c7e72b1015..41c48d7f31e1 100644 --- a/node/subsystem-test-helpers/Cargo.toml +++ b/node/subsystem-test-helpers/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-node-subsystem-test-helpers" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" description = "Subsystem traits and message definitions" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] async-trait = "0.1.57" diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index be88b217804c..175623dc32d8 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-node-subsystem-types" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" description = "Subsystem traits and message definitions" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] derive_more = "0.99.17" diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index 15a06aaddd4c..ad374dfde6ad 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-node-subsystem-util" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" description = "Subsystem traits and message definitions" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] async-trait = "0.1.57" diff --git a/node/subsystem/Cargo.toml b/node/subsystem/Cargo.toml index 67f6bd9559f7..2d788c10b4c1 100644 --- a/node/subsystem/Cargo.toml +++ b/node/subsystem/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-node-subsystem" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" description = "Subsystem traits and message definitions and the generated overseer" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] polkadot-overseer = { path = "../overseer" } diff --git a/node/test/client/Cargo.toml b/node/test/client/Cargo.toml index 2e94093c072d..8287d167644e 100644 --- a/node/test/client/Cargo.toml +++ b/node/test/client/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-test-client" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } diff --git a/node/test/performance-test/Cargo.toml b/node/test/performance-test/Cargo.toml index cd07d1558e08..95da89662579 100644 --- a/node/test/performance-test/Cargo.toml +++ b/node/test/performance-test/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-performance-test" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] thiserror = "1.0.31" diff --git a/node/test/service/Cargo.toml b/node/test/service/Cargo.toml index 69f3579c8fbe..6fab3150a623 100644 --- a/node/test/service/Cargo.toml +++ b/node/test/service/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-test-service" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] futures = "0.3.21" diff --git a/node/zombienet-backchannel/Cargo.toml b/node/zombienet-backchannel/Cargo.toml index 9d5b6a678b49..74e6751eb7de 100644 --- a/node/zombienet-backchannel/Cargo.toml +++ b/node/zombienet-backchannel/Cargo.toml @@ -2,11 +2,11 @@ name = "zombienet-backchannel" description = "Zombienet backchannel to notify test runner and coordinate with malus actors." license = "GPL-3.0-only" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" readme = "README.md" publish = false +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] tokio = { version = "1.22.0", default-features = false, features = ["macros", "net", "rt-multi-thread", "sync"] } diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 7b2954d45138..7027ec3f41bd 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-parachain" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Types and utilities for creating and working with parachains" -edition = "2021" +authors.workspace = true +edition.workspace = true +version.workspace = true [dependencies] # note: special care is taken to avoid inclusion of `sp-io` externals when compiling diff --git a/parachain/test-parachains/Cargo.toml b/parachain/test-parachains/Cargo.toml index 7ad254f8eb46..d023fb6be6ea 100644 --- a/parachain/test-parachains/Cargo.toml +++ b/parachain/test-parachains/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "test-parachains" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Integration tests using the test-parachains" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] tiny-keccak = { version = "2.0.2", features = ["keccak"] } diff --git a/parachain/test-parachains/adder/Cargo.toml b/parachain/test-parachains/adder/Cargo.toml index 6cc1bb3230f0..4b29da55c1cf 100644 --- a/parachain/test-parachains/adder/Cargo.toml +++ b/parachain/test-parachains/adder/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "test-parachain-adder" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Test parachain which adds to a number as its state transition" -edition = "2021" build = "build.rs" +edition.workspace = true +version.workspace = true +authors.workspace = true [dependencies] parachain = { package = "polkadot-parachain", path = "../../", default-features = false, features = [ "wasm-api" ] } diff --git a/parachain/test-parachains/adder/collator/Cargo.toml b/parachain/test-parachains/adder/collator/Cargo.toml index c47aff6b74ff..3f13eecb96e3 100644 --- a/parachain/test-parachains/adder/collator/Cargo.toml +++ b/parachain/test-parachains/adder/collator/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "test-parachain-adder-collator" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Collator for the adder test parachain" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [[bin]] name = "adder-collator" diff --git a/parachain/test-parachains/halt/Cargo.toml b/parachain/test-parachains/halt/Cargo.toml index 771207749f6c..05df7e7d592f 100644 --- a/parachain/test-parachains/halt/Cargo.toml +++ b/parachain/test-parachains/halt/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "test-parachain-halt" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Test parachain which executes forever" -edition = "2021" build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] diff --git a/parachain/test-parachains/undying/Cargo.toml b/parachain/test-parachains/undying/Cargo.toml index aae021ddea83..1cc5595ec7a5 100644 --- a/parachain/test-parachains/undying/Cargo.toml +++ b/parachain/test-parachains/undying/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "test-parachain-undying" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Test parachain for zombienet integration tests" -edition = "2021" build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] parachain = { package = "polkadot-parachain", path = "../../", default-features = false, features = [ "wasm-api" ] } diff --git a/parachain/test-parachains/undying/collator/Cargo.toml b/parachain/test-parachains/undying/collator/Cargo.toml index 8a89ea48148b..2543b6f91930 100644 --- a/parachain/test-parachains/undying/collator/Cargo.toml +++ b/parachain/test-parachains/undying/collator/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "test-parachain-undying-collator" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Collator for the undying test parachain" -edition = "2021" +edition.workspace = true +version.workspace = true +authors.workspace = true [[bin]] name = "undying-collator" diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 7233fa5bd4a3..38456a43162d 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-primitives" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/primitives/test-helpers/Cargo.toml b/primitives/test-helpers/Cargo.toml index 401b5efaf5a1..917e5f3babdb 100644 --- a/primitives/test-helpers/Cargo.toml +++ b/primitives/test-helpers/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-primitives-test-helpers" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index cb5d8e59b24e..20b459e3f73f 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-rpc" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] jsonrpsee = { version = "0.15.1", features = ["server"] } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index d7664ba2d078..e6dc629bdbea 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-runtime-common" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] impl-trait-for-tuples = "0.2.2" diff --git a/runtime/common/slot_range_helper/Cargo.toml b/runtime/common/slot_range_helper/Cargo.toml index 1957f35551c5..c6d8452be79d 100644 --- a/runtime/common/slot_range_helper/Cargo.toml +++ b/runtime/common/slot_range_helper/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "slot-range-helper" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] paste = "1.0" diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 4b165a648af6..96f98a1c10d0 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "kusama-runtime" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/runtime/kusama/constants/Cargo.toml b/runtime/kusama/constants/Cargo.toml index caaf4e3af577..84502182c98f 100644 --- a/runtime/kusama/constants/Cargo.toml +++ b/runtime/kusama/constants/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "kusama-runtime-constants" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] smallvec = "1.8.0" diff --git a/runtime/metrics/Cargo.toml b/runtime/metrics/Cargo.toml index 73c0b751f01b..99d7878d99e8 100644 --- a/runtime/metrics/Cargo.toml +++ b/runtime/metrics/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-runtime-metrics" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false} diff --git a/runtime/parachains/Cargo.toml b/runtime/parachains/Cargo.toml index 1d055c7630f2..cdcd998b7572 100644 --- a/runtime/parachains/Cargo.toml +++ b/runtime/parachains/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-runtime-parachains" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index a213f86270b9..0dc4b757df2e 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-runtime" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/runtime/polkadot/constants/Cargo.toml b/runtime/polkadot/constants/Cargo.toml index 6b930c0e4196..2a936af9ff94 100644 --- a/runtime/polkadot/constants/Cargo.toml +++ b/runtime/polkadot/constants/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-runtime-constants" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] smallvec = "1.8.0" diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index b07703060a7f..1f06cffd190c 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "rococo-runtime" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive", "max-encoded-len"] } diff --git a/runtime/rococo/constants/Cargo.toml b/runtime/rococo/constants/Cargo.toml index 772d66766d2d..8b1901189f88 100644 --- a/runtime/rococo/constants/Cargo.toml +++ b/runtime/rococo/constants/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "rococo-runtime-constants" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] smallvec = "1.8.0" diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index ae0ec62c8493..21b75926722b 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "polkadot-test-runtime" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/runtime/test-runtime/constants/Cargo.toml b/runtime/test-runtime/constants/Cargo.toml index c1d7b89408e7..54de8a6b9d5d 100644 --- a/runtime/test-runtime/constants/Cargo.toml +++ b/runtime/test-runtime/constants/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "test-runtime-constants" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] smallvec = "1.8.0" diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index 11e345825787..c20da9a16e23 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "westend-runtime" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" build = "build.rs" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } diff --git a/runtime/westend/constants/Cargo.toml b/runtime/westend/constants/Cargo.toml index 1c3703678f61..46d7ecd5465d 100644 --- a/runtime/westend/constants/Cargo.toml +++ b/runtime/westend/constants/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "westend-runtime-constants" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] smallvec = "1.8.0" diff --git a/statement-table/Cargo.toml b/statement-table/Cargo.toml index a7d9eba3a440..81f2f90e0998 100644 --- a/statement-table/Cargo.toml +++ b/statement-table/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-statement-table" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } diff --git a/utils/generate-bags/Cargo.toml b/utils/generate-bags/Cargo.toml index fc6b9b69f9b4..2038dc94a1ea 100644 --- a/utils/generate-bags/Cargo.toml +++ b/utils/generate-bags/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "polkadot-voter-bags" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] clap = { version = "4.0.9", features = ["derive"] } diff --git a/utils/remote-ext-tests/bags-list/Cargo.toml b/utils/remote-ext-tests/bags-list/Cargo.toml index e436f7b575b6..d77d2017aab3 100644 --- a/utils/remote-ext-tests/bags-list/Cargo.toml +++ b/utils/remote-ext-tests/bags-list/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "remote-ext-tests-bags-list" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] polkadot-runtime = { path = "../../../runtime/polkadot" } diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 7dd4a2cd0fd1..48334c65ac6a 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "staking-miner" -version = "0.9.33" -authors = ["Parity Technologies "] -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } diff --git a/xcm/Cargo.toml b/xcm/Cargo.toml index 7ac855b9c63d..4b653131b77b 100644 --- a/xcm/Cargo.toml +++ b/xcm/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "xcm" -version = "0.9.33" -authors = ["Parity Technologies "] description = "The basic XCM datastructures." -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] impl-trait-for-tuples = "0.2.2" diff --git a/xcm/pallet-xcm-benchmarks/Cargo.toml b/xcm/pallet-xcm-benchmarks/Cargo.toml index 483a22f72b37..0cbcba63bf43 100644 --- a/xcm/pallet-xcm-benchmarks/Cargo.toml +++ b/xcm/pallet-xcm-benchmarks/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "pallet-xcm-benchmarks" -authors = ["Parity Technologies "] -edition = "2021" -version = "0.9.33" +authors.workspace = true +edition.workspace = true +version.workspace = true [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] diff --git a/xcm/pallet-xcm/Cargo.toml b/xcm/pallet-xcm/Cargo.toml index 8545490a9d8e..4eb1c558b8ce 100644 --- a/xcm/pallet-xcm/Cargo.toml +++ b/xcm/pallet-xcm/Cargo.toml @@ -1,8 +1,9 @@ [package] -authors = ["Parity Technologies "] -edition = "2021" name = "pallet-xcm" -version = "0.9.33" +authors.workspace = true +edition.workspace = true +version.workspace = true + [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } diff --git a/xcm/procedural/Cargo.toml b/xcm/procedural/Cargo.toml index 3e10f246e53d..22ec39077c97 100644 --- a/xcm/procedural/Cargo.toml +++ b/xcm/procedural/Cargo.toml @@ -1,8 +1,8 @@ [package] -authors = ["Parity Technologies "] name = "xcm-procedural" -version = "0.9.33" -edition = "2021" +authors.workspace = true +edition.workspace = true +version.workspace = true [lib] proc-macro = true diff --git a/xcm/xcm-builder/Cargo.toml b/xcm/xcm-builder/Cargo.toml index 7fb2dfc2bd40..d3a3b0fda4fd 100644 --- a/xcm/xcm-builder/Cargo.toml +++ b/xcm/xcm-builder/Cargo.toml @@ -1,9 +1,9 @@ [package] -authors = ["Parity Technologies "] -edition = "2021" name = "xcm-builder" description = "Tools & types for building with XCM and its executor." -version = "0.9.33" +authors.workspace = true +edition.workspace = true +version.workspace = true [dependencies] parity-scale-codec = { version = "3.1.5", default-features = false, features = ["derive"] } diff --git a/xcm/xcm-executor/Cargo.toml b/xcm/xcm-executor/Cargo.toml index 6ba0e89d9fb9..a87bb02283f3 100644 --- a/xcm/xcm-executor/Cargo.toml +++ b/xcm/xcm-executor/Cargo.toml @@ -1,9 +1,9 @@ [package] -authors = ["Parity Technologies "] -edition = "2021" name = "xcm-executor" description = "An abstract and configurable XCM message executor." -version = "0.9.33" +authors.workspace = true +edition.workspace = true +version.workspace = true [dependencies] impl-trait-for-tuples = "0.2.2" diff --git a/xcm/xcm-executor/integration-tests/Cargo.toml b/xcm/xcm-executor/integration-tests/Cargo.toml index 4e3ec402bd07..4fff3952a05d 100644 --- a/xcm/xcm-executor/integration-tests/Cargo.toml +++ b/xcm/xcm-executor/integration-tests/Cargo.toml @@ -1,9 +1,9 @@ [package] -authors = ["Parity Technologies "] -edition = "2021" name = "xcm-executor-integration-tests" description = "Integration tests for the XCM Executor" -version = "0.9.33" +authors.workspace = true +edition.workspace = true +version.workspace = true [dependencies] frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/xcm/xcm-simulator/Cargo.toml b/xcm/xcm-simulator/Cargo.toml index 5e2bda46e494..b18b709dbbf3 100644 --- a/xcm/xcm-simulator/Cargo.toml +++ b/xcm/xcm-simulator/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "xcm-simulator" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Test kit to simulate cross-chain message passing and XCM execution" -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } diff --git a/xcm/xcm-simulator/example/Cargo.toml b/xcm/xcm-simulator/example/Cargo.toml index ce95b05450e1..bdc7ea9eb138 100644 --- a/xcm/xcm-simulator/example/Cargo.toml +++ b/xcm/xcm-simulator/example/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "xcm-simulator-example" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." -edition = "2021" +authors.workspace = true +edition.workspace = true +version.workspace = true [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } diff --git a/xcm/xcm-simulator/fuzzer/Cargo.toml b/xcm/xcm-simulator/fuzzer/Cargo.toml index 85f99e6bd884..5a24c34f2b30 100644 --- a/xcm/xcm-simulator/fuzzer/Cargo.toml +++ b/xcm/xcm-simulator/fuzzer/Cargo.toml @@ -1,9 +1,9 @@ [package] name = "xcm-simulator-fuzzer" -version = "0.9.33" -authors = ["Parity Technologies "] description = "Examples of xcm-simulator usage." -edition = "2021" +version.workspace = true +authors.workspace = true +edition.workspace = true [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } From f39dbaf2814cf177e250bd8743831efdf2b75cf5 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Mon, 5 Dec 2022 16:34:34 +0000 Subject: [PATCH 155/211] Introduce NIS functionality into Kusama/Rococo (#6352) * Integrate NIS into Kusama/Rococo * Missing files * Fix * Fix * Formatting * Add Kusama weights Signed-off-by: Oliver Tale-Yazdi * Add Rococo weights Signed-off-by: Oliver Tale-Yazdi * Use weights Signed-off-by: Oliver Tale-Yazdi * Bump * Bump * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_nis * ".git/.scripts/bench-bot.sh" runtime rococo-dev pallet_nis Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi Co-authored-by: command-bot <> --- Cargo.lock | 395 +++++++++--------- node/service/src/chain_spec.rs | 8 +- runtime/common/src/impls.rs | 10 +- runtime/kusama/Cargo.toml | 8 +- runtime/kusama/src/lib.rs | 76 ++-- runtime/kusama/src/weights/mod.rs | 3 +- ...allet_balances_nis_counterpart_balances.rs | 105 +++++ runtime/kusama/src/weights/pallet_gilt.rs | 119 ------ runtime/kusama/src/weights/pallet_nis.rs | 122 ++++++ runtime/polkadot/src/lib.rs | 1 - runtime/rococo/Cargo.toml | 6 +- runtime/rococo/src/lib.rs | 72 +++- runtime/rococo/src/weights/mod.rs | 3 +- ...allet_balances_nis_counterpart_balances.rs | 105 +++++ runtime/rococo/src/weights/pallet_gilt.rs | 119 ------ runtime/rococo/src/weights/pallet_nis.rs | 122 ++++++ 16 files changed, 774 insertions(+), 500 deletions(-) create mode 100644 runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs delete mode 100644 runtime/kusama/src/weights/pallet_gilt.rs create mode 100644 runtime/kusama/src/weights/pallet_nis.rs create mode 100644 runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs delete mode 100644 runtime/rococo/src/weights/pallet_gilt.rs create mode 100644 runtime/rococo/src/weights/pallet_nis.rs diff --git a/Cargo.lock b/Cargo.lock index f5fce2487e19..c0fc30d1bad6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "beefy-primitives", "sp-api", @@ -477,7 +477,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -2007,7 +2007,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", ] @@ -2031,7 +2031,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -2054,7 +2054,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "Inflector", "array-bytes", @@ -2106,7 +2106,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "chrono", "frame-election-provider-support", @@ -3232,13 +3232,13 @@ dependencies = [ "pallet-election-provider-support-benchmarking", "pallet-elections-phragmen", "pallet-fast-unstake", - "pallet-gilt", "pallet-grandpa", "pallet-identity", "pallet-im-online", "pallet-indices", "pallet-membership", "pallet-multisig", + "pallet-nis", "pallet-nomination-pools", "pallet-nomination-pools-benchmarking", "pallet-nomination-pools-runtime-api", @@ -4086,7 +4086,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "beefy-primitives", "futures", @@ -4106,7 +4106,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "anyhow", "jsonrpsee", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4932,25 +4932,10 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-gilt" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" -dependencies = [ - "frame-benchmarking", - "frame-support", - "frame-system", - "parity-scale-codec", - "scale-info", - "sp-arithmetic", - "sp-runtime", - "sp-std", -] - [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -4973,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4989,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +4994,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5060,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5073,10 +5058,26 @@ dependencies = [ "sp-std", ] +[[package]] +name = "pallet-nis" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +dependencies = [ + "frame-benchmarking", + "frame-support", + "frame-system", + "parity-scale-codec", + "scale-info", + "sp-arithmetic", + "sp-core", + "sp-runtime", + "sp-std", +] + [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -5093,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5113,7 +5114,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "sp-api", @@ -5123,7 +5124,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -5140,7 +5141,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5163,7 +5164,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5180,7 +5181,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5195,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5213,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5228,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5246,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5262,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -5283,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5299,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -5313,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5336,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5347,7 +5348,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "log", "sp-arithmetic", @@ -5356,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5373,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -5387,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5405,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5424,7 +5425,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-support", "frame-system", @@ -5440,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5456,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5468,7 +5469,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5485,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5501,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -5516,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-benchmarking", "frame-support", @@ -7995,7 +7996,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "env_logger 0.9.0", "log", @@ -8126,7 +8127,6 @@ dependencies = [ "pallet-collective", "pallet-democracy", "pallet-elections-phragmen", - "pallet-gilt", "pallet-grandpa", "pallet-identity", "pallet-im-online", @@ -8134,6 +8134,7 @@ dependencies = [ "pallet-membership", "pallet-mmr", "pallet-multisig", + "pallet-nis", "pallet-offences", "pallet-preimage", "pallet-proxy", @@ -8335,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "log", "sp-core", @@ -8346,7 +8347,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures", @@ -8373,7 +8374,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "futures-timer", @@ -8396,7 +8397,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8412,7 +8413,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8429,7 +8430,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8440,7 +8441,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "chrono", @@ -8480,7 +8481,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "fnv", "futures", @@ -8508,7 +8509,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "hash-db", "kvdb", @@ -8533,7 +8534,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures", @@ -8557,7 +8558,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "fork-tree", @@ -8598,7 +8599,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "jsonrpsee", @@ -8620,7 +8621,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8633,7 +8634,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures", @@ -8657,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "lazy_static", "lru", @@ -8683,7 +8684,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "environmental", "parity-scale-codec", @@ -8699,7 +8700,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "log", "parity-scale-codec", @@ -8714,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "cfg-if", "libc", @@ -8734,7 +8735,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "ahash", "array-bytes", @@ -8775,7 +8776,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "finality-grandpa", "futures", @@ -8796,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "ansi_term", "futures", @@ -8813,7 +8814,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "async-trait", @@ -8828,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "async-trait", @@ -8875,7 +8876,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "cid", "futures", @@ -8895,7 +8896,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "bitflags", @@ -8921,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "ahash", "futures", @@ -8939,7 +8940,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "futures", @@ -8960,7 +8961,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "async-trait", @@ -8991,7 +8992,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "futures", @@ -9010,7 +9011,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "bytes", @@ -9040,7 +9041,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "libp2p", @@ -9053,7 +9054,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9062,7 +9063,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "hash-db", @@ -9092,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "jsonrpsee", @@ -9115,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "jsonrpsee", @@ -9128,7 +9129,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "hex", @@ -9147,7 +9148,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "directories", @@ -9218,7 +9219,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "log", "parity-scale-codec", @@ -9232,7 +9233,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9251,7 +9252,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "libc", @@ -9270,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "chrono", "futures", @@ -9288,7 +9289,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "ansi_term", "atty", @@ -9319,7 +9320,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9330,7 +9331,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures", @@ -9357,7 +9358,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures", @@ -9371,7 +9372,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "futures-timer", @@ -9852,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "hash-db", "log", @@ -9870,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "blake2", "proc-macro-crate", @@ -9882,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -9895,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "integer-sqrt", "num-traits", @@ -9910,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -9923,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "parity-scale-codec", @@ -9935,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "sp-api", @@ -9947,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "log", @@ -9965,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures", @@ -9984,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "merlin", @@ -10007,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10021,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10034,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "base58", @@ -10079,7 +10080,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "blake2", "byteorder", @@ -10093,7 +10094,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro2", "quote", @@ -10104,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10113,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro2", "quote", @@ -10123,7 +10124,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "environmental", "parity-scale-codec", @@ -10134,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "finality-grandpa", "log", @@ -10152,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10166,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "bytes", "ed25519-dalek", @@ -10193,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "lazy_static", "sp-core", @@ -10204,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures", @@ -10221,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "thiserror", "zstd", @@ -10230,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10248,7 +10249,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10262,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "sp-api", "sp-core", @@ -10272,7 +10273,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "backtrace", "lazy_static", @@ -10282,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "rustc-hash", "serde", @@ -10292,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "either", "hash256-std-hasher", @@ -10315,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10333,7 +10334,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "Inflector", "proc-macro-crate", @@ -10345,7 +10346,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "log", "parity-scale-codec", @@ -10359,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10373,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "scale-info", @@ -10384,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "hash-db", "log", @@ -10406,12 +10407,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10424,7 +10425,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "futures-timer", @@ -10440,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "sp-std", @@ -10452,7 +10453,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "sp-api", "sp-runtime", @@ -10461,7 +10462,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "log", @@ -10477,7 +10478,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "ahash", "hash-db", @@ -10500,7 +10501,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10517,7 +10518,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10528,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "impl-trait-for-tuples", "log", @@ -10541,7 +10542,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10756,7 +10757,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "platforms", ] @@ -10764,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10785,7 +10786,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures-util", "hyper", @@ -10798,7 +10799,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "async-trait", "jsonrpsee", @@ -10811,7 +10812,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "jsonrpsee", "log", @@ -10832,7 +10833,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "array-bytes", "async-trait", @@ -10858,7 +10859,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10868,7 +10869,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10879,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "ansi_term", "build-helper", @@ -11588,7 +11589,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2bde8c1a44d8e376e3e6e5d2dd7266124ff5efa2" +source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" dependencies = [ "clap", "frame-try-runtime", diff --git a/node/service/src/chain_spec.rs b/node/service/src/chain_spec.rs index e2c0a7bfdf94..8650499d064c 100644 --- a/node/service/src/chain_spec.rs +++ b/node/service/src/chain_spec.rs @@ -767,10 +767,10 @@ fn kusama_staging_testnet_config_genesis(wasm_binary: &[u8]) -> kusama::GenesisC configuration: kusama::ConfigurationConfig { config: default_parachains_host_configuration(), }, - gilt: Default::default(), paras: Default::default(), xcm_pallet: Default::default(), nomination_pools: Default::default(), + nis_counterpart_balances: Default::default(), } } @@ -1073,11 +1073,11 @@ fn rococo_staging_testnet_config_genesis(wasm_binary: &[u8]) -> rococo_runtime:: configuration: rococo_runtime::ConfigurationConfig { config: default_parachains_host_configuration(), }, - gilt: Default::default(), registrar: rococo_runtime::RegistrarConfig { next_free_para_id: polkadot_primitives::v2::LOWEST_PUBLIC_ID, }, xcm_pallet: Default::default(), + nis_counterpart_balances: Default::default(), } } @@ -1466,10 +1466,10 @@ pub fn kusama_testnet_genesis( configuration: kusama::ConfigurationConfig { config: default_parachains_host_configuration(), }, - gilt: Default::default(), paras: Default::default(), xcm_pallet: Default::default(), nomination_pools: Default::default(), + nis_counterpart_balances: Default::default(), } } @@ -1629,12 +1629,12 @@ pub fn rococo_testnet_genesis( ..default_parachains_host_configuration() }, }, - gilt: Default::default(), paras: rococo_runtime::ParasConfig { paras: vec![] }, registrar: rococo_runtime::RegistrarConfig { next_free_para_id: polkadot_primitives::v2::LOWEST_PUBLIC_ID, }, xcm_pallet: Default::default(), + nis_counterpart_balances: Default::default(), } } diff --git a/runtime/common/src/impls.rs b/runtime/common/src/impls.rs index 2b10c79cfdff..51dbdd80c781 100644 --- a/runtime/common/src/impls.rs +++ b/runtime/common/src/impls.rs @@ -61,7 +61,7 @@ where pub fn era_payout( total_staked: Balance, - non_gilt_issuance: Balance, + total_stakable: Balance, max_annual_inflation: Perquintill, period_fraction: Perquintill, auctioned_slots: u64, @@ -79,17 +79,17 @@ pub fn era_payout( // amount that we expect to be taken up with auctions. let ideal_stake = Perquintill::from_percent(75).saturating_sub(auction_proportion); - let stake = Perquintill::from_rational(total_staked, non_gilt_issuance); + let stake = Perquintill::from_rational(total_staked, total_stakable); let falloff = Perquintill::from_percent(5); let adjustment = compute_inflation(stake, ideal_stake, falloff); let staking_inflation = min_annual_inflation.saturating_add(delta_annual_inflation * adjustment); - let max_payout = period_fraction * max_annual_inflation * non_gilt_issuance; - let staking_payout = (period_fraction * staking_inflation) * non_gilt_issuance; + let max_payout = period_fraction * max_annual_inflation * total_stakable; + let staking_payout = (period_fraction * staking_inflation) * total_stakable; let rest = max_payout.saturating_sub(staking_payout); - let other_issuance = non_gilt_issuance.saturating_sub(total_staked); + let other_issuance = total_stakable.saturating_sub(total_staked); if total_staked > other_issuance { let _cap_rest = Perquintill::from_rational(other_issuance, total_staked) * staking_payout; // We don't do anything with this, but if we wanted to, we could introduce a cap on the diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 96f98a1c10d0..868b5112bbdc 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -54,7 +54,7 @@ pallet-election-provider-multi-phase = { git = "https://github.com/paritytech/su pallet-fast-unstake = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-gilt = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nis = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -150,7 +150,7 @@ std = [ "pallet-election-provider-multi-phase/std", "pallet-fast-unstake/std", "pallet-democracy/std", - "pallet-gilt/std", + "pallet-nis/std", "pallet-grandpa/std", "pallet-identity/std", "pallet-im-online/std", @@ -216,7 +216,7 @@ runtime-benchmarks = [ "pallet-election-provider-multi-phase/runtime-benchmarks", "pallet-election-provider-support-benchmarking/runtime-benchmarks", "pallet-fast-unstake/runtime-benchmarks", - "pallet-gilt/runtime-benchmarks", + "pallet-nis/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", @@ -267,7 +267,7 @@ try-runtime = [ "pallet-election-provider-multi-phase/try-runtime", "pallet-fast-unstake/try-runtime", "pallet-democracy/try-runtime", - "pallet-gilt/try-runtime", + "pallet-nis/try-runtime", "pallet-grandpa/try-runtime", "pallet-identity/try-runtime", "pallet-im-online/try-runtime", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index c9a9691953ea..20dbc6ac7ec9 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -20,6 +20,7 @@ // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256. #![recursion_limit = "256"] +use pallet_nis::WithMaximumOf; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use primitives::v2::{ AccountId, AccountIndex, Balance, BlockNumber, CandidateEvent, CommittedCandidateReceipt, @@ -53,7 +54,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ ConstU32, Contains, EitherOf, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, - LockIdentifier, PrivilegeCmp, WithdrawReasons, + LockIdentifier, PrivilegeCmp, StorageMapShim, WithdrawReasons, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -63,7 +64,7 @@ use pallet_grandpa::{fg_primitives, AuthorityId as GrandpaId}; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use pallet_session::historical as session_historical; use pallet_transaction_payment::{CurrencyAdapter, FeeDetails, RuntimeDispatchInfo}; -use sp_core::OpaqueMetadata; +use sp_core::{ConstU128, OpaqueMetadata}; use sp_mmr_primitives as mmr; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, @@ -537,7 +538,7 @@ impl pallet_staking::EraPayout for EraPayout { runtime_common::impls::era_payout( total_staked, - Gilt::issuance().non_gilt, + Nis::issuance().other, MAX_ANNUAL_INFLATION, Perquintill::from_rational(era_duration_millis, MILLISECONDS_PER_YEAR), auctioned_slots, @@ -1027,7 +1028,7 @@ impl InstanceFilter for ProxyType { RuntimeCall::Scheduler(..) | RuntimeCall::Proxy(..) | RuntimeCall::Multisig(..) | - RuntimeCall::Gilt(..) | + RuntimeCall::Nis(..) | RuntimeCall::Registrar(paras_registrar::Call::register {..}) | RuntimeCall::Registrar(paras_registrar::Call::deregister {..}) | // Specifically omitting Registrar `swap` @@ -1246,33 +1247,57 @@ impl auctions::Config for Runtime { type WeightInfo = weights::runtime_common_auctions::WeightInfo; } +type NisCounterpartInstance = pallet_balances::Instance2; +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type DustRemoval = (); + type RuntimeEvent = RuntimeEvent; + type ExistentialDeposit = ConstU128<10_000_000_000>; // One KTC cent + type AccountStore = StorageMapShim< + pallet_balances::Account, + frame_system::Provider, + AccountId, + pallet_balances::AccountData, + >; + type MaxLocks = ConstU32<4>; + type MaxReserves = ConstU32<4>; + type ReserveIdentifier = [u8; 8]; + type WeightInfo = weights::pallet_balances_nis_counterpart_balances::WeightInfo; +} + parameter_types! { pub IgnoredIssuance: Balance = Treasury::pot(); - pub const QueueCount: u32 = 300; - pub const MaxQueueLen: u32 = 1000; - pub const FifoQueueLen: u32 = 250; - pub const GiltPeriod: BlockNumber = 30 * DAYS; - pub const MinFreeze: Balance = 10_000 * CENTS; + pub const NisBasePeriod: BlockNumber = 30 * DAYS; + pub const MinBid: Balance = 100 * QUID; + pub MinReceipt: Perquintill = Perquintill::from_rational(1u64, 10_000_000u64); pub const IntakePeriod: BlockNumber = 5 * MINUTES; - pub const MaxIntakeBids: u32 = 100; + pub MaxIntakeWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10; + pub const ThawThrottle: (Perquintill, BlockNumber) = (Perquintill::from_percent(25), 5); + pub storage NisTarget: Perquintill = Perquintill::zero(); + pub const NisPalletId: PalletId = PalletId(*b"py/nis "); } -impl pallet_gilt::Config for Runtime { +impl pallet_nis::Config for Runtime { + type WeightInfo = weights::pallet_nis::WeightInfo; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type CurrencyBalance = Balance; - type AdminOrigin = EnsureRoot; + type FundOrigin = frame_system::EnsureSigned; + type Counterpart = NisCounterpartBalances; + type CounterpartAmount = WithMaximumOf>; type Deficit = (); // Mint - type Surplus = (); // Burn type IgnoredIssuance = IgnoredIssuance; - type QueueCount = QueueCount; - type MaxQueueLen = MaxQueueLen; - type FifoQueueLen = FifoQueueLen; - type Period = GiltPeriod; - type MinFreeze = MinFreeze; + type Target = NisTarget; + type PalletId = NisPalletId; + type QueueCount = ConstU32<300>; + type MaxQueueLen = ConstU32<1000>; + type FifoQueueLen = ConstU32<250>; + type BasePeriod = NisBasePeriod; + type MinBid = MinBid; + type MinReceipt = MinReceipt; type IntakePeriod = IntakePeriod; - type MaxIntakeBids = MaxIntakeBids; - type WeightInfo = weights::pallet_gilt::WeightInfo; + type MaxIntakeWeight = MaxIntakeWeight; + type ThawThrottle = ThawThrottle; } parameter_types! { @@ -1386,8 +1411,10 @@ construct_runtime! { // Election pallet. Only works with staking, but placed here to maintain indices. ElectionProviderMultiPhase: pallet_election_provider_multi_phase::{Pallet, Call, Storage, Event, ValidateUnsigned} = 37, - // Gilts pallet. - Gilt: pallet_gilt::{Pallet, Call, Storage, Event, Config} = 38, + // NIS pallet. + Nis: pallet_nis::{Pallet, Call, Storage, Event} = 38, +// pub type NisCounterpartInstance = pallet_balances::Instance2; + NisCounterpartBalances: pallet_balances:: = 45, // Provides a semi-sorted list of nominators for staking. VoterList: pallet_bags_list::::{Pallet, Call, Storage, Event} = 39, @@ -1477,7 +1504,7 @@ mod benches { define_benchmarks!( // Polkadot // NOTE: Make sure to prefix these with `runtime_common::` so - // the that path resolves correctly in the generated file. + // that the path resolves correctly in the generated file. [runtime_common::auctions, Auctions] [runtime_common::crowdloan, Crowdloan] [runtime_common::claims, Claims] @@ -1492,6 +1519,7 @@ mod benches { [runtime_parachains::ump, Ump] // Substrate [pallet_balances, Balances] + [pallet_balances, NisCounterpartBalances] [pallet_bags_list, VoterList] [frame_benchmarking::baseline, Baseline::] [pallet_bounties, Bounties] @@ -1504,7 +1532,7 @@ mod benches { [pallet_election_provider_multi_phase, ElectionProviderMultiPhase] [frame_election_provider_support, ElectionProviderBench::] [pallet_fast_unstake, FastUnstake] - [pallet_gilt, Gilt] + [pallet_nis, Nis] [pallet_identity, Identity] [pallet_im_online, ImOnline] [pallet_indices, Indices] diff --git a/runtime/kusama/src/weights/mod.rs b/runtime/kusama/src/weights/mod.rs index 2f9e2d35c211..c277b2beb819 100644 --- a/runtime/kusama/src/weights/mod.rs +++ b/runtime/kusama/src/weights/mod.rs @@ -19,6 +19,7 @@ pub mod frame_election_provider_support; pub mod frame_system; pub mod pallet_bags_list; pub mod pallet_balances; +pub mod pallet_balances_nis_counterpart_balances; pub mod pallet_bounties; pub mod pallet_child_bounties; pub mod pallet_collective_council; @@ -28,12 +29,12 @@ pub mod pallet_democracy; pub mod pallet_election_provider_multi_phase; pub mod pallet_elections_phragmen; pub mod pallet_fast_unstake; -pub mod pallet_gilt; pub mod pallet_identity; pub mod pallet_im_online; pub mod pallet_indices; pub mod pallet_membership; pub mod pallet_multisig; +pub mod pallet_nis; pub mod pallet_nomination_pools; pub mod pallet_preimage; pub mod pallet_proxy; diff --git a/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs new file mode 100644 index 000000000000..fcaa58c5fbda --- /dev/null +++ b/runtime/kusama/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -0,0 +1,105 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_balances` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/production/polkadot +// benchmark +// pallet +// --chain=kusama-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet-balances +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_balances`. +pub struct WeightInfo(PhantomData); +impl pallet_balances::WeightInfo for WeightInfo { + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn transfer() -> Weight { + // Minimum execution time: 41_890 nanoseconds. + Weight::from_ref_time(42_832_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_keep_alive() -> Weight { + // Minimum execution time: 30_130 nanoseconds. + Weight::from_ref_time(31_076_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: NisCounterpartBalances Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn set_balance_creating() -> Weight { + // Minimum execution time: 20_254 nanoseconds. + Weight::from_ref_time(20_956_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: NisCounterpartBalances Account (r:1 w:1) + // Storage: System Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn set_balance_killing() -> Weight { + // Minimum execution time: 27_767 nanoseconds. + Weight::from_ref_time(28_472_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:2 w:2) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn force_transfer() -> Weight { + // Minimum execution time: 41_369 nanoseconds. + Weight::from_ref_time(41_831_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_all() -> Weight { + // Minimum execution time: 37_413 nanoseconds. + Weight::from_ref_time(38_587_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: NisCounterpartBalances Account (r:1 w:1) + fn force_unreserve() -> Weight { + // Minimum execution time: 19_049 nanoseconds. + Weight::from_ref_time(19_464_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/kusama/src/weights/pallet_gilt.rs b/runtime/kusama/src/weights/pallet_gilt.rs deleted file mode 100644 index 3ab2d6d41709..000000000000 --- a/runtime/kusama/src/weights/pallet_gilt.rs +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2017-2022 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . -//! Autogenerated weights for `pallet_gilt` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 - -// Executed Command: -// ./target/production/polkadot -// benchmark -// pallet -// --chain=kusama-dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_gilt -// --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --header=./file_header.txt -// --output=./runtime/kusama/src/weights/ - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - -use frame_support::{traits::Get, weights::{Weight}}; -use sp_std::marker::PhantomData; - -/// Weight functions for `pallet_gilt`. -pub struct WeightInfo(PhantomData); -impl pallet_gilt::WeightInfo for WeightInfo { - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - /// The range of component `l` is `[0, 999]`. - fn place_bid(l: u32, ) -> Weight { - Weight::from_ref_time(33_022_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - fn place_bid_max() -> Weight { - Weight::from_ref_time(105_031_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - /// The range of component `l` is `[1, 1000]`. - fn retract_bid(l: u32, ) -> Weight { - Weight::from_ref_time(33_573_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt ActiveTotal (r:1 w:1) - fn set_target() -> Weight { - Weight::from_ref_time(6_386_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Gilt Active (r:1 w:1) - // Storage: Gilt ActiveTotal (r:1 w:1) - fn thaw() -> Weight { - Weight::from_ref_time(45_459_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt ActiveTotal (r:1 w:0) - fn pursue_target_noop() -> Weight { - Weight::from_ref_time(2_669_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - } - // Storage: Gilt ActiveTotal (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt Active (r:0 w:1) - /// The range of component `b` is `[1, 1000]`. - fn pursue_target_per_item(b: u32, ) -> Weight { - Weight::from_ref_time(33_549_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_979_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64))) - } - // Storage: Gilt ActiveTotal (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt Active (r:0 w:1) - /// The range of component `q` is `[1, 300]`. - fn pursue_target_per_queue(q: u32, ) -> Weight { - Weight::from_ref_time(28_306_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(6_651_000 as u64).saturating_mul(q as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(q as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(q as u64))) - } -} diff --git a/runtime/kusama/src/weights/pallet_nis.rs b/runtime/kusama/src/weights/pallet_nis.rs new file mode 100644 index 000000000000..857b20a14e98 --- /dev/null +++ b/runtime/kusama/src/weights/pallet_nis.rs @@ -0,0 +1,122 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_nis` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=pallet_nis +// --chain=kusama-dev +// --header=./file_header.txt +// --output=./runtime/kusama/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_nis`. +pub struct WeightInfo(PhantomData); +impl pallet_nis::WeightInfo for WeightInfo { + // Storage: Nis Queues (r:1 w:1) + // Storage: Nis QueueTotals (r:1 w:1) + /// The range of component `l` is `[0, 999]`. + fn place_bid(l: u32, ) -> Weight { + // Minimum execution time: 31_836 nanoseconds. + Weight::from_ref_time(33_284_190) + // Standard Error: 663 + .saturating_add(Weight::from_ref_time(70_316).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Queues (r:1 w:1) + // Storage: Nis QueueTotals (r:1 w:1) + fn place_bid_max() -> Weight { + // Minimum execution time: 100_161 nanoseconds. + Weight::from_ref_time(102_736_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Queues (r:1 w:1) + // Storage: Nis QueueTotals (r:1 w:1) + /// The range of component `l` is `[1, 1000]`. + fn retract_bid(l: u32, ) -> Weight { + // Minimum execution time: 36_993 nanoseconds. + Weight::from_ref_time(34_181_184) + // Standard Error: 634 + .saturating_add(Weight::from_ref_time(56_251).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Summary (r:1 w:0) + // Storage: System Account (r:1 w:1) + fn fund_deficit() -> Weight { + // Minimum execution time: 40_822 nanoseconds. + Weight::from_ref_time(41_752_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nis Receipts (r:1 w:1) + // Storage: Nis Summary (r:1 w:1) + // Storage: NisCounterpartBalances Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + // Storage: System Account (r:1 w:1) + fn thaw() -> Weight { + // Minimum execution time: 61_305 nanoseconds. + Weight::from_ref_time(61_909_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: Nis Summary (r:1 w:1) + // Storage: System Account (r:1 w:0) + // Storage: Nis QueueTotals (r:1 w:1) + fn process_queues() -> Weight { + // Minimum execution time: 32_369 nanoseconds. + Weight::from_ref_time(33_715_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Queues (r:1 w:1) + fn process_queue() -> Weight { + // Minimum execution time: 4_065 nanoseconds. + Weight::from_ref_time(4_212_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: System Account (r:1 w:0) + // Storage: Nis Receipts (r:0 w:1) + fn process_bid() -> Weight { + // Minimum execution time: 12_606 nanoseconds. + Weight::from_ref_time(12_994_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 4e15d4feb9c4..be1430a62f9e 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -578,7 +578,6 @@ impl pallet_staking::EraPayout for EraPayout { runtime_common::impls::era_payout( total_staked, - // Polkadot has no notion of gilts, the entire issuance is non-guilt. total_issuance, MAX_ANNUAL_INFLATION, Perquintill::from_rational(era_duration_millis, MILLISECONDS_PER_YEAR), diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index 1f06cffd190c..ba433a81e5a8 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -49,13 +49,13 @@ pallet-democracy = { git = "https://github.com/paritytech/substrate", branch = " pallet-elections-phragmen = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } frame-executive = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-grandpa = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -pallet-gilt = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-identity = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-im-online = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-indices = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-membership = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-mmr = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-multisig = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +pallet-nis = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-offences = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-preimage = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } pallet-proxy = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -130,7 +130,7 @@ std = [ "pallet-collective/std", "pallet-elections-phragmen/std", "pallet-democracy/std", - "pallet-gilt/std", + "pallet-nis/std", "pallet-grandpa/std", "pallet-identity/std", "pallet-im-online/std", @@ -188,7 +188,7 @@ runtime-benchmarks = [ "pallet-collective/runtime-benchmarks", "pallet-democracy/runtime-benchmarks", "pallet-elections-phragmen/runtime-benchmarks", - "pallet-gilt/runtime-benchmarks", + "pallet-nis/runtime-benchmarks", "pallet-grandpa/runtime-benchmarks", "pallet-identity/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 8f3599686672..763184e8bda6 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -20,6 +20,7 @@ // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256. #![recursion_limit = "256"] +use pallet_nis::WithMaximumOf; use parity_scale_codec::{Decode, Encode, MaxEncodedLen}; use primitives::v2::{ AccountId, AccountIndex, Balance, BlockNumber, CandidateEvent, CandidateHash, @@ -55,7 +56,7 @@ use frame_support::{ construct_runtime, parameter_types, traits::{ Contains, EitherOfDiverse, InstanceFilter, KeyOwnerProofSystem, LockIdentifier, - PrivilegeCmp, WithdrawReasons, + PrivilegeCmp, StorageMapShim, WithdrawReasons, }, weights::ConstantMultiplier, PalletId, RuntimeDebug, @@ -65,7 +66,7 @@ use pallet_grandpa::{fg_primitives, AuthorityId as GrandpaId}; use pallet_im_online::sr25519::AuthorityId as ImOnlineId; use pallet_session::historical as session_historical; use pallet_transaction_payment::{CurrencyAdapter, FeeDetails, RuntimeDispatchInfo}; -use sp_core::{OpaqueMetadata, H256}; +use sp_core::{ConstU128, OpaqueMetadata, H256}; use sp_mmr_primitives as mmr; use sp_runtime::{ create_runtime_str, generic, impl_opaque_keys, @@ -954,7 +955,7 @@ impl InstanceFilter for ProxyType { RuntimeCall::Scheduler(..) | RuntimeCall::Proxy(..) | RuntimeCall::Multisig(..) | - RuntimeCall::Gilt(..) | + RuntimeCall::Nis(..) | RuntimeCall::Registrar(paras_registrar::Call::register {..}) | RuntimeCall::Registrar(paras_registrar::Call::deregister {..}) | // Specifically omitting Registrar `swap` @@ -1186,33 +1187,57 @@ impl auctions::Config for Runtime { type WeightInfo = weights::runtime_common_auctions::WeightInfo; } +type NisCounterpartInstance = pallet_balances::Instance2; +impl pallet_balances::Config for Runtime { + type Balance = Balance; + type DustRemoval = (); + type RuntimeEvent = RuntimeEvent; + type ExistentialDeposit = ConstU128<10_000_000_000>; // One RTC cent + type AccountStore = StorageMapShim< + pallet_balances::Account, + frame_system::Provider, + AccountId, + pallet_balances::AccountData, + >; + type MaxLocks = ConstU32<4>; + type MaxReserves = ConstU32<4>; + type ReserveIdentifier = [u8; 8]; + type WeightInfo = weights::pallet_balances_nis_counterpart_balances::WeightInfo; +} + parameter_types! { pub IgnoredIssuance: Balance = Treasury::pot(); - pub const QueueCount: u32 = 300; - pub const MaxQueueLen: u32 = 1000; - pub const FifoQueueLen: u32 = 250; - pub const GiltPeriod: BlockNumber = 30 * DAYS; - pub const MinFreeze: Balance = 10_000 * CENTS; + pub const NisBasePeriod: BlockNumber = 30 * DAYS; + pub const MinBid: Balance = 100 * UNITS; + pub MinReceipt: Perquintill = Perquintill::from_rational(1u64, 10_000_000u64); pub const IntakePeriod: BlockNumber = 5 * MINUTES; - pub const MaxIntakeBids: u32 = 100; + pub MaxIntakeWeight: Weight = MAXIMUM_BLOCK_WEIGHT / 10; + pub const ThawThrottle: (Perquintill, BlockNumber) = (Perquintill::from_percent(25), 5); + pub storage NisTarget: Perquintill = Perquintill::zero(); + pub const NisPalletId: PalletId = PalletId(*b"py/nis "); } -impl pallet_gilt::Config for Runtime { +impl pallet_nis::Config for Runtime { + type WeightInfo = weights::pallet_nis::WeightInfo; type RuntimeEvent = RuntimeEvent; type Currency = Balances; type CurrencyBalance = Balance; - type AdminOrigin = MoreThanHalfCouncil; + type FundOrigin = frame_system::EnsureSigned; + type Counterpart = NisCounterpartBalances; + type CounterpartAmount = WithMaximumOf>; type Deficit = (); // Mint - type Surplus = (); // Burn type IgnoredIssuance = IgnoredIssuance; - type QueueCount = QueueCount; - type MaxQueueLen = MaxQueueLen; - type FifoQueueLen = FifoQueueLen; - type Period = GiltPeriod; - type MinFreeze = MinFreeze; + type Target = NisTarget; + type PalletId = NisPalletId; + type QueueCount = ConstU32<300>; + type MaxQueueLen = ConstU32<1000>; + type FifoQueueLen = ConstU32<250>; + type BasePeriod = NisBasePeriod; + type MinBid = MinBid; + type MinReceipt = MinReceipt; type IntakePeriod = IntakePeriod; - type MaxIntakeBids = MaxIntakeBids; - type WeightInfo = weights::pallet_gilt::WeightInfo; + type MaxIntakeWeight = MaxIntakeWeight; + type ThawThrottle = ThawThrottle; } impl pallet_beefy::Config for Runtime { @@ -1375,8 +1400,10 @@ construct_runtime! { // Tips module. Tips: pallet_tips::{Pallet, Call, Storage, Event} = 36, - // Gilts pallet. - Gilt: pallet_gilt::{Pallet, Call, Storage, Event, Config} = 38, + // NIS pallet. + Nis: pallet_nis::{Pallet, Call, Storage, Event} = 38, +// pub type NisCounterpartInstance = pallet_balances::Instance2; + NisCounterpartBalances: pallet_balances:: = 45, // Parachains pallets. Start indices at 50 to leave room. ParachainsOrigin: parachains_origin::{Pallet, Origin} = 50, @@ -1510,6 +1537,7 @@ mod benches { [runtime_parachains::ump, Ump] // Substrate [pallet_balances, Balances] + [pallet_balances, NisCounterpartBalances] [frame_benchmarking::baseline, Baseline::] [pallet_bounties, Bounties] [pallet_child_bounties, ChildBounties] @@ -1517,7 +1545,7 @@ mod benches { [pallet_collective, TechnicalCommittee] [pallet_democracy, Democracy] [pallet_elections_phragmen, PhragmenElection] - [pallet_gilt, Gilt] + [pallet_nis, Nis] [pallet_identity, Identity] [pallet_im_online, ImOnline] [pallet_indices, Indices] diff --git a/runtime/rococo/src/weights/mod.rs b/runtime/rococo/src/weights/mod.rs index 712783bc3e6c..f1657f95aa19 100644 --- a/runtime/rococo/src/weights/mod.rs +++ b/runtime/rococo/src/weights/mod.rs @@ -17,18 +17,19 @@ pub mod frame_system; pub mod pallet_balances; +pub mod pallet_balances_nis_counterpart_balances; pub mod pallet_bounties; pub mod pallet_child_bounties; pub mod pallet_collective_council; pub mod pallet_collective_technical_committee; pub mod pallet_democracy; pub mod pallet_elections_phragmen; -pub mod pallet_gilt; pub mod pallet_identity; pub mod pallet_im_online; pub mod pallet_indices; pub mod pallet_membership; pub mod pallet_multisig; +pub mod pallet_nis; pub mod pallet_preimage; pub mod pallet_proxy; pub mod pallet_scheduler; diff --git a/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs new file mode 100644 index 000000000000..70be4fc4b642 --- /dev/null +++ b/runtime/rococo/src/weights/pallet_balances_nis_counterpart_balances.rs @@ -0,0 +1,105 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_balances` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-11-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 + +// Executed Command: +// ./target/production/polkadot +// benchmark +// pallet +// --chain=rococo-dev +// --steps=50 +// --repeat=20 +// --pallet=pallet-balances +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --header=./file_header.txt +// --output=./runtime/rococo/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_balances`. +pub struct WeightInfo(PhantomData); +impl pallet_balances::WeightInfo for WeightInfo { + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn transfer() -> Weight { + // Minimum execution time: 41_176 nanoseconds. + Weight::from_ref_time(42_293_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) + } + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_keep_alive() -> Weight { + // Minimum execution time: 29_743 nanoseconds. + Weight::from_ref_time(30_329_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: NisCounterpartBalances Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn set_balance_creating() -> Weight { + // Minimum execution time: 19_825 nanoseconds. + Weight::from_ref_time(20_774_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: NisCounterpartBalances Account (r:1 w:1) + // Storage: System Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn set_balance_killing() -> Weight { + // Minimum execution time: 27_783 nanoseconds. + Weight::from_ref_time(28_462_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:2 w:2) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + fn force_transfer() -> Weight { + // Minimum execution time: 40_433 nanoseconds. + Weight::from_ref_time(41_444_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: NisCounterpartBalances Account (r:2 w:2) + // Storage: System Account (r:1 w:1) + fn transfer_all() -> Weight { + // Minimum execution time: 37_439 nanoseconds. + Weight::from_ref_time(38_570_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) + } + // Storage: NisCounterpartBalances Account (r:1 w:1) + fn force_unreserve() -> Weight { + // Minimum execution time: 18_366 nanoseconds. + Weight::from_ref_time(19_170_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} diff --git a/runtime/rococo/src/weights/pallet_gilt.rs b/runtime/rococo/src/weights/pallet_gilt.rs deleted file mode 100644 index b873684e2311..000000000000 --- a/runtime/rococo/src/weights/pallet_gilt.rs +++ /dev/null @@ -1,119 +0,0 @@ -// Copyright 2017-2022 Parity Technologies (UK) Ltd. -// This file is part of Polkadot. - -// Polkadot 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. - -// Polkadot 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 Polkadot. If not, see . -//! Autogenerated weights for `pallet_gilt` -//! -//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 - -// Executed Command: -// ./target/production/polkadot -// benchmark -// pallet -// --chain=rococo-dev -// --steps=50 -// --repeat=20 -// --pallet=pallet_gilt -// --extrinsic=* -// --execution=wasm -// --wasm-execution=compiled -// --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_gilt.rs - -#![cfg_attr(rustfmt, rustfmt_skip)] -#![allow(unused_parens)] -#![allow(unused_imports)] - -use frame_support::{traits::Get, weights::Weight}; -use sp_std::marker::PhantomData; - -/// Weight functions for `pallet_gilt`. -pub struct WeightInfo(PhantomData); -impl pallet_gilt::WeightInfo for WeightInfo { - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - /// The range of component `l` is `[0, 999]`. - fn place_bid(l: u32, ) -> Weight { - Weight::from_ref_time(36_767_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - fn place_bid_max() -> Weight { - Weight::from_ref_time(119_333_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - /// The range of component `l` is `[1, 1000]`. - fn retract_bid(l: u32, ) -> Weight { - Weight::from_ref_time(37_108_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt ActiveTotal (r:1 w:1) - fn set_target() -> Weight { - Weight::from_ref_time(5_188_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) - } - // Storage: Gilt Active (r:1 w:1) - // Storage: Gilt ActiveTotal (r:1 w:1) - fn thaw() -> Weight { - Weight::from_ref_time(43_654_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - } - // Storage: Gilt ActiveTotal (r:1 w:0) - fn pursue_target_noop() -> Weight { - Weight::from_ref_time(1_584_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - } - // Storage: Gilt ActiveTotal (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt Active (r:0 w:1) - /// The range of component `b` is `[1, 1000]`. - fn pursue_target_per_item(b: u32, ) -> Weight { - Weight::from_ref_time(21_464_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(4_387_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(b as u64))) - } - // Storage: Gilt ActiveTotal (r:1 w:1) - // Storage: Gilt QueueTotals (r:1 w:1) - // Storage: Gilt Queues (r:1 w:1) - // Storage: Gilt Active (r:0 w:1) - /// The range of component `q` is `[1, 300]`. - fn pursue_target_per_queue(q: u32, ) -> Weight { - Weight::from_ref_time(12_881_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(8_285_000 as u64).saturating_mul(q as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(q as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((2 as u64).saturating_mul(q as u64))) - } -} diff --git a/runtime/rococo/src/weights/pallet_nis.rs b/runtime/rococo/src/weights/pallet_nis.rs new file mode 100644 index 000000000000..f7126cc77d95 --- /dev/null +++ b/runtime/rococo/src/weights/pallet_nis.rs @@ -0,0 +1,122 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . +//! Autogenerated weights for `pallet_nis` +//! +//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev +//! DATE: 2022-12-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 + +// Executed Command: +// /home/benchbot/cargo_target_dir/production/polkadot +// benchmark +// pallet +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --execution=wasm +// --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=pallet_nis +// --chain=rococo-dev +// --header=./file_header.txt +// --output=./runtime/rococo/src/weights/ + +#![cfg_attr(rustfmt, rustfmt_skip)] +#![allow(unused_parens)] +#![allow(unused_imports)] + +use frame_support::{traits::Get, weights::Weight}; +use sp_std::marker::PhantomData; + +/// Weight functions for `pallet_nis`. +pub struct WeightInfo(PhantomData); +impl pallet_nis::WeightInfo for WeightInfo { + // Storage: Nis Queues (r:1 w:1) + // Storage: Nis QueueTotals (r:1 w:1) + /// The range of component `l` is `[0, 999]`. + fn place_bid(l: u32, ) -> Weight { + // Minimum execution time: 32_457 nanoseconds. + Weight::from_ref_time(33_597_943) + // Standard Error: 673 + .saturating_add(Weight::from_ref_time(70_280).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Queues (r:1 w:1) + // Storage: Nis QueueTotals (r:1 w:1) + fn place_bid_max() -> Weight { + // Minimum execution time: 100_314 nanoseconds. + Weight::from_ref_time(102_734_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Queues (r:1 w:1) + // Storage: Nis QueueTotals (r:1 w:1) + /// The range of component `l` is `[1, 1000]`. + fn retract_bid(l: u32, ) -> Weight { + // Minimum execution time: 37_304 nanoseconds. + Weight::from_ref_time(34_619_946) + // Standard Error: 610 + .saturating_add(Weight::from_ref_time(56_607).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Summary (r:1 w:0) + // Storage: System Account (r:1 w:1) + fn fund_deficit() -> Weight { + // Minimum execution time: 40_499 nanoseconds. + Weight::from_ref_time(41_972_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Nis Receipts (r:1 w:1) + // Storage: Nis Summary (r:1 w:1) + // Storage: NisCounterpartBalances Account (r:1 w:1) + // Storage: NisCounterpartBalances TotalIssuance (r:1 w:1) + // Storage: System Account (r:1 w:1) + fn thaw() -> Weight { + // Minimum execution time: 59_864 nanoseconds. + Weight::from_ref_time(60_602_000) + .saturating_add(T::DbWeight::get().reads(5)) + .saturating_add(T::DbWeight::get().writes(5)) + } + // Storage: Nis Summary (r:1 w:1) + // Storage: System Account (r:1 w:0) + // Storage: Nis QueueTotals (r:1 w:1) + fn process_queues() -> Weight { + // Minimum execution time: 32_098 nanoseconds. + Weight::from_ref_time(33_421_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(2)) + } + // Storage: Nis Queues (r:1 w:1) + fn process_queue() -> Weight { + // Minimum execution time: 4_011 nanoseconds. + Weight::from_ref_time(4_159_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: System Account (r:1 w:0) + // Storage: Nis Receipts (r:0 w:1) + fn process_bid() -> Weight { + // Minimum execution time: 12_778 nanoseconds. + Weight::from_ref_time(13_083_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } +} From 48de7a20d95a0ba87447e77ede531dc44cc7cd4a Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Mon, 5 Dec 2022 16:40:25 +0000 Subject: [PATCH 156/211] OpenGov improvements for Kusama (#6372) * Tweaks to optimise gov2 * Use new inactive funds * Introduce migrations * Fixes * Fixes * Fixes * Some constant updates for Fellowship * Further tweaks * Lower floor for whitelisted --- runtime/common/src/crowdloan/migration.rs | 45 +++++++++++- runtime/common/src/crowdloan/mod.rs | 5 ++ runtime/kusama/constants/src/lib.rs | 4 +- runtime/kusama/src/governance/fellowship.rs | 18 ++--- runtime/kusama/src/governance/mod.rs | 3 +- runtime/kusama/src/governance/origins.rs | 1 + runtime/kusama/src/governance/tracks.rs | 78 ++++++++++----------- runtime/kusama/src/lib.rs | 10 ++- runtime/polkadot/src/lib.rs | 7 +- runtime/rococo/src/lib.rs | 8 ++- runtime/test-runtime/src/lib.rs | 1 + runtime/westend/src/lib.rs | 7 +- xcm/xcm-builder/src/currency_adapter.rs | 4 ++ 13 files changed, 134 insertions(+), 57 deletions(-) diff --git a/runtime/common/src/crowdloan/migration.rs b/runtime/common/src/crowdloan/migration.rs index 1ba1f20e8060..2d80ff878c4a 100644 --- a/runtime/common/src/crowdloan/migration.rs +++ b/runtime/common/src/crowdloan/migration.rs @@ -15,7 +15,50 @@ // along with Polkadot. If not, see . use super::*; -use frame_support::{storage_alias, Twox64Concat}; +use frame_support::{ + dispatch::GetStorageVersion, storage_alias, traits::OnRuntimeUpgrade, Twox64Concat, +}; + +pub struct MigrateToTrackInactive(sp_std::marker::PhantomData); +impl OnRuntimeUpgrade for MigrateToTrackInactive { + fn on_runtime_upgrade() -> Weight { + let current_version = Pallet::::current_storage_version(); + let onchain_version = Pallet::::on_chain_storage_version(); + + if onchain_version == 0 && current_version == 1 { + let mut translated = 0u64; + for index in Funds::::iter_keys() { + let b = CurrencyOf::::total_balance(&Pallet::::fund_account_id(index.into())); + CurrencyOf::::deactivate(b); + translated.saturating_inc(); + } + current_version.put::>(); + log::info!(target: "runtime::crowdloan", "Summed {} funds, storage to version {:?}", translated, current_version); + T::DbWeight::get().reads_writes(translated * 2 + 1, translated * 2 + 1) + } else { + log::info!(target: "runtime::crowdloan", "Migration did not execute. This probably should be removed"); + T::DbWeight::get().reads(1) + } + } + + #[cfg(feature = "try-runtime")] + fn pre_upgrade() -> Result, &'static str> { + let total = Funds::::iter_keys() + .map(|index| { + CurrencyOf::::total_balance(&Pallet::::fund_account_id(index.into())) + }) + .fold(BalanceOf::::zero(), |a, i| a.saturating_add(i)); + Ok((total, CurrencyOf::::active_issuance()).encode()) + } + + #[cfg(feature = "try-runtime")] + fn post_upgrade(total: Vec) -> Result<(), &'static str> { + let (total, active) = <(BalanceOf, BalanceOf)>::decode(&mut total.as_slice()) + .expect("the state parameter should be something that was generated by pre_upgrade"); + assert_eq!(active - total, CurrencyOf::::active_issuance(), "the total be correct"); + Ok(()) + } +} /// Migrations for using fund index to create fund accounts instead of para ID. pub mod crowdloan_index_migration { diff --git a/runtime/common/src/crowdloan/mod.rs b/runtime/common/src/crowdloan/mod.rs index 1f84af3f2ee9..cedcb464775c 100644 --- a/runtime/common/src/crowdloan/mod.rs +++ b/runtime/common/src/crowdloan/mod.rs @@ -51,6 +51,8 @@ pub mod migration; +// TODO: Expose the total amount held. + use crate::{ slot_range::SlotRange, traits::{Auctioneer, Registrar}, @@ -488,6 +490,7 @@ pub mod pallet { ensure!(balance > Zero::zero(), Error::::NoContributions); CurrencyOf::::transfer(&fund_account, &who, balance, AllowDeath)?; + CurrencyOf::::reactivate(balance); Self::contribution_kill(fund.fund_index, &who); fund.raised = fund.raised.saturating_sub(balance); @@ -527,6 +530,7 @@ pub mod pallet { break } CurrencyOf::::transfer(&fund_account, &who, balance, AllowDeath)?; + CurrencyOf::::reactivate(balance); Self::contribution_kill(fund.fund_index, &who); fund.raised = fund.raised.saturating_sub(balance); refund_count += 1; @@ -777,6 +781,7 @@ impl Pallet { } CurrencyOf::::transfer(&who, &fund_account, value, existence)?; + CurrencyOf::::deactivate(value); let balance = old_balance.saturating_add(value); Self::contribution_put(fund.fund_index, &who, &balance, &memo); diff --git a/runtime/kusama/constants/src/lib.rs b/runtime/kusama/constants/src/lib.rs index a8d047241b24..923f71b94dd8 100644 --- a/runtime/kusama/constants/src/lib.rs +++ b/runtime/kusama/constants/src/lib.rs @@ -26,8 +26,8 @@ pub mod currency { pub const EXISTENTIAL_DEPOSIT: Balance = 1 * CENTS; pub const UNITS: Balance = 1_000_000_000_000; - pub const CENTS: Balance = UNITS / 30_000; - pub const QUID: Balance = CENTS * 100; + pub const QUID: Balance = UNITS / 30; + pub const CENTS: Balance = QUID / 100; pub const GRAND: Balance = QUID * 1_000; pub const MILLICENTS: Balance = CENTS / 1_000; diff --git a/runtime/kusama/src/governance/fellowship.rs b/runtime/kusama/src/governance/fellowship.rs index 52ab8d0bebc8..6d01780ebc0c 100644 --- a/runtime/kusama/src/governance/fellowship.rs +++ b/runtime/kusama/src/governance/fellowship.rs @@ -50,7 +50,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -72,7 +72,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -94,7 +94,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -138,7 +138,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -160,7 +160,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -182,7 +182,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -204,7 +204,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -226,7 +226,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), @@ -248,7 +248,7 @@ impl pallet_referenda::TracksInfo for TracksInfo { prepare_period: 30 * MINUTES, decision_period: 7 * DAYS, confirm_period: 30 * MINUTES, - min_enactment_period: 4, + min_enactment_period: 1 * MINUTES, min_approval: pallet_referenda::Curve::LinearDecreasing { length: Perbill::from_percent(100), floor: Perbill::from_percent(50), diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index 03a1aa03c3a1..6b45dbade57d 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -47,7 +47,8 @@ impl pallet_conviction_voting::Config for Runtime { type Currency = Balances; type VoteLockingPeriod = VoteLockingPeriod; type MaxVotes = ConstU32<512>; - type MaxTurnout = frame_support::traits::TotalIssuanceOf; + type MaxTurnout = + frame_support::traits::tokens::currency::ActiveIssuanceOf; type Polls = Referenda; } diff --git a/runtime/kusama/src/governance/origins.rs b/runtime/kusama/src/governance/origins.rs index 780f9472e95a..b02ff53f3bab 100644 --- a/runtime/kusama/src/governance/origins.rs +++ b/runtime/kusama/src/governance/origins.rs @@ -174,6 +174,7 @@ pub mod pallet_custom_origins { SmallSpender = 10 * GRAND, MediumSpender = 100 * GRAND, BigSpender = 1_000 * GRAND, + Treasurer = 10_000 * GRAND, } } diff --git a/runtime/kusama/src/governance/tracks.rs b/runtime/kusama/src/governance/tracks.rs index fd1c94118507..b802d21c04f5 100644 --- a/runtime/kusama/src/governance/tracks.rs +++ b/runtime/kusama/src/governance/tracks.rs @@ -63,7 +63,7 @@ const SUP_BIG_SPENDER: Curve = Curve::make_reciprocal(20, 28, percent(1), percen const APP_WHITELISTED_CALLER: Curve = Curve::make_reciprocal(16, 28 * 24, percent(96), percent(50), percent(100)); const SUP_WHITELISTED_CALLER: Curve = - Curve::make_reciprocal(1, 28, percent(20), percent(10), percent(50)); + Curve::make_reciprocal(1, 28, percent(20), percent(5), percent(50)); const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15] = [ ( @@ -71,9 +71,9 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 pallet_referenda::TrackInfo { name: "root", max_deciding: 1, - decision_deposit: 1_000 * GRAND, - prepare_period: 3 * HOURS, - decision_period: 28 * DAYS, + decision_deposit: 100 * GRAND, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 3 * HOURS, min_approval: APP_ROOT, @@ -84,10 +84,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 1, pallet_referenda::TrackInfo { name: "whitelisted_caller", - max_deciding: 10, - decision_deposit: 10_000 * GRAND, - prepare_period: 3 * HOURS, - decision_period: 28 * DAYS, + max_deciding: 30, + decision_deposit: 100 * GRAND, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 10 * MINUTES, min_enactment_period: 30 * MINUTES, min_approval: APP_WHITELISTED_CALLER, @@ -100,8 +100,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "staking_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 2 * DAYS, min_approval: APP_STAKING_ADMIN, @@ -114,8 +114,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "treasurer", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 2 * DAYS, min_approval: APP_TREASURER, @@ -128,8 +128,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "lease_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 2 * DAYS, min_approval: APP_LEASE_ADMIN, @@ -142,8 +142,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "fellowship_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 2 * DAYS, min_approval: APP_FELLOWSHIP_ADMIN, @@ -156,8 +156,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "general_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 2 * DAYS, min_approval: APP_GENERAL_ADMIN, @@ -170,8 +170,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "auction_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 2 * DAYS, min_approval: APP_AUCTION_ADMIN, @@ -184,8 +184,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "referendum_canceller", max_deciding: 1_000, decision_deposit: 50 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 7 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 10 * MINUTES, min_approval: APP_REFERENDUM_CANCELLER, @@ -198,8 +198,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "referendum_killer", max_deciding: 1_000, decision_deposit: 50 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 10 * MINUTES, min_approval: APP_REFERENDUM_KILLER, @@ -212,10 +212,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "small_tipper", max_deciding: 200, decision_deposit: 5 * QUID, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 7 * DAYS, confirm_period: 3 * HOURS, - min_enactment_period: 28 * DAYS, + min_enactment_period: 24 * HOURS, min_approval: APP_SMALL_TIPPER, min_support: SUP_SMALL_TIPPER, }, @@ -226,10 +226,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "big_tipper", max_deciding: 100, decision_deposit: 50 * QUID, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 7 * DAYS, confirm_period: 6 * HOURS, - min_enactment_period: 28 * DAYS, + min_enactment_period: 24 * HOURS, min_approval: APP_BIG_TIPPER, min_support: SUP_BIG_TIPPER, }, @@ -240,10 +240,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "small_spender", max_deciding: 50, decision_deposit: 500 * QUID, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 12 * HOURS, - min_enactment_period: 28 * DAYS, + min_enactment_period: 24 * HOURS, min_approval: APP_SMALL_SPENDER, min_support: SUP_SMALL_SPENDER, }, @@ -254,10 +254,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "medium_spender", max_deciding: 20, decision_deposit: 1_500 * QUID, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 24 * HOURS, - min_enactment_period: 28 * DAYS, + min_enactment_period: 24 * HOURS, min_approval: APP_MEDIUM_SPENDER, min_support: SUP_MEDIUM_SPENDER, }, @@ -268,10 +268,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "big_spender", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4, - decision_period: 28 * DAYS, + prepare_period: 4 * HOURS, + decision_period: 14 * DAYS, confirm_period: 48 * HOURS, - min_enactment_period: 28 * DAYS, + min_enactment_period: 24 * HOURS, min_approval: APP_BIG_SPENDER, min_support: SUP_BIG_SPENDER, }, diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 20dbc6ac7ec9..50d8062183ec 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -109,6 +109,7 @@ use governance::{ old::CouncilCollective, pallet_custom_origins, AuctionAdmin, GeneralAdmin, LeaseAdmin, StakingAdmin, Treasurer, TreasurySpender, }; +use xcm_config::CheckAccount; #[cfg(test)] mod tests; @@ -1480,6 +1481,11 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } +pub type Migrations = ( + pallet_balances::migration::MigrateToTrackInactive, + crowdloan::migration::MigrateToTrackInactive, +); + /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; @@ -1490,7 +1496,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (), + Migrations, >; /// The payload being signed in the transactions. pub type SignedPayload = generic::SignedPayload; @@ -2071,7 +2077,7 @@ mod tests_fess { // ensure this number does not change, or that it is checked after each change. // a 1 MB solution should need around 0.16 KSM deposit let deposit = SignedDepositBase::get() + (SignedDepositByte::get() * 1024 * 1024); - assert_eq_error_rate!(deposit, UNITS * 16 / 100, UNITS / 100); + assert_eq_error_rate!(deposit, UNITS * 167 / 100, UNITS / 100); } } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index be1430a62f9e..17ff253d196f 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1598,6 +1598,11 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } +pub type Migrations = ( + pallet_balances::migration::MigrateToTrackInactive, + crowdloan::migration::MigrateToTrackInactive, +); + /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; @@ -1608,7 +1613,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (), + Migrations, >; /// The payload being signed in transactions. diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 763184e8bda6..bcf0a03c9456 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1476,6 +1476,12 @@ pub type SignedExtra = ( /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; + +pub type Migrations = ( + pallet_balances::migration::MigrateToTrackInactive, + crowdloan::migration::MigrateToTrackInactive, +); + /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, @@ -1483,7 +1489,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (), + Migrations, >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index e4abb2392727..a30d4d350715 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -744,6 +744,7 @@ pub type SignedExtra = ( /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; + /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive< Runtime, diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 2fee85a336a2..b6ae141f3b50 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1212,6 +1212,11 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } +pub type Migrations = ( + pallet_balances::migration::MigrateToTrackInactive, + crowdloan::migration::MigrateToTrackInactive, +); + /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; @@ -1222,7 +1227,7 @@ pub type Executive = frame_executive::Executive< frame_system::ChainContext, Runtime, AllPalletsWithSystem, - (), + Migrations, >; /// The payload being signed in transactions. pub type SignedPayload = generic::SignedPayload; diff --git a/xcm/xcm-builder/src/currency_adapter.rs b/xcm/xcm-builder/src/currency_adapter.rs index 5e259195c4a0..f231bf1094b4 100644 --- a/xcm/xcm-builder/src/currency_adapter.rs +++ b/xcm/xcm-builder/src/currency_adapter.rs @@ -125,6 +125,9 @@ impl< AllowDeath, ) .is_ok(); + if ok { + Currency::reactivate(amount); + } debug_assert!( ok, "`can_check_in` must have returned `true` immediately prior; qed" @@ -138,6 +141,7 @@ impl< if let Some(amount) = Matcher::matches_fungible(what) { if let Some(checked_account) = CheckedAccount::get() { Currency::deposit_creating(&checked_account, amount); + Currency::deactivate(amount); } } } From a9d530938a8b8d833669c81fdca58a5f2f31c9f3 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Mon, 5 Dec 2022 18:15:41 +0000 Subject: [PATCH 157/211] Tweak some NIS params (#6393) * Reduce base period, increase queue count * Reduce base period, increase queue count --- runtime/kusama/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 50d8062183ec..9ae4ddcf630a 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1268,7 +1268,7 @@ impl pallet_balances::Config for Runtime { parameter_types! { pub IgnoredIssuance: Balance = Treasury::pot(); - pub const NisBasePeriod: BlockNumber = 30 * DAYS; + pub const NisBasePeriod: BlockNumber = 7 * DAYS; pub const MinBid: Balance = 100 * QUID; pub MinReceipt: Perquintill = Perquintill::from_rational(1u64, 10_000_000u64); pub const IntakePeriod: BlockNumber = 5 * MINUTES; @@ -1290,7 +1290,7 @@ impl pallet_nis::Config for Runtime { type IgnoredIssuance = IgnoredIssuance; type Target = NisTarget; type PalletId = NisPalletId; - type QueueCount = ConstU32<300>; + type QueueCount = ConstU32<500>; type MaxQueueLen = ConstU32<1000>; type FifoQueueLen = ConstU32<250>; type BasePeriod = NisBasePeriod; From c81edbf5f7976e73b0f609d8342f9f411ea17a67 Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Mon, 5 Dec 2022 21:46:14 +0100 Subject: [PATCH 158/211] allow root with gov2 origins (#6390) --- runtime/kusama/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 9ae4ddcf630a..5fc626dc0a00 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -499,7 +499,7 @@ impl pallet_election_provider_multi_phase::Config for Runtime { (), >; type BenchmarkingConfig = runtime_common::elections::BenchmarkConfig; - type ForceOrigin = StakingAdmin; + type ForceOrigin = EitherOf, StakingAdmin>; type WeightInfo = weights::pallet_election_provider_multi_phase::WeightInfo; type MaxElectingVoters = MaxElectingVoters; type MaxElectableTargets = MaxElectableTargets; @@ -843,8 +843,8 @@ impl pallet_identity::Config for Runtime { type MaxAdditionalFields = MaxAdditionalFields; type MaxRegistrars = MaxRegistrars; type Slashed = Treasury; - type ForceOrigin = GeneralAdmin; - type RegistrarOrigin = GeneralAdmin; + type ForceOrigin = EitherOf, GeneralAdmin>; + type RegistrarOrigin = EitherOf, GeneralAdmin>; type WeightInfo = weights::pallet_identity::WeightInfo; } @@ -1204,7 +1204,7 @@ impl slots::Config for Runtime { type Registrar = Registrar; type LeasePeriod = LeasePeriod; type LeaseOffset = (); - type ForceOrigin = LeaseAdmin; + type ForceOrigin = EitherOf, LeaseAdmin>; type WeightInfo = weights::runtime_common_slots::WeightInfo; } @@ -1244,7 +1244,7 @@ impl auctions::Config for Runtime { type EndingPeriod = EndingPeriod; type SampleLength = SampleLength; type Randomness = pallet_babe::RandomnessFromOneEpochAgo; - type InitiateOrigin = AuctionAdmin; + type InitiateOrigin = EitherOf, AuctionAdmin>; type WeightInfo = weights::runtime_common_auctions::WeightInfo; } From 7e0fcfa95f33f13302f20026bf02980e513c6c16 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Mon, 5 Dec 2022 21:24:11 +0000 Subject: [PATCH 159/211] Bump Substrate (#6394) --- Cargo.lock | 362 ++++++++++++++++++++++++++--------------------------- 1 file changed, 181 insertions(+), 181 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c0fc30d1bad6..188e35631a20 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "beefy-gadget", "beefy-primitives", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "beefy-primitives", "sp-api", @@ -477,7 +477,7 @@ dependencies = [ [[package]] name = "beefy-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -2007,7 +2007,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", ] @@ -2031,7 +2031,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -2054,7 +2054,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "Inflector", "array-bytes", @@ -2106,7 +2106,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2133,7 +2133,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "chrono", "frame-election-provider-support", @@ -4086,7 +4086,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "beefy-primitives", "futures", @@ -4106,7 +4106,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "anyhow", "jsonrpsee", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-election-provider-support", "frame-support", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "beefy-primitives", "frame-support", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4994,7 +4994,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5077,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -5094,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5114,7 +5114,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "sp-api", @@ -5124,7 +5124,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -5141,7 +5141,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5164,7 +5164,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5181,7 +5181,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5196,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5247,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5348,7 +5348,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "log", "sp-arithmetic", @@ -5357,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5374,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -5388,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5425,7 +5425,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-support", "frame-system", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5469,7 +5469,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5486,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5517,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-benchmarking", "frame-support", @@ -7996,7 +7996,7 @@ dependencies = [ [[package]] name = "remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "env_logger 0.9.0", "log", @@ -8336,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "log", "sp-core", @@ -8347,7 +8347,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures", @@ -8374,7 +8374,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "futures-timer", @@ -8397,7 +8397,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8413,7 +8413,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8430,7 +8430,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8441,7 +8441,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "chrono", @@ -8481,7 +8481,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "fnv", "futures", @@ -8509,7 +8509,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "hash-db", "kvdb", @@ -8534,7 +8534,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures", @@ -8558,7 +8558,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "fork-tree", @@ -8599,7 +8599,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "jsonrpsee", @@ -8621,7 +8621,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8634,7 +8634,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures", @@ -8658,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "lazy_static", "lru", @@ -8684,7 +8684,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "environmental", "parity-scale-codec", @@ -8700,7 +8700,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "log", "parity-scale-codec", @@ -8715,7 +8715,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "cfg-if", "libc", @@ -8735,7 +8735,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "ahash", "array-bytes", @@ -8776,7 +8776,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "finality-grandpa", "futures", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "ansi_term", "futures", @@ -8814,7 +8814,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "async-trait", @@ -8829,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "async-trait", @@ -8876,7 +8876,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "cid", "futures", @@ -8896,7 +8896,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "bitflags", @@ -8922,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "ahash", "futures", @@ -8940,7 +8940,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "futures", @@ -8961,7 +8961,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "async-trait", @@ -8992,7 +8992,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "futures", @@ -9011,7 +9011,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "bytes", @@ -9041,7 +9041,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "libp2p", @@ -9054,7 +9054,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9063,7 +9063,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "hash-db", @@ -9093,7 +9093,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "jsonrpsee", @@ -9116,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "jsonrpsee", @@ -9129,7 +9129,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "hex", @@ -9148,7 +9148,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "directories", @@ -9219,7 +9219,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "log", "parity-scale-codec", @@ -9233,7 +9233,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9252,7 +9252,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "libc", @@ -9271,7 +9271,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "chrono", "futures", @@ -9289,7 +9289,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "ansi_term", "atty", @@ -9320,7 +9320,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9331,7 +9331,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures", @@ -9358,7 +9358,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures", @@ -9372,7 +9372,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "hash-db", "log", @@ -9871,7 +9871,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9911,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "parity-scale-codec", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "base58", @@ -10080,7 +10080,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "blake2", "byteorder", @@ -10094,7 +10094,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro2", "quote", @@ -10105,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro2", "quote", @@ -10124,7 +10124,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "environmental", "parity-scale-codec", @@ -10135,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "finality-grandpa", "log", @@ -10153,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10167,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "bytes", "ed25519-dalek", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10249,7 +10249,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10263,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "sp-api", "sp-core", @@ -10273,7 +10273,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "backtrace", "lazy_static", @@ -10283,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "rustc-hash", "serde", @@ -10293,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "either", "hash256-std-hasher", @@ -10316,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10334,7 +10334,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "Inflector", "proc-macro-crate", @@ -10346,7 +10346,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "log", "parity-scale-codec", @@ -10360,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10374,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10385,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "hash-db", "log", @@ -10407,12 +10407,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10425,7 +10425,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "futures-timer", @@ -10441,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "sp-std", @@ -10453,7 +10453,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "sp-api", "sp-runtime", @@ -10462,7 +10462,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "log", @@ -10478,7 +10478,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "ahash", "hash-db", @@ -10501,7 +10501,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10518,7 +10518,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "impl-trait-for-tuples", "log", @@ -10542,7 +10542,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10757,7 +10757,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "platforms", ] @@ -10765,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10786,7 +10786,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures-util", "hyper", @@ -10799,7 +10799,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "async-trait", "jsonrpsee", @@ -10812,7 +10812,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "jsonrpsee", "log", @@ -10833,7 +10833,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "array-bytes", "async-trait", @@ -10859,7 +10859,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10869,7 +10869,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "ansi_term", "build-helper", @@ -11589,7 +11589,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#2704ab3d348f18f9db03e87a725e4807b91660d8" +source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" dependencies = [ "clap", "frame-try-runtime", From 75979e411c47db66d4d0e5c3e046276f2854018b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Tue, 6 Dec 2022 11:43:05 +0100 Subject: [PATCH 160/211] crowdloan: Fix migration. (#6397) The migration would not have been run because of the `current_version == 1` check. --- runtime/common/src/crowdloan/migration.rs | 13 ++++++++----- runtime/common/src/crowdloan/mod.rs | 4 ++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/runtime/common/src/crowdloan/migration.rs b/runtime/common/src/crowdloan/migration.rs index 2d80ff878c4a..468c2a572b51 100644 --- a/runtime/common/src/crowdloan/migration.rs +++ b/runtime/common/src/crowdloan/migration.rs @@ -16,24 +16,27 @@ use super::*; use frame_support::{ - dispatch::GetStorageVersion, storage_alias, traits::OnRuntimeUpgrade, Twox64Concat, + dispatch::GetStorageVersion, + storage_alias, + traits::{OnRuntimeUpgrade, StorageVersion}, + Twox64Concat, }; pub struct MigrateToTrackInactive(sp_std::marker::PhantomData); impl OnRuntimeUpgrade for MigrateToTrackInactive { fn on_runtime_upgrade() -> Weight { - let current_version = Pallet::::current_storage_version(); let onchain_version = Pallet::::on_chain_storage_version(); - if onchain_version == 0 && current_version == 1 { + if onchain_version == 0 { let mut translated = 0u64; for index in Funds::::iter_keys() { let b = CurrencyOf::::total_balance(&Pallet::::fund_account_id(index.into())); CurrencyOf::::deactivate(b); translated.saturating_inc(); } - current_version.put::>(); - log::info!(target: "runtime::crowdloan", "Summed {} funds, storage to version {:?}", translated, current_version); + + StorageVersion::new(1).put::>(); + log::info!(target: "runtime::crowdloan", "Summed {} funds, storage to version 1", translated); T::DbWeight::get().reads_writes(translated * 2 + 1, translated * 2 + 1) } else { log::info!(target: "runtime::crowdloan", "Migration did not execute. This probably should be removed"); diff --git a/runtime/common/src/crowdloan/mod.rs b/runtime/common/src/crowdloan/mod.rs index cedcb464775c..224f06c0d6e4 100644 --- a/runtime/common/src/crowdloan/mod.rs +++ b/runtime/common/src/crowdloan/mod.rs @@ -184,9 +184,13 @@ pub mod pallet { use frame_support::pallet_prelude::*; use frame_system::{ensure_root, ensure_signed, pallet_prelude::*}; + /// The current storage version. + const STORAGE_VERSION: StorageVersion = StorageVersion::new(1); + #[pallet::pallet] #[pallet::generate_store(pub(super) trait Store)] #[pallet::without_storage_info] + #[pallet::storage_version(STORAGE_VERSION)] pub struct Pallet(_); #[pallet::config] From 09f2d1a1c60d0d41ff88e008480e8495b8488a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Silva=20de=20Souza?= <77391175+joao-paulo-parity@users.noreply.github.com> Date: Tue, 6 Dec 2022 09:30:49 -0300 Subject: [PATCH 161/211] Companion of Substrate PR 12837 (#6385) * rename some crates for publishing to crates.io * s/remote-ext/frame-remote-externalities * cargo update --- .github/dependabot.yml | 2 +- Cargo.lock | 466 ++++++++++++++++---------------- node/client/Cargo.toml | 2 +- node/service/Cargo.toml | 2 +- runtime/common/Cargo.toml | 2 +- runtime/kusama/Cargo.toml | 4 +- runtime/polkadot/Cargo.toml | 4 +- runtime/rococo/Cargo.toml | 2 +- runtime/test-runtime/Cargo.toml | 2 +- runtime/westend/Cargo.toml | 4 +- utils/staking-miner/Cargo.toml | 2 +- 11 files changed, 246 insertions(+), 246 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b49246776c54..3fb899fd4366 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,7 +10,7 @@ updates: - dependency-name: "sp-*" - dependency-name: "frame-*" - dependency-name: "fork-tree" - - dependency-name: "remote-externalities" + - dependency-name: "frame-remote-externalities" - dependency-name: "pallet-*" - dependency-name: "beefy-*" - dependency-name: "try-runtime-*" diff --git a/Cargo.lock b/Cargo.lock index 188e35631a20..f7a254ec181b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,11 +410,10 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "async-trait", - "beefy-primitives", "fnv", "futures", "futures-timer", @@ -433,6 +432,7 @@ dependencies = [ "sp-api", "sp-application-crypto", "sp-arithmetic", + "sp-beefy", "sp-blockchain", "sp-consensus", "sp-core", @@ -447,10 +447,9 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "beefy-gadget", - "beefy-primitives", "futures", "jsonrpsee", "log", @@ -459,6 +458,7 @@ dependencies = [ "sc-rpc", "sc-utils", "serde", + "sp-beefy", "sp-core", "sp-runtime", "thiserror", @@ -467,30 +467,13 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ - "beefy-primitives", "sp-api", + "sp-beefy", "sp-runtime", ] -[[package]] -name = "beefy-primitives" -version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" -dependencies = [ - "parity-scale-codec", - "scale-info", - "serde", - "sp-api", - "sp-application-crypto", - "sp-core", - "sp-io", - "sp-mmr-primitives", - "sp-runtime", - "sp-std", -] - [[package]] name = "bincode" version = "1.3.3" @@ -2007,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", ] @@ -2031,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -2054,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "Inflector", "array-bytes", @@ -2106,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2117,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2133,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -2159,10 +2142,27 @@ dependencies = [ "serde", ] +[[package]] +name = "frame-remote-externalities" +version = "0.10.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +dependencies = [ + "env_logger 0.9.0", + "log", + "parity-scale-codec", + "serde", + "serde_json", + "sp-core", + "sp-io", + "sp-runtime", + "sp-version", + "substrate-rpc-client", +] + [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "chrono", "frame-election-provider-support", @@ -3205,11 +3205,11 @@ checksum = "67c21572b4949434e4fc1e1978b99c5f77064153c59d998bf13ecd96fb5ecba7" name = "kusama-runtime" version = "0.9.33" dependencies = [ - "beefy-primitives", "bitvec", "frame-benchmarking", "frame-election-provider-support", "frame-executive", + "frame-remote-externalities", "frame-support", "frame-system", "frame-system-benchmarking", @@ -3268,7 +3268,6 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", - "remote-externalities", "rustc-hex", "scale-info", "separator", @@ -3279,6 +3278,7 @@ dependencies = [ "sp-api", "sp-arithmetic", "sp-authority-discovery", + "sp-beefy", "sp-block-builder", "sp-consensus-babe", "sp-core", @@ -4086,15 +4086,15 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ - "beefy-primitives", "futures", "log", "parity-scale-codec", "sc-client-api", "sc-offchain", "sp-api", + "sp-beefy", "sp-blockchain", "sp-consensus", "sp-core", @@ -4106,7 +4106,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "anyhow", "jsonrpsee", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,15 +4700,15 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-election-provider-support", + "frame-remote-externalities", "frame-support", "frame-system", "log", "pallet-bags-list", "pallet-staking", - "remote-externalities", "sp-core", "sp-runtime", "sp-std", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,15 +4734,15 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ - "beefy-primitives", "frame-support", "frame-system", "pallet-session", "parity-scale-codec", "scale-info", "serde", + "sp-beefy", "sp-runtime", "sp-std", ] @@ -4750,11 +4750,10 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "beefy-merkle-tree", - "beefy-primitives", "frame-support", "frame-system", "log", @@ -4764,6 +4763,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "serde", + "sp-beefy", "sp-core", "sp-io", "sp-runtime", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4994,7 +4994,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5077,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -5094,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5114,7 +5114,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -5124,7 +5124,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -5141,7 +5141,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5164,7 +5164,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5181,7 +5181,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5196,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5247,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5348,7 +5348,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "log", "sp-arithmetic", @@ -5357,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5374,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -5388,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5425,7 +5425,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-support", "frame-system", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5469,7 +5469,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5486,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5517,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -6019,7 +6019,6 @@ name = "polkadot-client" version = "0.9.33" dependencies = [ "async-trait", - "beefy-primitives", "frame-benchmarking", "frame-benchmarking-cli", "frame-system", @@ -6040,6 +6039,7 @@ dependencies = [ "sc-service", "sp-api", "sp-authority-discovery", + "sp-beefy", "sp-block-builder", "sp-blockchain", "sp-consensus", @@ -6844,11 +6844,11 @@ dependencies = [ name = "polkadot-runtime" version = "0.9.33" dependencies = [ - "beefy-primitives", "bitvec", "frame-benchmarking", "frame-election-provider-support", "frame-executive", + "frame-remote-externalities", "frame-support", "frame-system", "frame-system-benchmarking", @@ -6900,7 +6900,6 @@ dependencies = [ "polkadot-runtime-common", "polkadot-runtime-constants", "polkadot-runtime-parachains", - "remote-externalities", "rustc-hex", "scale-info", "separator", @@ -6910,6 +6909,7 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", + "sp-beefy", "sp-block-builder", "sp-consensus-babe", "sp-core", @@ -6940,7 +6940,6 @@ dependencies = [ name = "polkadot-runtime-common" version = "0.9.33" dependencies = [ - "beefy-primitives", "bitvec", "frame-benchmarking", "frame-election-provider-support", @@ -6975,6 +6974,7 @@ dependencies = [ "serde_json", "slot-range-helper", "sp-api", + "sp-beefy", "sp-core", "sp-inherents", "sp-io", @@ -7069,7 +7069,6 @@ dependencies = [ "assert_matches", "async-trait", "beefy-gadget", - "beefy-primitives", "env_logger 0.9.0", "frame-support", "frame-system-rpc-runtime-api", @@ -7150,6 +7149,7 @@ dependencies = [ "serde_json", "sp-api", "sp-authority-discovery", + "sp-beefy", "sp-block-builder", "sp-blockchain", "sp-consensus", @@ -7275,7 +7275,6 @@ dependencies = [ name = "polkadot-test-runtime" version = "0.9.33" dependencies = [ - "beefy-primitives", "bitvec", "frame-election-provider-support", "frame-executive", @@ -7313,6 +7312,7 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", + "sp-beefy", "sp-block-builder", "sp-consensus-babe", "sp-core", @@ -7993,23 +7993,6 @@ dependencies = [ "westend-runtime-constants", ] -[[package]] -name = "remote-externalities" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" -dependencies = [ - "env_logger 0.9.0", - "log", - "parity-scale-codec", - "serde", - "serde_json", - "sp-core", - "sp-io", - "sp-runtime", - "sp-version", - "substrate-rpc-client", -] - [[package]] name = "remove_dir_all" version = "0.5.3" @@ -8107,7 +8090,6 @@ name = "rococo-runtime" version = "0.9.33" dependencies = [ "beefy-merkle-tree", - "beefy-primitives", "frame-benchmarking", "frame-executive", "frame-support", @@ -8168,6 +8150,7 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", + "sp-beefy", "sp-block-builder", "sp-consensus-babe", "sp-core", @@ -8336,7 +8319,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "log", "sp-core", @@ -8347,7 +8330,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures", @@ -8374,7 +8357,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "futures-timer", @@ -8397,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8413,7 +8396,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8430,7 +8413,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8441,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "chrono", @@ -8481,7 +8464,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "fnv", "futures", @@ -8509,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "hash-db", "kvdb", @@ -8534,7 +8517,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures", @@ -8558,7 +8541,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "fork-tree", @@ -8599,7 +8582,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "jsonrpsee", @@ -8621,7 +8604,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8634,7 +8617,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures", @@ -8658,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "lazy_static", "lru", @@ -8684,7 +8667,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "environmental", "parity-scale-codec", @@ -8700,7 +8683,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "log", "parity-scale-codec", @@ -8715,7 +8698,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "cfg-if", "libc", @@ -8735,7 +8718,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "ahash", "array-bytes", @@ -8776,7 +8759,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "finality-grandpa", "futures", @@ -8797,7 +8780,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "ansi_term", "futures", @@ -8814,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "async-trait", @@ -8829,7 +8812,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "async-trait", @@ -8876,7 +8859,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "cid", "futures", @@ -8896,7 +8879,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "bitflags", @@ -8922,7 +8905,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "ahash", "futures", @@ -8940,7 +8923,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "futures", @@ -8961,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "async-trait", @@ -8992,7 +8975,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "futures", @@ -9011,7 +8994,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "bytes", @@ -9041,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "libp2p", @@ -9054,7 +9037,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9063,7 +9046,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "hash-db", @@ -9093,7 +9076,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "jsonrpsee", @@ -9116,7 +9099,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "jsonrpsee", @@ -9129,7 +9112,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "hex", @@ -9148,7 +9131,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "directories", @@ -9219,7 +9202,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "log", "parity-scale-codec", @@ -9233,7 +9216,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9252,7 +9235,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "libc", @@ -9271,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "chrono", "futures", @@ -9289,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "ansi_term", "atty", @@ -9320,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9331,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures", @@ -9358,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures", @@ -9372,7 +9355,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "futures-timer", @@ -9853,7 +9836,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "hash-db", "log", @@ -9871,7 +9854,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "blake2", "proc-macro-crate", @@ -9883,7 +9866,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9896,7 +9879,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "integer-sqrt", "num-traits", @@ -9911,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9924,7 +9907,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "parity-scale-codec", @@ -9933,10 +9916,27 @@ dependencies = [ "sp-std", ] +[[package]] +name = "sp-beefy" +version = "4.0.0-dev" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +dependencies = [ + "parity-scale-codec", + "scale-info", + "serde", + "sp-api", + "sp-application-crypto", + "sp-core", + "sp-io", + "sp-mmr-primitives", + "sp-runtime", + "sp-std", +] + [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "base58", @@ -10080,7 +10080,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "blake2", "byteorder", @@ -10094,7 +10094,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro2", "quote", @@ -10105,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro2", "quote", @@ -10124,7 +10124,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "environmental", "parity-scale-codec", @@ -10135,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "finality-grandpa", "log", @@ -10153,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10167,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "bytes", "ed25519-dalek", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10249,7 +10249,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10263,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "sp-api", "sp-core", @@ -10273,7 +10273,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "backtrace", "lazy_static", @@ -10283,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "rustc-hash", "serde", @@ -10293,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "either", "hash256-std-hasher", @@ -10316,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10334,7 +10334,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "Inflector", "proc-macro-crate", @@ -10346,7 +10346,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "log", "parity-scale-codec", @@ -10360,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10374,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10385,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "hash-db", "log", @@ -10407,12 +10407,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10425,7 +10425,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "futures-timer", @@ -10441,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "sp-std", @@ -10453,7 +10453,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "sp-api", "sp-runtime", @@ -10462,7 +10462,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "log", @@ -10478,7 +10478,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "ahash", "hash-db", @@ -10501,7 +10501,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10518,7 +10518,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "impl-trait-for-tuples", "log", @@ -10542,7 +10542,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10600,6 +10600,7 @@ dependencies = [ "clap", "exitcode", "frame-election-provider-support", + "frame-remote-externalities", "frame-support", "frame-system", "futures-util", @@ -10615,7 +10616,6 @@ dependencies = [ "polkadot-core-primitives", "polkadot-runtime", "polkadot-runtime-common", - "remote-externalities", "sc-transaction-pool-api", "serde", "serde_json", @@ -10757,7 +10757,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "platforms", ] @@ -10765,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10786,7 +10786,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures-util", "hyper", @@ -10799,7 +10799,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "async-trait", "jsonrpsee", @@ -10812,7 +10812,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "jsonrpsee", "log", @@ -10833,7 +10833,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "array-bytes", "async-trait", @@ -10859,7 +10859,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10869,7 +10869,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "ansi_term", "build-helper", @@ -11589,13 +11589,13 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#404b8c947cebdec396117c45e11766ee33542f2c" +source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" dependencies = [ "clap", + "frame-remote-externalities", "frame-try-runtime", "log", "parity-scale-codec", - "remote-externalities", "sc-chain-spec", "sc-cli", "sc-executor", @@ -12263,11 +12263,11 @@ dependencies = [ name = "westend-runtime" version = "0.9.33" dependencies = [ - "beefy-primitives", "bitvec", "frame-benchmarking", "frame-election-provider-support", "frame-executive", + "frame-remote-externalities", "frame-support", "frame-system", "frame-system-benchmarking", @@ -12320,7 +12320,6 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "polkadot-runtime-parachains", - "remote-externalities", "rustc-hex", "scale-info", "serde", @@ -12329,6 +12328,7 @@ dependencies = [ "smallvec", "sp-api", "sp-authority-discovery", + "sp-beefy", "sp-block-builder", "sp-consensus-babe", "sp-core", diff --git a/node/client/Cargo.toml b/node/client/Cargo.toml index 840fc304d9ea..b07447ef3396 100644 --- a/node/client/Cargo.toml +++ b/node/client/Cargo.toml @@ -37,7 +37,7 @@ sc-executor = { git = "https://github.com/paritytech/substrate", branch = "maste sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-beefy" } # Polkadot Runtimes polkadot-runtime = { path = "../../runtime/polkadot", optional = true } diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index 47ca1011c7af..cf6c1c2b85e4 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -9,7 +9,7 @@ edition.workspace = true # Substrate Client sc-authority-discovery = { git = "https://github.com/paritytech/substrate", branch = "master" } babe = { package = "sc-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master" } -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master" } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", package = "sp-beefy" } beefy-gadget = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-support = { git = "https://github.com/paritytech/substrate", branch = "master" } grandpa = { package = "sc-finality-grandpa", git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/runtime/common/Cargo.toml b/runtime/common/Cargo.toml index e6dc629bdbea..8348a0011837 100644 --- a/runtime/common/Cargo.toml +++ b/runtime/common/Cargo.toml @@ -15,7 +15,7 @@ serde = { version = "1.0.137", default-features = false } serde_derive = { version = "1.0.117", optional = true } static_assertions = "1.1.0" -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, package = "sp-beefy" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-std = { package = "sp-std", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/runtime/kusama/Cargo.toml b/runtime/kusama/Cargo.toml index 868b5112bbdc..6f4a7be8f1f4 100644 --- a/runtime/kusama/Cargo.toml +++ b/runtime/kusama/Cargo.toml @@ -18,7 +18,7 @@ smallvec = "1.8.0" authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, package = "sp-beefy" } kusama-runtime-constants = { package = "kusama-runtime-constants", path = "./constants", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -108,7 +108,7 @@ keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substra sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } separator = "0.4.1" serde_json = "1.0.81" -remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", package = "frame-remote-externalities" } tokio = { version = "1.22.0", features = ["macros"] } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/runtime/polkadot/Cargo.toml b/runtime/polkadot/Cargo.toml index 0dc4b757df2e..99b8629a20e5 100644 --- a/runtime/polkadot/Cargo.toml +++ b/runtime/polkadot/Cargo.toml @@ -18,7 +18,7 @@ smallvec = "1.8.0" authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, package = "sp-beefy" } block-builder-api = { package = "sp-block-builder", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -100,7 +100,7 @@ keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substra sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.81" separator = "0.4.1" -remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", package = "frame-remote-externalities" } tokio = { version = "1.22.0", features = ["macros"] } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index ba433a81e5a8..aaf6710b7c1a 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -16,7 +16,7 @@ smallvec = "1.8.0" authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, package = "sp-beefy" } beefy-merkle-tree = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } rococo-runtime-constants = { package = "rococo-runtime-constants", path = "./constants", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/runtime/test-runtime/Cargo.toml b/runtime/test-runtime/Cargo.toml index 21b75926722b..f8695b07c88f 100644 --- a/runtime/test-runtime/Cargo.toml +++ b/runtime/test-runtime/Cargo.toml @@ -17,7 +17,7 @@ smallvec = "1.8.0" authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, package = "sp-beefy" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/runtime/westend/Cargo.toml b/runtime/westend/Cargo.toml index c20da9a16e23..442c69c3cbc0 100644 --- a/runtime/westend/Cargo.toml +++ b/runtime/westend/Cargo.toml @@ -17,7 +17,7 @@ smallvec = "1.8.0" authority-discovery-primitives = { package = "sp-authority-discovery", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } babe-primitives = { package = "sp-consensus-babe", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } -beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +beefy-primitives = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, package = "sp-beefy" } inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } offchain-primitives = { package = "sp-offchain", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -100,7 +100,7 @@ tiny-keccak = { version = "2.0.2", features = ["keccak"] } keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } serde_json = "1.0.81" -remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", package = "frame-remote-externalities" } tokio = { version = "1.22.0", features = ["macros"] } sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index 48334c65ac6a..ca0fa1abaf77 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -15,7 +15,7 @@ serde = "1.0.137" serde_json = "1.0" thiserror = "1.0.31" tokio = { version = "1.22.0", features = ["macros", "rt-multi-thread", "sync"] } -remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master" } +remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", package = "frame-remote-externalities" } signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-version = { git = "https://github.com/paritytech/substrate", branch = "master" } From eaa5b3ac3d87d37f36c97312ba894fb6dee86dfd Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Tue, 6 Dec 2022 13:03:03 +0000 Subject: [PATCH 162/211] Make submission deposit reasonable (#6402) --- runtime/kusama/src/governance/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index 6b45dbade57d..b6e80a817729 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -54,7 +54,7 @@ impl pallet_conviction_voting::Config for Runtime { parameter_types! { pub const AlarmInterval: BlockNumber = 1; - pub const SubmissionDeposit: Balance = 100 * UNITS; + pub const SubmissionDeposit: Balance = 1 * QUID; pub const UndecidingTimeout: BlockNumber = 28 * DAYS; } From 5f881f5f17a6d083a0c31ecae0c7be112b12d1ad Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Tue, 6 Dec 2022 15:51:16 +0100 Subject: [PATCH 163/211] kusama whitelist pallet preimage dep upgrade (#6392) --- runtime/kusama/src/governance/mod.rs | 2 +- runtime/kusama/src/weights/pallet_whitelist.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index b6e80a817729..460aaaed4b98 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -72,7 +72,7 @@ impl pallet_whitelist::Config for Runtime { type WhitelistOrigin = EitherOf>, Fellows>; type DispatchWhitelistedOrigin = EitherOf, WhitelistedCaller>; - type PreimageProvider = Preimage; + type Preimages = Preimage; } impl pallet_referenda::Config for Runtime { diff --git a/runtime/kusama/src/weights/pallet_whitelist.rs b/runtime/kusama/src/weights/pallet_whitelist.rs index 5e7dcf8f75b3..401ffb48f4d2 100644 --- a/runtime/kusama/src/weights/pallet_whitelist.rs +++ b/runtime/kusama/src/weights/pallet_whitelist.rs @@ -63,7 +63,8 @@ impl pallet_whitelist::WeightInfo for WeightInfo { // Storage: Whitelist WhitelistedCall (r:1 w:1) // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) - fn dispatch_whitelisted_call() -> Weight { + // TODO regenerate + fn dispatch_whitelisted_call(_n: u32) -> Weight { Weight::from_ref_time(7_327_364_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) From 1c8c54b081671db4631958cb54dca30459b1e45b Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Tue, 6 Dec 2022 15:03:08 +0000 Subject: [PATCH 164/211] Bump (#6404) --- Cargo.lock | 362 ++++++++++++++++++++++++++--------------------------- 1 file changed, 181 insertions(+), 181 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f7a254ec181b..50264482fd83 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "env_logger 0.9.0", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "chrono", "frame-election-provider-support", @@ -4086,7 +4086,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "log", @@ -4106,7 +4106,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "anyhow", "jsonrpsee", @@ -4611,7 +4611,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4625,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4641,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4680,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4700,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4719,7 +4719,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4734,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -4750,7 +4750,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4773,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4791,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4844,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4862,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4899,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4917,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4974,7 +4974,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4994,7 +4994,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5011,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5028,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5077,7 +5077,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -5094,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5114,7 +5114,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "sp-api", @@ -5124,7 +5124,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -5141,7 +5141,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5164,7 +5164,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5181,7 +5181,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5196,7 +5196,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5214,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5229,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5247,7 +5247,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -5284,7 +5284,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5314,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5348,7 +5348,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "log", "sp-arithmetic", @@ -5357,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5374,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -5388,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5425,7 +5425,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-support", "frame-system", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5457,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5469,7 +5469,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5486,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5517,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8319,7 +8319,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "log", "sp-core", @@ -8330,7 +8330,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures", @@ -8357,7 +8357,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "futures-timer", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8396,7 +8396,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8413,7 +8413,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8424,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "chrono", @@ -8464,7 +8464,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "fnv", "futures", @@ -8492,7 +8492,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "hash-db", "kvdb", @@ -8517,7 +8517,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures", @@ -8541,7 +8541,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "fork-tree", @@ -8582,7 +8582,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "jsonrpsee", @@ -8604,7 +8604,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8617,7 +8617,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures", @@ -8641,7 +8641,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "lazy_static", "lru", @@ -8667,7 +8667,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "environmental", "parity-scale-codec", @@ -8683,7 +8683,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "log", "parity-scale-codec", @@ -8698,7 +8698,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "cfg-if", "libc", @@ -8718,7 +8718,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "ahash", "array-bytes", @@ -8759,7 +8759,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "finality-grandpa", "futures", @@ -8780,7 +8780,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "ansi_term", "futures", @@ -8797,7 +8797,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "async-trait", @@ -8812,7 +8812,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "async-trait", @@ -8859,7 +8859,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "cid", "futures", @@ -8879,7 +8879,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "bitflags", @@ -8905,7 +8905,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "ahash", "futures", @@ -8923,7 +8923,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "futures", @@ -8944,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "async-trait", @@ -8975,7 +8975,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "futures", @@ -8994,7 +8994,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "bytes", @@ -9024,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "libp2p", @@ -9037,7 +9037,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9046,7 +9046,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "hash-db", @@ -9076,7 +9076,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "jsonrpsee", @@ -9099,7 +9099,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "jsonrpsee", @@ -9112,7 +9112,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "hex", @@ -9131,7 +9131,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "directories", @@ -9202,7 +9202,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "log", "parity-scale-codec", @@ -9216,7 +9216,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9235,7 +9235,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "libc", @@ -9254,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "chrono", "futures", @@ -9272,7 +9272,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "ansi_term", "atty", @@ -9303,7 +9303,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9314,7 +9314,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures", @@ -9341,7 +9341,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures", @@ -9355,7 +9355,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "futures-timer", @@ -9836,7 +9836,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "hash-db", "log", @@ -9854,7 +9854,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "blake2", "proc-macro-crate", @@ -9866,7 +9866,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9879,7 +9879,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "integer-sqrt", "num-traits", @@ -9894,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9907,7 +9907,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9919,7 +9919,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9948,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "log", @@ -9966,7 +9966,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures", @@ -9985,7 +9985,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "merlin", @@ -10008,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +10022,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "base58", @@ -10080,7 +10080,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "blake2", "byteorder", @@ -10094,7 +10094,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro2", "quote", @@ -10105,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro2", "quote", @@ -10124,7 +10124,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "environmental", "parity-scale-codec", @@ -10135,7 +10135,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "finality-grandpa", "log", @@ -10153,7 +10153,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10167,7 +10167,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "bytes", "ed25519-dalek", @@ -10194,7 +10194,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10205,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures", @@ -10222,7 +10222,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10231,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10249,7 +10249,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10263,7 +10263,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "sp-api", "sp-core", @@ -10273,7 +10273,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "backtrace", "lazy_static", @@ -10283,7 +10283,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "rustc-hash", "serde", @@ -10293,7 +10293,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "either", "hash256-std-hasher", @@ -10316,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10334,7 +10334,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "Inflector", "proc-macro-crate", @@ -10346,7 +10346,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "log", "parity-scale-codec", @@ -10360,7 +10360,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10374,7 +10374,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10385,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "hash-db", "log", @@ -10407,12 +10407,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10425,7 +10425,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "futures-timer", @@ -10441,7 +10441,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "sp-std", @@ -10453,7 +10453,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "sp-api", "sp-runtime", @@ -10462,7 +10462,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "log", @@ -10478,7 +10478,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "ahash", "hash-db", @@ -10501,7 +10501,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10518,7 +10518,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10529,7 +10529,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "impl-trait-for-tuples", "log", @@ -10542,7 +10542,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10757,7 +10757,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "platforms", ] @@ -10765,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10786,7 +10786,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures-util", "hyper", @@ -10799,7 +10799,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "async-trait", "jsonrpsee", @@ -10812,7 +10812,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "jsonrpsee", "log", @@ -10833,7 +10833,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "array-bytes", "async-trait", @@ -10859,7 +10859,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10869,7 +10869,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10880,7 +10880,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "ansi_term", "build-helper", @@ -11589,7 +11589,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#416a331399452521f3e9cf7e1394d020373a95c5" +source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" dependencies = [ "clap", "frame-remote-externalities", From 9cf336ac8c77f5f8336cb8a97c344679291164bd Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 6 Dec 2022 11:41:00 -0500 Subject: [PATCH 165/211] Companion for paritytech/substrate#12795 (#6374) * Begin removing `parity-util-mem`; remove `collect_memory_stats` * Update some dependencies that were using `parity-util-mem` * Remove `trie-memory-tracker` feature * Update Cargo.lock * Update `kvdb-shared-tests` * Add back jemalloc * Add missing license header * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> Co-authored-by: Andronik --- Cargo.lock | 432 ++++++++++------------- Cargo.toml | 2 +- cli/Cargo.toml | 7 +- core-primitives/Cargo.toml | 2 - core-primitives/src/lib.rs | 6 - node/core/approval-voting/Cargo.toml | 4 +- node/core/av-store/Cargo.toml | 4 +- node/core/chain-selection/Cargo.toml | 4 +- node/core/dispute-coordinator/Cargo.toml | 4 +- node/malus/Cargo.toml | 1 - node/overseer/Cargo.toml | 2 +- node/overseer/src/lib.rs | 5 +- node/overseer/src/memory_stats.rs | 53 +++ node/overseer/src/metrics.rs | 2 +- node/service/Cargo.toml | 4 +- node/subsystem-util/Cargo.toml | 7 +- node/subsystem-util/src/database.rs | 14 - parachain/Cargo.toml | 2 - parachain/src/primitives.rs | 15 +- primitives/Cargo.toml | 2 - primitives/src/v2/mod.rs | 109 +----- src/main.rs | 5 + 22 files changed, 291 insertions(+), 395 deletions(-) create mode 100644 node/overseer/src/memory_stats.rs diff --git a/Cargo.lock b/Cargo.lock index 50264482fd83..7e5855354730 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "env_logger 0.9.0", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "chrono", "frame-election-provider-support", @@ -3327,35 +3327,31 @@ dependencies = [ [[package]] name = "kvdb" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "585089ceadba0197ffe9af6740ab350b325e3c1f5fccfbc3522e0250c750409b" +checksum = "e7d770dcb02bf6835887c3a979b5107a04ff4bbde97a5f0928d27404a155add9" dependencies = [ - "parity-util-mem", "smallvec", ] [[package]] name = "kvdb-memorydb" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40d109c87bfb7759edd2a49b2649c1afe25af785d930ad6a38479b4dc70dd873" +checksum = "bf7a85fe66f9ff9cd74e169fdd2c94c6e1e74c412c99a73b4df3200b5d3760b2" dependencies = [ "kvdb", - "parity-util-mem", "parking_lot 0.12.1", ] [[package]] name = "kvdb-rocksdb" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c076cc2cdbac89b9910c853a36c957d3862a779f31c2661174222cefb49ee597" +checksum = "2182b8219fee6bd83aacaab7344e840179ae079d5216aa4e249b4d704646a844" dependencies = [ "kvdb", - "log", "num_cpus", - "parity-util-mem", "parking_lot 0.12.1", "regex", "rocksdb", @@ -3364,9 +3360,9 @@ dependencies = [ [[package]] name = "kvdb-shared-tests" -version = "0.10.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de82a1adb7ade192c0090dd56d059a626191c0638c795eb68aff4b0bd2c1f9be" +checksum = "64d3b4e3e80c369f1b5364b6acdeba9b8a02285e91a5570f7c0404b7f9024541" dependencies = [ "kvdb", ] @@ -4011,13 +4007,12 @@ dependencies = [ [[package]] name = "memory-db" -version = "0.30.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ac11bb793c28fa095b7554466f53b3a60a2cd002afdac01bcf135cbd73a269" +checksum = "5e0c7cba9ce19ac7ffd2053ac9f49843bbd3f4318feedfd74e85c19d5fb0ba66" dependencies = [ "hash-db", "hashbrown", - "parity-util-mem", ] [[package]] @@ -4086,7 +4081,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "log", @@ -4106,7 +4101,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "anyhow", "jsonrpsee", @@ -4611,7 +4606,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4625,7 +4620,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -4641,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -4656,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4680,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4700,7 +4695,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4719,7 +4714,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4734,7 +4729,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -4750,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4773,7 +4768,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4791,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4827,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4844,7 +4839,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4862,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4899,7 +4894,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4917,7 +4912,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4935,7 +4930,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4958,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4974,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4994,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5011,7 +5006,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5028,7 +5023,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5045,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5061,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5077,7 +5072,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -5094,7 +5089,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5114,7 +5109,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "sp-api", @@ -5124,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -5141,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5164,7 +5159,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5181,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5196,7 +5191,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5214,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5229,7 +5224,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5247,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5263,7 +5258,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -5284,7 +5279,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5300,7 +5295,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -5314,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5337,7 +5332,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5348,7 +5343,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "log", "sp-arithmetic", @@ -5357,7 +5352,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5374,7 +5369,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -5388,7 +5383,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5401,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5425,7 +5420,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-support", "frame-system", @@ -5441,7 +5436,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5457,7 +5452,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5469,7 +5464,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5486,7 +5481,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5497,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5517,7 +5512,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5628,35 +5623,6 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aa9777aa91b8ad9dd5aaa04a9b6bcb02c7f1deb952fca5a66034d5e63afc5c6f" -[[package]] -name = "parity-util-mem" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d32c34f4f5ca7f9196001c0aba5a1f9a5a12382c8944b8b0f90233282d1e8f8" -dependencies = [ - "cfg-if", - "hashbrown", - "impl-trait-for-tuples", - "parity-util-mem-derive", - "parking_lot 0.12.1", - "primitive-types", - "smallvec", - "tikv-jemalloc-ctl", - "tikv-jemallocator", - "winapi", -] - -[[package]] -name = "parity-util-mem-derive" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" -dependencies = [ - "proc-macro2", - "syn", - "synstructure", -] - [[package]] name = "parity-wasm" version = "0.45.0" @@ -5873,11 +5839,11 @@ dependencies = [ "assert_cmd", "color-eyre", "nix 0.24.1", - "parity-util-mem", "polkadot-cli", "polkadot-core-primitives", "substrate-rpc-client", "tempfile", + "tikv-jemallocator", "tokio", ] @@ -6008,7 +5974,6 @@ dependencies = [ "sc-tracing", "sp-core", "sp-keyring", - "sp-trie", "substrate-build-script-utils", "thiserror", "try-runtime-cli", @@ -6092,7 +6057,6 @@ name = "polkadot-core-primitives" version = "0.9.33" dependencies = [ "parity-scale-codec", - "parity-util-mem", "scale-info", "sp-core", "sp-runtime", @@ -6693,7 +6657,6 @@ dependencies = [ "lru", "parity-db", "parity-scale-codec", - "parity-util-mem", "parking_lot 0.11.2", "pin-project", "polkadot-node-jaeger", @@ -6726,7 +6689,6 @@ dependencies = [ "futures-timer", "lru", "orchestra", - "parity-util-mem", "parking_lot 0.12.1", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -6738,6 +6700,7 @@ dependencies = [ "sc-client-api", "sp-api", "sp-core", + "tikv-jemalloc-ctl", "tracing-gum", ] @@ -6748,7 +6711,6 @@ dependencies = [ "derive_more", "frame-support", "parity-scale-codec", - "parity-util-mem", "polkadot-core-primitives", "scale-info", "serde", @@ -6778,7 +6740,6 @@ dependencies = [ "bitvec", "hex-literal", "parity-scale-codec", - "parity-util-mem", "polkadot-core-primitives", "polkadot-parachain", "scale-info", @@ -7252,7 +7213,6 @@ dependencies = [ "color-eyre", "futures", "futures-timer", - "parity-util-mem", "polkadot-cli", "polkadot-erasure-coding", "polkadot-node-core-backing", @@ -8319,7 +8279,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "log", "sp-core", @@ -8330,7 +8290,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures", @@ -8357,7 +8317,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "futures-timer", @@ -8380,7 +8340,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8396,7 +8356,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8413,7 +8373,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8424,7 +8384,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "chrono", @@ -8464,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "fnv", "futures", @@ -8492,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "hash-db", "kvdb", @@ -8517,7 +8477,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures", @@ -8541,7 +8501,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "fork-tree", @@ -8582,7 +8542,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "jsonrpsee", @@ -8604,7 +8564,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8617,7 +8577,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures", @@ -8641,7 +8601,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "lazy_static", "lru", @@ -8667,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "environmental", "parity-scale-codec", @@ -8683,7 +8643,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "log", "parity-scale-codec", @@ -8698,7 +8658,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "cfg-if", "libc", @@ -8718,7 +8678,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "ahash", "array-bytes", @@ -8759,7 +8719,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "finality-grandpa", "futures", @@ -8780,13 +8740,12 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "ansi_term", "futures", "futures-timer", "log", - "parity-util-mem", "sc-client-api", "sc-network-common", "sc-transaction-pool-api", @@ -8797,7 +8756,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "async-trait", @@ -8812,7 +8771,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "async-trait", @@ -8859,7 +8818,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "cid", "futures", @@ -8879,7 +8838,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "bitflags", @@ -8905,7 +8864,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "ahash", "futures", @@ -8923,7 +8882,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "futures", @@ -8944,7 +8903,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "async-trait", @@ -8975,7 +8934,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "futures", @@ -8994,7 +8953,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "bytes", @@ -9024,7 +8983,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "libp2p", @@ -9037,7 +8996,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9046,7 +9005,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "hash-db", @@ -9076,7 +9035,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "jsonrpsee", @@ -9099,7 +9058,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "jsonrpsee", @@ -9112,7 +9071,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "hex", @@ -9131,7 +9090,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "directories", @@ -9142,7 +9101,6 @@ dependencies = [ "jsonrpsee", "log", "parity-scale-codec", - "parity-util-mem", "parking_lot 0.12.1", "pin-project", "rand 0.7.3", @@ -9202,12 +9160,10 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "log", "parity-scale-codec", - "parity-util-mem", - "parity-util-mem-derive", "parking_lot 0.12.1", "sc-client-api", "sp-core", @@ -9216,7 +9172,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9235,7 +9191,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "libc", @@ -9254,7 +9210,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "chrono", "futures", @@ -9272,7 +9228,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "ansi_term", "atty", @@ -9303,7 +9259,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9314,7 +9270,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures", @@ -9322,7 +9278,6 @@ dependencies = [ "linked-hash-map", "log", "parity-scale-codec", - "parity-util-mem", "parking_lot 0.12.1", "sc-client-api", "sc-transaction-pool-api", @@ -9341,7 +9296,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures", @@ -9355,7 +9310,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "futures-timer", @@ -9836,7 +9791,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "hash-db", "log", @@ -9854,7 +9809,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "blake2", "proc-macro-crate", @@ -9866,7 +9821,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9879,7 +9834,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "integer-sqrt", "num-traits", @@ -9894,7 +9849,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9907,7 +9862,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9919,7 +9874,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9936,7 +9891,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9948,7 +9903,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "log", @@ -9966,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures", @@ -9985,7 +9940,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "merlin", @@ -10008,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10022,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10035,7 +9990,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "base58", @@ -10080,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "blake2", "byteorder", @@ -10094,7 +10049,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro2", "quote", @@ -10105,7 +10060,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10114,7 +10069,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro2", "quote", @@ -10124,7 +10079,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "environmental", "parity-scale-codec", @@ -10135,7 +10090,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "finality-grandpa", "log", @@ -10153,7 +10108,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10167,7 +10122,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "bytes", "ed25519-dalek", @@ -10194,7 +10149,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "lazy_static", "sp-core", @@ -10205,7 +10160,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures", @@ -10222,7 +10177,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "thiserror", "zstd", @@ -10231,7 +10186,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10249,7 +10204,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10263,7 +10218,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "sp-api", "sp-core", @@ -10273,7 +10228,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "backtrace", "lazy_static", @@ -10283,7 +10238,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "rustc-hash", "serde", @@ -10293,14 +10248,13 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", "parity-scale-codec", - "parity-util-mem", "paste", "rand 0.7.3", "scale-info", @@ -10316,7 +10270,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10334,7 +10288,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "Inflector", "proc-macro-crate", @@ -10346,7 +10300,7 @@ dependencies = [ [[package]] name = "sp-sandbox" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "log", "parity-scale-codec", @@ -10360,7 +10314,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10374,7 +10328,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10385,7 +10339,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "hash-db", "log", @@ -10407,12 +10361,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10425,7 +10379,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "futures-timer", @@ -10441,7 +10395,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "sp-std", @@ -10453,7 +10407,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "sp-api", "sp-runtime", @@ -10462,7 +10416,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "log", @@ -10478,7 +10432,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "ahash", "hash-db", @@ -10501,7 +10455,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10518,7 +10472,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10529,7 +10483,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "impl-trait-for-tuples", "log", @@ -10542,7 +10496,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10757,7 +10711,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "platforms", ] @@ -10765,7 +10719,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10786,7 +10740,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures-util", "hyper", @@ -10799,7 +10753,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "async-trait", "jsonrpsee", @@ -10812,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "jsonrpsee", "log", @@ -10833,7 +10787,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "array-bytes", "async-trait", @@ -10859,7 +10813,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10869,7 +10823,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10880,7 +10834,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "ansi_term", "build-helper", @@ -11589,7 +11543,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#44fbbd92c3a03ef541fe0880b15bba33b943272f" +source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" dependencies = [ "clap", "frame-remote-externalities", diff --git a/Cargo.toml b/Cargo.toml index 001ff7edb155..6d01e2b25553 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ version = "0.9.33" [dependencies] polkadot-cli = { path = "cli", features = [ "kusama-native", "westend-native", "rococo-native" ] } color-eyre = { version = "0.6.1", default-features = false } -parity-util-mem = { version = "0.12.0", default-features = false, features = ["jemalloc-global"] } +tikv-jemallocator = "0.5.0" [dev-dependencies] assert_cmd = "2.0.4" diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 89f67ae9f131..1b02f24dd9a2 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -35,15 +35,11 @@ polkadot-node-metrics = { path = "../node/metrics" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "master" } -# this crate is used only to enable `trie-memory-tracker` feature -# see https://github.com/paritytech/substrate/pull/6745 -sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } - [build-dependencies] substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } [features] -default = ["db", "cli", "hostperfcheck", "full-node", "trie-memory-tracker", "polkadot-native"] +default = ["db", "cli", "hostperfcheck", "full-node", "polkadot-native"] db = ["service/db"] cli = [ "clap", @@ -60,7 +56,6 @@ runtime-benchmarks = [ "polkadot-node-metrics/runtime-benchmarks", "polkadot-performance-test?/runtime-benchmarks" ] -trie-memory-tracker = ["sp-trie/memory-tracker"] full-node = ["service/full-node"] try-runtime = ["service/try-runtime", "try-runtime-cli/try-runtime"] fast-runtime = ["service/fast-runtime"] diff --git a/core-primitives/Cargo.toml b/core-primitives/Cargo.toml index 4da75bf4e524..bad5533f9d1d 100644 --- a/core-primitives/Cargo.toml +++ b/core-primitives/Cargo.toml @@ -10,7 +10,6 @@ sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", d sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } parity-scale-codec = { version = "3.1.5", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.12.0", default-features = false, optional = true } [features] default = [ "std" ] @@ -21,5 +20,4 @@ std = [ "sp-std/std", "scale-info/std", "parity-scale-codec/std", - "parity-util-mem", ] diff --git a/core-primitives/src/lib.rs b/core-primitives/src/lib.rs index bd0256dc7c9e..ca4d2372db38 100644 --- a/core-primitives/src/lib.rs +++ b/core-primitives/src/lib.rs @@ -21,8 +21,6 @@ //! These core Polkadot types are used by the relay chain and the Parachains. use parity_scale_codec::{Decode, Encode}; -#[cfg(feature = "std")] -use parity_util_mem::MallocSizeOf; use scale_info::TypeInfo; use sp_runtime::{ generic, @@ -66,7 +64,6 @@ pub type Hash = sp_core::H256; /// /// This type makes it easy to enforce that a hash is a candidate hash on the type level. #[derive(Clone, Copy, Encode, Decode, Hash, Eq, PartialEq, Default, PartialOrd, Ord, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub struct CandidateHash(pub Hash); #[cfg(feature = "std")] @@ -127,7 +124,6 @@ pub type DownwardMessage = sp_std::vec::Vec; /// A wrapped version of `DownwardMessage`. The difference is that it has attached the block number when /// the message was sent. #[derive(Encode, Decode, Clone, sp_runtime::RuntimeDebug, PartialEq, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub struct InboundDownwardMessage { /// The block number at which these messages were put into the downward message queue. pub sent_at: BlockNumber, @@ -137,7 +133,6 @@ pub struct InboundDownwardMessage { /// An HRMP message seen from the perspective of a recipient. #[derive(Encode, Decode, Clone, sp_runtime::RuntimeDebug, PartialEq, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub struct InboundHrmpMessage { /// The block number at which this message was sent. /// Specifically, it is the block number at which the candidate that sends this message was @@ -149,7 +144,6 @@ pub struct InboundHrmpMessage { /// An HRMP message seen from the perspective of a sender. #[derive(Encode, Decode, Clone, sp_runtime::RuntimeDebug, PartialEq, Eq, Hash, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub struct OutboundHrmpMessage { /// The para that will get this message in its downward message queue. pub recipient: Id, diff --git a/node/core/approval-voting/Cargo.toml b/node/core/approval-voting/Cargo.toml index 69d9b29f21be..b73c4b97eb1b 100644 --- a/node/core/approval-voting/Cargo.toml +++ b/node/core/approval-voting/Cargo.toml @@ -13,7 +13,7 @@ bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } lru = "0.8" merlin = "2.0" schnorrkel = "0.9.1" -kvdb = "0.12.0" +kvdb = "0.13.0" derive_more = "0.99.17" thiserror = "1.0.31" @@ -40,5 +40,5 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } assert_matches = "1.4.0" -kvdb-memorydb = "0.12.0" +kvdb-memorydb = "0.13.0" test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../../primitives/test-helpers" } diff --git a/node/core/av-store/Cargo.toml b/node/core/av-store/Cargo.toml index ad05e49cbd0f..73cdb72d8012 100644 --- a/node/core/av-store/Cargo.toml +++ b/node/core/av-store/Cargo.toml @@ -7,7 +7,7 @@ edition.workspace = true [dependencies] futures = "0.3.21" futures-timer = "3.0.2" -kvdb = "0.12.0" +kvdb = "0.13.0" thiserror = "1.0.31" gum = { package = "tracing-gum", path = "../../gum" } bitvec = "1.0.0" @@ -24,7 +24,7 @@ polkadot-node-primitives = { path = "../../primitives" } log = "0.4.17" env_logger = "0.9.0" assert_matches = "1.4.0" -kvdb-memorydb = "0.12.0" +kvdb-memorydb = "0.13.0" sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } diff --git a/node/core/chain-selection/Cargo.toml b/node/core/chain-selection/Cargo.toml index a5c3922a6568..8d4145461b94 100644 --- a/node/core/chain-selection/Cargo.toml +++ b/node/core/chain-selection/Cargo.toml @@ -13,7 +13,7 @@ polkadot-primitives = { path = "../../../primitives" } polkadot-node-primitives = { path = "../../primitives" } polkadot-node-subsystem = { path = "../../subsystem" } polkadot-node-subsystem-util = { path = "../../subsystem-util" } -kvdb = "0.12.0" +kvdb = "0.13.0" thiserror = "1.0.31" parity-scale-codec = "3.1.5" @@ -22,4 +22,4 @@ polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } parking_lot = "0.12.0" assert_matches = "1" -kvdb-memorydb = "0.12.0" +kvdb-memorydb = "0.13.0" diff --git a/node/core/dispute-coordinator/Cargo.toml b/node/core/dispute-coordinator/Cargo.toml index a366107b54c7..2ecc4d5e331f 100644 --- a/node/core/dispute-coordinator/Cargo.toml +++ b/node/core/dispute-coordinator/Cargo.toml @@ -8,7 +8,7 @@ edition.workspace = true futures = "0.3.21" gum = { package = "tracing-gum", path = "../../gum" } parity-scale-codec = "3.1.5" -kvdb = "0.12.0" +kvdb = "0.13.0" thiserror = "1.0.31" lru = "0.8.0" fatality = "0.0.6" @@ -22,7 +22,7 @@ sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "maste [dev-dependencies] -kvdb-memorydb = "0.12.0" +kvdb-memorydb = "0.13.0" polkadot-node-subsystem-test-helpers = { path = "../../subsystem-test-helpers" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/malus/Cargo.toml b/node/malus/Cargo.toml index 360cfe60b735..c783693ca527 100644 --- a/node/malus/Cargo.toml +++ b/node/malus/Cargo.toml @@ -23,7 +23,6 @@ polkadot-node-core-backing = { path = "../core/backing" } polkadot-node-primitives = { path = "../primitives" } polkadot-primitives = { path = "../../primitives" } polkadot-node-core-pvf = { path = "../core/pvf" } -parity-util-mem = { version = "0.12.0", default-features = false, features = ["jemalloc-global"] } color-eyre = { version = "0.6.1", default-features = false } assert_matches = "1.5" async-trait = "0.1.57" diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 1663a78b8355..092ba410a126 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -18,9 +18,9 @@ polkadot-primitives = { path = "../../primitives" } orchestra = "0.0.2" gum = { package = "tracing-gum", path = "../gum" } lru = "0.8" -parity-util-mem = { version = "0.12.0", default-features = false } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } async-trait = "0.1.57" +tikv-jemalloc-ctl = "0.5.0" [dev-dependencies] metered = { package = "prioritized-metered-channel", version = "0.2.0" } diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index 92baa12be79c..78d1e1fe7889 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -101,8 +101,6 @@ pub use polkadot_node_metrics::{ Metronome, }; -use parity_util_mem::MemoryAllocationTracker; - pub use orchestra as gen; pub use orchestra::{ contextbounds, orchestra, subsystem, FromOrchestra, MapSubsystem, MessagePacket, @@ -118,11 +116,14 @@ pub const KNOWN_LEAVES_CACHE_SIZE: NonZeroUsize = match NonZeroUsize::new(2 * 24 None => panic!("Known leaves cache size must be non-zero"), }; +mod memory_stats; #[cfg(test)] mod tests; use sp_core::traits::SpawnNamed; +use memory_stats::MemoryAllocationTracker; + /// Glue to connect `trait orchestra::Spawner` and `SpawnNamed` from `substrate`. pub struct SpawnGlue(pub S); diff --git a/node/overseer/src/memory_stats.rs b/node/overseer/src/memory_stats.rs new file mode 100644 index 000000000000..670762a4935c --- /dev/null +++ b/node/overseer/src/memory_stats.rs @@ -0,0 +1,53 @@ +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. + +// Polkadot 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. + +// Polkadot 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 Polkadot. If not, see . + +use tikv_jemalloc_ctl::{epoch, stats, Error}; + +#[derive(Clone)] +pub struct MemoryAllocationTracker { + epoch: tikv_jemalloc_ctl::epoch_mib, + allocated: stats::allocated_mib, + resident: stats::resident_mib, +} + +impl MemoryAllocationTracker { + pub fn new() -> Result { + Ok(Self { + epoch: epoch::mib()?, + allocated: stats::allocated::mib()?, + resident: stats::resident::mib()?, + }) + } + + pub fn snapshot(&self) -> Result { + // update stats by advancing the allocation epoch + self.epoch.advance()?; + + let allocated: u64 = self.allocated.read()? as _; + let resident: u64 = self.resident.read()? as _; + Ok(MemoryAllocationSnapshot { allocated, resident }) + } +} + +/// Snapshot of collected memory metrics. +#[non_exhaustive] +#[derive(Debug, Clone)] +pub struct MemoryAllocationSnapshot { + /// Total resident memory, in bytes. + pub resident: u64, + /// Total allocated memory, in bytes. + pub allocated: u64, +} diff --git a/node/overseer/src/metrics.rs b/node/overseer/src/metrics.rs index 71295dd2238c..bb7d98a68f2e 100644 --- a/node/overseer/src/metrics.rs +++ b/node/overseer/src/metrics.rs @@ -19,7 +19,7 @@ use super::*; pub use polkadot_node_metrics::metrics::{self, prometheus, Metrics as MetricsTrait}; -use parity_util_mem::MemoryAllocationSnapshot; +use memory_stats::MemoryAllocationSnapshot; /// Overseer Prometheus metrics. #[derive(Clone)] diff --git a/node/service/Cargo.toml b/node/service/Cargo.toml index cf6c1c2b85e4..8b2771b7e18d 100644 --- a/node/service/Cargo.toml +++ b/node/service/Cargo.toml @@ -71,8 +71,8 @@ gum = { package = "tracing-gum", path = "../gum/" } serde = { version = "1.0.137", features = ["derive"] } serde_json = "1.0.81" thiserror = "1.0.31" -kvdb = "0.12.0" -kvdb-rocksdb = { version = "0.16.0", optional = true } +kvdb = "0.13.0" +kvdb-rocksdb = { version = "0.17.0", optional = true } parity-db = { version = "0.4.2", optional = true } async-trait = "0.1.57" diff --git a/node/subsystem-util/Cargo.toml b/node/subsystem-util/Cargo.toml index ad374dfde6ad..90abc62f97af 100644 --- a/node/subsystem-util/Cargo.toml +++ b/node/subsystem-util/Cargo.toml @@ -32,8 +32,7 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-application-crypto = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keystore = { git = "https://github.com/paritytech/substrate", branch = "master" } -kvdb = "0.12.0" -parity-util-mem = { version = "0.12.0", default-features = false } +kvdb = "0.13.0" parity-db = { version = "0.4.2"} [dev-dependencies] @@ -44,6 +43,6 @@ log = "0.4.17" polkadot-node-subsystem-test-helpers = { path = "../subsystem-test-helpers" } lazy_static = "1.4.0" polkadot-primitives-test-helpers = { path = "../../primitives/test-helpers" } -kvdb-shared-tests = "0.10.0" +kvdb-shared-tests = "0.11.0" tempfile = "3.1.0" -kvdb-memorydb = "0.12.0" +kvdb-memorydb = "0.13.0" diff --git a/node/subsystem-util/src/database.rs b/node/subsystem-util/src/database.rs index 6f338b5d6440..d29a4460ea7e 100644 --- a/node/subsystem-util/src/database.rs +++ b/node/subsystem-util/src/database.rs @@ -29,7 +29,6 @@ pub trait Database: KeyValueDB { pub mod kvdb_impl { use super::{DBKeyValue, DBTransaction, DBValue, Database, KeyValueDB}; use kvdb::{DBOp, IoStats, IoStatsKind}; - use parity_util_mem::{MallocSizeOf, MallocSizeOfOps}; use std::{collections::BTreeSet, io::Result}; /// Adapter implementing subsystem database @@ -123,13 +122,6 @@ pub mod kvdb_impl { self.db.has_prefix(col, prefix) } } - - impl MallocSizeOf for DbAdapter { - fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize { - // ignore filter set - self.db.size_of(ops) - } - } } /// Utilities for using parity-db database. @@ -160,12 +152,6 @@ pub mod paritydb_impl { write_lock: Arc>, } - impl parity_util_mem::MallocSizeOf for DbAdapter { - fn size_of(&self, _ops: &mut parity_util_mem::MallocSizeOfOps) -> usize { - unimplemented!("size_of is not supported for parity_db") - } - } - impl KeyValueDB for DbAdapter { fn transaction(&self) -> DBTransaction { DBTransaction::new() diff --git a/parachain/Cargo.toml b/parachain/Cargo.toml index 7027ec3f41bd..d203bd3ed9f6 100644 --- a/parachain/Cargo.toml +++ b/parachain/Cargo.toml @@ -10,7 +10,6 @@ version.workspace = true # this crate for WASM. This is critical to avoid forcing all parachain WASM into implementing # various unnecessary Substrate-specific endpoints. parity-scale-codec = { version = "3.1.5", default-features = false, features = [ "derive" ] } -parity-util-mem = { version = "0.12.0", default-features = false, optional = true } scale-info = { version = "2.1.2", default-features = false, features = ["derive"] } sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } @@ -32,7 +31,6 @@ std = [ "sp-std/std", "sp-runtime/std", "sp-core/std", - "parity-util-mem", "polkadot-core-primitives/std", "frame-support/std", ] diff --git a/parachain/src/primitives.rs b/parachain/src/primitives.rs index 2c18b178271f..e638b83c2d7c 100644 --- a/parachain/src/primitives.rs +++ b/parachain/src/primitives.rs @@ -31,9 +31,6 @@ use serde::{Deserialize, Serialize}; #[cfg(feature = "std")] use sp_core::bytes; -#[cfg(feature = "std")] -use parity_util_mem::MallocSizeOf; - use polkadot_core_primitives::{Hash, OutboundHrmpMessage}; /// Block number type used by the relay chain. @@ -43,7 +40,7 @@ pub use polkadot_core_primitives::BlockNumber as RelayChainBlockNumber; #[derive( PartialEq, Eq, Clone, PartialOrd, Ord, Encode, Decode, RuntimeDebug, derive_more::From, TypeInfo, )] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash, MallocSizeOf, Default))] +#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash, Default))] pub struct HeadData(#[cfg_attr(feature = "std", serde(with = "bytes"))] pub Vec); impl HeadData { @@ -55,7 +52,7 @@ impl HeadData { /// Parachain validation code. #[derive(PartialEq, Eq, Clone, Encode, Decode, RuntimeDebug, derive_more::From, TypeInfo)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash))] pub struct ValidationCode(#[cfg_attr(feature = "std", serde(with = "bytes"))] pub Vec); impl ValidationCode { @@ -71,7 +68,6 @@ impl ValidationCode { /// /// This type makes it easy to enforce that a hash is a validation code hash on the type level. #[derive(Clone, Copy, Encode, Decode, Hash, Eq, PartialEq, PartialOrd, Ord, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub struct ValidationCodeHash(Hash); impl sp_std::fmt::Display for ValidationCodeHash { @@ -114,7 +110,7 @@ impl sp_std::fmt::LowerHex for ValidationCodeHash { /// /// Contains everything required to validate para-block, may contain block and witness data. #[derive(PartialEq, Eq, Clone, Encode, Decode, derive_more::From, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub struct BlockData(#[cfg_attr(feature = "std", serde(with = "bytes"))] pub Vec); /// Unique identifier of a parachain. @@ -134,10 +130,7 @@ pub struct BlockData(#[cfg_attr(feature = "std", serde(with = "bytes"))] pub Vec RuntimeDebug, TypeInfo, )] -#[cfg_attr( - feature = "std", - derive(serde::Serialize, serde::Deserialize, derive_more::Display, MallocSizeOf) -)] +#[cfg_attr(feature = "std", derive(serde::Serialize, serde::Deserialize, derive_more::Display))] pub struct Id(u32); impl TypeId for Id { diff --git a/primitives/Cargo.toml b/primitives/Cargo.toml index 38456a43162d..43df39e26bde 100644 --- a/primitives/Cargo.toml +++ b/primitives/Cargo.toml @@ -8,7 +8,6 @@ edition.workspace = true bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } hex-literal = "0.3.4" parity-scale-codec = { version = "3.1.5", default-features = false, features = ["bit-vec", "derive"] } -parity-util-mem = { version = "0.12.0", default-features = false, optional = true } scale-info = { version = "2.1.2", default-features = false, features = ["bit-vec", "derive"] } serde = { version = "1.0.137", optional = true, features = ["derive"] } @@ -46,7 +45,6 @@ std = [ "sp-arithmetic/std", "runtime_primitives/std", "serde", - "parity-util-mem", "polkadot-parachain/std", "polkadot-core-primitives/std", "bitvec/std", diff --git a/primitives/src/v2/mod.rs b/primitives/src/v2/mod.rs index 646c657e8adf..606ffd59920c 100644 --- a/primitives/src/v2/mod.rs +++ b/primitives/src/v2/mod.rs @@ -47,8 +47,6 @@ pub use polkadot_parachain::primitives::{ LOWEST_PUBLIC_ID, LOWEST_USER_ID, }; -#[cfg(feature = "std")] -use parity_util_mem::{MallocSizeOf, MallocSizeOfOps}; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; @@ -77,16 +75,6 @@ mod collator_app { /// Identity that collators use. pub type CollatorId = collator_app::Public; -#[cfg(feature = "std")] -impl MallocSizeOf for CollatorId { - fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize { - 0 - } - fn constant_size() -> Option { - Some(0) - } -} - /// A Parachain collator keypair. #[cfg(feature = "std")] pub type CollatorPair = collator_app::Pair; @@ -94,16 +82,6 @@ pub type CollatorPair = collator_app::Pair; /// Signature on candidate's block data by a collator. pub type CollatorSignature = collator_app::Signature; -#[cfg(feature = "std")] -impl MallocSizeOf for CollatorSignature { - fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize { - 0 - } - fn constant_size() -> Option { - Some(0) - } -} - /// The key type ID for a parachain validator key. pub const PARACHAIN_KEY_TYPE_ID: KeyTypeId = KeyTypeId(*b"para"); @@ -118,16 +96,6 @@ mod validator_app { /// so we define it to be the same type as `SessionKey`. In the future it may have different crypto. pub type ValidatorId = validator_app::Public; -#[cfg(feature = "std")] -impl MallocSizeOf for ValidatorId { - fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize { - 0 - } - fn constant_size() -> Option { - Some(0) - } -} - /// Trait required for type specific indices e.g. `ValidatorIndex` and `GroupIndex` pub trait TypeIndex { /// Returns the index associated to this value. @@ -136,7 +104,7 @@ pub trait TypeIndex { /// Index of the validator is used as a lightweight replacement of the `ValidatorId` when appropriate. #[derive(Eq, Ord, PartialEq, PartialOrd, Copy, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Serialize, Deserialize, Hash))] pub struct ValidatorIndex(pub u32); // We should really get https://github.com/paritytech/polkadot/issues/2403 going .. @@ -163,16 +131,6 @@ application_crypto::with_pair! { /// so we define it to be the same type as `SessionKey`. In the future it may have different crypto. pub type ValidatorSignature = validator_app::Signature; -#[cfg(feature = "std")] -impl MallocSizeOf for ValidatorSignature { - fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize { - 0 - } - fn constant_size() -> Option { - Some(0) - } -} - /// A declarations of storage keys where an external observer can find some interesting data. pub mod well_known_keys { use super::{HrmpChannelId, Id}; @@ -406,16 +364,6 @@ application_crypto::with_pair! { pub type AssignmentPair = assignment_app::Pair; } -#[cfg(feature = "std")] -impl MallocSizeOf for AssignmentId { - fn size_of(&self, _ops: &mut MallocSizeOfOps) -> usize { - 0 - } - fn constant_size() -> Option { - Some(0) - } -} - /// The index of the candidate in the list of candidates fully included as-of the block. pub type CandidateIndex = u32; @@ -465,7 +413,7 @@ fn check_collator_signature>( /// A unique descriptor of the candidate receipt. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(Hash, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Hash))] pub struct CandidateDescriptor { /// The ID of the para this is a candidate for. pub para_id: Id, @@ -507,7 +455,6 @@ impl> CandidateDescriptor { /// A candidate-receipt. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub struct CandidateReceipt { /// The descriptor of the candidate. pub descriptor: CandidateDescriptor, @@ -544,7 +491,7 @@ pub struct FullCandidateReceipt { /// A candidate-receipt with commitments directly included. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(Hash, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Hash))] pub struct CommittedCandidateReceipt { /// The descriptor of the candidate. pub descriptor: CandidateDescriptor, @@ -625,7 +572,7 @@ impl Ord for CommittedCandidateReceipt { /// The `PersistedValidationData` should be relatively lightweight primarily because it is constructed /// during inclusion for each candidate and therefore lies on the critical path of inclusion. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(Default, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Default))] pub struct PersistedValidationData { /// The parent head-data. pub parent_head: HeadData, @@ -646,7 +593,7 @@ impl PersistedValidationData { /// Commitments made in a `CandidateReceipt`. Many of these are outputs of validation. #[derive(PartialEq, Eq, Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(Hash, MallocSizeOf, Default))] +#[cfg_attr(feature = "std", derive(Hash, Default))] pub struct CandidateCommitments { /// Messages destined to be interpreted by the Relay chain itself. pub upward_messages: Vec, @@ -787,7 +734,7 @@ pub fn check_candidate_backing + Clone + Encode>( #[derive( Encode, Decode, Default, PartialOrd, Ord, Eq, PartialEq, Clone, Copy, TypeInfo, RuntimeDebug, )] -#[cfg_attr(feature = "std", derive(Hash, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Hash))] pub struct CoreIndex(pub u32); impl From for CoreIndex { @@ -804,7 +751,7 @@ impl TypeIndex for CoreIndex { /// The unique (during session) index of a validator group. #[derive(Encode, Decode, Default, Clone, Copy, Debug, PartialEq, Eq, TypeInfo)] -#[cfg_attr(feature = "std", derive(Hash, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(Hash))] pub struct GroupIndex(pub u32); impl From for GroupIndex { @@ -846,7 +793,7 @@ pub enum CoreOccupied { /// A helper data-type for tracking validator-group rotations. #[derive(Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub struct GroupRotationInfo { /// The block number where the session started. pub session_start_block: N, @@ -934,7 +881,7 @@ impl GroupRotationInfo { /// Information about a core which is currently occupied. #[derive(Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub struct OccupiedCore { // NOTE: this has no ParaId as it can be deduced from the candidate descriptor. /// If this core is freed by availability, this is the assignment that is next up on this @@ -951,7 +898,6 @@ pub struct OccupiedCore { /// A bitfield with 1 bit for each validator in the set. `1` bits mean that the corresponding /// validators has attested to availability on-chain. A 2/3+ majority of `1` bits means that /// this will be available. - #[cfg_attr(feature = "std", ignore_malloc_size_of = "outside type")] pub availability: BitVec, /// The group assigned to distribute availability pieces of this candidate. pub group_responsible: GroupIndex, @@ -970,7 +916,7 @@ impl OccupiedCore { /// Information about a core which is currently occupied. #[derive(Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub struct ScheduledCore { /// The ID of a para scheduled. pub para_id: Id, @@ -980,7 +926,7 @@ pub struct ScheduledCore { /// The state of a particular availability core. #[derive(Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub enum CoreState { /// The core is currently occupied. #[codec(index = 0)] @@ -1031,7 +977,7 @@ pub enum OccupiedCoreAssumption { /// An even concerning a candidate. #[derive(Clone, Encode, Decode, TypeInfo, RuntimeDebug)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub enum CandidateEvent { /// This candidate receipt was backed in the most recent block. /// This includes the core index the candidate is now occupying. @@ -1050,7 +996,7 @@ pub enum CandidateEvent { /// Scraped runtime backing votes and resolved disputes. #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub struct ScrapedOnChainVotes { /// The session in which the block was included. pub session: SessionIndex, @@ -1239,7 +1185,6 @@ impl From for runtime_primitives::DigestItem { /// /// Statements are either in favor of the candidate's validity or against it. #[derive(Encode, Decode, Clone, PartialEq, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub enum DisputeStatement { /// A valid statement, of the given kind. #[codec(index = 0)] @@ -1320,7 +1265,6 @@ impl DisputeStatement { /// Different kinds of statements of validity on a candidate. #[derive(Encode, Decode, Copy, Clone, PartialEq, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub enum ValidDisputeStatementKind { /// An explicit statement issued as part of a dispute. #[codec(index = 0)] @@ -1338,7 +1282,6 @@ pub enum ValidDisputeStatementKind { /// Different kinds of statements of invalidity on a candidate. #[derive(Encode, Decode, Copy, Clone, PartialEq, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub enum InvalidDisputeStatementKind { /// An explicit statement issued as part of a dispute. #[codec(index = 0)] @@ -1367,7 +1310,6 @@ impl ExplicitDisputeStatement { /// A set of statements about a specific candidate. #[derive(Encode, Decode, Clone, PartialEq, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub struct DisputeStatementSet { /// The candidate referenced by this set. pub candidate_hash: CandidateHash, @@ -1432,22 +1374,6 @@ pub struct DisputeState { pub concluded_at: Option, } -#[cfg(feature = "std")] -impl MallocSizeOf for DisputeState { - fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize { - // destructuring to make sure no new fields are added to the struct without modifying this function - let Self { validators_for, validators_against, start, concluded_at } = self; - - // According to the documentation `.capacity()` might not return a byte aligned value, so just in case: - let align_eight = |d: usize| (d + 7) / 8; - - align_eight(validators_for.capacity()) + - align_eight(validators_against.capacity()) + - start.size_of(ops) + - concluded_at.size_of(ops) - } -} - /// Parachains inherent-data passed into the runtime by a block author #[derive(Encode, Decode, Clone, PartialEq, RuntimeDebug, TypeInfo)] pub struct InherentData { @@ -1464,7 +1390,6 @@ pub struct InherentData { /// An either implicit or explicit attestation to the validity of a parachain /// candidate. #[derive(Clone, Eq, PartialEq, Decode, Encode, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(MallocSizeOf))] pub enum ValidityAttestation { /// Implicit validity attestation by issuing. /// This corresponds to issuance of a `Candidate` statement. @@ -1600,7 +1525,7 @@ impl CompactStatement { /// `IndexedVec` struct indexed by type specific indices. #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub struct IndexedVec(Vec, PhantomData K>); impl Default for IndexedVec { @@ -1679,7 +1604,7 @@ pub fn supermajority_threshold(n: usize) -> usize { /// Information about validator sets of a session. #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub struct SessionInfo { /****** New in v2 *******/ /// All the validators actively participating in parachain consensus. @@ -1705,7 +1630,6 @@ pub struct SessionInfo { /// `validators`, afterwards any remaining authorities can be found. This is any authorities not /// participating in parachain consensus - see /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148) - #[cfg_attr(feature = "std", ignore_malloc_size_of = "outside type")] pub discovery_keys: Vec, /// The assignment keys for validators. /// @@ -1765,7 +1689,7 @@ impl PvfCheckStatement { /// Old, v1-style info about session info. Only needed for limited /// backwards-compatibility. #[derive(Clone, Encode, Decode, RuntimeDebug, TypeInfo)] -#[cfg_attr(feature = "std", derive(PartialEq, MallocSizeOf))] +#[cfg_attr(feature = "std", derive(PartialEq))] pub struct OldV1SessionInfo { /// Validators in canonical ordering. /// @@ -1781,7 +1705,6 @@ pub struct OldV1SessionInfo { /// `validators`, afterwards any remaining authorities can be found. This is any authorities not /// participating in parachain consensus - see /// [`max_validators`](https://github.com/paritytech/polkadot/blob/a52dca2be7840b23c19c153cf7e110b1e3e475f8/runtime/parachains/src/configuration.rs#L148) - #[cfg_attr(feature = "std", ignore_malloc_size_of = "outside type")] pub discovery_keys: Vec, /// The assignment keys for validators. /// diff --git a/src/main.rs b/src/main.rs index 14d62fbb9ad6..13c17df851f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,6 +20,11 @@ use color_eyre::eyre; +/// Global allocator. Changing it to another allocator will require changing +/// `memory_stats::MemoryAllocationTracker`. +#[global_allocator] +pub static ALLOC: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc; + fn main() -> eyre::Result<()> { color_eyre::install()?; polkadot_cli::run()?; From d57049f1e4e5b00309cdd0297235a8de821f601d Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 6 Dec 2022 13:03:18 -0500 Subject: [PATCH 166/211] Let the PVF host kill the worker on timeout (#6381) * Let the PVF host kill the worker on timeout * Fix comment * Fix inaccurate comments; add missing return statement * Fix a comment * Fix comment --- node/core/pvf/src/execute/worker.rs | 4 +++- node/core/pvf/src/host.rs | 2 +- node/core/pvf/src/prepare/pool.rs | 5 ++++- node/core/pvf/src/prepare/worker.rs | 10 +++++++--- node/core/pvf/src/worker_common.rs | 19 ++++++++++--------- 5 files changed, 25 insertions(+), 15 deletions(-) diff --git a/node/core/pvf/src/execute/worker.rs b/node/core/pvf/src/execute/worker.rs index 46226a159c26..105accf18e2b 100644 --- a/node/core/pvf/src/execute/worker.rs +++ b/node/core/pvf/src/execute/worker.rs @@ -74,6 +74,8 @@ pub enum Outcome { /// Given the idle token of a worker and parameters of work, communicates with the worker and /// returns the outcome. +/// +/// NOTE: Returning the `HardTimeout` or `IoErr` errors will trigger the child process being killed. pub async fn start_work( worker: IdleWorker, artifact: ArtifactPathId, @@ -148,7 +150,7 @@ pub async fn start_work( target: LOG_TARGET, worker_pid = %pid, validation_code_hash = ?artifact.id.code_hash, - "execution worker exceeded alloted time for execution", + "execution worker exceeded allotted time for execution", ); // TODO: This case is not really a hard timeout as the timeout here in the host is // lenient. Should fix this as part of diff --git a/node/core/pvf/src/host.rs b/node/core/pvf/src/host.rs index 483419409448..0f2e2b839a80 100644 --- a/node/core/pvf/src/host.rs +++ b/node/core/pvf/src/host.rs @@ -390,7 +390,7 @@ async fn run( from_prepare_queue = from_prepare_queue_rx.next() => { let from_queue = break_if_fatal!(from_prepare_queue.ok_or(Fatal)); - // Note that preparation always succeeds. + // Note that the preparation outcome is always reported as concluded. // // That's because the error conditions are written into the artifact and will be // reported at the time of the execution. It potentially, but not necessarily, can diff --git a/node/core/pvf/src/prepare/pool.rs b/node/core/pvf/src/prepare/pool.rs index 9ba64be97555..306588eb429a 100644 --- a/node/core/pvf/src/prepare/pool.rs +++ b/node/core/pvf/src/prepare/pool.rs @@ -294,12 +294,15 @@ fn handle_mux( Ok(()) }, PoolEvent::StartWork(worker, outcome) => { + // If we receive any outcome other than `Concluded`, we attempt to kill the worker + // process. match outcome { Outcome::Concluded { worker: idle, result } => { let data = match spawned.get_mut(worker) { None => { // Perhaps the worker was killed meanwhile and the result is no longer - // relevant. + // relevant. We already send `Rip` when purging if we detect that the + // worker is dead. return Ok(()) }, Some(data) => data, diff --git a/node/core/pvf/src/prepare/worker.rs b/node/core/pvf/src/prepare/worker.rs index 4e0c411e45de..91361eacaf26 100644 --- a/node/core/pvf/src/prepare/worker.rs +++ b/node/core/pvf/src/prepare/worker.rs @@ -78,6 +78,9 @@ enum Selected { /// Given the idle token of a worker and parameters of work, communicates with the worker and /// returns the outcome. +/// +/// NOTE: Returning the `TimedOut` or `DidNotMakeIt` errors will trigger the child process being +/// killed. pub async fn start_work( worker: IdleWorker, code: Arc>, @@ -149,6 +152,7 @@ pub async fn start_work( }, }; + // NOTE: A `TimedOut` or `DidNotMakeIt` error triggers the child process being killed. match selected { // Timed out on the child. This should already be logged by the child. Selected::Done(Err(PrepareError::TimedOut)) => Outcome::TimedOut, @@ -162,6 +166,9 @@ pub async fn start_work( } /// Handles the case where we successfully received response bytes on the host from the child. +/// +/// NOTE: Here we know the artifact exists, but is still located in a temporary file which will be +/// cleared by `with_tmp_file`. async fn handle_response_bytes( response_bytes: Vec, pid: u32, @@ -201,9 +208,6 @@ async fn handle_response_bytes( ); // Return a timeout error. - // - // NOTE: The artifact exists, but is located in a temporary file which - // will be cleared by `with_tmp_file`. return Selected::Deadline } diff --git a/node/core/pvf/src/worker_common.rs b/node/core/pvf/src/worker_common.rs index 55c91a64424d..f9eaf42dcf67 100644 --- a/node/core/pvf/src/worker_common.rs +++ b/node/core/pvf/src/worker_common.rs @@ -199,10 +199,8 @@ where } /// Loop that runs in the CPU time monitor thread on prepare and execute jobs. Continuously wakes up -/// from sleeping and then either sleeps for the remaining CPU time, or kills the process if we -/// exceed the CPU timeout. -/// -/// NOTE: Killed processes are detected and cleaned up in `purge_dead`. +/// from sleeping and then either sleeps for the remaining CPU time, or sends back a timeout error +/// if we exceed the CPU timeout. /// /// NOTE: If the job completes and this thread is still sleeping, it will continue sleeping in the /// background. When it wakes, it will see that the flag has been set and return. @@ -233,7 +231,11 @@ pub async fn cpu_time_monitor_loop( timeout.as_millis(), ); - // Send back a TimedOut error on timeout. + // Send back a `TimedOut` error. + // + // NOTE: This will cause the worker, whether preparation or execution, to be killed by + // the host. We do not kill the process here because it would interfere with the proper + // handling of this error. let encoded_result = match job_kind { JobKind::Prepare => { let result: Result<(), PrepareError> = Err(PrepareError::TimedOut); @@ -244,8 +246,8 @@ pub async fn cpu_time_monitor_loop( result.encode() }, }; - // If we error there is nothing else we can do here, and we are killing the process, - // anyway. The receiving side will just have to time out. + // If we error here there is nothing we can do apart from log it. The receiving side + // will just have to time out. if let Err(err) = framed_send(&mut stream, encoded_result.as_slice()).await { gum::warn!( target: LOG_TARGET, @@ -255,8 +257,7 @@ pub async fn cpu_time_monitor_loop( ); } - // Kill the process. - std::process::exit(1); + return } // Sleep for the remaining CPU time, plus a bit to account for overhead. Note that the sleep From ef17d4f17a57fd73574076efe1a8540260c06b1c Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Wed, 7 Dec 2022 15:48:43 +0100 Subject: [PATCH 167/211] Companion for paritytech/substrate#12788 (#6360) * Companion for paritytech/substrate#12788 * migrations * rustfmt * update lockfile for {"substrate"} * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 385 ++++++++---------- runtime/kusama/src/lib.rs | 5 + .../pallet_referenda_fellowship_referenda.rs | 7 + .../src/weights/pallet_referenda_referenda.rs | 7 + 4 files changed, 200 insertions(+), 204 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7e5855354730..ecd4629f0382 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "env_logger 0.9.0", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "chrono", "frame-election-provider-support", @@ -4081,7 +4081,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "log", @@ -4101,7 +4101,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "anyhow", "jsonrpsee", @@ -4606,7 +4606,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4620,7 +4620,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4695,7 +4695,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4714,7 +4714,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4729,7 +4729,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -4745,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4768,7 +4768,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4805,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4822,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4839,7 +4839,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4881,7 +4881,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4894,7 +4894,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4912,7 +4912,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4930,7 +4930,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4953,7 +4953,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4969,7 +4969,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5006,7 +5006,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5023,7 +5023,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5040,7 +5040,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5056,7 +5056,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5072,7 +5072,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -5089,7 +5089,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5109,7 +5109,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "sp-api", @@ -5119,7 +5119,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5159,7 +5159,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5176,7 +5176,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5191,7 +5191,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5209,7 +5209,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5224,12 +5224,13 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "assert_matches", "frame-benchmarking", "frame-support", "frame-system", + "log", "parity-scale-codec", "scale-info", "serde", @@ -5242,7 +5243,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5258,7 +5259,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -5279,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5295,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -5309,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5332,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5343,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "log", "sp-arithmetic", @@ -5352,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5369,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -5383,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5401,7 +5402,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5420,7 +5421,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-support", "frame-system", @@ -5436,7 +5437,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5452,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5464,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5481,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5497,7 +5498,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -5512,7 +5513,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-benchmarking", "frame-support", @@ -8279,7 +8280,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "log", "sp-core", @@ -8290,7 +8291,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures", @@ -8317,7 +8318,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "futures-timer", @@ -8340,7 +8341,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8356,7 +8357,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8373,7 +8374,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8384,7 +8385,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "chrono", @@ -8424,7 +8425,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "fnv", "futures", @@ -8452,7 +8453,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "hash-db", "kvdb", @@ -8477,7 +8478,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures", @@ -8501,7 +8502,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "fork-tree", @@ -8542,7 +8543,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "jsonrpsee", @@ -8564,7 +8565,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8577,7 +8578,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures", @@ -8601,9 +8602,8 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ - "lazy_static", "lru", "parity-scale-codec", "parking_lot 0.12.1", @@ -8612,7 +8612,6 @@ dependencies = [ "sc-executor-wasmtime", "sp-api", "sp-core", - "sp-core-hashing-proc-macro", "sp-externalities", "sp-io", "sp-panic-handler", @@ -8627,13 +8626,10 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ - "environmental", - "parity-scale-codec", "sc-allocator", "sp-maybe-compressed-blob", - "sp-sandbox", "sp-wasm-interface", "thiserror", "wasm-instrument", @@ -8643,14 +8639,12 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "log", - "parity-scale-codec", "sc-allocator", "sc-executor-common", "sp-runtime-interface", - "sp-sandbox", "sp-wasm-interface", "wasmi", ] @@ -8658,19 +8652,16 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "cfg-if", "libc", "log", "once_cell", - "parity-scale-codec", - "parity-wasm", "rustix", "sc-allocator", "sc-executor-common", "sp-runtime-interface", - "sp-sandbox", "sp-wasm-interface", "wasmtime", ] @@ -8678,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "ahash", "array-bytes", @@ -8719,7 +8710,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "finality-grandpa", "futures", @@ -8740,7 +8731,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "ansi_term", "futures", @@ -8756,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "async-trait", @@ -8771,7 +8762,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "async-trait", @@ -8818,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "cid", "futures", @@ -8838,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "bitflags", @@ -8864,7 +8855,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "ahash", "futures", @@ -8882,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "futures", @@ -8903,7 +8894,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "async-trait", @@ -8934,7 +8925,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "futures", @@ -8953,7 +8944,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "bytes", @@ -8983,7 +8974,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "libp2p", @@ -8996,7 +8987,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9005,7 +8996,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "hash-db", @@ -9035,7 +9026,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "jsonrpsee", @@ -9058,7 +9049,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "jsonrpsee", @@ -9071,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "hex", @@ -9090,7 +9081,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "directories", @@ -9160,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "log", "parity-scale-codec", @@ -9172,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9191,7 +9182,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "libc", @@ -9210,7 +9201,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "chrono", "futures", @@ -9228,7 +9219,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "ansi_term", "atty", @@ -9259,7 +9250,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9270,7 +9261,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures", @@ -9296,7 +9287,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures", @@ -9310,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "futures-timer", @@ -9791,7 +9782,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "hash-db", "log", @@ -9809,7 +9800,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "blake2", "proc-macro-crate", @@ -9821,7 +9812,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -9834,7 +9825,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "integer-sqrt", "num-traits", @@ -9849,7 +9840,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -9862,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "parity-scale-codec", @@ -9874,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -9891,7 +9882,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "sp-api", @@ -9903,7 +9894,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "log", @@ -9921,7 +9912,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures", @@ -9940,7 +9931,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "merlin", @@ -9963,7 +9954,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -9977,7 +9968,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -9990,7 +9981,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "base58", @@ -10035,7 +10026,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "blake2", "byteorder", @@ -10049,7 +10040,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro2", "quote", @@ -10060,7 +10051,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10069,7 +10060,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro2", "quote", @@ -10079,7 +10070,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "environmental", "parity-scale-codec", @@ -10090,7 +10081,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "finality-grandpa", "log", @@ -10108,7 +10099,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10122,7 +10113,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "bytes", "ed25519-dalek", @@ -10149,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "lazy_static", "sp-core", @@ -10160,7 +10151,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures", @@ -10177,7 +10168,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "thiserror", "zstd", @@ -10186,7 +10177,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10204,7 +10195,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -10218,7 +10209,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "sp-api", "sp-core", @@ -10228,7 +10219,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "backtrace", "lazy_static", @@ -10238,7 +10229,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "rustc-hash", "serde", @@ -10248,7 +10239,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "either", "hash256-std-hasher", @@ -10270,7 +10261,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10288,7 +10279,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "Inflector", "proc-macro-crate", @@ -10297,24 +10288,10 @@ dependencies = [ "syn", ] -[[package]] -name = "sp-sandbox" -version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" -dependencies = [ - "log", - "parity-scale-codec", - "sp-core", - "sp-io", - "sp-std", - "sp-wasm-interface", - "wasmi", -] - [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -10328,7 +10305,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "scale-info", @@ -10339,7 +10316,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "hash-db", "log", @@ -10361,12 +10338,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10379,7 +10356,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "futures-timer", @@ -10395,7 +10372,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "sp-std", @@ -10407,7 +10384,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "sp-api", "sp-runtime", @@ -10416,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "log", @@ -10432,7 +10409,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "ahash", "hash-db", @@ -10455,7 +10432,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10472,7 +10449,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10483,7 +10460,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "impl-trait-for-tuples", "log", @@ -10496,7 +10473,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10711,7 +10688,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "platforms", ] @@ -10719,7 +10696,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10740,7 +10717,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures-util", "hyper", @@ -10753,7 +10730,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "async-trait", "jsonrpsee", @@ -10766,7 +10743,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "jsonrpsee", "log", @@ -10787,7 +10764,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "array-bytes", "async-trait", @@ -10813,7 +10790,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10823,7 +10800,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10834,7 +10811,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "ansi_term", "build-helper", @@ -11543,7 +11520,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#fafc8e0ba8c98bd22b47913ded414e74a0fcb67f" +source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" dependencies = [ "clap", "frame-remote-externalities", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 5fc626dc0a00..0f1be14e27d0 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1484,6 +1484,11 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, + pallet_referenda::migration::v1::MigrateV0ToV1, + pallet_referenda::migration::v1::MigrateV0ToV1< + Runtime, + governance::FellowshipReferendaInstance, + >, ); /// Unchecked extrinsic type as expected by this runtime. diff --git a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs index ca52d8044bbf..f12fc485769d 100644 --- a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs @@ -100,6 +100,13 @@ impl pallet_referenda::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) + fn refund_submission_deposit() -> Weight { + // Minimum execution time: 25_000 nanoseconds. + Weight::from_ref_time(25_000_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn cancel() -> Weight { diff --git a/runtime/kusama/src/weights/pallet_referenda_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_referenda.rs index 8d8fc6ecbd61..349f0c1ffede 100644 --- a/runtime/kusama/src/weights/pallet_referenda_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_referenda.rs @@ -98,6 +98,13 @@ impl pallet_referenda::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) + fn refund_submission_deposit() -> Weight { + // Minimum execution time: 25_000 nanoseconds. + Weight::from_ref_time(25_000_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn cancel() -> Weight { Weight::from_ref_time(38_601_000 as u64) From b0975770ee6d914e083c5b00b2d6763bb27fa289 Mon Sep 17 00:00:00 2001 From: eskimor Date: Wed, 7 Dec 2022 18:14:13 +0100 Subject: [PATCH 168/211] Make sure to preserve backing votes (#6382) * Guide updates * Consider more dead forks. * Ensure backing votes don't get overridden. * Fix spelling. * Fix comments. * Update node/primitives/src/lib.rs Co-authored-by: Tsvetomir Dimitrov Co-authored-by: eskimor Co-authored-by: Tsvetomir Dimitrov --- node/core/dispute-coordinator/src/import.rs | 52 ++--- .../dispute-coordinator/src/initialized.rs | 16 +- .../dispute-coordinator/src/scraping/mod.rs | 21 +- .../dispute-coordinator/src/scraping/tests.rs | 11 +- node/core/dispute-coordinator/src/tests.rs | 31 +-- .../src/disputes/prioritized_selection/mod.rs | 2 +- .../disputes/prioritized_selection/tests.rs | 4 +- .../dispute-distribution/src/sender/mod.rs | 4 +- node/primitives/src/disputes/mod.rs | 100 +++++++- node/primitives/src/lib.rs | 28 ++- .../src/node/disputes/dispute-coordinator.md | 219 ++++++++++-------- 11 files changed, 303 insertions(+), 185 deletions(-) diff --git a/node/core/dispute-coordinator/src/import.rs b/node/core/dispute-coordinator/src/import.rs index 28eacffab861..84adae167c7a 100644 --- a/node/core/dispute-coordinator/src/import.rs +++ b/node/core/dispute-coordinator/src/import.rs @@ -28,7 +28,9 @@ use std::collections::{BTreeMap, HashMap, HashSet}; -use polkadot_node_primitives::{CandidateVotes, DisputeStatus, SignedDisputeStatement, Timestamp}; +use polkadot_node_primitives::{ + disputes::ValidCandidateVotes, CandidateVotes, DisputeStatus, SignedDisputeStatement, Timestamp, +}; use polkadot_node_subsystem_util::rolling_session_window::RollingSessionWindow; use polkadot_primitives::v2::{ CandidateReceipt, DisputeStatement, IndexedVec, SessionIndex, SessionInfo, @@ -101,7 +103,7 @@ impl OwnVoteState { let mut our_valid_votes = env .controlled_indices() .iter() - .filter_map(|i| votes.valid.get_key_value(i)) + .filter_map(|i| votes.valid.raw().get_key_value(i)) .peekable(); let mut our_invalid_votes = env.controlled_indices.iter().filter_map(|i| votes.invalid.get_key_value(i)); @@ -163,8 +165,11 @@ impl CandidateVoteState { /// /// in case there have not been any previous votes. pub fn new_from_receipt(candidate_receipt: CandidateReceipt) -> Self { - let votes = - CandidateVotes { candidate_receipt, valid: BTreeMap::new(), invalid: BTreeMap::new() }; + let votes = CandidateVotes { + candidate_receipt, + valid: ValidCandidateVotes::new(), + invalid: BTreeMap::new(), + }; Self { votes, own_vote: OwnVoteState::NoVote, dispute_status: None } } @@ -178,7 +183,7 @@ impl CandidateVoteState { polkadot_primitives::v2::supermajority_threshold(n_validators); // We have a dispute, if we have votes on both sides: - let is_disputed = !votes.invalid.is_empty() && !votes.valid.is_empty(); + let is_disputed = !votes.invalid.is_empty() && !votes.valid.raw().is_empty(); let dispute_status = if is_disputed { let mut status = DisputeStatus::active(); @@ -187,7 +192,7 @@ impl CandidateVoteState { if is_confirmed { status = status.confirm(); }; - let concluded_for = votes.valid.len() >= supermajority_threshold; + let concluded_for = votes.valid.raw().len() >= supermajority_threshold; if concluded_for { status = status.conclude_for(now); }; @@ -262,25 +267,20 @@ impl CandidateVoteState { match statement.statement() { DisputeStatement::Valid(valid_kind) => { - let fresh = insert_into_statements( - &mut votes.valid, - *valid_kind, + let fresh = votes.valid.insert_vote( val_index, + *valid_kind, statement.into_validator_signature(), ); - if fresh { imported_valid_votes += 1; } }, DisputeStatement::Invalid(invalid_kind) => { - let fresh = insert_into_statements( - &mut votes.invalid, - *invalid_kind, - val_index, - statement.into_validator_signature(), - ); - + let fresh = votes + .invalid + .insert(val_index, (*invalid_kind, statement.into_validator_signature())) + .is_none(); if fresh { new_invalid_voters.push(val_index); imported_invalid_votes += 1; @@ -481,12 +481,7 @@ impl ImportResult { }, "Signature check for imported approval votes failed! This is a serious bug. Session: {:?}, candidate hash: {:?}, validator index: {:?}", env.session_index(), votes.candidate_receipt.hash(), index ); - if insert_into_statements( - &mut votes.valid, - ValidDisputeStatementKind::ApprovalChecking, - index, - sig, - ) { + if votes.valid.insert_vote(index, ValidDisputeStatementKind::ApprovalChecking, sig) { imported_valid_votes += 1; imported_approval_votes += 1; } @@ -535,14 +530,3 @@ fn find_controlled_validator_indices( controlled } - -// Returns 'true' if no other vote by that validator was already -// present and 'false' otherwise. Same semantics as `HashSet`. -fn insert_into_statements( - m: &mut BTreeMap, - tag: T, - val_index: ValidatorIndex, - val_signature: ValidatorSignature, -) -> bool { - m.insert(val_index, (tag, val_signature)).is_none() -} diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index a9c174921749..1313eb600052 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -26,8 +26,8 @@ use futures::{ use sc_keystore::LocalKeystore; use polkadot_node_primitives::{ - CandidateVotes, DisputeMessage, DisputeMessageCheckError, DisputeStatus, - SignedDisputeStatement, Timestamp, + disputes::ValidCandidateVotes, CandidateVotes, DisputeMessage, DisputeMessageCheckError, + DisputeStatus, SignedDisputeStatement, Timestamp, }; use polkadot_node_subsystem::{ messages::{ @@ -1024,7 +1024,7 @@ impl Initialized { imported_approval_votes = ?import_result.imported_approval_votes(), imported_valid_votes = ?import_result.imported_valid_votes(), imported_invalid_votes = ?import_result.imported_invalid_votes(), - total_valid_votes = ?import_result.new_state().votes().valid.len(), + total_valid_votes = ?import_result.new_state().votes().valid.raw().len(), total_invalid_votes = ?import_result.new_state().votes().invalid.len(), confirmed = ?import_result.new_state().is_confirmed(), "Import summary" @@ -1099,7 +1099,7 @@ impl Initialized { .map(CandidateVotes::from) .unwrap_or_else(|| CandidateVotes { candidate_receipt: candidate_receipt.clone(), - valid: BTreeMap::new(), + valid: ValidCandidateVotes::new(), invalid: BTreeMap::new(), }); @@ -1272,8 +1272,12 @@ fn make_dispute_message( .map_err(|()| DisputeMessageCreationError::InvalidStoredStatement)?; (our_vote, our_index, other_vote, *validator_index) } else { - let (validator_index, (statement_kind, validator_signature)) = - votes.valid.iter().next().ok_or(DisputeMessageCreationError::NoOppositeVote)?; + let (validator_index, (statement_kind, validator_signature)) = votes + .valid + .raw() + .iter() + .next() + .ok_or(DisputeMessageCreationError::NoOppositeVote)?; let other_vote = SignedDisputeStatement::new_checked( DisputeStatement::Valid(*statement_kind), *our_vote.candidate_hash(), diff --git a/node/core/dispute-coordinator/src/scraping/mod.rs b/node/core/dispute-coordinator/src/scraping/mod.rs index 99a6e68cdfb5..7f4f819756e3 100644 --- a/node/core/dispute-coordinator/src/scraping/mod.rs +++ b/node/core/dispute-coordinator/src/scraping/mod.rs @@ -19,7 +19,7 @@ use std::num::NonZeroUsize; use futures::channel::oneshot; use lru::LruCache; -use polkadot_node_primitives::MAX_FINALITY_LAG; +use polkadot_node_primitives::{DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION, MAX_FINALITY_LAG}; use polkadot_node_subsystem::{ messages::ChainApiMessage, overseer, ActivatedLeaf, ActiveLeavesUpdate, ChainApiError, SubsystemSender, @@ -65,7 +65,7 @@ const LRU_OBSERVED_BLOCKS_CAPACITY: NonZeroUsize = match NonZeroUsize::new(20) { /// With this information it provides a `CandidateComparator` and as a return value of /// `process_active_leaves_update` any scraped votes. /// -/// Scraped candidates are available `CANDIDATE_LIFETIME_AFTER_FINALIZATION` more blocks +/// Scraped candidates are available `DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION` more blocks /// after finalization as a precaution not to prune them prematurely. pub struct ChainScraper { /// All candidates we have seen included, which not yet have been finalized. @@ -87,16 +87,6 @@ impl ChainScraper { /// As long as we have `MAX_FINALITY_LAG` this makes sense as a value. pub(crate) const ANCESTRY_SIZE_LIMIT: u32 = MAX_FINALITY_LAG; - /// How many blocks after finalization a backed/included candidate should be kept. - /// We don't want to remove scraped candidates on finalization because we want to - /// be sure that disputes will conclude on abandoned forks. - /// Removing the candidate on finalization creates a possibility for an attacker to - /// avoid slashing. If a bad fork is abandoned too quickly because in the same another - /// better one gets finalized the entries for the bad fork will be pruned and we - /// will never participate in a dispute for it. We want such disputes to conclude - /// in a timely manner so that the offenders are slashed. - pub(crate) const CANDIDATE_LIFETIME_AFTER_FINALIZATION: BlockNumber = 2; - /// Create a properly initialized `OrderingProvider`. /// /// Returns: `Self` and any scraped votes. @@ -175,12 +165,13 @@ impl ChainScraper { /// Prune finalized candidates. /// - /// We keep each candidate for `CANDIDATE_LIFETIME_AFTER_FINALIZATION` blocks after finalization. + /// We keep each candidate for `DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION` blocks after finalization. /// After that we treat it as low priority. pub fn process_finalized_block(&mut self, finalized_block_number: &BlockNumber) { - // `CANDIDATE_LIFETIME_AFTER_FINALIZATION - 1` because `finalized_block_number`counts to the + // `DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION - 1` because `finalized_block_number`counts to the // candidate lifetime. - match finalized_block_number.checked_sub(Self::CANDIDATE_LIFETIME_AFTER_FINALIZATION - 1) { + match finalized_block_number.checked_sub(DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION - 1) + { Some(key_to_prune) => { self.backed_candidates.remove_up_to_height(&key_to_prune); self.included_candidates.remove_up_to_height(&key_to_prune); diff --git a/node/core/dispute-coordinator/src/scraping/tests.rs b/node/core/dispute-coordinator/src/scraping/tests.rs index 6251891af5a3..3a6befa2002d 100644 --- a/node/core/dispute-coordinator/src/scraping/tests.rs +++ b/node/core/dispute-coordinator/src/scraping/tests.rs @@ -23,6 +23,7 @@ use parity_scale_codec::Encode; use sp_core::testing::TaskExecutor; use ::test_helpers::{dummy_collator, dummy_collator_signature, dummy_hash}; +use polkadot_node_primitives::DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION; use polkadot_node_subsystem::{ jaeger, messages::{ @@ -452,9 +453,9 @@ fn scraper_prunes_finalized_candidates() { let candidate = make_candidate_receipt(get_block_number_hash(TEST_TARGET_BLOCK_NUMBER)); - // After `CANDIDATE_LIFETIME_AFTER_FINALIZATION` blocks the candidate should be removed + // After `DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION` blocks the candidate should be removed finalized_block_number = - TEST_TARGET_BLOCK_NUMBER + ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION; + TEST_TARGET_BLOCK_NUMBER + DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION; process_finalized_block(&mut scraper, &finalized_block_number); assert!(!scraper.is_candidate_backed(&candidate.hash())); @@ -512,10 +513,10 @@ fn scraper_handles_backed_but_not_included_candidate() { // The candidate should be removed. assert!( finalized_block_number < - TEST_TARGET_BLOCK_NUMBER + ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION + TEST_TARGET_BLOCK_NUMBER + DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION ); finalized_block_number += - TEST_TARGET_BLOCK_NUMBER + ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION; + TEST_TARGET_BLOCK_NUMBER + DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION; process_finalized_block(&mut scraper, &finalized_block_number); assert!(!scraper.is_candidate_included(&candidate.hash())); @@ -562,7 +563,7 @@ fn scraper_handles_the_same_candidate_incuded_in_two_different_block_heights() { // Finalize blocks to enforce pruning of scraped events. // The magic candidate was added twice, so it shouldn't be removed if we finalize two more blocks. finalized_block_number = test_targets.first().expect("there are two block nums") + - ChainScraper::CANDIDATE_LIFETIME_AFTER_FINALIZATION; + DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION; process_finalized_block(&mut scraper, &finalized_block_number); let magic_candidate = make_candidate_receipt(get_magic_candidate_hash()); diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index 4d32620946e0..309bd91e44d5 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -706,7 +706,7 @@ fn too_many_unconfirmed_statements_are_considered_spam() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 1); + assert_eq!(votes.valid.raw().len(), 1); assert_eq!(votes.invalid.len(), 1); } @@ -839,8 +839,11 @@ fn approval_vote_import_works() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); - assert!(votes.valid.get(&ValidatorIndex(4)).is_some(), "Approval vote is missing!"); + assert_eq!(votes.valid.raw().len(), 2); + assert!( + votes.valid.raw().get(&ValidatorIndex(4)).is_some(), + "Approval vote is missing!" + ); assert_eq!(votes.invalid.len(), 1); } @@ -964,7 +967,7 @@ fn dispute_gets_confirmed_via_participation() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); + assert_eq!(votes.valid.raw().len(), 2); assert_eq!(votes.invalid.len(), 1); } @@ -999,7 +1002,7 @@ fn dispute_gets_confirmed_via_participation() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 1); + assert_eq!(votes.valid.raw().len(), 1); assert_eq!(votes.invalid.len(), 1); } @@ -1132,7 +1135,7 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); + assert_eq!(votes.valid.raw().len(), 2); assert_eq!(votes.invalid.len(), 2); } @@ -1167,7 +1170,7 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 1); + assert_eq!(votes.valid.raw().len(), 1); assert_eq!(votes.invalid.len(), 1); } @@ -1246,7 +1249,7 @@ fn backing_statements_import_works_and_no_spam() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); + assert_eq!(votes.valid.raw().len(), 2); assert_eq!(votes.invalid.len(), 0); } @@ -1394,7 +1397,7 @@ fn conflicting_votes_lead_to_dispute_participation() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); + assert_eq!(votes.valid.raw().len(), 2); assert_eq!(votes.invalid.len(), 1); } @@ -1421,7 +1424,7 @@ fn conflicting_votes_lead_to_dispute_participation() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); + assert_eq!(votes.valid.raw().len(), 2); assert_eq!(votes.invalid.len(), 2); } @@ -1505,7 +1508,7 @@ fn positive_votes_dont_trigger_participation() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 1); + assert_eq!(votes.valid.raw().len(), 1); assert!(votes.invalid.is_empty()); } @@ -1541,7 +1544,7 @@ fn positive_votes_dont_trigger_participation() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); + assert_eq!(votes.valid.raw().len(), 2); assert!(votes.invalid.is_empty()); } @@ -3075,7 +3078,7 @@ fn refrain_from_participation() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 1); + assert_eq!(votes.valid.raw().len(), 1); assert_eq!(votes.invalid.len(), 1); } @@ -3183,7 +3186,7 @@ fn participation_for_included_candidates() { .await; let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); - assert_eq!(votes.valid.len(), 2); // 2 => we have participated + assert_eq!(votes.valid.raw().len(), 2); // 2 => we have participated assert_eq!(votes.invalid.len(), 1); } diff --git a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs index 4231dc840c2c..8ac582bb1cc4 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs @@ -216,7 +216,7 @@ where // Check if votes are within the limit for (session_index, candidate_hash, selected_votes) in votes { - let votes_len = selected_votes.valid.len() + selected_votes.invalid.len(); + let votes_len = selected_votes.valid.raw().len() + selected_votes.invalid.len(); if votes_len + total_votes_len > MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME { // we are done - no more votes can be added return result diff --git a/node/core/provisioner/src/disputes/prioritized_selection/tests.rs b/node/core/provisioner/src/disputes/prioritized_selection/tests.rs index 1f8d4f180263..982d19356e6a 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/tests.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/tests.rs @@ -393,7 +393,9 @@ impl TestDisputes { ValidDisputeStatementKind::Explicit, 0, local_votes_count, - ), + ) + .into_iter() + .collect(), invalid: BTreeMap::new(), }, ); diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index 8cecc96c8dc7..c0cb7c1c0acc 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -279,7 +279,7 @@ impl DisputeSender { Some(votes) => votes, }; - let our_valid_vote = votes.valid.get(&our_index); + let our_valid_vote = votes.valid.raw().get(&our_index); let our_invalid_vote = votes.invalid.get(&our_index); @@ -291,7 +291,7 @@ impl DisputeSender { } else if let Some(our_invalid_vote) = our_invalid_vote { // Get some valid vote as well: let valid_vote = - votes.valid.iter().next().ok_or(JfyiError::MissingVotesFromCoordinator)?; + votes.valid.raw().iter().next().ok_or(JfyiError::MissingVotesFromCoordinator)?; (valid_vote, (&our_index, our_invalid_vote)) } else { // There is no vote from us yet - nothing to do. diff --git a/node/primitives/src/disputes/mod.rs b/node/primitives/src/disputes/mod.rs index ee047c7bcc22..bad2ddbffc46 100644 --- a/node/primitives/src/disputes/mod.rs +++ b/node/primitives/src/disputes/mod.rs @@ -14,7 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . -use std::collections::{BTreeMap, BTreeSet}; +use std::collections::{ + btree_map::{Entry as Bentry, Keys as Bkeys}, + BTreeMap, BTreeSet, +}; use parity_scale_codec::{Decode, Encode}; @@ -49,7 +52,7 @@ pub struct CandidateVotes { /// The receipt of the candidate itself. pub candidate_receipt: CandidateReceipt, /// Votes of validity, sorted by validator index. - pub valid: BTreeMap, + pub valid: ValidCandidateVotes, /// Votes of invalidity, sorted by validator index. pub invalid: BTreeMap, } @@ -69,6 +72,99 @@ impl CandidateVotes { } } +#[derive(Debug, Clone)] +/// Valid candidate votes. +/// +/// Prefere backing votes over other votes. +pub struct ValidCandidateVotes { + votes: BTreeMap, +} + +impl ValidCandidateVotes { + /// Create new empty `ValidCandidateVotes` + pub fn new() -> Self { + Self { votes: BTreeMap::new() } + } + /// Insert a vote, replacing any already existing vote. + /// + /// Except, for backing votes: Backing votes are always kept, and will never get overridden. + /// Import of other king of `valid` votes, will be ignored if a backing vote is already + /// present. Any already existing `valid` vote, will be overridden by any given backing vote. + /// + /// Returns: true, if the insert had any effect. + pub fn insert_vote( + &mut self, + validator_index: ValidatorIndex, + kind: ValidDisputeStatementKind, + sig: ValidatorSignature, + ) -> bool { + match self.votes.entry(validator_index) { + Bentry::Vacant(vacant) => { + vacant.insert((kind, sig)); + true + }, + Bentry::Occupied(mut occupied) => match occupied.get().0 { + ValidDisputeStatementKind::BackingValid(_) | + ValidDisputeStatementKind::BackingSeconded(_) => false, + ValidDisputeStatementKind::Explicit | + ValidDisputeStatementKind::ApprovalChecking => { + occupied.insert((kind, sig)); + kind != occupied.get().0 + }, + }, + } + } + + /// Retain any votes that match the given criteria. + pub fn retain(&mut self, f: F) + where + F: FnMut(&ValidatorIndex, &mut (ValidDisputeStatementKind, ValidatorSignature)) -> bool, + { + self.votes.retain(f) + } + + /// Get all the validator indeces we have votes for. + pub fn keys( + &self, + ) -> Bkeys<'_, ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)> { + self.votes.keys() + } + + /// Get read only direct access to underlying map. + pub fn raw( + &self, + ) -> &BTreeMap { + &self.votes + } +} + +impl FromIterator<(ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature))> + for ValidCandidateVotes +{ + fn from_iter(iter: T) -> Self + where + T: IntoIterator, + { + Self { votes: BTreeMap::from_iter(iter) } + } +} + +impl From + for BTreeMap +{ + fn from(wrapped: ValidCandidateVotes) -> Self { + wrapped.votes + } +} +impl IntoIterator for ValidCandidateVotes { + type Item = (ValidatorIndex, (ValidDisputeStatementKind, ValidatorSignature)); + type IntoIter = as IntoIterator>::IntoIter; + + fn into_iter(self) -> Self::IntoIter { + self.votes.into_iter() + } +} + impl SignedDisputeStatement { /// Create a new `SignedDisputeStatement` from information /// that is available on-chain, and hence already can be trusted. diff --git a/node/primitives/src/lib.rs b/node/primitives/src/lib.rs index f9403ea6c186..da0a0eca80be 100644 --- a/node/primitives/src/lib.rs +++ b/node/primitives/src/lib.rs @@ -30,10 +30,10 @@ use parity_scale_codec::{Decode, Encode, Error as CodecError, Input}; use serde::{de, Deserialize, Deserializer, Serialize, Serializer}; use polkadot_primitives::v2::{ - BlakeTwo256, CandidateCommitments, CandidateHash, CollatorPair, CommittedCandidateReceipt, - CompactStatement, EncodeAs, Hash, HashT, HeadData, Id as ParaId, OutboundHrmpMessage, - PersistedValidationData, SessionIndex, Signed, UncheckedSigned, UpwardMessage, ValidationCode, - ValidatorIndex, MAX_CODE_SIZE, MAX_POV_SIZE, + BlakeTwo256, BlockNumber, CandidateCommitments, CandidateHash, CollatorPair, + CommittedCandidateReceipt, CompactStatement, EncodeAs, Hash, HashT, HeadData, Id as ParaId, + OutboundHrmpMessage, PersistedValidationData, SessionIndex, Signed, UncheckedSigned, + UpwardMessage, ValidationCode, ValidatorIndex, MAX_CODE_SIZE, MAX_POV_SIZE, }; pub use sp_consensus_babe::{ AllowedSlots as BabeAllowedSlots, BabeEpochConfiguration, Epoch as BabeEpoch, @@ -73,8 +73,28 @@ pub const BACKING_EXECUTION_TIMEOUT: Duration = Duration::from_secs(2); /// ensure that in the absence of extremely large disparities between hardware, /// blocks that pass backing are considered executable by approval checkers or /// dispute participants. +/// +/// NOTE: If this value is increased significantly, also check the dispute coordinator to consider +/// candidates longer into finalization: `DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION`. pub const APPROVAL_EXECUTION_TIMEOUT: Duration = Duration::from_secs(12); +/// How many blocks after finalization an information about backed/included candidate should be +/// kept. +/// +/// We don't want to remove scraped candidates on finalization because we want to +/// be sure that disputes will conclude on abandoned forks. +/// Removing the candidate on finalization creates a possibility for an attacker to +/// avoid slashing. If a bad fork is abandoned too quickly because another +/// better one gets finalized the entries for the bad fork will be pruned and we +/// might never participate in a dispute for it. +/// +/// This value should consider the timeout we allow for participation in approval-voting. In +/// particular, the following condition should hold: +/// +/// slot time * `DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION` > `APPROVAL_EXECUTION_TIMEOUT` +/// + slot time +pub const DISPUTE_CANDIDATE_LIFETIME_AFTER_FINALIZATION: BlockNumber = 10; + /// Linked to `MAX_FINALITY_LAG` in relay chain selection, /// `MAX_HEADS_LOOK_BACK` in `approval-voting` and /// `MAX_BATCH_SCRAPE_ANCESTORS` in `dispute-coordinator` diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index 07fc647a711c..260f5843d0e2 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -9,12 +9,14 @@ In particular the dispute-coordinator is responsible for: - Ensuring that the node is able to raise a dispute in case an invalid candidate is found during approval checking. -- Ensuring lazy approval votes (votes given without running the parachain - validation function) will be recorded, so lazy nodes can get slashed properly. +- Ensuring approval votes will be recorded. - Coordinating actual participation in a dispute, ensuring that the node participates in any justified dispute in a way that ensures resolution of disputes on the network even in the case of many disputes raised (flood/DoS scenario). +- Ensuring disputes resolve, even for candidates on abandoned forks as much as + reasonably possible, to rule out "free tries" and thus guarantee our gambler's + ruin property. - Provide an API for chain selection, so we can prevent finalization of any chain which has included candidates for which a dispute is either ongoing or concluded invalid and avoid building on chains with an included invalid @@ -22,6 +24,8 @@ In particular the dispute-coordinator is responsible for: - Provide an API for retrieving (resolved) disputes, including all votes, both implicit (approval, backing) and explicit dispute votes. So validators can get rewarded/slashed accordingly. +- Ensure backing votes are recorded and will never get overridden by explicit + votes. ## Ensuring That Disputes Can Be Raised @@ -76,32 +80,38 @@ inefficient process. (Quadratic complexity adds up, with 35 votes in total per c Approval votes are very relevant nonetheless as we are going to see in the next section. -## Ensuring Lazy Approval Votes Will Be Recorded +## Ensuring approval votes will be recorded ### Ensuring Recording +Only votes recorded by the dispute coordinator will be considered for slashing. + While there is no need to record approval votes in the dispute coordinator -preemptively, we do need to make sure they are recorded when a dispute -actually happens. This is because only votes recorded by the dispute -coordinator will be considered for slashing. It is sufficient for our -threat model that malicious backers are slashed as opposed to both backers and -approval checkers. However, we still must import approval votes from the approvals -process into the disputes process to ensure that lazy approval checkers -actually run the parachain validation function. Slashing lazy approval checkers is necessary, else we risk a useless approvals process where every approval -checker blindly votes valid for every candidate. If we did not import approval -votes, lazy nodes would likely cast a properly checked explicit vote as part -of the dispute in addition to their blind approval vote and thus avoid a slash. -With the 2/3rd honest assumption it seems unrealistic that lazy approval voters -will keep sending unchecked approval votes once they became aware of a raised -dispute. Hence the most crucial approval votes to import are the early ones -(tranche 0), to take into account network latencies and such we still want to -import approval votes at a later point in time as well (in particular we need -to make sure the dispute can conclude, but more on that later). - -As mentioned already previously, importing votes is most efficient when batched. -At the same time approval voting and disputes are running concurrently so -approval votes are expected to trickle in still, when a dispute is already -ongoing. +preemptively, we make some effort to have any in approval-voting received +approval votes recorded when a dispute actually happens: + +This is not required for concluding the dispute, as nodes send their own vote +anyway (either explicit valid or their existing approval-vote). What nodes can +do though, is participating in approval-voting, casting a vote, but later when a +dispute is raised reconsider their vote and send an explicit invalid vote. If +they managed to only have that one recorded, then they could avoid a slash. + +This is not a problem for our basic security assumptions: The backers are the +ones to be supposed to have skin in the game, so we are not too woried about +colluding approval voters getting away slash free as the gambler's ruin property +is maintained anyway. There is however a separate problem, from colluding +approval-voters, that is "lazy" approval voters. If it were easy and reliable +for approval-voters to reconsider their vote, in case of an actual dispute, then +they don't have a direct incentive (apart from playing a part in securing the +network) to properly run the validation function at all - they could just always +vote "valid" totally risk free. (While they would alwasy risk a slash by voting +invalid.) + + +So we do want to fetch approval votes from approval-voting. Importing votes is +most efficient when batched. At the same time approval voting and disputes are +running concurrently so approval votes are expected to trickle in still, when a +dispute is already ongoing. Hence, we have the following requirements for importing approval votes: @@ -112,12 +122,12 @@ Hence, we have the following requirements for importing approval votes: already running. With a design where approval voting sends votes to the dispute-coordinator by -itself, we would need to make approval voting aware of ongoing disputes and -once it is aware it could start sending all already existing votes batched and +itself, we would need to make approval voting aware of ongoing disputes and once +it is aware it could start sending all already existing votes batched and trickling in votes as they come. The problem with this is, that it adds some unnecessary complexity to approval-voting and also we might still import most of -the votes unbatched, but one-by-one, depending on what point in time the dispute -was raised. +the votes unbatched one-by-one, depending on what point in time the dispute was +raised. Instead of the dispute coordinator informing approval-voting of an ongoing dispute for it to begin forwarding votes to the dispute coordinator, it makes @@ -126,14 +136,11 @@ candidates in dispute. This way, the dispute coordinator can also pick the best time for maximizing the number of votes in the batch. Now the question remains, when should the dispute coordinator ask -approval-voting for votes? As argued above already, querying approval votes at -the beginning of the dispute, will likely already take care of most malicious -votes. Still we would like to have a record of all, if possible. So what are -other points in time we might query approval votes? +approval-voting for votes? In fact for slashing it is only relevant to have them once the dispute concluded, so we can query approval voting the moment the dispute concludes! -There are two potential caveats with this though: +Two concerns that come to mind, are easily addressed: 1. Timing: We would like to rely as little as possible on implementation details of approval voting. In particular, if the dispute is ongoing for a long time, @@ -153,31 +160,12 @@ There are two potential caveats with this though: chain can no longer be finalized (some other/better fork already has been). This second problem can somehow be mitigated by also importing votes as soon as a dispute is detected, but not fully resolved. It is still inherently - racy. The problem can be solved in at least two ways: Either go back to full - eager import of approval votes into the dispute-coordinator in some more - efficient manner or by changing requirements on approval-voting, making it - hold on votes longer than necessary for approval-voting itself. Conceptually - both solutions are equivalent, as we make sure votes are available even - without an ongoing dispute. For now, in the interest of time we punt on this - issue: If nodes import votes as soon as a dispute is raised in addition to - when it concludes, we have a good chance of getting relevant votes and even - if not, the fundamental security properties will still hold: Backers are - getting slashed, therefore gambler's ruin is maintained. We would still like - to fix this at [some - point](https://github.com/paritytech/polkadot/issues/5864). -2. There could be a chicken and egg problem: If we wait for approval vote import - for the dispute to conclude, we would run into a problem if we needed those - approval votes to get enough votes to conclude the dispute. Luckily it turns - out that this is not quite true or at least can be made not true easily: As - already mentioned, approval voting and disputes are running concurrently, but - not only that, they race with each other! A node might simultaneously start - participating in a dispute via the dispute coordinator, due to learning about - a dispute via dispute-distribution, while also participating in approval - voting. By distributing our own approval vote we make sure the dispute can - conclude regardless how the race ended (we either participate explicitly - anyway or we sent our already present approval vote). By importing all - approval votes we make it possible to slash lazy approval voters, even - if they also cast an invalid explicit vote. + racy. The good thing is, this should be good enough: We are worried about + lazy approval checkers, the system does not need to be perfect. It should be + enough if there is some risk of getting caught. +2. We are not worried about the dispute not concluding, as nodes will always + send their own vote, regardless of it being an explict or an already existing + approval-vote. Conclusion: As long as we make sure, if our own approval vote gets imported (which would prevent dispute participation) to also distribute it via @@ -186,28 +174,27 @@ approval-voting deleting votes we will import approval votes twice during a dispute: Once when it is raised, to make as sure as possible to see approval votes also for abandoned forks and second when the dispute concludes, to maximize the amount of potentially malicious approval votes to be recorded. The -raciness obviously is not fully resolved by this, [a -ticket](https://github.com/paritytech/polkadot/issues/5864) exists. +raciness obviously is not fully resolved by this, but this is fine as argued +above. Ensuring vote import on chain is covered in the next section. -As already touched: Honest nodes -will likely validate twice, once in approval voting and once via -dispute-participation. Avoiding that does not really seem worthwhile though, as -disputes are for one exceptional, so a little wasted effort won't affect -everyday performance - second, even with eager importing of approval votes, -those doubled work is still present as disputes and approvals are racing. Every -time participation is faster than approval, a node would do double work. +What we don't care about is that honest approval-voters will likely validate +twice, once in approval voting and once via dispute-participation. Avoiding that +does not really seem worthwhile though, as disputes are for one exceptional, so +a little wasted effort won't affect everyday performance - second, even with +eager importing of approval votes, those doubled work is still present as +disputes and approvals are racing. Every time participation is faster than +approval, a node would do double work. ### Ensuring Chain Import While in the previous section we discussed means for nodes to ensure relevant votes are recorded so lazy approval checkers get slashed properly, it is crucial to also discuss the actual chain import. Only if we guarantee that recorded votes -will also get imported on chain (on all potential chains really) we will succeed +will get imported on chain (on all potential chains really) we will succeed in executing slashes. Particularly we need to make sure backing votes end up on -chain consistantly. In contrast recording and slashing lazy approval voters only -needs to be likely, not certain. +chain consistently. Dispute distribution will make sure all explicit dispute votes get distributed among nodes which includes current block producers (current authority set) which @@ -309,7 +296,7 @@ to send out a thousand tiny network messages by just sending out a single garbage message, is still a significant amplification and is nothing to ignore - this could absolutely be used to cause harm! -#### Participation +### Participation As explained, just blindly participating in any "dispute" that comes along is not a good idea. First we would like to make sure the dispute is actually @@ -336,7 +323,7 @@ participation at all on any _vote import_ if any of the following holds true: honest node that already voted, so the dispute must be genuine. Note: A node might be out of sync with the chain and we might only learn about a -block including a candidate, after we learned about the dispute. This means, we +block, including a candidate, after we learned about the dispute. This means, we have to re-evaluate participation decisions on block import! With this, nodes won't waste significant resources on completely made up @@ -348,7 +335,7 @@ obviously only need to worry about order if participations start queuing up. We treat participation for candidates that we have seen included with priority and put them on a priority queue which sorts participation based on the block -number of the relay parent of that candidate and for candidates with the same +number of the relay parent of the candidate and for candidates with the same relay parent height further by the `CandidateHash`. This ordering is globally unique and also prioritizes older candidates. @@ -359,38 +346,57 @@ times instead of just once to the oldest offender. This is obviously a good idea, in particular it makes it impossible for an attacker to prevent rolling back a very old candidate, by keeping raising disputes for newer candidates. -For candidates we have not seen included, but we know are backed (thanks to chain -scraping) or we have seen a dispute with 1/3+1 participation (confirmed dispute) -on them - we put participation on a best-effort queue. It has got the same -ordering as the priority one - by block heights of the relay parent, older blocks -are with priority. There is a possibility not to be able to obtain the block number -of the parent when we are inserting the dispute in the queue. The reason for this -is either the dispute is completely made up or we are out of sync with the other -nodes in terms of last finalized block. The former is very unlikely. If we are -adding a dispute in best-effort it should already be either confirmed or the -candidate is backed. In the latter case we will promote the dispute to the -priority queue once we learn about the new block. NOTE: this is still work in -progress and is tracked by [this issue] -(https://github.com/paritytech/polkadot/issues/5875). - -#### Import - -In the last section we looked at how to treat queuing participations to handle -heavy dispute load well. This already ensures, that honest nodes won't amplify -cheap DoS attacks. There is one minor issue remaining: Even if we delay +For candidates we have not seen included, but we know are backed (thanks to +chain scraping) or we have seen a dispute with 1/3+1 participation (confirmed +dispute) on them - we put participation on a best-effort queue. It has got the +same ordering as the priority one - by block heights of the relay parent, older +blocks are with priority. There is a possibility not to be able to obtain the +block number of the parent when we are inserting the dispute in the queue. To +account for races, we will promote any existing participation request to the +priority queue once we learn about an including block. NOTE: this is still work +in progress and is tracked by [this +issue](https://github.com/paritytech/polkadot/issues/5875). + +### Abandoned Forks + +Finalization: As mentioned we care about included and backed candidates on any +non-finalized chain, given that any disputed chain will not get finalized, we +don't need to care about finalized blocks, but what about forks that fall behind +the finalized chain in terms of block number? For those we would still like to +be able to participate in any raised disputes, otherwise attackers might be able +to avoid a slash if they manage to create a better fork after they learned about +the approval checkers. Therefore we do care about those forks even after they +have fallen behind the finalized chain. + +For simplicity we also care about the actual finalized chain (not just forks) up +to a certain depth. We do have to limit the depth, because otherwise we open a +DoS vector again. The depth (into the finalized chain) should be oriented on the +approval-voting execution timeout, in particular it should be significantly +larger. Otherwise by the time the execution is allowed to finish, we already +dropped information about those candidates and the dispute could not conclude. + +## Import + +### Spam Considerations + +In the last section we looked at how to treat queuing participations to +handle heavy dispute load well. This already ensures, that honest nodes won't +amplify cheap DoS attacks. There is one minor issue remaining: Even if we delay participation until we have some confirmation of the authenticity of the -dispute, we should also not blindly import all votes arriving into the -database as this might be used to just slowly fill up disk space, until the node -is no longer functional. This leads to our last protection mechanism at the -dispute coordinator level (dispute-distribution also has its own), which is spam -slots. For each import, where we don't know whether it might be spam or not we -increment a counter for each signing participant of explicit `invalid` votes. +dispute, we should also not blindly import all votes arriving into the database +as this might be used to just slowly fill up disk space, until the node is no +longer functional. This leads to our last protection mechanism at the dispute +coordinator level (dispute-distribution also has its own), which is spam slots. +For each import containing an invalid vote, where we don't know whether it might +be spam or not we increment a counter for each signing participant of explicit +`invalid` votes. What votes do we treat as a potential spam? A vote will increase a spam slot if -and only if all of the following condidions are satisfied: -* the candidate under dispute is not included on any chain +and only if all of the following conditions are satisfied: + +* the candidate under dispute was not seen included nor backed on any chain * the dispute is not confirmed -* we haven't casted a vote for the dispute +* we haven't cast a vote for the dispute The reason this works is because we only need to worry about actual dispute votes. Import of backing votes are already rate limited and concern only real @@ -401,6 +407,17 @@ an explicit `invalid` vote in the import. Only a third of the validators can be malicious, so spam disk usage is limited to `2*vote_size*n/3*NUM_SPAM_SLOTS`, with `n` being the number of validators. +### Backing Votes + +Backing votes are in some way special. For starters they are the only valid +votes that are guaranteed to exist for any valid dispute to be raised. Second +they are the only votes that commit to a shorter execution timeout +`BACKING_EXECUTION_TIMEOUT`, compared to a more lenient timeout used in approval +voting. To account properly for execution time variance across machines, +slashing might treat backing votes differently (more aggressively) than other +voting `valid` votes. Hence in import we shall never override a backing vote +with another valid vote. They can not be assumed to be interchangeable. + ## Attacks & Considerations The following attacks on the priority queue and best-effort queues are From 6e82eb514c5a679ba3fd3a736abe31aa7104b19d Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Wed, 7 Dec 2022 09:55:30 -0800 Subject: [PATCH 169/211] Refactoring to condense disputes tests (#6395) * Refactoring to condense disputes tests * Removing unhelpful comment lines * Addressing Tsveto's suggestions * Fixing formatting nit --- node/core/dispute-coordinator/src/tests.rs | 633 ++++++++------------- 1 file changed, 236 insertions(+), 397 deletions(-) diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index 309bd91e44d5..75d37790c3d7 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -104,6 +104,38 @@ async fn overseer_recv(virtual_overseer: &mut VirtualOverseer) -> AllMessages { .expect("overseer `recv` timed out") } +enum VoteType { + Backing, + Explicit, +} + +/// Helper to condense repeated code that creates vote pairs, one valid and one +/// invalid. Optionally the valid vote of the pair can be made a backing vote. +async fn generate_opposing_votes_pair( + test_state: &TestState, + valid_voter_idx: ValidatorIndex, + invalid_voter_idx: ValidatorIndex, + candidate_hash: CandidateHash, + session: SessionIndex, + valid_vote_type: VoteType, +) -> (SignedDisputeStatement, SignedDisputeStatement) { + let valid_vote = match valid_vote_type { + VoteType::Backing => + test_state + .issue_backing_statement_with_index(valid_voter_idx, candidate_hash, session) + .await, + VoteType::Explicit => + test_state + .issue_explicit_statement_with_index(valid_voter_idx, candidate_hash, session, true) + .await, + }; + let invalid_vote = test_state + .issue_explicit_statement_with_index(invalid_voter_idx, candidate_hash, session, false) + .await; + + (valid_vote, invalid_vote) +} + #[derive(Clone)] struct MockClock { time: Arc, @@ -633,31 +665,25 @@ fn too_many_unconfirmed_statements_are_considered_spam() { .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) .await; - let valid_vote1 = test_state - .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash1, session) - .await; - - let invalid_vote1 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash1, - session, - false, - ) - .await; - - let valid_vote2 = test_state - .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash2, session) - .await; + let (valid_vote1, invalid_vote1) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash1, + session, + VoteType::Backing, + ) + .await; - let invalid_vote2 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash2, - session, - false, - ) - .await; + let (valid_vote2, invalid_vote2) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash2, + session, + VoteType::Backing, + ) + .await; gum::trace!("Before sending `ImportStatements`"); virtual_overseer @@ -770,18 +796,15 @@ fn approval_vote_import_works() { .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) .await; - let valid_vote1 = test_state - .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash1, session) - .await; - - let invalid_vote1 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash1, - session, - false, - ) - .await; + let (valid_vote1, invalid_vote1) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash1, + session, + VoteType::Backing, + ) + .await; let approval_vote = test_state.issue_approval_vote_with_index( ValidatorIndex(4), @@ -882,41 +905,25 @@ fn dispute_gets_confirmed_via_participation() { ) .await; - let valid_vote1 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(3), - candidate_hash1, - session, - true, - ) - .await; - - let invalid_vote1 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash1, - session, - false, - ) - .await; - - let valid_vote2 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(3), - candidate_hash2, - session, - true, - ) - .await; + let (valid_vote1, invalid_vote1) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash1, + session, + VoteType::Explicit, + ) + .await; - let invalid_vote2 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash2, - session, - false, - ) - .await; + let (valid_vote2, invalid_vote2) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash2, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -1036,59 +1043,35 @@ fn dispute_gets_confirmed_at_byzantine_threshold() { .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) .await; - let valid_vote1 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(3), - candidate_hash1, - session, - true, - ) - .await; - - let invalid_vote1 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash1, - session, - false, - ) - .await; - - let valid_vote1a = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(4), - candidate_hash1, - session, - true, - ) - .await; - - let invalid_vote1a = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(5), - candidate_hash1, - session, - false, - ) - .await; + let (valid_vote1, invalid_vote1) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash1, + session, + VoteType::Explicit, + ) + .await; - let valid_vote2 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(3), - candidate_hash2, - session, - true, - ) - .await; + let (valid_vote1a, invalid_vote1a) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(4), + ValidatorIndex(5), + candidate_hash1, + session, + VoteType::Explicit, + ) + .await; - let invalid_vote2 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash2, - session, - false, - ) - .await; + let (valid_vote2, invalid_vote2) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash2, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -1323,23 +1306,15 @@ fn conflicting_votes_lead_to_dispute_participation() { ) .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(3), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(3), + ValidatorIndex(1), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; let invalid_vote_2 = test_state .issue_explicit_statement_with_index( @@ -1573,23 +1548,15 @@ fn wrong_validator_index_is_ignored() { .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(2), + ValidatorIndex(1), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -1658,23 +1625,15 @@ fn finality_votes_ignore_disputed_candidates() { ) .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(2), + ValidatorIndex(1), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -1778,23 +1737,15 @@ fn supermajority_valid_dispute_may_be_finalized() { let supermajority_threshold = polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(2), + ValidatorIndex(1), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -1925,23 +1876,15 @@ fn concluded_supermajority_for_non_active_after_time() { let supermajority_threshold = polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(2), + ValidatorIndex(1), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -2050,23 +1993,15 @@ fn concluded_supermajority_against_non_active_after_time() { let supermajority_threshold = polkadot_primitives::v2::supermajority_threshold(test_state.validators.len()); - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(2), + ValidatorIndex(1), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer @@ -2173,23 +2108,15 @@ fn resume_dispute_without_local_statement() { .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer @@ -2248,68 +2175,27 @@ fn resume_dispute_without_local_statement() { ) .await; - let valid_vote0 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(0), - candidate_hash, - session, - true, - ) - .await; - let valid_vote3 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(3), - candidate_hash, - session, - true, - ) - .await; - let valid_vote4 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(4), - candidate_hash, - session, - true, - ) - .await; - let valid_vote5 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(5), - candidate_hash, - session, - true, - ) - .await; - let valid_vote6 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(6), - candidate_hash, - session, - true, - ) - .await; - let valid_vote7 = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(7), - candidate_hash, - session, - true, - ) - .await; + let mut statements = Vec::new(); + // Getting votes for supermajority. Should already have two valid votes. + for i in vec![3, 4, 5, 6, 7] { + let vote = test_state + .issue_explicit_statement_with_index( + ValidatorIndex(i), + candidate_hash, + session, + true, + ) + .await; + + statements.push((vote, ValidatorIndex(i as _))); + } virtual_overseer .send(FromOrchestra::Communication { msg: DisputeCoordinatorMessage::ImportStatements { candidate_receipt: candidate_receipt.clone(), session, - statements: vec![ - (valid_vote0, ValidatorIndex(0)), - (valid_vote3, ValidatorIndex(3)), - (valid_vote4, ValidatorIndex(4)), - (valid_vote5, ValidatorIndex(5)), - (valid_vote6, ValidatorIndex(6)), - (valid_vote7, ValidatorIndex(7)), - ], + statements, pending_confirmation: None, }, }) @@ -2370,23 +2256,15 @@ fn resume_dispute_with_local_statement() { ) .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer @@ -2462,23 +2340,15 @@ fn resume_dispute_without_local_statement_or_local_key() { .activate_leaf_at_session(&mut virtual_overseer, session, 1, Vec::new()) .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer @@ -2566,23 +2436,15 @@ fn resume_dispute_with_local_statement_without_local_key() { ) .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer @@ -2762,22 +2624,15 @@ fn own_approval_vote_gets_distributed_on_dispute() { .await; // Trigger dispute: - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - false, - ) - .await; - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - true, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(2), + ValidatorIndex(1), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; let (pending_confirmation, confirmation_rx) = oneshot::channel(); virtual_overseer @@ -3022,23 +2877,15 @@ fn refrain_from_participation() { .await; // generate two votes - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { @@ -3122,23 +2969,15 @@ fn participation_for_included_candidates() { .await; // generate two votes - let valid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(1), - candidate_hash, - session, - true, - ) - .await; - - let invalid_vote = test_state - .issue_explicit_statement_with_index( - ValidatorIndex(2), - candidate_hash, - session, - false, - ) - .await; + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; virtual_overseer .send(FromOrchestra::Communication { From f3b76422739839e29f488c52b4b018a6d8d79f13 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Thu, 8 Dec 2022 13:26:18 +0100 Subject: [PATCH 170/211] [ci] Adjust check-runtime-migration job (#6107) * [WIP][ci] Add node to check-runtime-migration job * add image * remove sscache from before_script * add nodes * restart pipeline * restart pipeline2 * disable other jobs * debug * remove debug * add ports * restart pipeline * restart pipeline * restart pipeline * try kusama first * run polkadot 1st * disable some jobs * try command from command bot * cargo run * test passing variables * run without condition * adjust kusama and westend * fix * return jobs * fix small nits * split check-runtime-migration Co-authored-by: parity-processbot <> --- .gitlab-ci.yml | 1 - scripts/ci/gitlab/pipeline/check.yml | 37 +++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 57a76ad2c857..80b2d6790bfb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -93,7 +93,6 @@ default: before_script: - rustup show - cargo --version - - sccache -s .test-refs: rules: diff --git a/scripts/ci/gitlab/pipeline/check.yml b/scripts/ci/gitlab/pipeline/check.yml index 0e435d604821..f443e76d6779 100644 --- a/scripts/ci/gitlab/pipeline/check.yml +++ b/scripts/ci/gitlab/pipeline/check.yml @@ -51,8 +51,8 @@ check-try-runtime: - cargo check --features try-runtime --all # More info can be found here: https://github.com/paritytech/polkadot/pull/5865 -# Works only in PRs -check-runtime-migration: +# Works only in PRs with E1 label +.check-runtime-migration: stage: check extends: - .docker-env @@ -67,10 +67,41 @@ check-runtime-migration: if [[ $has_runtimemigration_label != 0 ]]; then echo "Found label runtimemigration. Running tests" export RUST_LOG=remote-ext=debug,runtime=debug - time cargo test --release -p westend-runtime -p polkadot-runtime -p kusama-runtime --features try-runtime + echo "---------- Running try-runtime for ${NETWORK} ----------" + time cargo run --release --features=try-runtime try-runtime --chain=${NETWORK}-dev --execution=Wasm --no-spec-check-panic on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443 else echo "runtimemigration label not found. Skipping" fi + +check-runtime-migration-polkadot: + stage: check + extends: + - .docker-env + - .test-pr-refs + - .compiler-info + - .check-runtime-migration + variables: + NETWORK: "polkadot" + +check-runtime-migration-kusama: + stage: check + extends: + - .docker-env + - .test-pr-refs + - .compiler-info + - .check-runtime-migration + variables: + NETWORK: "kusama" + +check-runtime-migration-westend: + stage: check + extends: + - .docker-env + - .test-pr-refs + - .compiler-info + - .check-runtime-migration + variables: + NETWORK: "westend" allow_failure: true # is broken, need to fix From f4b8c910838ab65a0ba909c70e611dda16d4a31d Mon Sep 17 00:00:00 2001 From: Mara Robin B Date: Thu, 8 Dec 2022 14:23:24 +0100 Subject: [PATCH 171/211] update weights (sync with 0.9.33) (#6362) * update weights (0.9.33) (#6299) * kusama: update weights * polkadot: update weights * rococo: update weights * westend: update weights * fix deps * Resolve merge Signed-off-by: Oliver Tale-Yazdi * Reset Kusama whitelist weights Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi Co-authored-by: Oliver Tale-Yazdi --- Cargo.lock | 10 + runtime/kusama/constants/Cargo.toml | 8 +- .../constants/src/weights/block_weights.rs | 59 ++--- .../src/weights/extrinsic_weights.rs | 62 +++-- .../weights/frame_benchmarking_baseline.rs | 48 ++-- .../frame_election_provider_support.rs | 28 +- runtime/kusama/src/weights/frame_system.rs | 46 ++-- .../kusama/src/weights/pallet_bags_list.rs | 15 +- runtime/kusama/src/weights/pallet_balances.rs | 27 +- runtime/kusama/src/weights/pallet_bounties.rs | 53 ++-- .../src/weights/pallet_child_bounties.rs | 34 ++- .../src/weights/pallet_collective_council.rs | 135 +++++----- .../pallet_collective_technical_committee.rs | 135 +++++----- .../src/weights/pallet_conviction_voting.rs | 56 ++-- .../kusama/src/weights/pallet_democracy.rs | 104 +++++--- .../pallet_election_provider_multi_phase.rs | 78 +++--- .../src/weights/pallet_elections_phragmen.rs | 79 +++--- .../kusama/src/weights/pallet_fast_unstake.rs | 67 ++--- runtime/kusama/src/weights/pallet_identity.rs | 178 +++++++------ .../kusama/src/weights/pallet_im_online.rs | 17 +- runtime/kusama/src/weights/pallet_indices.rs | 21 +- .../kusama/src/weights/pallet_membership.rs | 55 ++-- runtime/kusama/src/weights/pallet_multisig.rs | 74 +++--- .../src/weights/pallet_nomination_pools.rs | 98 ++++--- runtime/kusama/src/weights/pallet_preimage.rs | 54 ++-- runtime/kusama/src/weights/pallet_proxy.rs | 92 ++++--- .../src/weights/pallet_ranked_collective.rs | 52 ++-- .../pallet_referenda_fellowship_referenda.rs | 113 ++++---- .../src/weights/pallet_referenda_referenda.rs | 113 ++++---- .../kusama/src/weights/pallet_scheduler.rs | 66 +++-- runtime/kusama/src/weights/pallet_session.rs | 12 +- runtime/kusama/src/weights/pallet_staking.rs | 196 ++++++++------ .../kusama/src/weights/pallet_timestamp.rs | 12 +- runtime/kusama/src/weights/pallet_tips.rs | 48 ++-- runtime/kusama/src/weights/pallet_treasury.rs | 37 ++- runtime/kusama/src/weights/pallet_utility.rs | 33 ++- runtime/kusama/src/weights/pallet_vesting.rs | 94 ++++--- .../src/weights/runtime_common_auctions.rs | 18 +- .../src/weights/runtime_common_claims.rs | 21 +- .../src/weights/runtime_common_crowdloan.rs | 41 +-- .../weights/runtime_common_paras_registrar.rs | 41 +-- .../src/weights/runtime_common_slots.rs | 26 +- .../runtime_parachains_configuration.rs | 22 +- .../weights/runtime_parachains_disputes.rs | 9 +- .../src/weights/runtime_parachains_hrmp.rs | 57 ++-- .../weights/runtime_parachains_initializer.rs | 13 +- .../src/weights/runtime_parachains_paras.rs | 62 +++-- .../runtime_parachains_paras_inherent.rs | 44 ++-- .../src/weights/runtime_parachains_ump.rs | 19 +- runtime/polkadot/constants/Cargo.toml | 8 +- .../constants/src/weights/block_weights.rs | 59 ++--- .../src/weights/extrinsic_weights.rs | 62 +++-- .../weights/frame_benchmarking_baseline.rs | 48 ++-- .../frame_election_provider_support.rs | 28 +- runtime/polkadot/src/weights/frame_system.rs | 48 ++-- .../polkadot/src/weights/pallet_bags_list.rs | 15 +- .../polkadot/src/weights/pallet_balances.rs | 27 +- .../polkadot/src/weights/pallet_bounties.rs | 53 ++-- .../src/weights/pallet_child_bounties.rs | 34 ++- .../src/weights/pallet_collective_council.rs | 134 +++++----- .../pallet_collective_technical_committee.rs | 138 +++++----- .../polkadot/src/weights/pallet_democracy.rs | 104 +++++--- .../pallet_election_provider_multi_phase.rs | 80 +++--- .../src/weights/pallet_elections_phragmen.rs | 79 +++--- .../src/weights/pallet_fast_unstake.rs | 66 ++--- .../polkadot/src/weights/pallet_identity.rs | 178 +++++++------ .../polkadot/src/weights/pallet_im_online.rs | 17 +- .../polkadot/src/weights/pallet_indices.rs | 21 +- .../polkadot/src/weights/pallet_membership.rs | 55 ++-- .../polkadot/src/weights/pallet_multisig.rs | 74 +++--- .../src/weights/pallet_nomination_pools.rs | 102 +++++--- .../polkadot/src/weights/pallet_preimage.rs | 52 ++-- runtime/polkadot/src/weights/pallet_proxy.rs | 92 ++++--- .../polkadot/src/weights/pallet_scheduler.rs | 69 ++--- .../polkadot/src/weights/pallet_session.rs | 12 +- .../polkadot/src/weights/pallet_staking.rs | 192 ++++++++------ .../polkadot/src/weights/pallet_timestamp.rs | 12 +- runtime/polkadot/src/weights/pallet_tips.rs | 48 ++-- .../polkadot/src/weights/pallet_treasury.rs | 32 ++- .../polkadot/src/weights/pallet_utility.rs | 33 ++- .../polkadot/src/weights/pallet_vesting.rs | 94 ++++--- .../src/weights/runtime_common_auctions.rs | 18 +- .../src/weights/runtime_common_claims.rs | 21 +- .../src/weights/runtime_common_crowdloan.rs | 41 +-- .../weights/runtime_common_paras_registrar.rs | 42 +-- .../src/weights/runtime_common_slots.rs | 26 +- .../runtime_parachains_configuration.rs | 22 +- .../weights/runtime_parachains_disputes.rs | 9 +- .../src/weights/runtime_parachains_hrmp.rs | 78 +++--- .../weights/runtime_parachains_initializer.rs | 13 +- .../src/weights/runtime_parachains_paras.rs | 62 +++-- .../runtime_parachains_paras_inherent.rs | 38 +-- runtime/rococo/constants/Cargo.toml | 8 +- .../constants/src/weights/block_weights.rs | 57 ++-- .../src/weights/extrinsic_weights.rs | 58 ++--- .../weights/frame_benchmarking_baseline.rs | 48 ++-- runtime/rococo/src/weights/frame_system.rs | 48 ++-- runtime/rococo/src/weights/pallet_balances.rs | 27 +- runtime/rococo/src/weights/pallet_bounties.rs | 53 ++-- .../src/weights/pallet_child_bounties.rs | 34 ++- .../src/weights/pallet_collective_council.rs | 244 +++++++++++------- .../pallet_collective_technical_committee.rs | 244 +++++++++++------- .../rococo/src/weights/pallet_democracy.rs | 104 +++++--- .../src/weights/pallet_elections_phragmen.rs | 75 +++--- runtime/rococo/src/weights/pallet_identity.rs | 176 +++++++------ .../rococo/src/weights/pallet_im_online.rs | 17 +- runtime/rococo/src/weights/pallet_indices.rs | 21 +- .../rococo/src/weights/pallet_membership.rs | 113 ++++---- runtime/rococo/src/weights/pallet_multisig.rs | 76 +++--- runtime/rococo/src/weights/pallet_preimage.rs | 50 ++-- runtime/rococo/src/weights/pallet_proxy.rs | 92 ++++--- .../rococo/src/weights/pallet_scheduler.rs | 69 ++--- .../rococo/src/weights/pallet_timestamp.rs | 12 +- runtime/rococo/src/weights/pallet_tips.rs | 48 ++-- runtime/rococo/src/weights/pallet_treasury.rs | 32 ++- runtime/rococo/src/weights/pallet_utility.rs | 33 ++- runtime/rococo/src/weights/pallet_vesting.rs | 94 ++++--- .../src/weights/runtime_common_auctions.rs | 30 ++- .../src/weights/runtime_common_claims.rs | 19 +- .../src/weights/runtime_common_crowdloan.rs | 43 +-- .../weights/runtime_common_paras_registrar.rs | 42 +-- .../src/weights/runtime_common_slots.rs | 26 +- .../runtime_parachains_configuration.rs | 22 +- .../weights/runtime_parachains_disputes.rs | 9 +- .../src/weights/runtime_parachains_hrmp.rs | 60 +++-- .../weights/runtime_parachains_initializer.rs | 13 +- .../src/weights/runtime_parachains_paras.rs | 62 +++-- .../src/weights/runtime_parachains_ump.rs | 19 +- runtime/test-runtime/constants/Cargo.toml | 8 +- runtime/westend/constants/Cargo.toml | 8 +- .../constants/src/weights/block_weights.rs | 57 ++-- .../src/weights/extrinsic_weights.rs | 58 ++--- .../frame_election_provider_support.rs | 28 +- runtime/westend/src/weights/frame_system.rs | 48 ++-- .../westend/src/weights/pallet_bags_list.rs | 15 +- .../westend/src/weights/pallet_balances.rs | 27 +- .../pallet_election_provider_multi_phase.rs | 80 +++--- .../src/weights/pallet_fast_unstake.rs | 63 ++--- .../westend/src/weights/pallet_identity.rs | 176 +++++++------ .../westend/src/weights/pallet_im_online.rs | 17 +- runtime/westend/src/weights/pallet_indices.rs | 21 +- .../westend/src/weights/pallet_multisig.rs | 74 +++--- .../src/weights/pallet_nomination_pools.rs | 102 +++++--- .../westend/src/weights/pallet_preimage.rs | 52 ++-- runtime/westend/src/weights/pallet_proxy.rs | 92 ++++--- .../westend/src/weights/pallet_scheduler.rs | 69 ++--- runtime/westend/src/weights/pallet_session.rs | 12 +- runtime/westend/src/weights/pallet_staking.rs | 192 ++++++++------ .../westend/src/weights/pallet_timestamp.rs | 12 +- runtime/westend/src/weights/pallet_utility.rs | 33 ++- runtime/westend/src/weights/pallet_vesting.rs | 94 ++++--- .../src/weights/runtime_common_auctions.rs | 18 +- .../src/weights/runtime_common_crowdloan.rs | 41 +-- .../weights/runtime_common_paras_registrar.rs | 41 +-- .../src/weights/runtime_common_slots.rs | 26 +- .../runtime_parachains_configuration.rs | 22 +- .../weights/runtime_parachains_disputes.rs | 9 +- .../runtime_parachains_disputes_slashing.rs | 22 +- .../src/weights/runtime_parachains_hrmp.rs | 57 ++-- .../weights/runtime_parachains_initializer.rs | 13 +- .../src/weights/runtime_parachains_paras.rs | 62 +++-- .../runtime_parachains_paras_inherent.rs | 46 ++-- .../src/weights/runtime_parachains_ump.rs | 19 +- 163 files changed, 5178 insertions(+), 3932 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ecd4629f0382..fcb50982c58e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3313,7 +3313,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", + "sp-core", "sp-runtime", + "sp-weights", ] [[package]] @@ -6958,7 +6960,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", + "sp-core", "sp-runtime", + "sp-weights", ] [[package]] @@ -8143,7 +8147,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", + "sp-core", "sp-runtime", + "sp-weights", ] [[package]] @@ -11053,7 +11059,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", + "sp-core", "sp-runtime", + "sp-weights", ] [[package]] @@ -12294,7 +12302,9 @@ dependencies = [ "polkadot-primitives", "polkadot-runtime-common", "smallvec", + "sp-core", "sp-runtime", + "sp-weights", ] [[package]] diff --git a/runtime/kusama/constants/Cargo.toml b/runtime/kusama/constants/Cargo.toml index 84502182c98f..d24fc3b4be12 100644 --- a/runtime/kusama/constants/Cargo.toml +++ b/runtime/kusama/constants/Cargo.toml @@ -10,10 +10,14 @@ smallvec = "1.8.0" frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false } runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] std = [ - "sp-runtime/std" + "sp-core/std", + "sp-runtime/std", + "sp-weights/std" ] diff --git a/runtime/kusama/constants/src/weights/block_weights.rs b/runtime/kusama/constants/src/weights/block_weights.rs index a96b7bfc11de..546c6426d826 100644 --- a/runtime/kusama/constants/src/weights/block_weights.rs +++ b/runtime/kusama/constants/src/weights/block_weights.rs @@ -1,28 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19 (Y/M/D) -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16 (Y/M/D) +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/kusama/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -34,32 +32,31 @@ // --weight-path=runtime/kusama/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute an empty block. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 6_094_385, 6_351_993 - /// Average: 6_192_341 - /// Median: 6_193_838 - /// Std-Dev: 63893.84 + /// Min, Max: 6_665_440, 6_986_371 + /// Average: 6_731_894 + /// Median: 6_723_700 + /// Std-Dev: 49280.83 /// /// Percentiles nanoseconds: - /// 99th: 6_332_047 - /// 95th: 6_308_225 - /// 75th: 6_236_204 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_192_341); + /// 99th: 6_876_251 + /// 95th: 6_811_463 + /// 75th: 6_751_221 + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_731_894); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/kusama/constants/src/weights/extrinsic_weights.rs b/runtime/kusama/constants/src/weights/extrinsic_weights.rs index dfa623b6c72a..0de0c399f783 100644 --- a/runtime/kusama/constants/src/weights/extrinsic_weights.rs +++ b/runtime/kusama/constants/src/weights/extrinsic_weights.rs @@ -1,27 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-04-20 (Y/M/D) +//! DATE: 2022-11-16 (Y/M/D) +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/kusama/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -33,32 +32,31 @@ // --weight-path=runtime/kusama/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// - /// Stats [NS]: - /// Min, Max: 85_946, 88_408 - /// Average: 86_309 - /// Median: 86_213 - /// Std-Dev: 345.03 + /// Stats nanoseconds: + /// Min, Max: 94_359, 96_436 + /// Average: 94_889 + /// Median: 94_839 + /// Std-Dev: 369.49 /// - /// Percentiles [NS]: - /// 99th: 87_527 - /// 95th: 86_901 - /// 75th: 86_308 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(86_309); + /// Percentiles nanoseconds: + /// 99th: 96_279 + /// 95th: 95_584 + /// 75th: 95_005 + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(94_889); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs index 174c8859a41e..adf6d21c8ad5 100644 --- a/runtime/kusama/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/kusama/src/weights/frame_benchmarking_baseline.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_benchmarking::baseline`. @@ -46,46 +46,54 @@ pub struct WeightInfo(PhantomData); impl frame_benchmarking::baseline::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000000]`. fn addition(_i: u32, ) -> Weight { - Weight::from_ref_time(114_000 as u64) + // Minimum execution time: 102 nanoseconds. + Weight::from_ref_time(153_256 as u64) } /// The range of component `i` is `[0, 1000000]`. fn subtraction(_i: u32, ) -> Weight { - Weight::from_ref_time(125_000 as u64) + // Minimum execution time: 104 nanoseconds. + Weight::from_ref_time(159_150 as u64) } /// The range of component `i` is `[0, 1000000]`. fn multiplication(_i: u32, ) -> Weight { - Weight::from_ref_time(116_000 as u64) + // Minimum execution time: 106 nanoseconds. + Weight::from_ref_time(155_325 as u64) } /// The range of component `i` is `[0, 1000000]`. fn division(_i: u32, ) -> Weight { - Weight::from_ref_time(115_000 as u64) + // Minimum execution time: 102 nanoseconds. + Weight::from_ref_time(148_483 as u64) } /// The range of component `i` is `[0, 100]`. fn hashing(i: u32, ) -> Weight { - Weight::from_ref_time(19_441_790_000 as u64) - // Standard Error: 126_000 - .saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 19_966_061 nanoseconds. + Weight::from_ref_time(20_167_025_347 as u64) + // Standard Error: 298_405 + .saturating_add(Weight::from_ref_time(1_324_681 as u64).saturating_mul(i as u64)) } - /// The range of component `i` is `[1, 100]`. + /// The range of component `i` is `[0, 100]`. fn sr25519_verification(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(47_909_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 136 nanoseconds. + Weight::from_ref_time(174_000 as u64) + // Standard Error: 17_607 + .saturating_add(Weight::from_ref_time(47_209_113 as u64).saturating_mul(i as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_read(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(1_998_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 145 nanoseconds. + Weight::from_ref_time(154_000 as u64) + // Standard Error: 4_008 + .saturating_add(Weight::from_ref_time(1_977_799 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_write(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(338_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 109 nanoseconds. + Weight::from_ref_time(128_000 as u64) + // Standard Error: 804 + .saturating_add(Weight::from_ref_time(325_284 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } } diff --git a/runtime/kusama/src/weights/frame_election_provider_support.rs b/runtime/kusama/src/weights/frame_election_provider_support.rs index 3b1691b5b770..255bda05e015 100644 --- a/runtime/kusama/src/weights/frame_election_provider_support.rs +++ b/runtime/kusama/src/weights/frame_election_provider_support.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_election_provider_support`. @@ -48,20 +48,22 @@ impl frame_election_provider_support::WeightInfo for We /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(13_944_000 as u64).saturating_mul(v as u64)) - // Standard Error: 4_876_000 - .saturating_add(Weight::from_ref_time(2_223_649_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 5_474_633 nanoseconds. + Weight::from_ref_time(5_525_752_000 as u64) + // Standard Error: 135_558 + .saturating_add(Weight::from_ref_time(5_545_241 as u64).saturating_mul(v as u64)) + // Standard Error: 13_859_031 + .saturating_add(Weight::from_ref_time(1_538_596_617 as u64).saturating_mul(d as u64)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 79_000 - .saturating_add(Weight::from_ref_time(14_480_000 as u64).saturating_mul(v as u64)) - // Standard Error: 6_844_000 - .saturating_add(Weight::from_ref_time(2_525_332_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 4_309_239 nanoseconds. + Weight::from_ref_time(4_353_424_000 as u64) + // Standard Error: 145_409 + .saturating_add(Weight::from_ref_time(5_482_164 as u64).saturating_mul(v as u64)) + // Standard Error: 14_866_111 + .saturating_add(Weight::from_ref_time(1_765_233_611 as u64).saturating_mul(d as u64)) } } diff --git a/runtime/kusama/src/weights/frame_system.rs b/runtime/kusama/src/weights/frame_system.rs index 022c09e7752b..dd8aeed0d219 100644 --- a/runtime/kusama/src/weights/frame_system.rs +++ b/runtime/kusama/src/weights/frame_system.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_system`. @@ -46,45 +46,51 @@ pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. fn remark(b: u32, ) -> Weight { - Weight::from_ref_time(882_000 as u64) + // Minimum execution time: 3_661 nanoseconds. + Weight::from_ref_time(3_719_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(411 as u64).saturating_mul(b as u64)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + // Minimum execution time: 12_500 nanoseconds. + Weight::from_ref_time(12_792_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(1_770 as u64).saturating_mul(b as u64)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(7_344_000 as u64) + // Minimum execution time: 8_514 nanoseconds. + Weight::from_ref_time(8_736_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(610_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 3_377 nanoseconds. + Weight::from_ref_time(3_436_000 as u64) + // Standard Error: 1_938 + .saturating_add(Weight::from_ref_time(603_404 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(454_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 3_660 nanoseconds. + Weight::from_ref_time(3_741_000 as u64) + // Standard Error: 927 + .saturating_add(Weight::from_ref_time(434_412 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[1, 1000]`. + /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(978_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 4_929 nanoseconds. + Weight::from_ref_time(5_084_000 as u64) + // Standard Error: 1_255 + .saturating_add(Weight::from_ref_time(978_082 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } } diff --git a/runtime/kusama/src/weights/pallet_bags_list.rs b/runtime/kusama/src/weights/pallet_bags_list.rs index e753f72a62ea..de0700d07983 100644 --- a/runtime/kusama/src/weights/pallet_bags_list.rs +++ b/runtime/kusama/src/weights/pallet_bags_list.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_bags_list`. @@ -49,7 +49,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:4 w:4) // Storage: VoterList ListBags (r:1 w:1) fn rebag_non_terminal() -> Weight { - Weight::from_ref_time(61_057_000 as u64) + // Minimum execution time: 62_727 nanoseconds. + Weight::from_ref_time(64_215_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -58,7 +59,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn rebag_terminal() -> Weight { - Weight::from_ref_time(59_674_000 as u64) + // Minimum execution time: 61_907 nanoseconds. + Weight::from_ref_time(64_148_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -68,7 +70,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) fn put_in_front_of() -> Weight { - Weight::from_ref_time(60_844_000 as u64) + // Minimum execution time: 61_775 nanoseconds. + Weight::from_ref_time(62_422_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_balances.rs b/runtime/kusama/src/weights/pallet_balances.rs index adfee6ac8b23..1787c8d3822d 100644 --- a/runtime/kusama/src/weights/pallet_balances.rs +++ b/runtime/kusama/src/weights/pallet_balances.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. @@ -46,43 +46,50 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(39_458_000 as u64) + // Minimum execution time: 40_902 nanoseconds. + Weight::from_ref_time(41_638_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(28_773_000 as u64) + // Minimum execution time: 30_093 nanoseconds. + Weight::from_ref_time(30_732_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(22_414_000 as u64) + // Minimum execution time: 23_901 nanoseconds. + Weight::from_ref_time(24_238_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(25_136_000 as u64) + // Minimum execution time: 26_402 nanoseconds. + Weight::from_ref_time(27_026_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - Weight::from_ref_time(39_681_000 as u64) + // Minimum execution time: 40_328 nanoseconds. + Weight::from_ref_time(41_242_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(33_651_000 as u64) + // Minimum execution time: 35_401 nanoseconds. + Weight::from_ref_time(36_122_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(19_448_000 as u64) + // Minimum execution time: 20_178 nanoseconds. + Weight::from_ref_time(20_435_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_bounties.rs b/runtime/kusama/src/weights/pallet_bounties.rs index e4c633dc6114..cf34a99e51a3 100644 --- a/runtime/kusama/src/weights/pallet_bounties.rs +++ b/runtime/kusama/src/weights/pallet_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_bounties`. @@ -50,43 +50,49 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: Bounties Bounties (r:0 w:1) /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { - Weight::from_ref_time(28_877_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 29_047 nanoseconds. + Weight::from_ref_time(30_003_353 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(809 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: Bounties BountyApprovals (r:1 w:1) fn approve_bounty() -> Weight { - Weight::from_ref_time(11_971_000 as u64) + // Minimum execution time: 11_505 nanoseconds. + Weight::from_ref_time(11_831_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) fn propose_curator() -> Weight { - Weight::from_ref_time(11_213_000 as u64) + // Minimum execution time: 11_422 nanoseconds. + Weight::from_ref_time(11_716_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn unassign_curator() -> Weight { - Weight::from_ref_time(39_351_000 as u64) + // Minimum execution time: 40_028 nanoseconds. + Weight::from_ref_time(40_648_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn accept_curator() -> Weight { - Weight::from_ref_time(27_149_000 as u64) + // Minimum execution time: 27_639 nanoseconds. + Weight::from_ref_time(28_480_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: ChildBounties ParentChildBounties (r:1 w:0) fn award_bounty() -> Weight { - Weight::from_ref_time(23_870_000 as u64) + // Minimum execution time: 24_826 nanoseconds. + Weight::from_ref_time(25_281_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -95,7 +101,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn claim_bounty() -> Weight { - Weight::from_ref_time(67_658_000 as u64) + // Minimum execution time: 67_233 nanoseconds. + Weight::from_ref_time(68_242_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -104,7 +111,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_proposed() -> Weight { - Weight::from_ref_time(41_915_000 as u64) + // Minimum execution time: 43_779 nanoseconds. + Weight::from_ref_time(44_285_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -113,24 +121,27 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_active() -> Weight { - Weight::from_ref_time(51_843_000 as u64) + // Minimum execution time: 52_893 nanoseconds. + Weight::from_ref_time(53_583_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Bounties Bounties (r:1 w:1) fn extend_bounty_expiry() -> Weight { - Weight::from_ref_time(19_980_000 as u64) + // Minimum execution time: 21_030 nanoseconds. + Weight::from_ref_time(21_691_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Bounties BountyApprovals (r:1 w:1) - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:2 w:2) - /// The range of component `b` is `[1, 100]`. + // Storage: Bounties Bounties (r:2 w:2) + // Storage: System Account (r:4 w:4) + /// The range of component `b` is `[0, 100]`. fn spend_funds(b: u32, ) -> Weight { - Weight::from_ref_time(9_229_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(25_764_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 7_438 nanoseconds. + Weight::from_ref_time(18_396_001 as u64) + // Standard Error: 26_725 + .saturating_add(Weight::from_ref_time(24_975_270 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) diff --git a/runtime/kusama/src/weights/pallet_child_bounties.rs b/runtime/kusama/src/weights/pallet_child_bounties.rs index 861d7bf92ebf..ae6ecf0808b4 100644 --- a/runtime/kusama/src/weights/pallet_child_bounties.rs +++ b/runtime/kusama/src/weights/pallet_child_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_child_bounties`. @@ -52,9 +52,10 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(51_114_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 51_699 nanoseconds. + Weight::from_ref_time(53_278_250 as u64) + // Standard Error: 11 + .saturating_add(Weight::from_ref_time(814 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -62,7 +63,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(18_300_000 as u64) + // Minimum execution time: 19_296 nanoseconds. + Weight::from_ref_time(19_776_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -70,7 +72,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(32_067_000 as u64) + // Minimum execution time: 34_816 nanoseconds. + Weight::from_ref_time(35_312_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -78,14 +81,16 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(43_720_000 as u64) + // Minimum execution time: 46_811 nanoseconds. + Weight::from_ref_time(47_562_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:0) // Storage: ChildBounties ChildBounties (r:1 w:1) fn award_child_bounty() -> Weight { - Weight::from_ref_time(27_081_000 as u64) + // Minimum execution time: 29_189 nanoseconds. + Weight::from_ref_time(29_476_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -94,7 +99,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(65_901_000 as u64) + // Minimum execution time: 69_129 nanoseconds. + Weight::from_ref_time(70_082_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -105,7 +111,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(50_101_000 as u64) + // Minimum execution time: 52_958 nanoseconds. + Weight::from_ref_time(54_430_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -116,7 +123,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(61_510_000 as u64) + // Minimum execution time: 62_510 nanoseconds. + Weight::from_ref_time(64_138_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_collective_council.rs b/runtime/kusama/src/weights/pallet_collective_council.rs index 8fe7d12e04b5..5fb745f5397c 100644 --- a/runtime/kusama/src/weights/pallet_collective_council.rs +++ b/runtime/kusama/src/weights/pallet_collective_council.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -27,6 +27,7 @@ // --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_collective // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -37,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. @@ -45,20 +46,21 @@ pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Members (r:1 w:1) // Storage: Council Proposals (r:1 w:0) - // Storage: Council Voting (r:100 w:100) // Storage: Council Prime (r:0 w:1) - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. + // Storage: Council Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(9_709_000 as u64).saturating_mul(m as u64)) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(11_829_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 16_447 nanoseconds. + Weight::from_ref_time(16_856_000 as u64) + // Standard Error: 46_757 + .saturating_add(Weight::from_ref_time(5_281_186 as u64).saturating_mul(m as u64)) + // Standard Error: 46_757 + .saturating_add(Weight::from_ref_time(7_500_991 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -70,11 +72,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(18_472_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 19_949 nanoseconds. + Weight::from_ref_time(19_368_834 as u64) + // Standard Error: 22 + .saturating_add(Weight::from_ref_time(1_917 as u64).saturating_mul(b as u64)) + // Standard Error: 229 + .saturating_add(Weight::from_ref_time(13_967 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Council Members (r:1 w:0) @@ -84,11 +87,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(20_282_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_295 nanoseconds. + Weight::from_ref_time(21_517_404 as u64) + // Standard Error: 26 + .saturating_add(Weight::from_ref_time(1_856 as u64).saturating_mul(b as u64)) + // Standard Error: 271 + .saturating_add(Weight::from_ref_time(22_820 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Council Members (r:1 w:0) @@ -103,13 +107,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(27_141_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(22_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(102_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 27_745 nanoseconds. + Weight::from_ref_time(28_146_412 as u64) + // Standard Error: 71 + .saturating_add(Weight::from_ref_time(3_378 as u64).saturating_mul(b as u64)) + // Standard Error: 749 + .saturating_add(Weight::from_ref_time(22_179 as u64).saturating_mul(m as u64)) + // Standard Error: 739 + .saturating_add(Weight::from_ref_time(108_349 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -118,9 +123,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(26_680_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 27_772 nanoseconds. + Weight::from_ref_time(28_486_180 as u64) + // Standard Error: 376 + .saturating_add(Weight::from_ref_time(38_162 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -133,11 +139,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(30_379_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 30_430 nanoseconds. + Weight::from_ref_time(32_906_376 as u64) + // Standard Error: 538 + .saturating_add(Weight::from_ref_time(20_866 as u64).saturating_mul(m as u64)) + // Standard Error: 525 + .saturating_add(Weight::from_ref_time(84_112 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -152,13 +159,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(40_122_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 41_328 nanoseconds. + Weight::from_ref_time(41_331_557 as u64) + // Standard Error: 60 + .saturating_add(Weight::from_ref_time(1_828 as u64).saturating_mul(b as u64)) + // Standard Error: 645 + .saturating_add(Weight::from_ref_time(26_460 as u64).saturating_mul(m as u64)) + // Standard Error: 628 + .saturating_add(Weight::from_ref_time(96_432 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -172,11 +180,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(32_590_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 33_541 nanoseconds. + Weight::from_ref_time(34_963_525 as u64) + // Standard Error: 517 + .saturating_add(Weight::from_ref_time(26_814 as u64).saturating_mul(m as u64)) + // Standard Error: 505 + .saturating_add(Weight::from_ref_time(84_716 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -192,13 +201,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(42_120_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(91_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 42_833 nanoseconds. + Weight::from_ref_time(44_229_039 as u64) + // Standard Error: 67 + .saturating_add(Weight::from_ref_time(1_742 as u64).saturating_mul(b as u64)) + // Standard Error: 713 + .saturating_add(Weight::from_ref_time(22_234 as u64).saturating_mul(m as u64)) + // Standard Error: 695 + .saturating_add(Weight::from_ref_time(96_563 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -208,9 +218,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(21_325_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 19_172 nanoseconds. + Weight::from_ref_time(22_273_247 as u64) + // Standard Error: 664 + .saturating_add(Weight::from_ref_time(95_163 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs index 149a26d54b0e..4d0711063214 100644 --- a/runtime/kusama/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/kusama/src/weights/pallet_collective_technical_committee.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -27,6 +27,7 @@ // --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_collective // --extrinsic=* // --execution=wasm // --wasm-execution=compiled @@ -37,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. @@ -45,20 +46,21 @@ pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) - // Storage: TechnicalCommittee Voting (r:100 w:100) // Storage: TechnicalCommittee Prime (r:0 w:1) - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. + // Storage: TechnicalCommittee Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(9_293_000 as u64).saturating_mul(m as u64)) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(11_556_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 16_808 nanoseconds. + Weight::from_ref_time(17_190_000 as u64) + // Standard Error: 46_506 + .saturating_add(Weight::from_ref_time(5_338_165 as u64).saturating_mul(m as u64)) + // Standard Error: 46_506 + .saturating_add(Weight::from_ref_time(7_515_702 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -70,11 +72,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(18_967_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 20_545 nanoseconds. + Weight::from_ref_time(19_860_961 as u64) + // Standard Error: 18 + .saturating_add(Weight::from_ref_time(1_865 as u64).saturating_mul(b as u64)) + // Standard Error: 190 + .saturating_add(Weight::from_ref_time(13_602 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -84,11 +87,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(20_872_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_052 nanoseconds. + Weight::from_ref_time(22_008_528 as u64) + // Standard Error: 21 + .saturating_add(Weight::from_ref_time(1_839 as u64).saturating_mul(b as u64)) + // Standard Error: 225 + .saturating_add(Weight::from_ref_time(21_080 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -103,13 +107,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(28_426_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_562 nanoseconds. + Weight::from_ref_time(29_261_959 as u64) + // Standard Error: 70 + .saturating_add(Weight::from_ref_time(3_503 as u64).saturating_mul(b as u64)) + // Standard Error: 733 + .saturating_add(Weight::from_ref_time(21_047 as u64).saturating_mul(m as u64)) + // Standard Error: 724 + .saturating_add(Weight::from_ref_time(113_937 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -118,9 +123,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(28_138_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(38_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 29_024 nanoseconds. + Weight::from_ref_time(30_114_505 as u64) + // Standard Error: 450 + .saturating_add(Weight::from_ref_time(39_180 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -133,11 +139,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(31_287_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 32_178 nanoseconds. + Weight::from_ref_time(33_614_789 as u64) + // Standard Error: 472 + .saturating_add(Weight::from_ref_time(22_479 as u64).saturating_mul(m as u64)) + // Standard Error: 461 + .saturating_add(Weight::from_ref_time(83_882 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -152,13 +159,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(40_722_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 41_635 nanoseconds. + Weight::from_ref_time(42_323_834 as u64) + // Standard Error: 55 + .saturating_add(Weight::from_ref_time(1_697 as u64).saturating_mul(b as u64)) + // Standard Error: 591 + .saturating_add(Weight::from_ref_time(24_790 as u64).saturating_mul(m as u64)) + // Standard Error: 576 + .saturating_add(Weight::from_ref_time(96_009 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -172,11 +180,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(33_303_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 34_682 nanoseconds. + Weight::from_ref_time(35_559_148 as u64) + // Standard Error: 495 + .saturating_add(Weight::from_ref_time(27_860 as u64).saturating_mul(m as u64)) + // Standard Error: 483 + .saturating_add(Weight::from_ref_time(83_712 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -192,13 +201,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(42_826_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(93_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 43_702 nanoseconds. + Weight::from_ref_time(44_643_929 as u64) + // Standard Error: 62 + .saturating_add(Weight::from_ref_time(1_639 as u64).saturating_mul(b as u64)) + // Standard Error: 660 + .saturating_add(Weight::from_ref_time(23_244 as u64).saturating_mul(m as u64)) + // Standard Error: 643 + .saturating_add(Weight::from_ref_time(98_321 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -208,9 +218,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(21_772_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 20_059 nanoseconds. + Weight::from_ref_time(22_842_572 as u64) + // Standard Error: 625 + .saturating_add(Weight::from_ref_time(97_244 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_conviction_voting.rs b/runtime/kusama/src/weights/pallet_conviction_voting.rs index fbbb0d6529b5..b8050dcf2c3e 100644 --- a/runtime/kusama/src/weights/pallet_conviction_voting.rs +++ b/runtime/kusama/src/weights/pallet_conviction_voting.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_conviction_voting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_conviction_voting // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_conviction_voting -// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -39,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_conviction_voting`. @@ -49,11 +48,12 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Storage: ConvictionVoting VotingFor (r:1 w:1) // Storage: ConvictionVoting ClassLocksFor (r:1 w:1) // Storage: Balances Locks (r:1 w:1) - // Storage: Scheduler Agenda (r:2 w:2) + // Storage: Scheduler Agenda (r:1 w:1) fn vote_new() -> Weight { - Weight::from_ref_time(5_652_326_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 129_807 nanoseconds. + Weight::from_ref_time(133_007_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: ConvictionVoting VotingFor (r:1 w:1) @@ -61,7 +61,8 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Storage: Balances Locks (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn vote_existing() -> Weight { - Weight::from_ref_time(509_859_000 as u64) + // Minimum execution time: 154_191 nanoseconds. + Weight::from_ref_time(156_774_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -69,14 +70,16 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn remove_vote() -> Weight { - Weight::from_ref_time(486_638_000 as u64) + // Minimum execution time: 128_599 nanoseconds. + Weight::from_ref_time(131_816_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: ConvictionVoting VotingFor (r:1 w:1) // Storage: Referenda ReferendumInfoFor (r:1 w:0) fn remove_other_vote() -> Weight { - Weight::from_ref_time(74_517_000 as u64) + // Minimum execution time: 71_872 nanoseconds. + Weight::from_ref_time(73_800_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -87,12 +90,13 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Storage: Scheduler Agenda (r:2 w:2) /// The range of component `r` is `[0, 512]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(78_376_000 as u64) - // Standard Error: 2_253_708 - .saturating_add(Weight::from_ref_time(221_428_037 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) + // Minimum execution time: 77_152 nanoseconds. + Weight::from_ref_time(706_169_111 as u64) + // Standard Error: 59_459 + .saturating_add(Weight::from_ref_time(26_675_761 as u64).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + .saturating_add(T::DbWeight::get().writes(6 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: ConvictionVoting VotingFor (r:2 w:2) @@ -100,19 +104,21 @@ impl pallet_conviction_voting::WeightInfo for WeightInf // Storage: Scheduler Agenda (r:2 w:2) /// The range of component `r` is `[0, 512]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(55_946_000 as u64) - // Standard Error: 2_268_396 - .saturating_add(Weight::from_ref_time(221_648_859 as u64).saturating_mul(r as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 57_429 nanoseconds. + Weight::from_ref_time(678_011_885 as u64) + // Standard Error: 59_201 + .saturating_add(Weight::from_ref_time(26_729_943 as u64).saturating_mul(r as u64)) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(r as u64))) } // Storage: ConvictionVoting VotingFor (r:1 w:1) // Storage: ConvictionVoting ClassLocksFor (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn unlock() -> Weight { - Weight::from_ref_time(93_068_000 as u64) + // Minimum execution time: 91_278 nanoseconds. + Weight::from_ref_time(93_505_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_democracy.rs b/runtime/kusama/src/weights/pallet_democracy.rs index b9b4127c597e..87865759d494 100644 --- a/runtime/kusama/src/weights/pallet_democracy.rs +++ b/runtime/kusama/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights +// --output=./runtime/kusama/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,13 +49,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(42_340_000 as u64) + // Minimum execution time: 43_480 nanoseconds. + Weight::from_ref_time(44_439_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { - Weight::from_ref_time(38_557_000 as u64) + // Minimum execution time: 40_276 nanoseconds. + Weight::from_ref_time(41_788_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -63,7 +65,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { - Weight::from_ref_time(48_480_000 as u64) + // Minimum execution time: 50_609 nanoseconds. + Weight::from_ref_time(51_581_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -71,14 +74,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { - Weight::from_ref_time(48_553_000 as u64) + // Minimum execution time: 50_941 nanoseconds. + Weight::from_ref_time(51_356_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(20_602_000 as u64) + // Minimum execution time: 21_573 nanoseconds. + Weight::from_ref_time(22_094_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -89,39 +94,45 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { - Weight::from_ref_time(75_265_000 as u64) + // Minimum execution time: 78_016 nanoseconds. + Weight::from_ref_time(79_651_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { - Weight::from_ref_time(15_498_000 as u64) + // Minimum execution time: 17_106 nanoseconds. + Weight::from_ref_time(17_287_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(4_503_000 as u64) + // Minimum execution time: 4_801 nanoseconds. + Weight::from_ref_time(4_954_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(4_486_000 as u64) + // Minimum execution time: 4_671 nanoseconds. + Weight::from_ref_time(4_906_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(19_676_000 as u64) + // Minimum execution time: 20_734 nanoseconds. + Weight::from_ref_time(21_068_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { - Weight::from_ref_time(25_443_000 as u64) + // Minimum execution time: 26_640 nanoseconds. + Weight::from_ref_time(27_058_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -129,13 +140,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) fn cancel_proposal() -> Weight { - Weight::from_ref_time(63_468_000 as u64) + // Minimum execution time: 66_091 nanoseconds. + Weight::from_ref_time(67_119_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(13_030_000 as u64) + // Minimum execution time: 13_879 nanoseconds. + Weight::from_ref_time(14_107_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy LowestUnbaked (r:1 w:1) @@ -143,9 +156,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:0) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(5_941_000 as u64) - // Standard Error: 2_263 - .saturating_add(Weight::from_ref_time(2_136_731 as u64).saturating_mul(r as u64)) + // Minimum execution time: 6_375 nanoseconds. + Weight::from_ref_time(9_732_668 as u64) + // Standard Error: 4_002 + .saturating_add(Weight::from_ref_time(2_103_987 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -158,9 +172,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:0) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(8_085_000 as u64) - // Standard Error: 2_202 - .saturating_add(Weight::from_ref_time(2_143_624 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_604 nanoseconds. + Weight::from_ref_time(12_108_221 as u64) + // Standard Error: 3_740 + .saturating_add(Weight::from_ref_time(2_106_843 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -170,9 +185,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:2) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(40_416_000 as u64) - // Standard Error: 4_125 - .saturating_add(Weight::from_ref_time(3_038_258 as u64).saturating_mul(r as u64)) + // Minimum execution time: 43_169 nanoseconds. + Weight::from_ref_time(49_050_100 as u64) + // Standard Error: 6_519 + .saturating_add(Weight::from_ref_time(3_017_381 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -182,9 +198,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:2) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(24_459_000 as u64) - // Standard Error: 2_860 - .saturating_add(Weight::from_ref_time(2_984_453 as u64).saturating_mul(r as u64)) + // Minimum execution time: 26_214 nanoseconds. + Weight::from_ref_time(31_373_892 as u64) + // Standard Error: 13_107 + .saturating_add(Weight::from_ref_time(2_995_678 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -192,7 +209,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(5_200_000 as u64) + // Minimum execution time: 5_062 nanoseconds. + Weight::from_ref_time(5_265_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -200,9 +218,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(24_289_000 as u64) - // Standard Error: 2_579 - .saturating_add(Weight::from_ref_time(125_300 as u64).saturating_mul(r as u64)) + // Minimum execution time: 25_583 nanoseconds. + Weight::from_ref_time(32_527_820 as u64) + // Standard Error: 1_608 + .saturating_add(Weight::from_ref_time(32_882 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -211,9 +230,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(28_331_000 as u64) - // Standard Error: 755 - .saturating_add(Weight::from_ref_time(90_997 as u64).saturating_mul(r as u64)) + // Minimum execution time: 30_561 nanoseconds. + Weight::from_ref_time(32_558_405 as u64) + // Standard Error: 635 + .saturating_add(Weight::from_ref_time(63_267 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -221,9 +241,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(15_350_000 as u64) - // Standard Error: 1_015 - .saturating_add(Weight::from_ref_time(104_402 as u64).saturating_mul(r as u64)) + // Minimum execution time: 16_041 nanoseconds. + Weight::from_ref_time(18_765_906 as u64) + // Standard Error: 833 + .saturating_add(Weight::from_ref_time(66_549 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -231,9 +252,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(15_433_000 as u64) - // Standard Error: 980 - .saturating_add(Weight::from_ref_time(104_660 as u64).saturating_mul(r as u64)) + // Minimum execution time: 15_811 nanoseconds. + Weight::from_ref_time(18_594_645 as u64) + // Standard Error: 940 + .saturating_add(Weight::from_ref_time(72_328 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs index e388d4bce642..2705a9d2d49f 100644 --- a/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_election_provider_multi_phase`. @@ -53,33 +53,38 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: Staking ForceEra (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) fn on_initialize_nothing() -> Weight { - Weight::from_ref_time(15_619_000 as u64) + // Minimum execution time: 15_765 nanoseconds. + Weight::from_ref_time(16_178_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_signed() -> Weight { - Weight::from_ref_time(14_464_000 as u64) + // Minimum execution time: 15_294 nanoseconds. + Weight::from_ref_time(15_649_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_unsigned() -> Weight { - Weight::from_ref_time(14_167_000 as u64) + // Minimum execution time: 14_776 nanoseconds. + Weight::from_ref_time(15_204_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) // Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1) fn finalize_signed_phase_accept_solution() -> Weight { - Weight::from_ref_time(28_601_000 as u64) + // Minimum execution time: 29_172 nanoseconds. + Weight::from_ref_time(29_735_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn finalize_signed_phase_reject_solution() -> Weight { - Weight::from_ref_time(22_410_000 as u64) + // Minimum execution time: 23_324 nanoseconds. + Weight::from_ref_time(23_675_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -89,11 +94,12 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { - Weight::from_ref_time(14_136_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(554_000 as u64).saturating_mul(v as u64)) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 615_137 nanoseconds. + Weight::from_ref_time(17_886_193 as u64) + // Standard Error: 2_263 + .saturating_add(Weight::from_ref_time(558_009 as u64).saturating_mul(v as u64)) + // Standard Error: 4_524 + .saturating_add(Weight::from_ref_time(75_903 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -108,12 +114,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn elect_queued(a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(1_167_000 as u64).saturating_mul(a as u64)) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(180_000 as u64).saturating_mul(d as u64)) + fn elect_queued(a: u32, _d: u32, ) -> Weight { + // Minimum execution time: 376_033 nanoseconds. + Weight::from_ref_time(379_882_000 as u64) + // Standard Error: 8_877 + .saturating_add(Weight::from_ref_time(562_200 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -124,7 +129,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1) // Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1) fn submit() -> Weight { - Weight::from_ref_time(49_945_000 as u64) + // Minimum execution time: 50_778 nanoseconds. + Weight::from_ref_time(51_219_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -139,16 +145,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(874_000 as u64).saturating_mul(v as u64)) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(t as u64)) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(10_873_000 as u64).saturating_mul(a as u64)) - // Standard Error: 35_000 - .saturating_add(Weight::from_ref_time(2_257_000 as u64).saturating_mul(d as u64)) + fn submit_unsigned(_v: u32, _t: u32, a: u32, _d: u32, ) -> Weight { + // Minimum execution time: 6_866_951 nanoseconds. + Weight::from_ref_time(6_994_679_000 as u64) + // Standard Error: 59_999 + .saturating_add(Weight::from_ref_time(7_093_483 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -160,16 +161,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(895_000 as u64).saturating_mul(v as u64)) - // Standard Error: 25_000 - .saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(t as u64)) - // Standard Error: 42_000 - .saturating_add(Weight::from_ref_time(8_673_000 as u64).saturating_mul(a as u64)) - // Standard Error: 63_000 - .saturating_add(Weight::from_ref_time(1_598_000 as u64).saturating_mul(d as u64)) + fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight { + // Minimum execution time: 5_710_244 nanoseconds. + Weight::from_ref_time(5_739_503_000 as u64) + // Standard Error: 16_787 + .saturating_add(Weight::from_ref_time(131_224 as u64).saturating_mul(v as u64)) + // Standard Error: 49_748 + .saturating_add(Weight::from_ref_time(5_312_456 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) } } diff --git a/runtime/kusama/src/weights/pallet_elections_phragmen.rs b/runtime/kusama/src/weights/pallet_elections_phragmen.rs index 8d5db5a31006..9a333bb4a60b 100644 --- a/runtime/kusama/src/weights/pallet_elections_phragmen.rs +++ b/runtime/kusama/src/weights/pallet_elections_phragmen.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. @@ -51,9 +51,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { - Weight::from_ref_time(30_711_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(201_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 31_673 nanoseconds. + Weight::from_ref_time(34_361_005 as u64) + // Standard Error: 9_644 + .saturating_add(Weight::from_ref_time(93_408 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -64,9 +65,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { - Weight::from_ref_time(40_536_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(173_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 41_200 nanoseconds. + Weight::from_ref_time(42_889_832 as u64) + // Standard Error: 4_165 + .saturating_add(Weight::from_ref_time(223_881 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -77,16 +79,18 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { - Weight::from_ref_time(40_543_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 42_012 nanoseconds. + Weight::from_ref_time(43_635_852 as u64) + // Standard Error: 4_519 + .saturating_add(Weight::from_ref_time(119_706 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: PhragmenElection Voting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { - Weight::from_ref_time(39_001_000 as u64) + // Minimum execution time: 40_370 nanoseconds. + Weight::from_ref_time(41_142_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -95,18 +99,20 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: PhragmenElection RunnersUp (r:1 w:0) /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { - Weight::from_ref_time(26_806_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 37_086 nanoseconds. + Weight::from_ref_time(28_441_305 as u64) + // Standard Error: 1_050 + .saturating_add(Weight::from_ref_time(91_457 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PhragmenElection Candidates (r:1 w:1) /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { - Weight::from_ref_time(23_558_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 32_127 nanoseconds. + Weight::from_ref_time(23_789_781 as u64) + // Standard Error: 995 + .saturating_add(Weight::from_ref_time(71_601 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -116,18 +122,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { - Weight::from_ref_time(44_960_000 as u64) + // Minimum execution time: 44_751 nanoseconds. + Weight::from_ref_time(46_264_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { - Weight::from_ref_time(34_666_000 as u64) + // Minimum execution time: 34_904 nanoseconds. + Weight::from_ref_time(36_139_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Benchmark Override (r:0 w:0) fn remove_member_without_replacement() -> Weight { + // Minimum execution time: 2_000_000_000 nanoseconds. Weight::from_ref_time(2_000_000_000_000 as u64) } // Storage: PhragmenElection Members (r:1 w:1) @@ -137,7 +146,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { - Weight::from_ref_time(59_021_000 as u64) + // Minimum execution time: 59_246 nanoseconds. + Weight::from_ref_time(60_848_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -148,13 +158,12 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:5000 w:5000) // Storage: System Account (r:5000 w:5000) /// The range of component `v` is `[5000, 10000]`. - /// The range of component `d` is `[1, 5000]`. - fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 88_000 - .saturating_add(Weight::from_ref_time(60_894_000 as u64).saturating_mul(v as u64)) - // Standard Error: 88_000 - .saturating_add(Weight::from_ref_time(379_000 as u64).saturating_mul(d as u64)) + /// The range of component `d` is `[0, 5000]`. + fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { + // Minimum execution time: 279_914_581 nanoseconds. + Weight::from_ref_time(280_093_180_000 as u64) + // Standard Error: 242_383 + .saturating_add(Weight::from_ref_time(34_902_791 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) @@ -172,14 +181,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 10000]`. /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 691_000 - .saturating_add(Weight::from_ref_time(57_805_000 as u64).saturating_mul(v as u64)) - // Standard Error: 46_000 - .saturating_add(Weight::from_ref_time(3_139_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 29_009_063 nanoseconds. + Weight::from_ref_time(29_156_039_000 as u64) + // Standard Error: 553_255 + .saturating_add(Weight::from_ref_time(46_221_121 as u64).saturating_mul(v as u64)) + // Standard Error: 35_504 + .saturating_add(Weight::from_ref_time(2_367_682 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(265 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) + .saturating_add(T::DbWeight::get().writes(6 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } } diff --git a/runtime/kusama/src/weights/pallet_fast_unstake.rs b/runtime/kusama/src/weights/pallet_fast_unstake.rs index b7b6008fcc7e..4f1ce8aee992 100644 --- a/runtime/kusama/src/weights/pallet_fast_unstake.rs +++ b/runtime/kusama/src/weights/pallet_fast_unstake.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_fast_unstake // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_fast_unstake -// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -50,65 +49,73 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) // Storage: FastUnstake Head (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking SlashingSpans (r:1 w:0) - // Storage: Staking Bonded (r:1 w:1) - // Storage: Staking Validators (r:1 w:0) - // Storage: Staking Nominators (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: Staking Ledger (r:0 w:1) - // Storage: Staking Payee (r:0 w:1) + // Storage: Staking SlashingSpans (r:64 w:0) + // Storage: Staking Bonded (r:64 w:64) + // Storage: Staking Validators (r:64 w:0) + // Storage: Staking Nominators (r:64 w:0) + // Storage: System Account (r:64 w:64) + // Storage: Balances Locks (r:64 w:64) + // Storage: Staking Ledger (r:0 w:64) + // Storage: Staking Payee (r:0 w:64) fn on_idle_unstake() -> Weight { - Weight::from_ref_time(64_798_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 2_141_174 nanoseconds. + Weight::from_ref_time(2_204_649_000 as u64) + .saturating_add(T::DbWeight::get().reads(389 as u64)) + .saturating_add(T::DbWeight::get().writes(321 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking ValidatorCount (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) // Storage: FastUnstake Head (r:1 w:1) - // Storage: FastUnstake Queue (r:2 w:1) + // Storage: FastUnstake Queue (r:65 w:64) // Storage: FastUnstake CounterForQueue (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasStakers (r:56 w:0) /// The range of component `x` is `[28, 3584]`. fn on_idle_check(x: u32, ) -> Weight { - Weight::from_ref_time(412_389_000 as u64) - // Standard Error: 10_902 - .saturating_add(Weight::from_ref_time(10_950_753 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(64 as u64)) + // Minimum execution time: 21_964_474 nanoseconds. + Weight::from_ref_time(22_227_783_000 as u64) + // Standard Error: 498_921 + .saturating_add(Weight::from_ref_time(624_289_713 as u64).saturating_mul(x as u64)) + .saturating_add(T::DbWeight::get().reads(85 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64))) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(66 as u64)) } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: FastUnstake Queue (r:1 w:1) // Storage: FastUnstake Head (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) // Storage: Staking CounterForNominators (r:1 w:1) - // Storage: VoterList ListNodes (r:1 w:1) + // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: FastUnstake CounterForQueue (r:1 w:1) fn register_fast_unstake() -> Weight { - Weight::from_ref_time(84_738_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 124_637 nanoseconds. + Weight::from_ref_time(126_193_000 as u64) + .saturating_add(T::DbWeight::get().reads(15 as u64)) + .saturating_add(T::DbWeight::get().writes(10 as u64)) } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: FastUnstake Queue (r:1 w:1) // Storage: FastUnstake Head (r:1 w:0) // Storage: FastUnstake CounterForQueue (r:1 w:1) fn deregister() -> Weight { - Weight::from_ref_time(23_369_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) + // Minimum execution time: 50_711 nanoseconds. + Weight::from_ref_time(51_537_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1) fn control() -> Weight { - Weight::from_ref_time(3_991_000 as u64) + // Minimum execution time: 4_008 nanoseconds. + Weight::from_ref_time(4_153_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/kusama/src/weights/pallet_identity.rs b/runtime/kusama/src/weights/pallet_identity.rs index 050a3b10db8e..46a9f0d10351 100644 --- a/runtime/kusama/src/weights/pallet_identity.rs +++ b/runtime/kusama/src/weights/pallet_identity.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_identity`. @@ -47,32 +47,35 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - Weight::from_ref_time(16_780_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(193_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 16_710 nanoseconds. + Weight::from_ref_time(18_118_559 as u64) + // Standard Error: 3_051 + .saturating_add(Weight::from_ref_time(148_040 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(32_514_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(323_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 35_847 nanoseconds. + Weight::from_ref_time(35_393_868 as u64) + // Standard Error: 3_524 + .saturating_add(Weight::from_ref_time(75_148 as u64).saturating_mul(r as u64)) + // Standard Error: 687 + .saturating_add(Weight::from_ref_time(306_971 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:1 w:1) - /// The range of component `s` is `[1, 100]`. + // Storage: Identity SuperOf (r:2 w:2) + /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { - Weight::from_ref_time(28_130_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_089_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 10_340 nanoseconds. + Weight::from_ref_time(28_847_479 as u64) + // Standard Error: 5_014 + .saturating_add(Weight::from_ref_time(2_161_226 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -80,12 +83,13 @@ impl pallet_identity::WeightInfo for WeightInfo { } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:1) - /// The range of component `p` is `[1, 100]`. + // Storage: Identity SuperOf (r:0 w:2) + /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { - Weight::from_ref_time(28_597_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(891_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 10_122 nanoseconds. + Weight::from_ref_time(28_546_493 as u64) + // Standard Error: 4_337 + .saturating_add(Weight::from_ref_time(929_288 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) @@ -94,16 +98,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// 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 { - Weight::from_ref_time(35_657_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(889_000 as u64).saturating_mul(s as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 51_131 nanoseconds. + Weight::from_ref_time(36_991_277 as u64) + // Standard Error: 11_013 + .saturating_add(Weight::from_ref_time(75_731 as u64).saturating_mul(r as u64)) + // Standard Error: 2_150 + .saturating_add(Weight::from_ref_time(900_334 as u64).saturating_mul(s as u64)) + // Standard Error: 2_150 + .saturating_add(Weight::from_ref_time(161_480 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -111,65 +116,71 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(34_656_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(332_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 38_002 nanoseconds. + Weight::from_ref_time(36_848_336 as u64) + // Standard Error: 4_513 + .saturating_add(Weight::from_ref_time(100_666 as u64).saturating_mul(r as u64)) + // Standard Error: 880 + .saturating_add(Weight::from_ref_time(327_085 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(31_048_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 34_116 nanoseconds. + Weight::from_ref_time(34_235_732 as u64) + // Standard Error: 3_409 + .saturating_add(Weight::from_ref_time(49_426 as u64).saturating_mul(r as u64)) + // Standard Error: 665 + .saturating_add(Weight::from_ref_time(323_592 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - Weight::from_ref_time(8_975_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(140_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_678 nanoseconds. + Weight::from_ref_time(9_613_287 as u64) + // Standard Error: 2_285 + .saturating_add(Weight::from_ref_time(117_905 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - Weight::from_ref_time(9_212_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(138_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_892 nanoseconds. + Weight::from_ref_time(9_735_071 as u64) + // Standard Error: 2_239 + .saturating_add(Weight::from_ref_time(115_282 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - Weight::from_ref_time(9_088_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_783 nanoseconds. + Weight::from_ref_time(9_686_212 as u64) + // Standard Error: 2_092 + .saturating_add(Weight::from_ref_time(107_045 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(23_324_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 28_056 nanoseconds. + Weight::from_ref_time(28_240_411 as u64) + // Standard Error: 7_231 + .saturating_add(Weight::from_ref_time(61_164 as u64).saturating_mul(r as u64)) + // Standard Error: 1_337 + .saturating_add(Weight::from_ref_time(546_999 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,16 +189,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// 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 { - Weight::from_ref_time(46_896_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(892_000 as u64).saturating_mul(s as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 62_459 nanoseconds. + Weight::from_ref_time(47_788_369 as u64) + // Standard Error: 5_893 + .saturating_add(Weight::from_ref_time(100_560 as u64).saturating_mul(r as u64)) + // Standard Error: 1_150 + .saturating_add(Weight::from_ref_time(907_788 as u64).saturating_mul(s as u64)) + // Standard Error: 1_150 + .saturating_add(Weight::from_ref_time(161_942 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -195,11 +207,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { - Weight::from_ref_time(35_814_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 32_735 nanoseconds. + Weight::from_ref_time(37_928_065 as u64) + // Standard Error: 1_523 + .saturating_add(Weight::from_ref_time(75_465 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -207,9 +220,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - Weight::from_ref_time(15_348_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 14_370 nanoseconds. + Weight::from_ref_time(16_434_826 as u64) + // Standard Error: 665 + .saturating_add(Weight::from_ref_time(25_894 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -218,19 +232,21 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - Weight::from_ref_time(37_193_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 35_617 nanoseconds. + Weight::from_ref_time(39_518_606 as u64) + // Standard Error: 1_088 + .saturating_add(Weight::from_ref_time(67_069 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { - Weight::from_ref_time(27_633_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 26_143 nanoseconds. + Weight::from_ref_time(29_067_018 as u64) + // Standard Error: 1_342 + .saturating_add(Weight::from_ref_time(68_986 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_im_online.rs b/runtime/kusama/src/weights/pallet_im_online.rs index 0c11f749e439..90c9f826561d 100644 --- a/runtime/kusama/src/weights/pallet_im_online.rs +++ b/runtime/kusama/src/weights/pallet_im_online.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_im_online`. @@ -52,11 +52,12 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - Weight::from_ref_time(76_533_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(22_000 as u64).saturating_mul(k as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(314_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 97_143 nanoseconds. + Weight::from_ref_time(78_523_977 as u64) + // Standard Error: 267 + .saturating_add(Weight::from_ref_time(21_647 as u64).saturating_mul(k as u64)) + // Standard Error: 2_698 + .saturating_add(Weight::from_ref_time(307_112 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_indices.rs b/runtime/kusama/src/weights/pallet_indices.rs index b0f0fc563044..46bec05d5241 100644 --- a/runtime/kusama/src/weights/pallet_indices.rs +++ b/runtime/kusama/src/weights/pallet_indices.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_indices`. @@ -46,33 +46,38 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(25_146_000 as u64) + // Minimum execution time: 26_443 nanoseconds. + Weight::from_ref_time(26_877_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(31_999_000 as u64) + // Minimum execution time: 33_704 nanoseconds. + Weight::from_ref_time(34_123_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - Weight::from_ref_time(26_357_000 as u64) + // Minimum execution time: 27_656 nanoseconds. + Weight::from_ref_time(28_641_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - Weight::from_ref_time(26_922_000 as u64) + // Minimum execution time: 27_860 nanoseconds. + Weight::from_ref_time(28_165_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - Weight::from_ref_time(31_859_000 as u64) + // Minimum execution time: 33_354 nanoseconds. + Weight::from_ref_time(33_982_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_membership.rs b/runtime/kusama/src/weights/pallet_membership.rs index 1994c517a4d3..cf8da764e400 100644 --- a/runtime/kusama/src/weights/pallet_membership.rs +++ b/runtime/kusama/src/weights/pallet_membership.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. @@ -50,9 +50,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - Weight::from_ref_time(19_903_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 20_534 nanoseconds. + Weight::from_ref_time(21_396_898 as u64) + // Standard Error: 468 + .saturating_add(Weight::from_ref_time(38_585 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -63,9 +64,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - Weight::from_ref_time(22_263_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_322 nanoseconds. + Weight::from_ref_time(24_145_795 as u64) + // Standard Error: 405 + .saturating_add(Weight::from_ref_time(34_076 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -76,9 +78,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - Weight::from_ref_time(22_495_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_397 nanoseconds. + Weight::from_ref_time(24_269_522 as u64) + // Standard Error: 510 + .saturating_add(Weight::from_ref_time(45_360 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -89,9 +92,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - Weight::from_ref_time(21_897_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_278 nanoseconds. + Weight::from_ref_time(24_319_110 as u64) + // Standard Error: 794 + .saturating_add(Weight::from_ref_time(148_683 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -102,9 +106,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - Weight::from_ref_time(22_747_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_217 nanoseconds. + Weight::from_ref_time(24_958_755 as u64) + // Standard Error: 614 + .saturating_add(Weight::from_ref_time(43_480 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -113,17 +118,21 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - Weight::from_ref_time(8_106_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 8_205 nanoseconds. + Weight::from_ref_time(8_676_301 as u64) + // Standard Error: 188 + .saturating_add(Weight::from_ref_time(9_933 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: TechnicalMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { - Weight::from_ref_time(4_643_000 as u64) + fn clear_prime(m: u32, ) -> Weight { + // Minimum execution time: 4_596 nanoseconds. + Weight::from_ref_time(4_956_168 as u64) + // Standard Error: 134 + .saturating_add(Weight::from_ref_time(240 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } } diff --git a/runtime/kusama/src/weights/pallet_multisig.rs b/runtime/kusama/src/weights/pallet_multisig.rs index b034fafcd8cc..adb5cbb2a7e4 100644 --- a/runtime/kusama/src/weights/pallet_multisig.rs +++ b/runtime/kusama/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -28,11 +28,11 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic= +// --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=runtime/kusama/src/weights/ +// --output=./runtime/kusama/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,22 +46,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: 14_233 nanoseconds. - Weight::from_ref_time(14_763_390 as u64) + // Minimum execution time: 14_550 nanoseconds. + Weight::from_ref_time(14_819_772 as u64) // Standard Error: 2 - .saturating_add(Weight::from_ref_time(479 as u64).saturating_mul(z as u64)) + .saturating_add(Weight::from_ref_time(530 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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: 42_837 nanoseconds. - Weight::from_ref_time(34_846_149 as u64) - // Standard Error: 646 - .saturating_add(Weight::from_ref_time(89_482 as u64).saturating_mul(s as u64)) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(1_465 as u64).saturating_mul(z as u64)) + // Minimum execution time: 44_383 nanoseconds. + Weight::from_ref_time(36_132_121 as u64) + // Standard Error: 1_070 + .saturating_add(Weight::from_ref_time(93_918 as u64).saturating_mul(s as u64)) + // Standard Error: 10 + .saturating_add(Weight::from_ref_time(1_528 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -69,12 +69,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: 32_269 nanoseconds. - Weight::from_ref_time(25_447_784 as u64) - // Standard Error: 499 - .saturating_add(Weight::from_ref_time(74_525 as u64).saturating_mul(s as u64)) - // Standard Error: 4 - .saturating_add(Weight::from_ref_time(1_457 as u64).saturating_mul(z as u64)) + // Minimum execution time: 34_110 nanoseconds. + Weight::from_ref_time(26_664_378 as u64) + // Standard Error: 629 + .saturating_add(Weight::from_ref_time(83_644 as u64).saturating_mul(s as u64)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_504 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -83,12 +83,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: 46_096 nanoseconds. - Weight::from_ref_time(37_139_587 as u64) - // Standard Error: 602 - .saturating_add(Weight::from_ref_time(104_199 as u64).saturating_mul(s as u64)) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(1_478 as u64).saturating_mul(z as u64)) + // Minimum execution time: 48_372 nanoseconds. + Weight::from_ref_time(38_695_552 as u64) + // Standard Error: 1_125 + .saturating_add(Weight::from_ref_time(106_455 as u64).saturating_mul(s as u64)) + // Standard Error: 11 + .saturating_add(Weight::from_ref_time(1_594 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -96,30 +96,30 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 31_572 nanoseconds. - Weight::from_ref_time(33_475_485 as u64) - // Standard Error: 972 - .saturating_add(Weight::from_ref_time(91_041 as u64).saturating_mul(s as u64)) + // Minimum execution time: 32_237 nanoseconds. + Weight::from_ref_time(34_981_368 as u64) + // Standard Error: 1_047 + .saturating_add(Weight::from_ref_time(89_105 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 21_861 nanoseconds. - Weight::from_ref_time(23_986_670 as u64) - // Standard Error: 660 - .saturating_add(Weight::from_ref_time(79_765 as u64).saturating_mul(s as u64)) + // Minimum execution time: 23_708 nanoseconds. + Weight::from_ref_time(25_069_818 as u64) + // Standard Error: 671 + .saturating_add(Weight::from_ref_time(81_787 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 31_375 nanoseconds. - Weight::from_ref_time(33_657_765 as u64) - // Standard Error: 931 - .saturating_add(Weight::from_ref_time(84_177 as u64).saturating_mul(s as u64)) + // Minimum execution time: 33_396 nanoseconds. + Weight::from_ref_time(35_234_152 as u64) + // Standard Error: 918 + .saturating_add(Weight::from_ref_time(88_496 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_nomination_pools.rs b/runtime/kusama/src/weights/pallet_nomination_pools.rs index 96ebdf4dec37..365606d19ea7 100644 --- a/runtime/kusama/src/weights/pallet_nomination_pools.rs +++ b/runtime/kusama/src/weights/pallet_nomination_pools.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_nomination_pools`. @@ -47,18 +47,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinJoinBond (r:1 w:0) // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:2 w:1) // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) // Storage: NominationPools MaxPoolMembers (r:1 w:0) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) - // Storage: Staking Bonded (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn join() -> Weight { - Weight::from_ref_time(141_186_000 as u64) + // Minimum execution time: 140_322 nanoseconds. + Weight::from_ref_time(142_148_000 as u64) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -66,13 +67,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:3 w:2) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_transfer() -> Weight { - Weight::from_ref_time(136_315_000 as u64) + // Minimum execution time: 137_788 nanoseconds. + Weight::from_ref_time(138_966_000 as u64) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -80,13 +82,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:3 w:3) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_reward() -> Weight { - Weight::from_ref_time(140_720_000 as u64) + // Minimum execution time: 141_513 nanoseconds. + Weight::from_ref_time(143_360_000 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -95,13 +98,15 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_payout() -> Weight { - Weight::from_ref_time(54_588_000 as u64) + // Minimum execution time: 54_447 nanoseconds. + Weight::from_ref_time(54_781_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: System Account (r:2 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -109,49 +114,53 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) - // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) // Storage: NominationPools SubPoolsStorage (r:1 w:1) // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) fn unbond() -> Weight { - Weight::from_ref_time(139_268_000 as u64) + // Minimum execution time: 141_940 nanoseconds. + Weight::from_ref_time(142_725_000 as u64) .saturating_add(T::DbWeight::get().reads(18 as u64)) .saturating_add(T::DbWeight::get().writes(13 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Balances Locks (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { - Weight::from_ref_time(51_661_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(17_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) + // Minimum execution time: 57_477 nanoseconds. + Weight::from_ref_time(59_023_071 as u64) + // Standard Error: 998 + .saturating_add(Weight::from_ref_time(14_190 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools SubPoolsStorage (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - Weight::from_ref_time(92_492_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 96_669 nanoseconds. + Weight::from_ref_time(98_786_656 as u64) + // Standard Error: 1_856 + .saturating_add(Weight::from_ref_time(19_127 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools SubPoolsStorage (r:1 w:1) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking SlashingSpans (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:0) @@ -168,25 +177,25 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - Weight::from_ref_time(146_714_000 as u64) + // Minimum execution time: 144_438 nanoseconds. + Weight::from_ref_time(148_030_307 as u64) .saturating_add(T::DbWeight::get().reads(20 as u64)) .saturating_add(T::DbWeight::get().writes(17 as u64)) } + // Storage: NominationPools LastPoolId (r:1 w:1) // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: NominationPools MinCreateBond (r:1 w:0) // Storage: NominationPools MinJoinBond (r:1 w:0) // Storage: NominationPools MaxPools (r:1 w:0) // Storage: NominationPools CounterForBondedPools (r:1 w:1) // Storage: NominationPools PoolMembers (r:1 w:1) - // Storage: NominationPools LastPoolId (r:1 w:1) // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) // Storage: NominationPools MaxPoolMembers (r:1 w:0) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) // Storage: System Account (r:2 w:2) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: NominationPools CounterForRewardPools (r:1 w:1) @@ -195,36 +204,40 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn create() -> Weight { - Weight::from_ref_time(130_529_000 as u64) - .saturating_add(T::DbWeight::get().reads(22 as u64)) + // Minimum execution time: 127_047 nanoseconds. + Weight::from_ref_time(128_199_000 as u64) + .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) // Storage: Staking MaxNominatorsCount (r:1 w:0) // Storage: Staking Validators (r:2 w:0) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 24]`. fn nominate(n: u32, ) -> Weight { - Weight::from_ref_time(60_380_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_053_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 62_596 nanoseconds. + Weight::from_ref_time(63_891_149 as u64) + // Standard Error: 4_980 + .saturating_add(Weight::from_ref_time(930_710 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) fn set_state() -> Weight { - Weight::from_ref_time(34_144_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 38_503 nanoseconds. + Weight::from_ref_time(38_998_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) @@ -232,9 +245,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForMetadata (r:1 w:1) /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { - Weight::from_ref_time(16_813_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 15_627 nanoseconds. + Weight::from_ref_time(16_164_158 as u64) + // Standard Error: 116 + .saturating_add(Weight::from_ref_time(660 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -244,16 +258,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinCreateBond (r:0 w:1) // Storage: NominationPools MaxPools (r:0 w:1) fn set_configs() -> Weight { - Weight::from_ref_time(7_602_000 as u64) + // Minimum execution time: 6_206 nanoseconds. + Weight::from_ref_time(6_409_000 as u64) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: NominationPools BondedPools (r:1 w:1) fn update_roles() -> Weight { - Weight::from_ref_time(25_674_000 as u64) + // Minimum execution time: 25_897 nanoseconds. + Weight::from_ref_time(26_204_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) @@ -262,8 +279,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - Weight::from_ref_time(59_990_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 65_020 nanoseconds. + Weight::from_ref_time(65_744_000 as u64) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } } diff --git a/runtime/kusama/src/weights/pallet_preimage.rs b/runtime/kusama/src/weights/pallet_preimage.rs index 2fc3687f4581..bdc5d2480fb5 100644 --- a/runtime/kusama/src/weights/pallet_preimage.rs +++ b/runtime/kusama/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights +// --output=./runtime/kusama/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,9 +48,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(27_993_000 as u64) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(2_208 as u64).saturating_mul(s as u64)) + // Minimum execution time: 29_596 nanoseconds. + Weight::from_ref_time(29_955_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_332 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -58,9 +59,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(19_503_000 as u64) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(2_264 as u64).saturating_mul(s as u64)) + // Minimum execution time: 20_842 nanoseconds. + Weight::from_ref_time(21_120_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_333 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -68,66 +70,76 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(17_878_000 as u64) - // Standard Error: 2 - .saturating_add(Weight::from_ref_time(2_130 as u64).saturating_mul(s as u64)) + // Minimum execution time: 19_634 nanoseconds. + Weight::from_ref_time(20_007_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_334 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(40_091_000 as u64) + // Minimum execution time: 42_136 nanoseconds. + Weight::from_ref_time(43_022_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(27_459_000 as u64) + // Minimum execution time: 29_924 nanoseconds. + Weight::from_ref_time(30_867_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(27_176_000 as u64) + // Minimum execution time: 28_022 nanoseconds. + Weight::from_ref_time(29_699_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(14_096_000 as u64) + // Minimum execution time: 14_463 nanoseconds. + Weight::from_ref_time(15_790_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_365_000 as u64) + // Minimum execution time: 17_932 nanoseconds. + Weight::from_ref_time(18_435_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(8_013_000 as u64) + // Minimum execution time: 8_460 nanoseconds. + Weight::from_ref_time(8_648_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(27_185_000 as u64) + // Minimum execution time: 28_702 nanoseconds. + Weight::from_ref_time(29_678_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(7_955_000 as u64) + // Minimum execution time: 8_322 nanoseconds. + Weight::from_ref_time(8_687_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(7_819_000 as u64) + // Minimum execution time: 8_678 nanoseconds. + Weight::from_ref_time(8_930_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_proxy.rs b/runtime/kusama/src/weights/pallet_proxy.rs index 2ea546eed2fa..5f86d59c8903 100644 --- a/runtime/kusama/src/weights/pallet_proxy.rs +++ b/runtime/kusama/src/weights/pallet_proxy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. @@ -47,9 +47,10 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - Weight::from_ref_time(20_646_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 20_558 nanoseconds. + Weight::from_ref_time(21_610_234 as u64) + // Standard Error: 1_401 + .saturating_add(Weight::from_ref_time(54_214 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +59,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(37_132_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 38_487 nanoseconds. + Weight::from_ref_time(39_434_103 as u64) + // Standard Error: 2_822 + .saturating_add(Weight::from_ref_time(117_580 as u64).saturating_mul(a as u64)) + // Standard Error: 2_915 + .saturating_add(Weight::from_ref_time(26_206 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -71,11 +73,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_277_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(125_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_384 nanoseconds. + Weight::from_ref_time(27_680_801 as u64) + // Standard Error: 1_625 + .saturating_add(Weight::from_ref_time(116_271 as u64).saturating_mul(a as u64)) + // Standard Error: 1_679 + .saturating_add(Weight::from_ref_time(158 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -83,12 +86,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_199_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(128_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64)) + fn reject_announcement(a: u32, _p: u32, ) -> Weight { + // Minimum execution time: 26_643 nanoseconds. + Weight::from_ref_time(28_099_236 as u64) + // Standard Error: 2_152 + .saturating_add(Weight::from_ref_time(122_534 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -98,38 +100,42 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(34_707_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(a as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 34_367 nanoseconds. + Weight::from_ref_time(35_689_576 as u64) + // Standard Error: 1_886 + .saturating_add(Weight::from_ref_time(108_160 as u64).saturating_mul(a as u64)) + // Standard Error: 1_949 + .saturating_add(Weight::from_ref_time(30_216 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(28_733_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_377 nanoseconds. + Weight::from_ref_time(29_837_875 as u64) + // Standard Error: 1_632 + .saturating_add(Weight::from_ref_time(56_009 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(28_518_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_842 nanoseconds. + Weight::from_ref_time(29_978_693 as u64) + // Standard Error: 1_866 + .saturating_add(Weight::from_ref_time(77_845 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - Weight::from_ref_time(24_528_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(58_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 25_443 nanoseconds. + Weight::from_ref_time(26_221_391 as u64) + // Standard Error: 1_420 + .saturating_add(Weight::from_ref_time(41_799 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -137,18 +143,20 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - Weight::from_ref_time(31_637_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 32_184 nanoseconds. + Weight::from_ref_time(33_287_258 as u64) + // Standard Error: 1_669 + .saturating_add(Weight::from_ref_time(16_625 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { - Weight::from_ref_time(26_228_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_186 nanoseconds. + Weight::from_ref_time(27_561_767 as u64) + // Standard Error: 1_567 + .saturating_add(Weight::from_ref_time(35_395 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_ranked_collective.rs b/runtime/kusama/src/weights/pallet_ranked_collective.rs index 33b62a7db764..d84db79ceec1 100644 --- a/runtime/kusama/src/weights/pallet_ranked_collective.rs +++ b/runtime/kusama/src/weights/pallet_ranked_collective.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_ranked_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_ranked_collective // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_ranked_collective -// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -39,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_ranked_collective`. @@ -50,7 +49,8 @@ impl pallet_ranked_collective::WeightInfo for WeightInf // Storage: FellowshipCollective IndexToId (r:0 w:1) // Storage: FellowshipCollective IdToIndex (r:0 w:1) fn add_member() -> Weight { - Weight::from_ref_time(20_797_000 as u64) + // Minimum execution time: 20_091 nanoseconds. + Weight::from_ref_time(20_793_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -60,9 +60,10 @@ impl pallet_ranked_collective::WeightInfo for WeightInf // Storage: FellowshipCollective IndexToId (r:1 w:1) /// The range of component `r` is `[0, 10]`. fn remove_member(r: u32, ) -> Weight { - Weight::from_ref_time(30_196_000 as u64) - // Standard Error: 10_539 - .saturating_add(Weight::from_ref_time(9_633_382 as u64).saturating_mul(r as u64)) + // Minimum execution time: 31_411 nanoseconds. + Weight::from_ref_time(33_650_900 as u64) + // Standard Error: 20_315 + .saturating_add(Weight::from_ref_time(9_742_136 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -74,9 +75,10 @@ impl pallet_ranked_collective::WeightInfo for WeightInf // Storage: FellowshipCollective IdToIndex (r:0 w:1) /// The range of component `r` is `[0, 10]`. fn promote_member(r: u32, ) -> Weight { - Weight::from_ref_time(21_958_000 as u64) - // Standard Error: 3_398 - .saturating_add(Weight::from_ref_time(527_087 as u64).saturating_mul(r as u64)) + // Minimum execution time: 22_519 nanoseconds. + Weight::from_ref_time(24_202_495 as u64) + // Standard Error: 9_707 + .saturating_add(Weight::from_ref_time(404_053 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -86,9 +88,10 @@ impl pallet_ranked_collective::WeightInfo for WeightInf // Storage: FellowshipCollective IndexToId (r:1 w:1) /// The range of component `r` is `[0, 10]`. fn demote_member(r: u32, ) -> Weight { - Weight::from_ref_time(29_934_000 as u64) - // Standard Error: 11_453 - .saturating_add(Weight::from_ref_time(884_044 as u64).saturating_mul(r as u64)) + // Minimum execution time: 30_958 nanoseconds. + Weight::from_ref_time(34_019_871 as u64) + // Standard Error: 15_923 + .saturating_add(Weight::from_ref_time(594_745 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -97,20 +100,21 @@ impl pallet_ranked_collective::WeightInfo for WeightInf // Storage: FellowshipCollective Voting (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn vote() -> Weight { - Weight::from_ref_time(45_989_000 as u64) + // Minimum execution time: 46_000 nanoseconds. + Weight::from_ref_time(46_496_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:0) // Storage: FellowshipCollective VotingCleanup (r:1 w:0) - // Storage: FellowshipCollective Voting (r:0 w:1) - /// The range of component `n` is `[1, 100]`. + // Storage: FellowshipCollective Voting (r:0 w:2) + /// The range of component `n` is `[0, 100]`. fn cleanup_poll(n: u32, ) -> Weight { - Weight::from_ref_time(17_842_000 as u64) - // Standard Error: 733 - .saturating_add(Weight::from_ref_time(892_322 as u64).saturating_mul(n as u64)) + // Minimum execution time: 14_684 nanoseconds. + Weight::from_ref_time(18_793_742 as u64) + // Standard Error: 1_475 + .saturating_add(Weight::from_ref_time(908_456 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) } } diff --git a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs index f12fc485769d..e9e8f8797a50 100644 --- a/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_fellowship_referenda.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_referenda // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_referenda -// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -50,14 +49,16 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: FellowshipReferenda ReferendumInfoFor (r:0 w:1) fn submit() -> Weight { - Weight::from_ref_time(32_438_000 as u64) + // Minimum execution time: 32_206 nanoseconds. + Weight::from_ref_time(32_784_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn place_decision_deposit_preparing() -> Weight { - Weight::from_ref_time(48_476_000 as u64) + // Minimum execution time: 48_362 nanoseconds. + Weight::from_ref_time(48_952_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -65,7 +66,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipReferenda DecidingCount (r:1 w:0) // Storage: FellowshipReferenda TrackQueue (r:1 w:1) fn place_decision_deposit_queued() -> Weight { - Weight::from_ref_time(94_751_000 as u64) + // Minimum execution time: 85_674 nanoseconds. + Weight::from_ref_time(88_734_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -73,7 +75,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipReferenda DecidingCount (r:1 w:0) // Storage: FellowshipReferenda TrackQueue (r:1 w:1) fn place_decision_deposit_not_queued() -> Weight { - Weight::from_ref_time(94_975_000 as u64) + // Minimum execution time: 85_794 nanoseconds. + Weight::from_ref_time(88_404_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -82,7 +85,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:2 w:2) fn place_decision_deposit_passing() -> Weight { - Weight::from_ref_time(194_931_000 as u64) + // Minimum execution time: 175_254 nanoseconds. + Weight::from_ref_time(198_703_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -90,13 +94,15 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipReferenda DecidingCount (r:1 w:1) // Storage: FellowshipCollective MemberCount (r:1 w:0) fn place_decision_deposit_failing() -> Weight { - Weight::from_ref_time(42_888_000 as u64) + // Minimum execution time: 43_797 nanoseconds. + Weight::from_ref_time(44_532_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) fn refund_decision_deposit() -> Weight { - Weight::from_ref_time(30_949_000 as u64) + // Minimum execution time: 31_289 nanoseconds. + Weight::from_ref_time(32_447_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -110,21 +116,24 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn cancel() -> Weight { - Weight::from_ref_time(38_960_000 as u64) + // Minimum execution time: 38_398 nanoseconds. + Weight::from_ref_time(38_965_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn kill() -> Weight { - Weight::from_ref_time(67_836_000 as u64) + // Minimum execution time: 68_236 nanoseconds. + Weight::from_ref_time(69_049_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: FellowshipReferenda TrackQueue (r:1 w:0) // Storage: FellowshipReferenda DecidingCount (r:1 w:1) fn one_fewer_deciding_queue_empty() -> Weight { - Weight::from_ref_time(11_204_000 as u64) + // Minimum execution time: 11_448 nanoseconds. + Weight::from_ref_time(11_631_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -133,7 +142,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:2 w:2) fn one_fewer_deciding_failing() -> Weight { - Weight::from_ref_time(224_465_000 as u64) + // Minimum execution time: 118_312 nanoseconds. + Weight::from_ref_time(122_145_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -142,61 +152,69 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:2 w:2) fn one_fewer_deciding_passing() -> Weight { - Weight::from_ref_time(224_764_000 as u64) + // Minimum execution time: 120_150 nanoseconds. + Weight::from_ref_time(122_398_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: FellowshipReferenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_requeued_insertion() -> Weight { - Weight::from_ref_time(91_727_000 as u64) + // Minimum execution time: 84_906 nanoseconds. + Weight::from_ref_time(89_371_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: FellowshipReferenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_requeued_slide() -> Weight { - Weight::from_ref_time(91_868_000 as u64) + // Minimum execution time: 85_598 nanoseconds. + Weight::from_ref_time(88_356_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: FellowshipReferenda DecidingCount (r:1 w:0) // Storage: FellowshipReferenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_queued() -> Weight { - Weight::from_ref_time(94_520_000 as u64) + // Minimum execution time: 89_197 nanoseconds. + Weight::from_ref_time(92_027_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: FellowshipReferenda DecidingCount (r:1 w:0) // Storage: FellowshipReferenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_not_queued() -> Weight { - Weight::from_ref_time(93_483_000 as u64) + // Minimum execution time: 87_844 nanoseconds. + Weight::from_ref_time(90_542_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_no_deposit() -> Weight { - Weight::from_ref_time(29_294_000 as u64) + // Minimum execution time: 29_265 nanoseconds. + Weight::from_ref_time(29_798_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_preparing() -> Weight { - Weight::from_ref_time(30_363_000 as u64) + // Minimum execution time: 30_675 nanoseconds. + Weight::from_ref_time(31_170_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) fn nudge_referendum_timed_out() -> Weight { - Weight::from_ref_time(22_703_000 as u64) + // Minimum execution time: 22_609 nanoseconds. + Weight::from_ref_time(23_111_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -205,7 +223,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_begin_deciding_failing() -> Weight { - Weight::from_ref_time(40_760_000 as u64) + // Minimum execution time: 41_801 nanoseconds. + Weight::from_ref_time(42_472_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -214,7 +233,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_begin_deciding_passing() -> Weight { - Weight::from_ref_time(91_300_000 as u64) + // Minimum execution time: 87_514 nanoseconds. + Weight::from_ref_time(90_499_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -222,7 +242,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_begin_confirming() -> Weight { - Weight::from_ref_time(165_577_000 as u64) + // Minimum execution time: 162_441 nanoseconds. + Weight::from_ref_time(168_308_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -230,7 +251,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_end_confirming() -> Weight { - Weight::from_ref_time(166_188_000 as u64) + // Minimum execution time: 160_873 nanoseconds. + Weight::from_ref_time(169_712_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -238,7 +260,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_continue_not_confirming() -> Weight { - Weight::from_ref_time(159_324_000 as u64) + // Minimum execution time: 153_124 nanoseconds. + Weight::from_ref_time(165_777_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -246,7 +269,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_continue_confirming() -> Weight { - Weight::from_ref_time(82_615_000 as u64) + // Minimum execution time: 80_850 nanoseconds. + Weight::from_ref_time(84_958_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -254,17 +278,18 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) fn nudge_referendum_approved() -> Weight { - Weight::from_ref_time(185_354_000 as u64) - .saturating_add(T::DbWeight::get().reads(6 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 173_234 nanoseconds. + Weight::from_ref_time(182_819_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: FellowshipReferenda ReferendumInfoFor (r:1 w:1) // Storage: FellowshipCollective MemberCount (r:1 w:0) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_rejected() -> Weight { - Weight::from_ref_time(165_963_000 as u64) + // Minimum execution time: 164_370 nanoseconds. + Weight::from_ref_time(169_732_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_referenda_referenda.rs b/runtime/kusama/src/weights/pallet_referenda_referenda.rs index 349f0c1ffede..f389a91d98bd 100644 --- a/runtime/kusama/src/weights/pallet_referenda_referenda.rs +++ b/runtime/kusama/src/weights/pallet_referenda_referenda.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_referenda` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-30, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=kusama-dev // --steps=50 // --repeat=20 +// --pallet=pallet_referenda // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_referenda -// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -49,14 +48,16 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) // Storage: Referenda ReferendumInfoFor (r:0 w:1) fn submit() -> Weight { - Weight::from_ref_time(37_366_000 as u64) + // Minimum execution time: 36_890 nanoseconds. + Weight::from_ref_time(37_840_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn place_decision_deposit_preparing() -> Weight { - Weight::from_ref_time(47_931_000 as u64) + // Minimum execution time: 47_353 nanoseconds. + Weight::from_ref_time(48_691_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -64,7 +65,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda DecidingCount (r:1 w:0) // Storage: Referenda TrackQueue (r:1 w:1) fn place_decision_deposit_queued() -> Weight { - Weight::from_ref_time(48_799_000 as u64) + // Minimum execution time: 49_607 nanoseconds. + Weight::from_ref_time(50_436_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -72,7 +74,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda DecidingCount (r:1 w:0) // Storage: Referenda TrackQueue (r:1 w:1) fn place_decision_deposit_not_queued() -> Weight { - Weight::from_ref_time(48_899_000 as u64) + // Minimum execution time: 49_359 nanoseconds. + Weight::from_ref_time(50_238_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -80,20 +83,23 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda DecidingCount (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn place_decision_deposit_passing() -> Weight { - Weight::from_ref_time(61_981_000 as u64) + // Minimum execution time: 61_393 nanoseconds. + Weight::from_ref_time(62_632_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Referenda DecidingCount (r:1 w:1) fn place_decision_deposit_failing() -> Weight { - Weight::from_ref_time(42_318_000 as u64) + // Minimum execution time: 43_290 nanoseconds. + Weight::from_ref_time(43_959_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) fn refund_decision_deposit() -> Weight { - Weight::from_ref_time(30_391_000 as u64) + // Minimum execution time: 30_398 nanoseconds. + Weight::from_ref_time(31_447_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -107,21 +113,24 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn cancel() -> Weight { - Weight::from_ref_time(38_601_000 as u64) + // Minimum execution time: 37_690 nanoseconds. + Weight::from_ref_time(38_864_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn kill() -> Weight { - Weight::from_ref_time(78_111_000 as u64) + // Minimum execution time: 77_496 nanoseconds. + Weight::from_ref_time(79_978_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Referenda TrackQueue (r:1 w:0) // Storage: Referenda DecidingCount (r:1 w:1) fn one_fewer_deciding_queue_empty() -> Weight { - Weight::from_ref_time(11_132_000 as u64) + // Minimum execution time: 11_238 nanoseconds. + Weight::from_ref_time(11_723_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -129,7 +138,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn one_fewer_deciding_failing() -> Weight { - Weight::from_ref_time(161_624_000 as u64) + // Minimum execution time: 75_823 nanoseconds. + Weight::from_ref_time(77_497_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -137,61 +147,69 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) fn one_fewer_deciding_passing() -> Weight { - Weight::from_ref_time(167_193_000 as u64) + // Minimum execution time: 78_698 nanoseconds. + Weight::from_ref_time(79_660_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Referenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_requeued_insertion() -> Weight { - Weight::from_ref_time(44_257_000 as u64) + // Minimum execution time: 53_145 nanoseconds. + Weight::from_ref_time(54_297_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Referenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_requeued_slide() -> Weight { - Weight::from_ref_time(43_981_000 as u64) + // Minimum execution time: 52_893 nanoseconds. + Weight::from_ref_time(53_670_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Referenda DecidingCount (r:1 w:0) // Storage: Referenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_queued() -> Weight { - Weight::from_ref_time(45_931_000 as u64) + // Minimum execution time: 55_017 nanoseconds. + Weight::from_ref_time(55_775_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Referenda DecidingCount (r:1 w:0) // Storage: Referenda TrackQueue (r:1 w:1) - // Storage: Scheduler Agenda (r:1 w:1) + // Storage: Scheduler Agenda (r:1 w:0) fn nudge_referendum_not_queued() -> Weight { - Weight::from_ref_time(45_854_000 as u64) + // Minimum execution time: 55_068 nanoseconds. + Weight::from_ref_time(55_545_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_no_deposit() -> Weight { - Weight::from_ref_time(28_641_000 as u64) + // Minimum execution time: 28_613 nanoseconds. + Weight::from_ref_time(29_017_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_preparing() -> Weight { - Weight::from_ref_time(29_629_000 as u64) + // Minimum execution time: 30_008 nanoseconds. + Weight::from_ref_time(30_928_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) fn nudge_referendum_timed_out() -> Weight { - Weight::from_ref_time(21_852_000 as u64) + // Minimum execution time: 21_985 nanoseconds. + Weight::from_ref_time(22_654_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -199,7 +217,8 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda DecidingCount (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_begin_deciding_failing() -> Weight { - Weight::from_ref_time(41_478_000 as u64) + // Minimum execution time: 41_155 nanoseconds. + Weight::from_ref_time(42_540_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -207,51 +226,57 @@ impl pallet_referenda::WeightInfo for WeightInfo { // Storage: Referenda DecidingCount (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_begin_deciding_passing() -> Weight { - Weight::from_ref_time(44_198_000 as u64) + // Minimum execution time: 43_525 nanoseconds. + Weight::from_ref_time(44_193_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_begin_confirming() -> Weight { - Weight::from_ref_time(38_978_000 as u64) + // Minimum execution time: 39_208 nanoseconds. + Weight::from_ref_time(40_097_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_end_confirming() -> Weight { - Weight::from_ref_time(40_123_000 as u64) + // Minimum execution time: 40_627 nanoseconds. + Weight::from_ref_time(42_055_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_continue_not_confirming() -> Weight { - Weight::from_ref_time(36_868_000 as u64) + // Minimum execution time: 37_450 nanoseconds. + Weight::from_ref_time(38_157_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_continue_confirming() -> Weight { - Weight::from_ref_time(36_835_000 as u64) + // Minimum execution time: 37_800 nanoseconds. + Weight::from_ref_time(38_601_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:2 w:2) // Storage: Scheduler Lookup (r:1 w:1) - // Storage: Preimage StatusFor (r:1 w:1) fn nudge_referendum_approved() -> Weight { - Weight::from_ref_time(56_130_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 49_125 nanoseconds. + Weight::from_ref_time(50_262_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) + .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Referenda ReferendumInfoFor (r:1 w:1) // Storage: Scheduler Agenda (r:1 w:1) fn nudge_referendum_rejected() -> Weight { - Weight::from_ref_time(38_997_000 as u64) + // Minimum execution time: 39_656 nanoseconds. + Weight::from_ref_time(40_908_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_scheduler.rs b/runtime/kusama/src/weights/pallet_scheduler.rs index c6df2801dd69..dc7fe054f202 100644 --- a/runtime/kusama/src/weights/pallet_scheduler.rs +++ b/runtime/kusama/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/kusama/src/weights +// --output=./runtime/kusama/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,52 +46,61 @@ pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - Weight::from_ref_time(4_558_000 as u64) + // Minimum execution time: 5_067 nanoseconds. + Weight::from_ref_time(5_193_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - Weight::from_ref_time(3_715_000 as u64) - // Standard Error: 2_737 - .saturating_add(Weight::from_ref_time(624_353 as u64).saturating_mul(s as u64)) + // Minimum execution time: 4_288 nanoseconds. + Weight::from_ref_time(7_652_085 as u64) + // Standard Error: 1_878 + .saturating_add(Weight::from_ref_time(548_847 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_base() -> Weight { - Weight::from_ref_time(9_345_000 as u64) + // Minimum execution time: 9_861 nanoseconds. + Weight::from_ref_time(10_063_000 as u64) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { - Weight::from_ref_time(20_078_000 as u64) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(1_153 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_134 nanoseconds. + Weight::from_ref_time(21_368_000 as u64) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_280 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { - Weight::from_ref_time(10_744_000 as u64) + // Minimum execution time: 11_292 nanoseconds. + Weight::from_ref_time(11_567_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_periodic() -> Weight { - Weight::from_ref_time(9_556_000 as u64) + // Minimum execution time: 9_974 nanoseconds. + Weight::from_ref_time(10_162_000 as u64) } fn execute_dispatch_signed() -> Weight { - Weight::from_ref_time(4_130_000 as u64) + // Minimum execution time: 4_164 nanoseconds. + Weight::from_ref_time(4_266_000 as u64) } fn execute_dispatch_unsigned() -> Weight { - Weight::from_ref_time(4_058_000 as u64) + // Minimum execution time: 4_020 nanoseconds. + Weight::from_ref_time(4_116_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(16_721_000 as u64) - // Standard Error: 3_319 - .saturating_add(Weight::from_ref_time(657_802 as u64).saturating_mul(s as u64)) + // Minimum execution time: 18_088 nanoseconds. + Weight::from_ref_time(21_737_123 as u64) + // Standard Error: 2_364 + .saturating_add(Weight::from_ref_time(580_581 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -99,9 +108,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(19_496_000 as u64) - // Standard Error: 1_368 - .saturating_add(Weight::from_ref_time(572_226 as u64).saturating_mul(s as u64)) + // Minimum execution time: 20_197 nanoseconds. + Weight::from_ref_time(21_901_362 as u64) + // Standard Error: 1_994 + .saturating_add(Weight::from_ref_time(571_379 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -109,9 +119,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(19_831_000 as u64) - // Standard Error: 3_559 - .saturating_add(Weight::from_ref_time(689_493 as u64).saturating_mul(s as u64)) + // Minimum execution time: 20_694 nanoseconds. + Weight::from_ref_time(25_027_021 as u64) + // Standard Error: 2_967 + .saturating_add(Weight::from_ref_time(599_640 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -119,9 +130,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(20_788_000 as u64) - // Standard Error: 1_758 - .saturating_add(Weight::from_ref_time(605_808 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_231 nanoseconds. + Weight::from_ref_time(23_895_092 as u64) + // Standard Error: 2_733 + .saturating_add(Weight::from_ref_time(581_286 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_session.rs b/runtime/kusama/src/weights/pallet_session.rs index b07d6a7444e2..5e376a70cff5 100644 --- a/runtime/kusama/src/weights/pallet_session.rs +++ b/runtime/kusama/src/weights/pallet_session.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_session`. @@ -48,7 +48,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:6 w:6) fn set_keys() -> Weight { - Weight::from_ref_time(51_955_000 as u64) + // Minimum execution time: 51_779 nanoseconds. + Weight::from_ref_time(53_571_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -56,7 +57,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:6) fn purge_keys() -> Weight { - Weight::from_ref_time(38_814_000 as u64) + // Minimum execution time: 39_411 nanoseconds. + Weight::from_ref_time(40_698_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index 53cb5d10c4b1..43935f0d0dd6 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_staking`. @@ -47,12 +47,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - Weight::from_ref_time(46_005_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) + // Minimum execution time: 46_644 nanoseconds. + Weight::from_ref_time(47_601_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Staking Bonded (r:1 w:0) @@ -61,7 +61,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - Weight::from_ref_time(79_816_000 as u64) + // Minimum execution time: 83_700 nanoseconds. + Weight::from_ref_time(84_180_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -75,7 +76,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - Weight::from_ref_time(84_908_000 as u64) + // Minimum execution time: 88_626 nanoseconds. + Weight::from_ref_time(89_533_000 as u64) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -85,9 +87,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - Weight::from_ref_time(39_533_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_857 nanoseconds. + Weight::from_ref_time(41_762_625 as u64) + // Standard Error: 793 + .saturating_add(Weight::from_ref_time(19_027 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -105,8 +108,11 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - Weight::from_ref_time(74_544_000 as u64) + fn withdraw_unbonded_kill(s: u32, ) -> Weight { + // Minimum execution time: 77_333 nanoseconds. + Weight::from_ref_time(78_922_702 as u64) + // Standard Error: 1_167 + .saturating_add(Weight::from_ref_time(2_228 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(11 as u64)) } @@ -122,7 +128,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - Weight::from_ref_time(57_525_000 as u64) + // Minimum execution time: 60_771 nanoseconds. + Weight::from_ref_time(62_120_000 as u64) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -130,9 +137,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - Weight::from_ref_time(29_911_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(6_821_000 as u64).saturating_mul(k as u64)) + // Minimum execution time: 35_488 nanoseconds. + Weight::from_ref_time(31_260_124 as u64) + // Standard Error: 10_282 + .saturating_add(Weight::from_ref_time(6_618_104 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64))) @@ -150,9 +158,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 24]`. fn nominate(n: u32, ) -> Weight { - Weight::from_ref_time(59_437_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(2_490_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 63_100 nanoseconds. + Weight::from_ref_time(61_836_772 as u64) + // Standard Error: 7_808 + .saturating_add(Weight::from_ref_time(2_532_660 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(6 as u64)) @@ -165,50 +174,58 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - Weight::from_ref_time(56_100_000 as u64) + // Minimum execution time: 58_416 nanoseconds. + Weight::from_ref_time(59_201_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - Weight::from_ref_time(15_258_000 as u64) + // Minimum execution time: 15_931 nanoseconds. + Weight::from_ref_time(16_155_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - Weight::from_ref_time(21_938_000 as u64) + // Minimum execution time: 22_947 nanoseconds. + Weight::from_ref_time(23_520_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - Weight::from_ref_time(4_071_000 as u64) + // Minimum execution time: 4_206 nanoseconds. + Weight::from_ref_time(4_371_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - Weight::from_ref_time(4_152_000 as u64) + // Minimum execution time: 4_225 nanoseconds. + Weight::from_ref_time(4_324_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - Weight::from_ref_time(4_318_000 as u64) + // Minimum execution time: 4_361 nanoseconds. + Weight::from_ref_time(4_489_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - Weight::from_ref_time(4_106_000 as u64) + // Minimum execution time: 4_369 nanoseconds. + Weight::from_ref_time(4_611_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - Weight::from_ref_time(4_502_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 4_450 nanoseconds. + Weight::from_ref_time(4_810_067 as u64) + // Standard Error: 25 + .saturating_add(Weight::from_ref_time(10_502 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Bonded (r:1 w:1) @@ -226,9 +243,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - Weight::from_ref_time(71_669_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(883_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 71_970 nanoseconds. + Weight::from_ref_time(77_083_021 as u64) + // Standard Error: 2_001 + .saturating_add(Weight::from_ref_time(866_865 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -236,49 +254,50 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - Weight::from_ref_time(930_179_000 as u64) - // Standard Error: 57_000 - .saturating_add(Weight::from_ref_time(4_953_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 118_673 nanoseconds. + Weight::from_ref_time(1_326_106_039 as u64) + // Standard Error: 87_435 + .saturating_add(Weight::from_ref_time(7_437_525 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) - // Storage: Staking Bonded (r:2 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking ErasStakersClipped (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:0) // Storage: Staking ErasValidatorPrefs (r:1 w:0) - // Storage: Staking Payee (r:2 w:0) - // Storage: System Account (r:2 w:2) - /// The range of component `n` is `[1, 256]`. + // Storage: Staking Payee (r:1 w:0) + // Storage: System Account (r:1 w:1) + /// The range of component `n` is `[0, 512]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - Weight::from_ref_time(150_647_000 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(20_795_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) + // Minimum execution time: 109_550 nanoseconds. + Weight::from_ref_time(206_474_081 as u64) + // Standard Error: 16_169 + .saturating_add(Weight::from_ref_time(21_555_193 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) } // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) - // Storage: Staking Bonded (r:2 w:0) - // Storage: Staking Ledger (r:2 w:2) + // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking ErasStakersClipped (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:0) // Storage: Staking ErasValidatorPrefs (r:1 w:0) - // Storage: Staking Payee (r:2 w:0) - // Storage: System Account (r:2 w:2) - // Storage: Balances Locks (r:2 w:2) - /// The range of component `n` is `[1, 256]`. + // Storage: Staking Payee (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - Weight::from_ref_time(177_911_000 as u64) - // Standard Error: 30_000 - .saturating_add(Weight::from_ref_time(28_200_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) + // Minimum execution time: 126_170 nanoseconds. + Weight::from_ref_time(194_778_058 as u64) + // Standard Error: 27_867 + .saturating_add(Weight::from_ref_time(30_845_851 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64))) @@ -291,9 +310,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - Weight::from_ref_time(80_037_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(24_000 as u64).saturating_mul(l as u64)) + // Minimum execution time: 82_627 nanoseconds. + Weight::from_ref_time(84_126_338 as u64) + // Standard Error: 4_351 + .saturating_add(Weight::from_ref_time(45_779 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -312,9 +332,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - Weight::from_ref_time(78_855_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(869_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 84_348 nanoseconds. + Weight::from_ref_time(84_781_622 as u64) + // Standard Error: 3_494 + .saturating_add(Weight::from_ref_time(869_042 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -332,21 +353,21 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking ValidatorCount (r:1 w:0) // Storage: Staking MinimumValidatorCount (r:1 w:0) // Storage: Staking CurrentEra (r:1 w:1) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasStakersClipped (r:0 w:1) // Storage: Staking ErasValidatorPrefs (r:0 w:1) // Storage: Staking ErasStakers (r:0 w:1) // Storage: Staking ErasTotalStake (r:0 w:1) // Storage: Staking ErasStartSessionIndex (r:0 w:1) /// The range of component `v` is `[1, 10]`. - /// The range of component `n` is `[1, 100]`. + /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 579_000 - .saturating_add(Weight::from_ref_time(161_445_000 as u64).saturating_mul(v as u64)) - // Standard Error: 55_000 - .saturating_add(Weight::from_ref_time(22_905_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(192 as u64)) + // Minimum execution time: 431_295 nanoseconds. + Weight::from_ref_time(434_958_000 as u64) + // Standard Error: 1_764_016 + .saturating_add(Weight::from_ref_time(57_522_953 as u64).saturating_mul(v as u64)) + // Standard Error: 175_774 + .saturating_add(Weight::from_ref_time(13_158_469 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(191 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -365,27 +386,28 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. /// The range of component `s` is `[1, 20]`. fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 375_000 - .saturating_add(Weight::from_ref_time(41_603_000 as u64).saturating_mul(v as u64)) - // Standard Error: 375_000 - .saturating_add(Weight::from_ref_time(38_528_000 as u64).saturating_mul(n as u64)) - // Standard Error: 9_578_000 - .saturating_add(Weight::from_ref_time(41_537_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 26_480_054 nanoseconds. + Weight::from_ref_time(26_659_270_000 as u64) + // Standard Error: 480_708 + .saturating_add(Weight::from_ref_time(10_306_257 as u64).saturating_mul(v as u64)) + // Standard Error: 480_708 + .saturating_add(Weight::from_ref_time(12_612_184 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(186 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { - Weight::from_ref_time(310_326_000 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(6_164_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 3_520_733 nanoseconds. + Weight::from_ref_time(3_602_387_000 as u64) + // Standard Error: 41_226 + .saturating_add(Weight::from_ref_time(2_633_121 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -396,7 +418,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - Weight::from_ref_time(7_502_000 as u64) + // Minimum execution time: 7_287 nanoseconds. + Weight::from_ref_time(7_534_000 as u64) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking MinCommission (r:0 w:1) @@ -406,7 +429,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - Weight::from_ref_time(6_757_000 as u64) + // Minimum execution time: 6_570 nanoseconds. + Weight::from_ref_time(6_834_000 as u64) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking Ledger (r:1 w:0) @@ -420,14 +444,16 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - Weight::from_ref_time(66_406_000 as u64) + // Minimum execution time: 69_446 nanoseconds. + Weight::from_ref_time(71_663_000 as u64) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - Weight::from_ref_time(14_744_000 as u64) + // Minimum execution time: 15_387 nanoseconds. + Weight::from_ref_time(15_571_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_timestamp.rs b/runtime/kusama/src/weights/pallet_timestamp.rs index 9ae6e72e02f8..57d4f7621be0 100644 --- a/runtime/kusama/src/weights/pallet_timestamp.rs +++ b/runtime/kusama/src/weights/pallet_timestamp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. @@ -47,11 +47,13 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - Weight::from_ref_time(9_144_000 as u64) + // Minimum execution time: 9_352 nanoseconds. + Weight::from_ref_time(9_715_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(3_852_000 as u64) + // Minimum execution time: 4_512 nanoseconds. + Weight::from_ref_time(4_623_000 as u64) } } diff --git a/runtime/kusama/src/weights/pallet_tips.rs b/runtime/kusama/src/weights/pallet_tips.rs index dc6f02b1d9b1..66ddaf41b3c0 100644 --- a/runtime/kusama/src/weights/pallet_tips.rs +++ b/runtime/kusama/src/weights/pallet_tips.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_tips`. @@ -48,16 +48,18 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `r` is `[0, 16384]`. fn report_awesome(r: u32, ) -> Weight { - Weight::from_ref_time(29_461_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 29_607 nanoseconds. + Weight::from_ref_time(31_236_013 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_831 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { - Weight::from_ref_time(28_620_000 as u64) + // Minimum execution time: 29_400 nanoseconds. + Weight::from_ref_time(29_797_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -67,11 +69,12 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. /// The range of component `t` is `[1, 19]`. fn tip_new(r: u32, t: u32, ) -> Weight { - Weight::from_ref_time(19_451_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(189_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 23_060 nanoseconds. + Weight::from_ref_time(21_778_664 as u64) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_682 as u64).saturating_mul(r as u64)) + // Standard Error: 6_497 + .saturating_add(Weight::from_ref_time(164_476 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -79,9 +82,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `t` is `[1, 19]`. fn tip(t: u32, ) -> Weight { - Weight::from_ref_time(14_423_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 14_816 nanoseconds. + Weight::from_ref_time(15_348_469 as u64) + // Standard Error: 1_621 + .saturating_add(Weight::from_ref_time(135_014 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -91,9 +95,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 19]`. fn close_tip(t: u32, ) -> Weight { - Weight::from_ref_time(45_535_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 45_047 nanoseconds. + Weight::from_ref_time(47_082_126 as u64) + // Standard Error: 4_737 + .saturating_add(Weight::from_ref_time(100_518 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -101,9 +106,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 19]`. fn slash_tip(t: u32, ) -> Weight { - Weight::from_ref_time(19_074_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 19_055 nanoseconds. + Weight::from_ref_time(19_857_862 as u64) + // Standard Error: 1_113 + .saturating_add(Weight::from_ref_time(34_263 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/kusama/src/weights/pallet_treasury.rs b/runtime/kusama/src/weights/pallet_treasury.rs index ac10deacaa8b..7bdfe2064462 100644 --- a/runtime/kusama/src/weights/pallet_treasury.rs +++ b/runtime/kusama/src/weights/pallet_treasury.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,26 +38,34 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { + // Storage: Treasury ProposalCount (r:1 w:1) + // Storage: Treasury Approvals (r:1 w:1) + // Storage: Treasury Proposals (r:0 w:1) fn spend() -> Weight { - Weight::from_ref_time(131_000 as u64) + // Minimum execution time: 18_856 nanoseconds. + Weight::from_ref_time(19_144_000 as u64) + .saturating_add(T::DbWeight::get().reads(2 as u64)) + .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(25_664_000 as u64) + // Minimum execution time: 27_164 nanoseconds. + Weight::from_ref_time(27_790_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - Weight::from_ref_time(36_678_000 as u64) + // Minimum execution time: 38_257 nanoseconds. + Weight::from_ref_time(38_930_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -65,15 +73,17 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(12_868_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 9_729 nanoseconds. + Weight::from_ref_time(13_242_610 as u64) + // Standard Error: 1_133 + .saturating_add(Weight::from_ref_time(48_014 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(7_810_000 as u64) + // Minimum execution time: 8_151 nanoseconds. + Weight::from_ref_time(8_355_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -83,9 +93,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Proposals (r:2 w:2) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(57_241_000 as u64) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(24_874_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 50_854 nanoseconds. + Weight::from_ref_time(63_148_952 as u64) + // Standard Error: 23_228 + .saturating_add(Weight::from_ref_time(24_411_714 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) diff --git a/runtime/kusama/src/weights/pallet_utility.rs b/runtime/kusama/src/weights/pallet_utility.rs index 8eaa6258faa3..16d0d87b4b4e 100644 --- a/runtime/kusama/src/weights/pallet_utility.rs +++ b/runtime/kusama/src/weights/pallet_utility.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_utility`. @@ -46,26 +46,31 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(29_094_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_803_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_629 nanoseconds. + Weight::from_ref_time(15_201_709 as u64) + // Standard Error: 2_617 + .saturating_add(Weight::from_ref_time(3_430_759 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(5_660_000 as u64) + // Minimum execution time: 5_876 nanoseconds. + Weight::from_ref_time(5_994_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(17_216_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(3_979_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_541 nanoseconds. + Weight::from_ref_time(18_710_023 as u64) + // Standard Error: 2_936 + .saturating_add(Weight::from_ref_time(3_591_842 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(13_181_000 as u64) + // Minimum execution time: 13_664 nanoseconds. + Weight::from_ref_time(14_022_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(19_722_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_795_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_520 nanoseconds. + Weight::from_ref_time(16_718_610 as u64) + // Standard Error: 3_003 + .saturating_add(Weight::from_ref_time(3_455_686 as u64).saturating_mul(c as u64)) } } diff --git a/runtime/kusama/src/weights/pallet_vesting.rs b/runtime/kusama/src/weights/pallet_vesting.rs index a570fa7b4b99..6288e07a5db0 100644 --- a/runtime/kusama/src/weights/pallet_vesting.rs +++ b/runtime/kusama/src/weights/pallet_vesting.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_vesting`. @@ -49,11 +49,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_421_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 38_642 nanoseconds. + Weight::from_ref_time(38_226_745 as u64) + // Standard Error: 1_085 + .saturating_add(Weight::from_ref_time(37_262 as u64).saturating_mul(l as u64)) + // Standard Error: 1_931 + .saturating_add(Weight::from_ref_time(61_339 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -62,11 +63,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_493_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 38_010 nanoseconds. + Weight::from_ref_time(37_870_524 as u64) + // Standard Error: 1_888 + .saturating_add(Weight::from_ref_time(47_214 as u64).saturating_mul(l as u64)) + // Standard Error: 3_359 + .saturating_add(Weight::from_ref_time(38_374 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -76,11 +78,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(37_644_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(l as u64)) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 38_389 nanoseconds. + Weight::from_ref_time(37_550_733 as u64) + // Standard Error: 1_060 + .saturating_add(Weight::from_ref_time(49_011 as u64).saturating_mul(l as u64)) + // Standard Error: 1_886 + .saturating_add(Weight::from_ref_time(62_179 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -90,11 +93,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(34_945_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 37_686 nanoseconds. + Weight::from_ref_time(37_792_534 as u64) + // Standard Error: 1_624 + .saturating_add(Weight::from_ref_time(38_716 as u64).saturating_mul(l as u64)) + // Standard Error: 2_889 + .saturating_add(Weight::from_ref_time(33_810 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -104,11 +108,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(50_024_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(50_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(63_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 52_356 nanoseconds. + Weight::from_ref_time(53_053_813 as u64) + // Standard Error: 1_679 + .saturating_add(Weight::from_ref_time(37_518 as u64).saturating_mul(l as u64)) + // Standard Error: 2_987 + .saturating_add(Weight::from_ref_time(18_617 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -118,11 +123,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(49_452_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(79_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 51_625 nanoseconds. + Weight::from_ref_time(51_648_113 as u64) + // Standard Error: 1_712 + .saturating_add(Weight::from_ref_time(43_998 as u64).saturating_mul(l as u64)) + // Standard Error: 3_047 + .saturating_add(Weight::from_ref_time(42_370 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -132,11 +138,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(36_353_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(104_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_592 nanoseconds. + Weight::from_ref_time(38_624_597 as u64) + // Standard Error: 922 + .saturating_add(Weight::from_ref_time(45_973 as u64).saturating_mul(l as u64)) + // Standard Error: 1_704 + .saturating_add(Weight::from_ref_time(69_427 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -146,11 +153,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_921_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(58_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(112_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_606 nanoseconds. + Weight::from_ref_time(38_893_122 as u64) + // Standard Error: 1_158 + .saturating_add(Weight::from_ref_time(44_023 as u64).saturating_mul(l as u64)) + // Standard Error: 2_139 + .saturating_add(Weight::from_ref_time(60_243 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_common_auctions.rs b/runtime/kusama/src/weights/runtime_common_auctions.rs index 368665cb91a7..bb9a9a008d01 100644 --- a/runtime/kusama/src/weights/runtime_common_auctions.rs +++ b/runtime/kusama/src/weights/runtime_common_auctions.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. @@ -47,7 +47,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - Weight::from_ref_time(16_541_000 as u64) + // Minimum execution time: 17_589 nanoseconds. + Weight::from_ref_time(17_777_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -59,7 +60,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - Weight::from_ref_time(72_654_000 as u64) + // Minimum execution time: 71_154 nanoseconds. + Weight::from_ref_time(72_510_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -76,7 +78,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - Weight::from_ref_time(15_198_212_000 as u64) + // Minimum execution time: 15_548_622 nanoseconds. + Weight::from_ref_time(15_867_007_000 as u64) .saturating_add(T::DbWeight::get().reads(3688 as u64)) .saturating_add(T::DbWeight::get().writes(3683 as u64)) } @@ -85,7 +88,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions Winning (r:0 w:3600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - Weight::from_ref_time(4_630_319_000 as u64) + // Minimum execution time: 4_637_901 nanoseconds. + Weight::from_ref_time(4_730_879_000 as u64) .saturating_add(T::DbWeight::get().reads(73 as u64)) .saturating_add(T::DbWeight::get().writes(3673 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_common_claims.rs b/runtime/kusama/src/weights/runtime_common_claims.rs index cf02524e5559..b27afcd0a8df 100644 --- a/runtime/kusama/src/weights/runtime_common_claims.rs +++ b/runtime/kusama/src/weights/runtime_common_claims.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::claims`. @@ -52,7 +52,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(144_147_000 as u64) + // Minimum execution time: 144_357 nanoseconds. + Weight::from_ref_time(146_222_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -61,7 +62,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Claims (r:0 w:1) // Storage: Claims Signing (r:0 w:1) fn mint_claim() -> Weight { - Weight::from_ref_time(11_356_000 as u64) + // Minimum execution time: 11_388 nanoseconds. + Weight::from_ref_time(11_833_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -73,7 +75,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim_attest() -> Weight { - Weight::from_ref_time(147_747_000 as u64) + // Minimum execution time: 148_256 nanoseconds. + Weight::from_ref_time(153_700_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -86,7 +89,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn attest() -> Weight { - Weight::from_ref_time(67_746_000 as u64) + // Minimum execution time: 68_246 nanoseconds. + Weight::from_ref_time(70_821_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -95,7 +99,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Signing (r:1 w:2) // Storage: Claims Preclaims (r:1 w:1) fn move_claim() -> Weight { - Weight::from_ref_time(21_643_000 as u64) + // Minimum execution time: 21_200 nanoseconds. + Weight::from_ref_time(21_813_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_common_crowdloan.rs b/runtime/kusama/src/weights/runtime_common_crowdloan.rs index ac5438c137d1..91753886e41d 100644 --- a/runtime/kusama/src/weights/runtime_common_crowdloan.rs +++ b/runtime/kusama/src/weights/runtime_common_crowdloan.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. @@ -49,7 +49,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(46_612_000 as u64) + // Minimum execution time: 47_414 nanoseconds. + Weight::from_ref_time(48_286_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -61,7 +62,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - Weight::from_ref_time(116_068_000 as u64) + // Minimum execution time: 116_057 nanoseconds. + Weight::from_ref_time(117_264_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -69,16 +71,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(54_293_000 as u64) + // Minimum execution time: 55_684 nanoseconds. + Weight::from_ref_time(56_470_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(18_183_000 as u64).saturating_mul(k as u64)) + // Minimum execution time: 50_573 nanoseconds. + Weight::from_ref_time(62_908_000 as u64) + // Standard Error: 13_896 + .saturating_add(Weight::from_ref_time(17_794_898 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -87,27 +91,31 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - Weight::from_ref_time(34_634_000 as u64) + // Minimum execution time: 37_873 nanoseconds. + Weight::from_ref_time(38_408_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - Weight::from_ref_time(24_646_000 as u64) + // Minimum execution time: 26_842 nanoseconds. + Weight::from_ref_time(27_758_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - Weight::from_ref_time(32_088_000 as u64) + // Minimum execution time: 34_190 nanoseconds. + Weight::from_ref_time(35_145_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - Weight::from_ref_time(24_754_000 as u64) + // Minimum execution time: 26_873 nanoseconds. + Weight::from_ref_time(27_829_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -123,9 +131,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { - Weight::from_ref_time(15_720_000 as u64) - // Standard Error: 33_000 - .saturating_add(Weight::from_ref_time(41_322_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 103_946 nanoseconds. + Weight::from_ref_time(8_539_524 as u64) + // Standard Error: 42_832 + .saturating_add(Weight::from_ref_time(40_283_343 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) diff --git a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs index 8b9f554fe3e6..a1b572259692 100644 --- a/runtime/kusama/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/kusama/src/weights/runtime_common_paras_registrar.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. @@ -48,7 +48,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - Weight::from_ref_time(30_299_000 as u64) + // Minimum execution time: 30_852 nanoseconds. + Weight::from_ref_time(31_532_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -62,7 +63,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - Weight::from_ref_time(7_938_844_000 as u64) + // Minimum execution time: 7_439_882 nanoseconds. + Weight::from_ref_time(7_564_995_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -76,7 +78,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - Weight::from_ref_time(7_905_688_000 as u64) + // Minimum execution time: 7_412_236 nanoseconds. + Weight::from_ref_time(7_528_657_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -87,7 +90,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - Weight::from_ref_time(47_531_000 as u64) + // Minimum execution time: 49_031 nanoseconds. + Weight::from_ref_time(50_187_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -99,11 +103,13 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - Weight::from_ref_time(42_367_000 as u64) + // Minimum execution time: 44_366 nanoseconds. + Weight::from_ref_time(45_345_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:1 w:1) // Storage: Paras CurrentCodeHash (r:1 w:0) // Storage: Paras UpgradeCooldowns (r:1 w:1) // Storage: Paras PvfActiveVoteMap (r:1 w:0) @@ -112,19 +118,22 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: System Digest (r:1 w:1) // Storage: Paras CodeByHashRefs (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:1) - // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 42_230 nanoseconds. + Weight::from_ref_time(42_587_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_333 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras Heads (r:0 w:1) + /// The range of component `b` is `[1, 1048576]`. fn set_current_head(b: u32, ) -> Weight { - Weight::from_ref_time(5_494_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 13_316 nanoseconds. + Weight::from_ref_time(13_675_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/kusama/src/weights/runtime_common_slots.rs b/runtime/kusama/src/weights/runtime_common_slots.rs index a897fe1205ff..cf26075d1390 100644 --- a/runtime/kusama/src/weights/runtime_common_slots.rs +++ b/runtime/kusama/src/weights/runtime_common_slots.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::slots`. @@ -47,7 +47,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(30_342_000 as u64) + // Minimum execution time: 31_674 nanoseconds. + Weight::from_ref_time(32_043_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -60,11 +61,12 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(5_979_000 as u64).saturating_mul(c as u64)) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(15_498_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 569_152 nanoseconds. + Weight::from_ref_time(575_433_000 as u64) + // Standard Error: 71_875 + .saturating_add(Weight::from_ref_time(2_060_648 as u64).saturating_mul(c as u64)) + // Standard Error: 71_875 + .saturating_add(Weight::from_ref_time(11_927_056 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64))) @@ -75,7 +77,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(92_539_000 as u64) + // Minimum execution time: 92_561 nanoseconds. + Weight::from_ref_time(93_794_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -85,7 +88,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(28_034_000 as u64) + // Minimum execution time: 28_796 nanoseconds. + Weight::from_ref_time(29_798_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_configuration.rs b/runtime/kusama/src/weights/runtime_parachains_configuration.rs index f7308aafffe0..dac0259c9762 100644 --- a/runtime/kusama/src/weights/runtime_parachains_configuration.rs +++ b/runtime/kusama/src/weights/runtime_parachains_configuration.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. @@ -48,7 +48,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - Weight::from_ref_time(10_810_000 as u64) + // Minimum execution time: 12_075 nanoseconds. + Weight::from_ref_time(12_339_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -56,7 +57,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(10_580_000 as u64) + // Minimum execution time: 12_457 nanoseconds. + Weight::from_ref_time(13_010_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -64,7 +66,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - Weight::from_ref_time(10_631_000 as u64) + // Minimum execution time: 12_413 nanoseconds. + Weight::from_ref_time(12_701_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -72,19 +75,22 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(10_910_000 as u64) + // Minimum execution time: 12_333 nanoseconds. + Weight::from_ref_time(12_813_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Benchmark Override (r:0 w:0) fn set_hrmp_open_request_ttl() -> Weight { + // Minimum execution time: 2_000_000_000 nanoseconds. Weight::from_ref_time(2_000_000_000_000 as u64) } // Storage: Configuration PendingConfigs (r:1 w:1) // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - Weight::from_ref_time(11_012_000 as u64) + // Minimum execution time: 12_040 nanoseconds. + Weight::from_ref_time(12_571_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_disputes.rs b/runtime/kusama/src/weights/runtime_parachains_disputes.rs index 248b3af844f7..a26e08073182 100644 --- a/runtime/kusama/src/weights/runtime_parachains_disputes.rs +++ b/runtime/kusama/src/weights/runtime_parachains_disputes.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. @@ -46,7 +46,8 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - Weight::from_ref_time(3_909_000 as u64) + // Minimum execution time: 4_402 nanoseconds. + Weight::from_ref_time(4_492_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs index ab7a5b87291e..33343a4067a7 100644 --- a/runtime/kusama/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/kusama/src/weights/runtime_parachains_hrmp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::hrmp`. @@ -53,7 +53,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_init_open_channel() -> Weight { - Weight::from_ref_time(38_970_000 as u64) + // Minimum execution time: 42_278 nanoseconds. + Weight::from_ref_time(42_770_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -64,7 +65,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_accept_open_channel() -> Weight { - Weight::from_ref_time(39_314_000 as u64) + // Minimum execution time: 41_471 nanoseconds. + Weight::from_ref_time(42_331_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -74,7 +76,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_close_channel() -> Weight { - Weight::from_ref_time(35_896_000 as u64) + // Minimum execution time: 38_134 nanoseconds. + Weight::from_ref_time(38_715_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -87,11 +90,12 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `i` is `[0, 127]`. /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(7_134_000 as u64).saturating_mul(i as u64)) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(7_238_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 867_577 nanoseconds. + Weight::from_ref_time(874_935_000 as u64) + // Standard Error: 78_897 + .saturating_add(Weight::from_ref_time(2_673_773 as u64).saturating_mul(i as u64)) + // Standard Error: 78_897 + .saturating_add(Weight::from_ref_time(2_683_401 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64))) @@ -109,9 +113,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpChannels (r:0 w:2) /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { - Weight::from_ref_time(117_000 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(15_838_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 10_142 nanoseconds. + Weight::from_ref_time(10_319_000 as u64) + // Standard Error: 11_640 + .saturating_add(Weight::from_ref_time(15_901_207 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -125,9 +130,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpChannelContents (r:0 w:2) /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(9_709_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 6_588 nanoseconds. + Weight::from_ref_time(1_707_852 as u64) + // Standard Error: 11_751 + .saturating_add(Weight::from_ref_time(9_612_854 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -138,9 +144,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { - Weight::from_ref_time(30_404_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 25_551 nanoseconds. + Weight::from_ref_time(31_335_704 as u64) + // Standard Error: 1_322 + .saturating_add(Weight::from_ref_time(98_216 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -148,9 +155,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2) /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { - Weight::from_ref_time(593_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_622_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 4_762 nanoseconds. + Weight::from_ref_time(2_997_588 as u64) + // Standard Error: 3_871 + .saturating_add(Weight::from_ref_time(2_566_697 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -167,7 +175,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) fn force_open_hrmp_channel() -> Weight { - Weight::from_ref_time(104_771_000 as u64) + // Minimum execution time: 53_453 nanoseconds. + Weight::from_ref_time(53_861_000 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_initializer.rs b/runtime/kusama/src/weights/runtime_parachains_initializer.rs index ef152d190f79..380e0a99aa1b 100644 --- a/runtime/kusama/src/weights/runtime_parachains_initializer.rs +++ b/runtime/kusama/src/weights/runtime_parachains_initializer.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. @@ -47,9 +47,10 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - Weight::from_ref_time(9_788_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 7_852 nanoseconds. + Weight::from_ref_time(10_740_573 as u64) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_317 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_paras.rs b/runtime/kusama/src/weights/runtime_parachains_paras.rs index 4b42562c8566..c9f7419e9452 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. @@ -52,18 +52,20 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 35_796 nanoseconds. + Weight::from_ref_time(36_105_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_317 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Paras Heads (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_set_current_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 13_374 nanoseconds. + Weight::from_ref_time(13_806_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Paras FutureCodeHash (r:1 w:1) @@ -78,9 +80,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 60_701 nanoseconds. + Weight::from_ref_time(61_305_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_340 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -89,16 +92,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_note_new_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 19_070 nanoseconds. + Weight::from_ref_time(19_220_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(910 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - Weight::from_ref_time(22_217_000 as u64) + // Minimum execution time: 23_946 nanoseconds. + Weight::from_ref_time(24_805_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -106,16 +111,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:1 w:1) /// The range of component `c` is `[1, 3145728]`. fn add_trusted_validation_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 9_055 nanoseconds. + Weight::from_ref_time(9_171_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_325 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - Weight::from_ref_time(6_480_000 as u64) + // Minimum execution time: 7_063 nanoseconds. + Weight::from_ref_time(7_167_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -123,7 +130,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - Weight::from_ref_time(93_853_000 as u64) + // Minimum execution time: 92_634 nanoseconds. + Weight::from_ref_time(94_982_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -135,7 +143,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - Weight::from_ref_time(644_115_000 as u64) + // Minimum execution time: 624_541 nanoseconds. + Weight::from_ref_time(631_251_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(104 as u64)) } @@ -148,7 +157,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - Weight::from_ref_time(609_948_000 as u64) + // Minimum execution time: 592_733 nanoseconds. + Weight::from_ref_time(600_415_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(204 as u64)) } @@ -158,7 +168,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - Weight::from_ref_time(505_647_000 as u64) + // Minimum execution time: 491_686 nanoseconds. + Weight::from_ref_time(503_208_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -172,7 +183,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - Weight::from_ref_time(692_341_000 as u64) + // Minimum execution time: 661_583 nanoseconds. + Weight::from_ref_time(670_694_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(304 as u64)) } diff --git a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs index bb0f7815ec08..c5a68ad56e81 100644 --- a/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/kusama/src/weights/runtime_parachains_paras_inherent.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::paras_inherent`. @@ -53,14 +53,15 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParasDisputes Included (r:1 w:1) // Storage: ParasDisputes SpamSlots (r:1 w:1) // Storage: ParaScheduler AvailabilityCores (r:1 w:1) + // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) + // Storage: Staking ActiveEra (r:1 w:0) + // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: ParasDisputes Frozen (r:1 w:0) // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParasShared ActiveValidatorKeys (r:1 w:0) // Storage: Paras Parachains (r:1 w:0) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) - // Storage: ParaSessionInfo AccountKeys (r:1 w:0) - // Storage: Staking ActiveEra (r:1 w:0) - // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) // Storage: Hrmp HrmpChannelDigests (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -76,10 +77,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { - Weight::from_ref_time(341_679_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(48_621_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(28 as u64)) + // Minimum execution time: 810_241 nanoseconds. + Weight::from_ref_time(348_752_510 as u64) + // Standard Error: 23_627 + .saturating_add(Weight::from_ref_time(48_079_357 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(29 as u64)) .saturating_add(T::DbWeight::get().writes(18 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -93,6 +95,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -112,8 +115,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_bitfields() -> Weight { - Weight::from_ref_time(339_684_000 as u64) - .saturating_add(T::DbWeight::get().reads(25 as u64)) + // Minimum execution time: 332_410 nanoseconds. + Weight::from_ref_time(339_799_000 as u64) + .saturating_add(T::DbWeight::get().reads(26 as u64)) .saturating_add(T::DbWeight::get().writes(17 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -127,6 +131,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -148,10 +153,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { - Weight::from_ref_time(907_441_000 as u64) - // Standard Error: 47_000 - .saturating_add(Weight::from_ref_time(48_158_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(28 as u64)) + // Minimum execution time: 5_612_242 nanoseconds. + Weight::from_ref_time(858_538_320 as u64) + // Standard Error: 48_385 + .saturating_add(Weight::from_ref_time(47_873_187 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(29 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -165,6 +171,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -187,8 +194,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_backed_candidate_code_upgrade() -> Weight { - Weight::from_ref_time(40_608_399_000 as u64) - .saturating_add(T::DbWeight::get().reads(30 as u64)) + // Minimum execution time: 38_531_556 nanoseconds. + Weight::from_ref_time(38_807_324_000 as u64) + .saturating_add(T::DbWeight::get().reads(31 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } } diff --git a/runtime/kusama/src/weights/runtime_parachains_ump.rs b/runtime/kusama/src/weights/runtime_parachains_ump.rs index effa650d0258..1473eeac063b 100644 --- a/runtime/kusama/src/weights/runtime_parachains_ump.rs +++ b/runtime/kusama/src/weights/runtime_parachains_ump.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::ump`. @@ -46,22 +46,25 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::ump::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 51200]`. fn process_upward_message(s: u32, ) -> Weight { - Weight::from_ref_time(4_549_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 10_348 nanoseconds. + Weight::from_ref_time(5_121_205 as u64) + // Standard Error: 12 + .saturating_add(Weight::from_ref_time(1_934 as u64).saturating_mul(s as u64)) } // Storage: Ump NeedsDispatch (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1) // Storage: Ump RelayDispatchQueues (r:0 w:1) // Storage: Ump RelayDispatchQueueSize (r:0 w:1) fn clean_ump_after_outgoing() -> Weight { - Weight::from_ref_time(8_784_000 as u64) + // Minimum execution time: 9_800 nanoseconds. + Weight::from_ref_time(10_025_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Ump Overweight (r:1 w:1) fn service_overweight() -> Weight { - Weight::from_ref_time(24_147_000 as u64) + // Minimum execution time: 26_272 nanoseconds. + Weight::from_ref_time(26_790_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/constants/Cargo.toml b/runtime/polkadot/constants/Cargo.toml index 2a936af9ff94..c6b3bed8dc3f 100644 --- a/runtime/polkadot/constants/Cargo.toml +++ b/runtime/polkadot/constants/Cargo.toml @@ -10,10 +10,14 @@ smallvec = "1.8.0" frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false } runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] std = [ - "sp-runtime/std" + "sp-core/std", + "sp-runtime/std", + "sp-weights/std" ] diff --git a/runtime/polkadot/constants/src/weights/block_weights.rs b/runtime/polkadot/constants/src/weights/block_weights.rs index 211cd595acba..63d38650481a 100644 --- a/runtime/polkadot/constants/src/weights/block_weights.rs +++ b/runtime/polkadot/constants/src/weights/block_weights.rs @@ -1,28 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19 (Y/M/D) -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16 (Y/M/D) +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/polkadot/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -34,32 +32,31 @@ // --weight-path=runtime/polkadot/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute an empty block. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 5_736_651, 6_591_625 - /// Average: 5_849_907 - /// Median: 5_847_129 - /// Std-Dev: 109200.59 + /// Min, Max: 6_019_119, 6_263_448 + /// Average: 6_103_588 + /// Median: 6_099_366 + /// Std-Dev: 50562.05 /// /// Percentiles nanoseconds: - /// 99th: 6_131_246 - /// 95th: 5_988_921 - /// 75th: 5_885_724 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_849_907); + /// 99th: 6_239_600 + /// 95th: 6_178_734 + /// 75th: 6_145_812 + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_103_588); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs index 79f1e550d33f..334cf0089167 100644 --- a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs +++ b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs @@ -1,27 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-04-20 (Y/M/D) +//! DATE: 2022-11-16 (Y/M/D) +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/polkadot/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -33,32 +32,31 @@ // --weight-path=runtime/polkadot/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// - /// Stats [NS]: - /// Min, Max: 84_940, 86_590 - /// Average: 85_212 - /// Median: 85_156 - /// Std-Dev: 243.25 + /// Stats nanoseconds: + /// Min, Max: 94_862, 96_847 + /// Average: 95_479 + /// Median: 95_465 + /// Std-Dev: 347.27 /// - /// Percentiles [NS]: - /// 99th: 86_269 - /// 95th: 85_510 - /// 75th: 85_216 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(85_212); + /// Percentiles nanoseconds: + /// 99th: 96_351 + /// 95th: 96_116 + /// 75th: 95_639 + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(95_479); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs index a7ff4faf911e..3b6794f1f5ac 100644 --- a/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/polkadot/src/weights/frame_benchmarking_baseline.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_benchmarking::baseline`. @@ -46,44 +46,54 @@ pub struct WeightInfo(PhantomData); impl frame_benchmarking::baseline::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000000]`. fn addition(_i: u32, ) -> Weight { - Weight::from_ref_time(120_000 as u64) + // Minimum execution time: 103 nanoseconds. + Weight::from_ref_time(141_724 as u64) } /// The range of component `i` is `[0, 1000000]`. fn subtraction(_i: u32, ) -> Weight { - Weight::from_ref_time(116_000 as u64) + // Minimum execution time: 108 nanoseconds. + Weight::from_ref_time(134_768 as u64) } /// The range of component `i` is `[0, 1000000]`. fn multiplication(_i: u32, ) -> Weight { - Weight::from_ref_time(130_000 as u64) + // Minimum execution time: 102 nanoseconds. + Weight::from_ref_time(138_207 as u64) } /// The range of component `i` is `[0, 1000000]`. fn division(_i: u32, ) -> Weight { - Weight::from_ref_time(127_000 as u64) + // Minimum execution time: 104 nanoseconds. + Weight::from_ref_time(142_094 as u64) } /// The range of component `i` is `[0, 100]`. - fn hashing(_i: u32, ) -> Weight { - Weight::from_ref_time(19_460_902_000 as u64) + fn hashing(i: u32, ) -> Weight { + // Minimum execution time: 19_917_370 nanoseconds. + Weight::from_ref_time(20_109_614_680 as u64) + // Standard Error: 118_678 + .saturating_add(Weight::from_ref_time(717_597 as u64).saturating_mul(i as u64)) } - /// The range of component `i` is `[1, 100]`. + /// The range of component `i` is `[0, 100]`. fn sr25519_verification(i: u32, ) -> Weight { - Weight::from_ref_time(734_000 as u64) - // Standard Error: 21_000 - .saturating_add(Weight::from_ref_time(47_456_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 132 nanoseconds. + Weight::from_ref_time(147_000 as u64) + // Standard Error: 18_267 + .saturating_add(Weight::from_ref_time(47_320_328 as u64).saturating_mul(i as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_read(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(1_945_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 106 nanoseconds. + Weight::from_ref_time(114_000 as u64) + // Standard Error: 4_368 + .saturating_add(Weight::from_ref_time(1_928_792 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_write(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(334_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 118 nanoseconds. + Weight::from_ref_time(125_000 as u64) + // Standard Error: 833 + .saturating_add(Weight::from_ref_time(323_135 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } } diff --git a/runtime/polkadot/src/weights/frame_election_provider_support.rs b/runtime/polkadot/src/weights/frame_election_provider_support.rs index 910a2884fcc5..a8c6dfdc26bc 100644 --- a/runtime/polkadot/src/weights/frame_election_provider_support.rs +++ b/runtime/polkadot/src/weights/frame_election_provider_support.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_election_provider_support`. @@ -48,20 +48,22 @@ impl frame_election_provider_support::WeightInfo for We /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(13_900_000 as u64).saturating_mul(v as u64)) - // Standard Error: 4_843_000 - .saturating_add(Weight::from_ref_time(2_216_812_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 5_475_839 nanoseconds. + Weight::from_ref_time(5_538_536_000 as u64) + // Standard Error: 135_964 + .saturating_add(Weight::from_ref_time(5_556_702 as u64).saturating_mul(v as u64)) + // Standard Error: 13_900_513 + .saturating_add(Weight::from_ref_time(1_535_237_976 as u64).saturating_mul(d as u64)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 84_000 - .saturating_add(Weight::from_ref_time(14_955_000 as u64).saturating_mul(v as u64)) - // Standard Error: 7_259_000 - .saturating_add(Weight::from_ref_time(2_615_111_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 4_279_269 nanoseconds. + Weight::from_ref_time(4_313_963_000 as u64) + // Standard Error: 144_712 + .saturating_add(Weight::from_ref_time(5_458_633 as u64).saturating_mul(v as u64)) + // Standard Error: 14_794_881 + .saturating_add(Weight::from_ref_time(1_759_919_301 as u64).saturating_mul(d as u64)) } } diff --git a/runtime/polkadot/src/weights/frame_system.rs b/runtime/polkadot/src/weights/frame_system.rs index 9430d6d61902..4f4a48a1ac98 100644 --- a/runtime/polkadot/src/weights/frame_system.rs +++ b/runtime/polkadot/src/weights/frame_system.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,51 +38,59 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_system`. pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. - fn remark(_b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + fn remark(b: u32, ) -> Weight { + // Minimum execution time: 3_533 nanoseconds. + Weight::from_ref_time(3_602_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(513 as u64).saturating_mul(b as u64)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + // Minimum execution time: 12_386 nanoseconds. + Weight::from_ref_time(12_695_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(1_871 as u64).saturating_mul(b as u64)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(7_394_000 as u64) + // Minimum execution time: 8_334 nanoseconds. + Weight::from_ref_time(8_584_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(603_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 3_663 nanoseconds. + Weight::from_ref_time(3_735_000 as u64) + // Standard Error: 2_110 + .saturating_add(Weight::from_ref_time(621_937 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(449_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 3_651 nanoseconds. + Weight::from_ref_time(3_780_000 as u64) + // Standard Error: 932 + .saturating_add(Weight::from_ref_time(436_723 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[1, 1000]`. + /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(966_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 5_442 nanoseconds. + Weight::from_ref_time(5_545_000 as u64) + // Standard Error: 1_291 + .saturating_add(Weight::from_ref_time(977_372 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } } diff --git a/runtime/polkadot/src/weights/pallet_bags_list.rs b/runtime/polkadot/src/weights/pallet_bags_list.rs index b97bf973b60c..05f646ff0d31 100644 --- a/runtime/polkadot/src/weights/pallet_bags_list.rs +++ b/runtime/polkadot/src/weights/pallet_bags_list.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_bags_list`. @@ -49,7 +49,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:4 w:4) // Storage: VoterList ListBags (r:1 w:1) fn rebag_non_terminal() -> Weight { - Weight::from_ref_time(61_333_000 as u64) + // Minimum execution time: 64_054 nanoseconds. + Weight::from_ref_time(64_863_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -58,7 +59,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn rebag_terminal() -> Weight { - Weight::from_ref_time(59_741_000 as u64) + // Minimum execution time: 68_386 nanoseconds. + Weight::from_ref_time(74_597_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -68,7 +70,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) fn put_in_front_of() -> Weight { - Weight::from_ref_time(59_689_000 as u64) + // Minimum execution time: 71_132 nanoseconds. + Weight::from_ref_time(79_636_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_balances.rs b/runtime/polkadot/src/weights/pallet_balances.rs index 45878e2701e5..4c6a894714f6 100644 --- a/runtime/polkadot/src/weights/pallet_balances.rs +++ b/runtime/polkadot/src/weights/pallet_balances.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. @@ -46,43 +46,50 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(39_352_000 as u64) + // Minimum execution time: 41_279 nanoseconds. + Weight::from_ref_time(41_738_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(29_209_000 as u64) + // Minimum execution time: 30_237 nanoseconds. + Weight::from_ref_time(30_631_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(21_928_000 as u64) + // Minimum execution time: 22_939 nanoseconds. + Weight::from_ref_time(23_320_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(24_992_000 as u64) + // Minimum execution time: 25_940 nanoseconds. + Weight::from_ref_time(26_584_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - Weight::from_ref_time(39_081_000 as u64) + // Minimum execution time: 40_393 nanoseconds. + Weight::from_ref_time(40_921_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(33_031_000 as u64) + // Minimum execution time: 35_485 nanoseconds. + Weight::from_ref_time(36_121_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(18_389_000 as u64) + // Minimum execution time: 19_966 nanoseconds. + Weight::from_ref_time(20_434_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_bounties.rs b/runtime/polkadot/src/weights/pallet_bounties.rs index a36e24bde2c6..8f6404894cee 100644 --- a/runtime/polkadot/src/weights/pallet_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_bounties`. @@ -50,43 +50,49 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: Bounties Bounties (r:0 w:1) /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { - Weight::from_ref_time(28_317_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 29_378 nanoseconds. + Weight::from_ref_time(32_175_061 as u64) + // Standard Error: 18 + .saturating_add(Weight::from_ref_time(829 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: Bounties BountyApprovals (r:1 w:1) fn approve_bounty() -> Weight { - Weight::from_ref_time(11_513_000 as u64) + // Minimum execution time: 12_073 nanoseconds. + Weight::from_ref_time(12_863_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) fn propose_curator() -> Weight { - Weight::from_ref_time(10_931_000 as u64) + // Minimum execution time: 11_317 nanoseconds. + Weight::from_ref_time(11_559_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn unassign_curator() -> Weight { - Weight::from_ref_time(39_279_000 as u64) + // Minimum execution time: 40_364 nanoseconds. + Weight::from_ref_time(40_970_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn accept_curator() -> Weight { - Weight::from_ref_time(27_265_000 as u64) + // Minimum execution time: 28_522 nanoseconds. + Weight::from_ref_time(29_027_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: ChildBounties ParentChildBounties (r:1 w:0) fn award_bounty() -> Weight { - Weight::from_ref_time(23_378_000 as u64) + // Minimum execution time: 24_756 nanoseconds. + Weight::from_ref_time(25_056_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -95,7 +101,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn claim_bounty() -> Weight { - Weight::from_ref_time(67_940_000 as u64) + // Minimum execution time: 69_714 nanoseconds. + Weight::from_ref_time(70_332_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -104,7 +111,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_proposed() -> Weight { - Weight::from_ref_time(42_622_000 as u64) + // Minimum execution time: 44_853 nanoseconds. + Weight::from_ref_time(45_328_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -113,24 +121,27 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_active() -> Weight { - Weight::from_ref_time(51_906_000 as u64) + // Minimum execution time: 53_131 nanoseconds. + Weight::from_ref_time(53_605_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Bounties Bounties (r:1 w:1) fn extend_bounty_expiry() -> Weight { - Weight::from_ref_time(19_709_000 as u64) + // Minimum execution time: 21_458 nanoseconds. + Weight::from_ref_time(21_732_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Bounties BountyApprovals (r:1 w:1) - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:2 w:2) - /// The range of component `b` is `[1, 100]`. + // Storage: Bounties Bounties (r:2 w:2) + // Storage: System Account (r:4 w:4) + /// The range of component `b` is `[0, 100]`. fn spend_funds(b: u32, ) -> Weight { - Weight::from_ref_time(13_392_000 as u64) - // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(25_680_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 7_421 nanoseconds. + Weight::from_ref_time(12_894_197 as u64) + // Standard Error: 22_528 + .saturating_add(Weight::from_ref_time(25_161_376 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) diff --git a/runtime/polkadot/src/weights/pallet_child_bounties.rs b/runtime/polkadot/src/weights/pallet_child_bounties.rs index 9032a46cf999..fdb9632d05b2 100644 --- a/runtime/polkadot/src/weights/pallet_child_bounties.rs +++ b/runtime/polkadot/src/weights/pallet_child_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_child_bounties`. @@ -52,9 +52,10 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(50_251_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 51_343 nanoseconds. + Weight::from_ref_time(53_139_500 as u64) + // Standard Error: 8 + .saturating_add(Weight::from_ref_time(950 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -62,7 +63,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(18_172_000 as u64) + // Minimum execution time: 18_618 nanoseconds. + Weight::from_ref_time(19_241_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -70,7 +72,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(32_032_000 as u64) + // Minimum execution time: 34_559 nanoseconds. + Weight::from_ref_time(34_899_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -78,14 +81,16 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(43_630_000 as u64) + // Minimum execution time: 45_199 nanoseconds. + Weight::from_ref_time(45_846_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:0) // Storage: ChildBounties ChildBounties (r:1 w:1) fn award_child_bounty() -> Weight { - Weight::from_ref_time(26_677_000 as u64) + // Minimum execution time: 28_459 nanoseconds. + Weight::from_ref_time(28_782_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -94,7 +99,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(65_968_000 as u64) + // Minimum execution time: 68_148 nanoseconds. + Weight::from_ref_time(69_069_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -105,7 +111,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(49_350_000 as u64) + // Minimum execution time: 51_256 nanoseconds. + Weight::from_ref_time(51_850_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -116,7 +123,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(58_604_000 as u64) + // Minimum execution time: 62_367 nanoseconds. + Weight::from_ref_time(63_053_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_council.rs b/runtime/polkadot/src/weights/pallet_collective_council.rs index 8ec2346b4c18..e44da780e45f 100644 --- a/runtime/polkadot/src/weights/pallet_collective_council.rs +++ b/runtime/polkadot/src/weights/pallet_collective_council.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. @@ -46,20 +46,21 @@ pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { // Storage: Council Members (r:1 w:1) // Storage: Council Proposals (r:1 w:0) - // Storage: Council Voting (r:100 w:100) // Storage: Council Prime (r:0 w:1) - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. + // Storage: Council Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(9_455_000 as u64).saturating_mul(m as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(11_655_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 17_210 nanoseconds. + Weight::from_ref_time(17_530_000 as u64) + // Standard Error: 45_117 + .saturating_add(Weight::from_ref_time(5_249_798 as u64).saturating_mul(m as u64)) + // Standard Error: 45_117 + .saturating_add(Weight::from_ref_time(7_324_560 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -71,11 +72,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(17_969_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 19_994 nanoseconds. + Weight::from_ref_time(19_549_331 as u64) + // Standard Error: 26 + .saturating_add(Weight::from_ref_time(1_853 as u64).saturating_mul(b as u64)) + // Standard Error: 269 + .saturating_add(Weight::from_ref_time(13_555 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Council Members (r:1 w:0) @@ -85,11 +87,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(20_152_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_337 nanoseconds. + Weight::from_ref_time(21_334_737 as u64) + // Standard Error: 89 + .saturating_add(Weight::from_ref_time(2_105 as u64).saturating_mul(b as u64)) + // Standard Error: 925 + .saturating_add(Weight::from_ref_time(26_733 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: Council Members (r:1 w:0) @@ -104,13 +107,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(27_034_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(98_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 27_783 nanoseconds. + Weight::from_ref_time(27_684_184 as u64) + // Standard Error: 72 + .saturating_add(Weight::from_ref_time(3_800 as u64).saturating_mul(b as u64)) + // Standard Error: 761 + .saturating_add(Weight::from_ref_time(24_502 as u64).saturating_mul(m as u64)) + // Standard Error: 751 + .saturating_add(Weight::from_ref_time(115_019 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -119,9 +123,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(26_472_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 27_444 nanoseconds. + Weight::from_ref_time(28_598_559 as u64) + // Standard Error: 401 + .saturating_add(Weight::from_ref_time(39_653 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -134,11 +139,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(30_247_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(25_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 30_342 nanoseconds. + Weight::from_ref_time(32_791_699 as u64) + // Standard Error: 528 + .saturating_add(Weight::from_ref_time(23_619 as u64).saturating_mul(m as u64)) + // Standard Error: 515 + .saturating_add(Weight::from_ref_time(84_196 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -153,13 +159,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(39_632_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 41_134 nanoseconds. + Weight::from_ref_time(41_249_837 as u64) + // Standard Error: 60 + .saturating_add(Weight::from_ref_time(2_093 as u64).saturating_mul(b as u64)) + // Standard Error: 636 + .saturating_add(Weight::from_ref_time(28_014 as u64).saturating_mul(m as u64)) + // Standard Error: 620 + .saturating_add(Weight::from_ref_time(101_117 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -173,11 +180,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(32_323_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 33_724 nanoseconds. + Weight::from_ref_time(35_254_396 as u64) + // Standard Error: 517 + .saturating_add(Weight::from_ref_time(25_053 as u64).saturating_mul(m as u64)) + // Standard Error: 504 + .saturating_add(Weight::from_ref_time(83_886 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -193,13 +201,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(41_345_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 43_271 nanoseconds. + Weight::from_ref_time(43_900_162 as u64) + // Standard Error: 61 + .saturating_add(Weight::from_ref_time(1_982 as u64).saturating_mul(b as u64)) + // Standard Error: 649 + .saturating_add(Weight::from_ref_time(25_510 as u64).saturating_mul(m as u64)) + // Standard Error: 633 + .saturating_add(Weight::from_ref_time(101_004 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -209,9 +218,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(21_279_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 19_186 nanoseconds. + Weight::from_ref_time(22_558_610 as u64) + // Standard Error: 701 + .saturating_add(Weight::from_ref_time(96_319 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs index 3ff7d72e0e57..024a7635897e 100644 --- a/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/polkadot/src/weights/pallet_collective_technical_committee.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. @@ -46,22 +46,21 @@ pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Members (r:1 w:1) // Storage: TechnicalCommittee Proposals (r:1 w:0) - // Storage: TechnicalCommittee Voting (r:100 w:100) // Storage: TechnicalCommittee Prime (r:0 w:1) - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. - /// The range of component `m` is `[1, 100]`. - /// The range of component `n` is `[1, 100]`. - /// The range of component `p` is `[1, 100]`. - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(9_684_000 as u64).saturating_mul(m as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(11_913_000 as u64).saturating_mul(p as u64)) + // Storage: TechnicalCommittee Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + // Minimum execution time: 17_751 nanoseconds. + Weight::from_ref_time(18_047_000 as u64) + // Standard Error: 46_093 + .saturating_add(Weight::from_ref_time(5_321_338 as u64).saturating_mul(m as u64)) + // Standard Error: 46_093 + .saturating_add(Weight::from_ref_time(7_365_838 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -73,11 +72,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(18_444_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(14_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 20_410 nanoseconds. + Weight::from_ref_time(19_931_408 as u64) + // Standard Error: 21 + .saturating_add(Weight::from_ref_time(1_918 as u64).saturating_mul(b as u64)) + // Standard Error: 218 + .saturating_add(Weight::from_ref_time(13_235 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -87,11 +87,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `b` is `[1, 1024]`. /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(20_360_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(20_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_194 nanoseconds. + Weight::from_ref_time(21_888_541 as u64) + // Standard Error: 25 + .saturating_add(Weight::from_ref_time(2_039 as u64).saturating_mul(b as u64)) + // Standard Error: 259 + .saturating_add(Weight::from_ref_time(21_726 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } // Storage: TechnicalCommittee Members (r:1 w:0) @@ -106,13 +107,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[2, 100]`. /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(28_324_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(19_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(101_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_672 nanoseconds. + Weight::from_ref_time(29_100_596 as u64) + // Standard Error: 69 + .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64)) + // Standard Error: 724 + .saturating_add(Weight::from_ref_time(19_233 as u64).saturating_mul(m as u64)) + // Standard Error: 715 + .saturating_add(Weight::from_ref_time(119_783 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -121,9 +123,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[5, 100]`. /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(27_893_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(35_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 29_125 nanoseconds. + Weight::from_ref_time(30_445_599 as u64) + // Standard Error: 508 + .saturating_add(Weight::from_ref_time(39_802 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -136,11 +139,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(31_064_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(25_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 32_071 nanoseconds. + Weight::from_ref_time(33_525_762 as u64) + // Standard Error: 478 + .saturating_add(Weight::from_ref_time(24_412 as u64).saturating_mul(m as u64)) + // Standard Error: 466 + .saturating_add(Weight::from_ref_time(84_991 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -155,13 +159,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(40_289_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 41_643 nanoseconds. + Weight::from_ref_time(41_807_491 as u64) + // Standard Error: 60 + .saturating_add(Weight::from_ref_time(1_950 as u64).saturating_mul(b as u64)) + // Standard Error: 641 + .saturating_add(Weight::from_ref_time(26_528 as u64).saturating_mul(m as u64)) + // Standard Error: 625 + .saturating_add(Weight::from_ref_time(101_337 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -175,11 +180,12 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(33_218_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(82_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 34_324 nanoseconds. + Weight::from_ref_time(35_486_550 as u64) + // Standard Error: 575 + .saturating_add(Weight::from_ref_time(29_066 as u64).saturating_mul(m as u64)) + // Standard Error: 561 + .saturating_add(Weight::from_ref_time(86_407 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -195,13 +201,14 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `m` is `[4, 100]`. /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(41_967_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(90_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 43_484 nanoseconds. + Weight::from_ref_time(43_730_713 as u64) + // Standard Error: 61 + .saturating_add(Weight::from_ref_time(2_043 as u64).saturating_mul(b as u64)) + // Standard Error: 648 + .saturating_add(Weight::from_ref_time(28_523 as u64).saturating_mul(m as u64)) + // Standard Error: 632 + .saturating_add(Weight::from_ref_time(103_704 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -211,9 +218,10 @@ impl pallet_collective::WeightInfo for WeightInfo { /// The range of component `p` is `[1, 100]`. /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(21_586_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 19_657 nanoseconds. + Weight::from_ref_time(22_843_773 as u64) + // Standard Error: 713 + .saturating_add(Weight::from_ref_time(100_683 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_democracy.rs b/runtime/polkadot/src/weights/pallet_democracy.rs index 136797abcf03..4c7de43d9512 100644 --- a/runtime/polkadot/src/weights/pallet_democracy.rs +++ b/runtime/polkadot/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights +// --output=./runtime/polkadot/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,13 +49,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(42_048_000 as u64) + // Minimum execution time: 42_967 nanoseconds. + Weight::from_ref_time(43_770_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { - Weight::from_ref_time(38_631_000 as u64) + // Minimum execution time: 39_741 nanoseconds. + Weight::from_ref_time(41_106_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -63,7 +65,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { - Weight::from_ref_time(48_571_000 as u64) + // Minimum execution time: 50_419 nanoseconds. + Weight::from_ref_time(51_479_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -71,14 +74,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { - Weight::from_ref_time(48_556_000 as u64) + // Minimum execution time: 51_170 nanoseconds. + Weight::from_ref_time(51_755_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(20_104_000 as u64) + // Minimum execution time: 21_378 nanoseconds. + Weight::from_ref_time(21_957_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -89,39 +94,45 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { - Weight::from_ref_time(75_289_000 as u64) + // Minimum execution time: 77_526 nanoseconds. + Weight::from_ref_time(79_470_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { - Weight::from_ref_time(15_734_000 as u64) + // Minimum execution time: 16_498 nanoseconds. + Weight::from_ref_time(17_076_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(4_507_000 as u64) + // Minimum execution time: 4_502 nanoseconds. + Weight::from_ref_time(4_690_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(4_603_000 as u64) + // Minimum execution time: 4_599 nanoseconds. + Weight::from_ref_time(4_750_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(19_816_000 as u64) + // Minimum execution time: 20_905 nanoseconds. + Weight::from_ref_time(21_387_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { - Weight::from_ref_time(25_722_000 as u64) + // Minimum execution time: 26_946 nanoseconds. + Weight::from_ref_time(27_534_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -129,13 +140,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) fn cancel_proposal() -> Weight { - Weight::from_ref_time(63_768_000 as u64) + // Minimum execution time: 65_837 nanoseconds. + Weight::from_ref_time(66_889_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(13_183_000 as u64) + // Minimum execution time: 13_714 nanoseconds. + Weight::from_ref_time(14_237_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy LowestUnbaked (r:1 w:1) @@ -143,9 +156,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:0) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(5_999_000 as u64) - // Standard Error: 2_072 - .saturating_add(Weight::from_ref_time(2_080_681 as u64).saturating_mul(r as u64)) + // Minimum execution time: 6_405 nanoseconds. + Weight::from_ref_time(9_620_132 as u64) + // Standard Error: 3_895 + .saturating_add(Weight::from_ref_time(2_076_637 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -158,9 +172,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:0) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(8_114_000 as u64) - // Standard Error: 2_286 - .saturating_add(Weight::from_ref_time(2_087_574 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_766 nanoseconds. + Weight::from_ref_time(12_133_052 as u64) + // Standard Error: 4_049 + .saturating_add(Weight::from_ref_time(2_074_530 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -170,9 +185,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:2) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(40_509_000 as u64) - // Standard Error: 3_676 - .saturating_add(Weight::from_ref_time(2_999_395 as u64).saturating_mul(r as u64)) + // Minimum execution time: 42_683 nanoseconds. + Weight::from_ref_time(48_330_501 as u64) + // Standard Error: 7_233 + .saturating_add(Weight::from_ref_time(2_994_008 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -182,9 +198,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:2) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(24_592_000 as u64) - // Standard Error: 2_506 - .saturating_add(Weight::from_ref_time(2_932_469 as u64).saturating_mul(r as u64)) + // Minimum execution time: 25_626 nanoseconds. + Weight::from_ref_time(29_036_412 as u64) + // Standard Error: 4_605 + .saturating_add(Weight::from_ref_time(2_952_295 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -192,7 +209,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(5_070_000 as u64) + // Minimum execution time: 4_943 nanoseconds. + Weight::from_ref_time(5_130_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -200,9 +218,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(23_860_000 as u64) - // Standard Error: 2_624 - .saturating_add(Weight::from_ref_time(129_209 as u64).saturating_mul(r as u64)) + // Minimum execution time: 25_894 nanoseconds. + Weight::from_ref_time(32_320_132 as u64) + // Standard Error: 1_445 + .saturating_add(Weight::from_ref_time(30_390 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -211,9 +230,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(28_512_000 as u64) - // Standard Error: 619 - .saturating_add(Weight::from_ref_time(84_477 as u64).saturating_mul(r as u64)) + // Minimum execution time: 30_098 nanoseconds. + Weight::from_ref_time(31_959_025 as u64) + // Standard Error: 673 + .saturating_add(Weight::from_ref_time(70_608 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -221,9 +241,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(15_612_000 as u64) - // Standard Error: 841 - .saturating_add(Weight::from_ref_time(98_567 as u64).saturating_mul(r as u64)) + // Minimum execution time: 15_813 nanoseconds. + Weight::from_ref_time(18_185_628 as u64) + // Standard Error: 850 + .saturating_add(Weight::from_ref_time(78_098 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -231,9 +252,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(15_282_000 as u64) - // Standard Error: 1_040 - .saturating_add(Weight::from_ref_time(104_928 as u64).saturating_mul(r as u64)) + // Minimum execution time: 15_738 nanoseconds. + Weight::from_ref_time(18_380_060 as u64) + // Standard Error: 970 + .saturating_add(Weight::from_ref_time(77_708 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs index 4a7f68237716..797b0037b070 100644 --- a/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/polkadot/src/weights/pallet_election_provider_multi_phase.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_election_provider_multi_phase`. @@ -53,33 +53,38 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: Staking ForceEra (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) fn on_initialize_nothing() -> Weight { - Weight::from_ref_time(15_195_000 as u64) + // Minimum execution time: 16_179 nanoseconds. + Weight::from_ref_time(16_599_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_signed() -> Weight { - Weight::from_ref_time(14_471_000 as u64) + // Minimum execution time: 15_355 nanoseconds. + Weight::from_ref_time(15_840_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_unsigned() -> Weight { - Weight::from_ref_time(13_680_000 as u64) + // Minimum execution time: 14_708 nanoseconds. + Weight::from_ref_time(15_094_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) // Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1) fn finalize_signed_phase_accept_solution() -> Weight { - Weight::from_ref_time(28_132_000 as u64) + // Minimum execution time: 29_850 nanoseconds. + Weight::from_ref_time(30_766_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn finalize_signed_phase_reject_solution() -> Weight { - Weight::from_ref_time(21_833_000 as u64) + // Minimum execution time: 25_348 nanoseconds. + Weight::from_ref_time(26_069_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -88,12 +93,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. - fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(448_000 as u64).saturating_mul(v as u64)) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(223_000 as u64).saturating_mul(t as u64)) + fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight { + // Minimum execution time: 431_296 nanoseconds. + Weight::from_ref_time(441_927_000 as u64) + // Standard Error: 2_405 + .saturating_add(Weight::from_ref_time(259_124 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -108,10 +112,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn elect_queued(a: u32, _d: u32, ) -> Weight { - Weight::from_ref_time(176_492_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(305_000 as u64).saturating_mul(a as u64)) + fn elect_queued(a: u32, d: u32, ) -> Weight { + // Minimum execution time: 281_284 nanoseconds. + Weight::from_ref_time(93_886_656 as u64) + // Standard Error: 5_123 + .saturating_add(Weight::from_ref_time(305_112 as u64).saturating_mul(a as u64)) + // Standard Error: 7_679 + .saturating_add(Weight::from_ref_time(150_164 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -122,7 +129,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1) // Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1) fn submit() -> Weight { - Weight::from_ref_time(47_621_000 as u64) + // Minimum execution time: 49_731 nanoseconds. + Weight::from_ref_time(50_382_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -137,16 +145,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(765_000 as u64).saturating_mul(v as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(t as u64)) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(7_231_000 as u64).saturating_mul(a as u64)) - // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(1_703_000 as u64).saturating_mul(d as u64)) + fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight { + // Minimum execution time: 4_693_663 nanoseconds. + Weight::from_ref_time(4_728_052_000 as u64) + // Standard Error: 14_708 + .saturating_add(Weight::from_ref_time(99_516 as u64).saturating_mul(v as u64)) + // Standard Error: 43_588 + .saturating_add(Weight::from_ref_time(4_479_682 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -158,16 +163,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(789_000 as u64).saturating_mul(v as u64)) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(t as u64)) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(5_713_000 as u64).saturating_mul(a as u64)) - // Standard Error: 20_000 - .saturating_add(Weight::from_ref_time(1_311_000 as u64).saturating_mul(d as u64)) + fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight { + // Minimum execution time: 3_895_772 nanoseconds. + Weight::from_ref_time(3_953_808_000 as u64) + // Standard Error: 12_413 + .saturating_add(Weight::from_ref_time(233_081 as u64).saturating_mul(v as u64)) + // Standard Error: 36_787 + .saturating_add(Weight::from_ref_time(3_177_044 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) } } diff --git a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs index 508af82266fe..be3de6f45c91 100644 --- a/runtime/polkadot/src/weights/pallet_elections_phragmen.rs +++ b/runtime/polkadot/src/weights/pallet_elections_phragmen.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_elections_phragmen`. @@ -51,9 +51,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { - Weight::from_ref_time(30_686_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(200_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 32_564 nanoseconds. + Weight::from_ref_time(33_571_516 as u64) + // Standard Error: 3_881 + .saturating_add(Weight::from_ref_time(223_347 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -64,9 +65,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { - Weight::from_ref_time(40_127_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(213_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 42_211 nanoseconds. + Weight::from_ref_time(43_972_399 as u64) + // Standard Error: 5_870 + .saturating_add(Weight::from_ref_time(192_313 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -77,16 +79,18 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { - Weight::from_ref_time(39_986_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(226_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 42_918 nanoseconds. + Weight::from_ref_time(43_559_758 as u64) + // Standard Error: 30_177 + .saturating_add(Weight::from_ref_time(264_050 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: PhragmenElection Voting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { - Weight::from_ref_time(39_114_000 as u64) + // Minimum execution time: 42_081 nanoseconds. + Weight::from_ref_time(42_705_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -95,18 +99,20 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: PhragmenElection RunnersUp (r:1 w:0) /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { - Weight::from_ref_time(27_187_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 38_084 nanoseconds. + Weight::from_ref_time(30_323_420 as u64) + // Standard Error: 1_137 + .saturating_add(Weight::from_ref_time(92_216 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PhragmenElection Candidates (r:1 w:1) /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { - Weight::from_ref_time(23_114_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 32_052 nanoseconds. + Weight::from_ref_time(23_967_172 as u64) + // Standard Error: 1_006 + .saturating_add(Weight::from_ref_time(69_919 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -116,18 +122,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { - Weight::from_ref_time(44_892_000 as u64) + // Minimum execution time: 44_658 nanoseconds. + Weight::from_ref_time(46_150_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { - Weight::from_ref_time(34_318_000 as u64) + // Minimum execution time: 34_466 nanoseconds. + Weight::from_ref_time(36_065_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Benchmark Override (r:0 w:0) fn remove_member_without_replacement() -> Weight { + // Minimum execution time: 2_000_000_000 nanoseconds. Weight::from_ref_time(2_000_000_000_000 as u64) } // Storage: PhragmenElection Members (r:1 w:1) @@ -137,7 +146,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { - Weight::from_ref_time(59_226_000 as u64) + // Minimum execution time: 59_328 nanoseconds. + Weight::from_ref_time(59_980_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -148,13 +158,12 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:5000 w:5000) // Storage: System Account (r:5000 w:5000) /// The range of component `v` is `[5000, 10000]`. - /// The range of component `d` is `[1, 5000]`. - fn clean_defunct_voters(v: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 86_000 - .saturating_add(Weight::from_ref_time(60_379_000 as u64).saturating_mul(v as u64)) - // Standard Error: 86_000 - .saturating_add(Weight::from_ref_time(543_000 as u64).saturating_mul(d as u64)) + /// The range of component `d` is `[0, 5000]`. + fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { + // Minimum execution time: 281_848_917 nanoseconds. + Weight::from_ref_time(282_529_259_000 as u64) + // Standard Error: 244_287 + .saturating_add(Weight::from_ref_time(34_643_190 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) @@ -172,14 +181,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 10000]`. /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 674_000 - .saturating_add(Weight::from_ref_time(52_473_000 as u64).saturating_mul(v as u64)) - // Standard Error: 44_000 - .saturating_add(Weight::from_ref_time(2_826_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 28_514_414 nanoseconds. + Weight::from_ref_time(28_653_120_000 as u64) + // Standard Error: 451_970 + .saturating_add(Weight::from_ref_time(41_012_837 as u64).saturating_mul(v as u64)) + // Standard Error: 29_004 + .saturating_add(Weight::from_ref_time(2_024_452 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(269 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) + .saturating_add(T::DbWeight::get().writes(6 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } } diff --git a/runtime/polkadot/src/weights/pallet_fast_unstake.rs b/runtime/polkadot/src/weights/pallet_fast_unstake.rs index 8752534c8a30..6f1b4cb0d878 100644 --- a/runtime/polkadot/src/weights/pallet_fast_unstake.rs +++ b/runtime/polkadot/src/weights/pallet_fast_unstake.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=polkadot-dev // --steps=50 // --repeat=20 +// --pallet=pallet_fast_unstake // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_fast_unstake -// --chain=polkadot-dev // --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -50,65 +49,72 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) // Storage: FastUnstake Head (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking SlashingSpans (r:1 w:0) - // Storage: Staking Bonded (r:1 w:1) - // Storage: Staking Validators (r:1 w:0) - // Storage: Staking Nominators (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: Staking Ledger (r:0 w:1) - // Storage: Staking Payee (r:0 w:1) + // Storage: Staking SlashingSpans (r:64 w:0) + // Storage: Staking Bonded (r:64 w:64) + // Storage: Staking Validators (r:64 w:0) + // Storage: Staking Nominators (r:64 w:0) + // Storage: System Account (r:64 w:64) + // Storage: Balances Locks (r:64 w:64) + // Storage: Staking Ledger (r:0 w:64) + // Storage: Staking Payee (r:0 w:64) fn on_idle_unstake() -> Weight { - Weight::from_ref_time(67_082_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 2_143_088 nanoseconds. + Weight::from_ref_time(2_180_693_000 as u64) + .saturating_add(T::DbWeight::get().reads(389 as u64)) + .saturating_add(T::DbWeight::get().writes(321 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking ValidatorCount (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) // Storage: FastUnstake Head (r:1 w:1) - // Storage: FastUnstake Queue (r:2 w:1) + // Storage: FastUnstake Queue (r:65 w:64) // Storage: FastUnstake CounterForQueue (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasStakers (r:56 w:0) /// The range of component `x` is `[28, 3584]`. fn on_idle_check(x: u32, ) -> Weight { - Weight::from_ref_time(504_317_000 as u64) - // Standard Error: 18_023 - .saturating_add(Weight::from_ref_time(14_203_535 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(64 as u64)) + // Minimum execution time: 28_585_887 nanoseconds. + Weight::from_ref_time(28_897_826_000 as u64) + // Standard Error: 697_438 + .saturating_add(Weight::from_ref_time(864_448_829 as u64).saturating_mul(x as u64)) + .saturating_add(T::DbWeight::get().reads(85 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64))) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(66 as u64)) } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: FastUnstake Queue (r:1 w:1) // Storage: FastUnstake Head (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) // Storage: Staking CounterForNominators (r:1 w:1) - // Storage: VoterList ListNodes (r:2 w:2) - // Storage: VoterList ListBags (r:1 w:1) + // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: FastUnstake CounterForQueue (r:1 w:1) fn register_fast_unstake() -> Weight { - Weight::from_ref_time(90_682_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) + // Minimum execution time: 125_199 nanoseconds. + Weight::from_ref_time(127_131_000 as u64) + .saturating_add(T::DbWeight::get().reads(15 as u64)) .saturating_add(T::DbWeight::get().writes(10 as u64)) } + // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: FastUnstake Queue (r:1 w:1) // Storage: FastUnstake Head (r:1 w:0) // Storage: FastUnstake CounterForQueue (r:1 w:1) fn deregister() -> Weight { - Weight::from_ref_time(23_926_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) + // Minimum execution time: 50_373 nanoseconds. + Weight::from_ref_time(51_451_000 as u64) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1) fn control() -> Weight { - Weight::from_ref_time(3_899_000 as u64) + // Minimum execution time: 4_124 nanoseconds. + Weight::from_ref_time(4_273_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/polkadot/src/weights/pallet_identity.rs b/runtime/polkadot/src/weights/pallet_identity.rs index f7e90a178a38..59ef2e0e29eb 100644 --- a/runtime/polkadot/src/weights/pallet_identity.rs +++ b/runtime/polkadot/src/weights/pallet_identity.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_identity`. @@ -47,32 +47,35 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - Weight::from_ref_time(16_888_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(157_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 17_728 nanoseconds. + Weight::from_ref_time(18_802_571 as u64) + // Standard Error: 2_795 + .saturating_add(Weight::from_ref_time(141_858 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(31_138_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(188_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(306_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 36_405 nanoseconds. + Weight::from_ref_time(36_175_137 as u64) + // Standard Error: 3_748 + .saturating_add(Weight::from_ref_time(79_184 as u64).saturating_mul(r as u64)) + // Standard Error: 731 + .saturating_add(Weight::from_ref_time(336_404 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:1 w:1) - /// The range of component `s` is `[1, 100]`. + // Storage: Identity SuperOf (r:2 w:2) + /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { - Weight::from_ref_time(28_095_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_071_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 10_420 nanoseconds. + Weight::from_ref_time(29_465_886 as u64) + // Standard Error: 5_250 + .saturating_add(Weight::from_ref_time(2_141_877 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -80,12 +83,13 @@ impl pallet_identity::WeightInfo for WeightInfo { } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:1) - /// The range of component `p` is `[1, 100]`. + // Storage: Identity SuperOf (r:0 w:2) + /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { - Weight::from_ref_time(28_614_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(895_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 10_452 nanoseconds. + Weight::from_ref_time(29_027_753 as u64) + // Standard Error: 4_422 + .saturating_add(Weight::from_ref_time(927_954 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) @@ -94,16 +98,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// 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 { - Weight::from_ref_time(35_665_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(889_000 as u64).saturating_mul(s as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(146_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 52_757 nanoseconds. + Weight::from_ref_time(37_480_393 as u64) + // Standard Error: 5_162 + .saturating_add(Weight::from_ref_time(74_235 as u64).saturating_mul(r as u64)) + // Standard Error: 1_008 + .saturating_add(Weight::from_ref_time(889_324 as u64).saturating_mul(s as u64)) + // Standard Error: 1_008 + .saturating_add(Weight::from_ref_time(175_597 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -111,65 +116,71 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(34_417_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(313_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 38_614 nanoseconds. + Weight::from_ref_time(36_952_302 as u64) + // Standard Error: 4_162 + .saturating_add(Weight::from_ref_time(117_466 as u64).saturating_mul(r as u64)) + // Standard Error: 812 + .saturating_add(Weight::from_ref_time(360_113 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(31_051_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 34_487 nanoseconds. + Weight::from_ref_time(33_137_826 as u64) + // Standard Error: 4_408 + .saturating_add(Weight::from_ref_time(130_256 as u64).saturating_mul(r as u64)) + // Standard Error: 860 + .saturating_add(Weight::from_ref_time(358_444 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - Weight::from_ref_time(9_068_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(129_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_981 nanoseconds. + Weight::from_ref_time(9_912_405 as u64) + // Standard Error: 2_270 + .saturating_add(Weight::from_ref_time(125_220 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - Weight::from_ref_time(9_175_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(130_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 9_134 nanoseconds. + Weight::from_ref_time(10_168_184 as u64) + // Standard Error: 2_481 + .saturating_add(Weight::from_ref_time(118_366 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - Weight::from_ref_time(9_306_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(105_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 9_316 nanoseconds. + Weight::from_ref_time(9_969_317 as u64) + // Standard Error: 1_769 + .saturating_add(Weight::from_ref_time(120_680 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(23_500_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(132_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(313_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 29_275 nanoseconds. + Weight::from_ref_time(27_614_499 as u64) + // Standard Error: 5_680 + .saturating_add(Weight::from_ref_time(111_852 as u64).saturating_mul(r as u64)) + // Standard Error: 1_051 + .saturating_add(Weight::from_ref_time(603_502 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,14 +189,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. - fn kill_identity(r: u32, s: u32, _x: u32, ) -> Weight { - Weight::from_ref_time(46_776_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(78_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(890_000 as u64).saturating_mul(s as u64)) + /// 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: 64_116 nanoseconds. + Weight::from_ref_time(48_330_163 as u64) + // Standard Error: 5_125 + .saturating_add(Weight::from_ref_time(124_589 as u64).saturating_mul(r as u64)) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(907_109 as u64).saturating_mul(s as u64)) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(166_050 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -193,11 +207,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { - Weight::from_ref_time(35_995_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 32_248 nanoseconds. + Weight::from_ref_time(38_740_222 as u64) + // Standard Error: 1_876 + .saturating_add(Weight::from_ref_time(78_534 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -205,9 +220,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - Weight::from_ref_time(15_390_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(28_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 14_319 nanoseconds. + Weight::from_ref_time(16_793_491 as u64) + // Standard Error: 706 + .saturating_add(Weight::from_ref_time(25_971 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -216,19 +232,21 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - Weight::from_ref_time(37_190_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(67_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 37_248 nanoseconds. + Weight::from_ref_time(40_083_859 as u64) + // Standard Error: 1_215 + .saturating_add(Weight::from_ref_time(66_182 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { - Weight::from_ref_time(28_005_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 25_792 nanoseconds. + Weight::from_ref_time(29_482_631 as u64) + // Standard Error: 1_182 + .saturating_add(Weight::from_ref_time(71_110 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_im_online.rs b/runtime/polkadot/src/weights/pallet_im_online.rs index 67c03022b125..eb2fbb22bcc7 100644 --- a/runtime/polkadot/src/weights/pallet_im_online.rs +++ b/runtime/polkadot/src/weights/pallet_im_online.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_im_online`. @@ -52,11 +52,12 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - Weight::from_ref_time(76_336_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(k as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(291_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 96_848 nanoseconds. + Weight::from_ref_time(76_934_215 as u64) + // Standard Error: 356 + .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(k as u64)) + // Standard Error: 3_595 + .saturating_add(Weight::from_ref_time(319_684 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_indices.rs b/runtime/polkadot/src/weights/pallet_indices.rs index 2bfb79cf8ba4..6f02c6e01041 100644 --- a/runtime/polkadot/src/weights/pallet_indices.rs +++ b/runtime/polkadot/src/weights/pallet_indices.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_indices`. @@ -46,33 +46,38 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(24_909_000 as u64) + // Minimum execution time: 27_020 nanoseconds. + Weight::from_ref_time(27_507_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(31_373_000 as u64) + // Minimum execution time: 32_499 nanoseconds. + Weight::from_ref_time(32_898_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - Weight::from_ref_time(25_840_000 as u64) + // Minimum execution time: 27_796 nanoseconds. + Weight::from_ref_time(28_283_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - Weight::from_ref_time(26_189_000 as u64) + // Minimum execution time: 28_389 nanoseconds. + Weight::from_ref_time(28_796_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - Weight::from_ref_time(31_330_000 as u64) + // Minimum execution time: 33_329 nanoseconds. + Weight::from_ref_time(34_108_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_membership.rs b/runtime/polkadot/src/weights/pallet_membership.rs index dccfed9e5f3b..86f88fa0984c 100644 --- a/runtime/polkadot/src/weights/pallet_membership.rs +++ b/runtime/polkadot/src/weights/pallet_membership.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. @@ -50,9 +50,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - Weight::from_ref_time(19_886_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(31_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 20_390 nanoseconds. + Weight::from_ref_time(22_044_878 as u64) + // Standard Error: 797 + .saturating_add(Weight::from_ref_time(33_243 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -63,9 +64,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - Weight::from_ref_time(22_104_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_013 nanoseconds. + Weight::from_ref_time(23_713_008 as u64) + // Standard Error: 481 + .saturating_add(Weight::from_ref_time(38_172 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -76,9 +78,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - Weight::from_ref_time(22_139_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_198 nanoseconds. + Weight::from_ref_time(23_817_539 as u64) + // Standard Error: 644 + .saturating_add(Weight::from_ref_time(49_693 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -89,9 +92,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - Weight::from_ref_time(22_002_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(147_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_542 nanoseconds. + Weight::from_ref_time(23_700_365 as u64) + // Standard Error: 776 + .saturating_add(Weight::from_ref_time(167_755 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -102,9 +106,10 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - Weight::from_ref_time(22_660_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_375 nanoseconds. + Weight::from_ref_time(24_305_512 as u64) + // Standard Error: 624 + .saturating_add(Weight::from_ref_time(49_648 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -113,17 +118,21 @@ impl pallet_membership::WeightInfo for WeightInfo { // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - Weight::from_ref_time(8_013_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 8_276 nanoseconds. + Weight::from_ref_time(8_721_388 as u64) + // Standard Error: 211 + .saturating_add(Weight::from_ref_time(9_233 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: TechnicalMembership Prime (r:0 w:1) // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. - fn clear_prime(_m: u32, ) -> Weight { - Weight::from_ref_time(4_708_000 as u64) + fn clear_prime(m: u32, ) -> Weight { + // Minimum execution time: 4_809 nanoseconds. + Weight::from_ref_time(5_110_419 as u64) + // Standard Error: 141 + .saturating_add(Weight::from_ref_time(1_010 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } } diff --git a/runtime/polkadot/src/weights/pallet_multisig.rs b/runtime/polkadot/src/weights/pallet_multisig.rs index cd8a795eeaa3..60270bfec009 100644 --- a/runtime/polkadot/src/weights/pallet_multisig.rs +++ b/runtime/polkadot/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -28,11 +28,11 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic= +// --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=runtime/polkadot/src/weights/ +// --output=./runtime/polkadot/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,22 +46,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: 14_333 nanoseconds. - Weight::from_ref_time(14_680_513 as u64) - // Standard Error: 3 - .saturating_add(Weight::from_ref_time(478 as u64).saturating_mul(z as u64)) + // Minimum execution time: 14_625 nanoseconds. + Weight::from_ref_time(15_168_661 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(700 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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: 41_940 nanoseconds. - Weight::from_ref_time(34_164_952 as u64) - // Standard Error: 758 - .saturating_add(Weight::from_ref_time(84_361 as u64).saturating_mul(s as u64)) + // Minimum execution time: 44_269 nanoseconds. + Weight::from_ref_time(36_420_603 as u64) + // Standard Error: 767 + .saturating_add(Weight::from_ref_time(84_830 as u64).saturating_mul(s as u64)) // Standard Error: 7 - .saturating_add(Weight::from_ref_time(1_515 as u64).saturating_mul(z as u64)) + .saturating_add(Weight::from_ref_time(1_740 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -69,12 +69,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: 32_061 nanoseconds. - Weight::from_ref_time(25_242_175 as u64) - // Standard Error: 488 - .saturating_add(Weight::from_ref_time(74_544 as u64).saturating_mul(s as u64)) - // Standard Error: 4 - .saturating_add(Weight::from_ref_time(1_451 as u64).saturating_mul(z as u64)) + // Minimum execution time: 34_804 nanoseconds. + Weight::from_ref_time(27_400_589 as u64) + // Standard Error: 709 + .saturating_add(Weight::from_ref_time(80_170 as u64).saturating_mul(s as u64)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_670 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -83,12 +83,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: 45_799 nanoseconds. - Weight::from_ref_time(36_673_371 as u64) - // Standard Error: 602 - .saturating_add(Weight::from_ref_time(105_602 as u64).saturating_mul(s as u64)) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64)) + // Minimum execution time: 48_885 nanoseconds. + Weight::from_ref_time(38_719_746 as u64) + // Standard Error: 740 + .saturating_add(Weight::from_ref_time(109_443 as u64).saturating_mul(s as u64)) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_762 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -96,30 +96,30 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 30_746 nanoseconds. - Weight::from_ref_time(33_495_066 as u64) - // Standard Error: 1_027 - .saturating_add(Weight::from_ref_time(85_901 as u64).saturating_mul(s as u64)) + // Minimum execution time: 32_918 nanoseconds. + Weight::from_ref_time(35_114_296 as u64) + // Standard Error: 870 + .saturating_add(Weight::from_ref_time(88_713 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 21_939 nanoseconds. - Weight::from_ref_time(23_359_812 as u64) - // Standard Error: 626 - .saturating_add(Weight::from_ref_time(86_183 as u64).saturating_mul(s as u64)) + // Minimum execution time: 23_394 nanoseconds. + Weight::from_ref_time(25_193_425 as u64) + // Standard Error: 766 + .saturating_add(Weight::from_ref_time(84_508 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 32_246 nanoseconds. - Weight::from_ref_time(33_400_827 as u64) - // Standard Error: 746 - .saturating_add(Weight::from_ref_time(85_743 as u64).saturating_mul(s as u64)) + // Minimum execution time: 33_360 nanoseconds. + Weight::from_ref_time(35_598_264 as u64) + // Standard Error: 855 + .saturating_add(Weight::from_ref_time(85_941 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_nomination_pools.rs b/runtime/polkadot/src/weights/pallet_nomination_pools.rs index 90024d6ef55a..fe5b0e1ec8c3 100644 --- a/runtime/polkadot/src/weights/pallet_nomination_pools.rs +++ b/runtime/polkadot/src/weights/pallet_nomination_pools.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_nomination_pools`. @@ -47,18 +47,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinJoinBond (r:1 w:0) // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:2 w:1) // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) // Storage: NominationPools MaxPoolMembers (r:1 w:0) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) - // Storage: Staking Bonded (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn join() -> Weight { - Weight::from_ref_time(138_999_000 as u64) + // Minimum execution time: 143_368 nanoseconds. + Weight::from_ref_time(147_813_000 as u64) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -66,13 +67,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:3 w:2) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_transfer() -> Weight { - Weight::from_ref_time(134_798_000 as u64) + // Minimum execution time: 141_294 nanoseconds. + Weight::from_ref_time(142_580_000 as u64) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -80,13 +82,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:3 w:3) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_reward() -> Weight { - Weight::from_ref_time(138_061_000 as u64) + // Minimum execution time: 145_976 nanoseconds. + Weight::from_ref_time(149_745_000 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -95,13 +98,15 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_payout() -> Weight { - Weight::from_ref_time(53_869_000 as u64) + // Minimum execution time: 54_743 nanoseconds. + Weight::from_ref_time(55_539_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: System Account (r:2 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -109,49 +114,53 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) - // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) // Storage: NominationPools SubPoolsStorage (r:1 w:1) // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) fn unbond() -> Weight { - Weight::from_ref_time(138_663_000 as u64) + // Minimum execution time: 143_857 nanoseconds. + Weight::from_ref_time(145_751_000 as u64) .saturating_add(T::DbWeight::get().reads(18 as u64)) .saturating_add(T::DbWeight::get().writes(13 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Balances Locks (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { - Weight::from_ref_time(50_820_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) + // Minimum execution time: 58_224 nanoseconds. + Weight::from_ref_time(59_802_225 as u64) + // Standard Error: 870 + .saturating_add(Weight::from_ref_time(19_208 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools SubPoolsStorage (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - Weight::from_ref_time(91_686_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 98_968 nanoseconds. + Weight::from_ref_time(100_541_263 as u64) + // Standard Error: 1_330 + .saturating_add(Weight::from_ref_time(26_422 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools SubPoolsStorage (r:1 w:1) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking SlashingSpans (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:0) @@ -167,26 +176,28 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForBondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - Weight::from_ref_time(144_919_000 as u64) + fn withdraw_unbonded_kill(s: u32, ) -> Weight { + // Minimum execution time: 149_053 nanoseconds. + Weight::from_ref_time(152_258_821 as u64) + // Standard Error: 2_471 + .saturating_add(Weight::from_ref_time(3_994 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(20 as u64)) .saturating_add(T::DbWeight::get().writes(17 as u64)) } + // Storage: NominationPools LastPoolId (r:1 w:1) // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: NominationPools MinCreateBond (r:1 w:0) // Storage: NominationPools MinJoinBond (r:1 w:0) // Storage: NominationPools MaxPools (r:1 w:0) // Storage: NominationPools CounterForBondedPools (r:1 w:1) // Storage: NominationPools PoolMembers (r:1 w:1) - // Storage: NominationPools LastPoolId (r:1 w:1) // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) // Storage: NominationPools MaxPoolMembers (r:1 w:0) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) // Storage: System Account (r:2 w:2) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: NominationPools CounterForRewardPools (r:1 w:1) @@ -195,36 +206,40 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn create() -> Weight { - Weight::from_ref_time(128_829_000 as u64) - .saturating_add(T::DbWeight::get().reads(22 as u64)) + // Minimum execution time: 131_307 nanoseconds. + Weight::from_ref_time(131_903_000 as u64) + .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) // Storage: Staking MaxNominatorsCount (r:1 w:0) // Storage: Staking Validators (r:2 w:0) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - Weight::from_ref_time(60_631_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(988_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 63_797 nanoseconds. + Weight::from_ref_time(64_609_885 as u64) + // Standard Error: 7_244 + .saturating_add(Weight::from_ref_time(987_467 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) fn set_state() -> Weight { - Weight::from_ref_time(33_763_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 39_822 nanoseconds. + Weight::from_ref_time(40_523_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) @@ -232,9 +247,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForMetadata (r:1 w:1) /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { - Weight::from_ref_time(16_470_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 15_620 nanoseconds. + Weight::from_ref_time(16_509_178 as u64) + // Standard Error: 137 + .saturating_add(Weight::from_ref_time(356 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -244,16 +260,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinCreateBond (r:0 w:1) // Storage: NominationPools MaxPools (r:0 w:1) fn set_configs() -> Weight { - Weight::from_ref_time(7_525_000 as u64) + // Minimum execution time: 6_536 nanoseconds. + Weight::from_ref_time(6_677_000 as u64) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: NominationPools BondedPools (r:1 w:1) fn update_roles() -> Weight { - Weight::from_ref_time(25_910_000 as u64) + // Minimum execution time: 26_150 nanoseconds. + Weight::from_ref_time(26_682_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) @@ -262,8 +281,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - Weight::from_ref_time(59_921_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 65_307 nanoseconds. + Weight::from_ref_time(66_030_000 as u64) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } } diff --git a/runtime/polkadot/src/weights/pallet_preimage.rs b/runtime/polkadot/src/weights/pallet_preimage.rs index bd316e310277..b8c1eb4e40a9 100644 --- a/runtime/polkadot/src/weights/pallet_preimage.rs +++ b/runtime/polkadot/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights +// --output=./runtime/polkadot/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,9 +48,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(28_326_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + // Minimum execution time: 29_241 nanoseconds. + Weight::from_ref_time(29_702_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_485 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -58,9 +59,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(20_011_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_114 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_209 nanoseconds. + Weight::from_ref_time(21_369_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_482 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -68,66 +70,76 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(18_805_000 as u64) + // Minimum execution time: 19_543 nanoseconds. + Weight::from_ref_time(19_817_000 as u64) // Standard Error: 1 - .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(2_487 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(39_007_000 as u64) + // Minimum execution time: 41_035 nanoseconds. + Weight::from_ref_time(42_095_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(27_523_000 as u64) + // Minimum execution time: 28_472 nanoseconds. + Weight::from_ref_time(30_030_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(26_477_000 as u64) + // Minimum execution time: 28_034 nanoseconds. + Weight::from_ref_time(30_657_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(13_236_000 as u64) + // Minimum execution time: 15_756 nanoseconds. + Weight::from_ref_time(16_707_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_975_000 as u64) + // Minimum execution time: 17_491 nanoseconds. + Weight::from_ref_time(18_540_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(8_295_000 as u64) + // Minimum execution time: 8_636 nanoseconds. + Weight::from_ref_time(9_055_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(26_186_000 as u64) + // Minimum execution time: 28_146 nanoseconds. + Weight::from_ref_time(29_062_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(8_176_000 as u64) + // Minimum execution time: 8_541 nanoseconds. + Weight::from_ref_time(8_992_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(8_005_000 as u64) + // Minimum execution time: 8_558 nanoseconds. + Weight::from_ref_time(8_880_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_proxy.rs b/runtime/polkadot/src/weights/pallet_proxy.rs index 3897dadd865a..dd0d55a515a3 100644 --- a/runtime/polkadot/src/weights/pallet_proxy.rs +++ b/runtime/polkadot/src/weights/pallet_proxy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. @@ -47,9 +47,10 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - Weight::from_ref_time(20_123_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(66_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 20_608 nanoseconds. + Weight::from_ref_time(21_427_971 as u64) + // Standard Error: 1_454 + .saturating_add(Weight::from_ref_time(58_755 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +59,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(37_255_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(112_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 38_933 nanoseconds. + Weight::from_ref_time(38_864_156 as u64) + // Standard Error: 2_331 + .saturating_add(Weight::from_ref_time(129_402 as u64).saturating_mul(a as u64)) + // Standard Error: 2_409 + .saturating_add(Weight::from_ref_time(37_803 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -71,11 +73,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_052_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_663 nanoseconds. + Weight::from_ref_time(28_155_321 as u64) + // Standard Error: 1_876 + .saturating_add(Weight::from_ref_time(119_017 as u64).saturating_mul(a as u64)) + // Standard Error: 1_939 + .saturating_add(Weight::from_ref_time(2_962 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -84,11 +87,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_446_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(108_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(8_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_838 nanoseconds. + Weight::from_ref_time(28_201_760 as u64) + // Standard Error: 1_761 + .saturating_add(Weight::from_ref_time(111_913 as u64).saturating_mul(a as u64)) + // Standard Error: 1_820 + .saturating_add(Weight::from_ref_time(3_823 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -98,38 +102,42 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(34_147_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 34_778 nanoseconds. + Weight::from_ref_time(35_773_772 as u64) + // Standard Error: 2_014 + .saturating_add(Weight::from_ref_time(117_292 as u64).saturating_mul(a as u64)) + // Standard Error: 2_081 + .saturating_add(Weight::from_ref_time(42_008 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(27_804_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(94_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_063 nanoseconds. + Weight::from_ref_time(29_792_630 as u64) + // Standard Error: 1_849 + .saturating_add(Weight::from_ref_time(68_018 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(27_960_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 27_939 nanoseconds. + Weight::from_ref_time(29_987_466 as u64) + // Standard Error: 2_039 + .saturating_add(Weight::from_ref_time(95_130 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - Weight::from_ref_time(23_964_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(53_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 24_796 nanoseconds. + Weight::from_ref_time(26_085_767 as u64) + // Standard Error: 1_389 + .saturating_add(Weight::from_ref_time(53_192 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -137,18 +145,20 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - Weight::from_ref_time(30_935_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 31_445 nanoseconds. + Weight::from_ref_time(32_982_887 as u64) + // Standard Error: 3_109 + .saturating_add(Weight::from_ref_time(47_589 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { - Weight::from_ref_time(25_877_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_316 nanoseconds. + Weight::from_ref_time(27_309_864 as u64) + // Standard Error: 1_763 + .saturating_add(Weight::from_ref_time(47_640 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_scheduler.rs b/runtime/polkadot/src/weights/pallet_scheduler.rs index 9446fdc5efec..81d44bfc978b 100644 --- a/runtime/polkadot/src/weights/pallet_scheduler.rs +++ b/runtime/polkadot/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/polkadot/src/weights +// --output=./runtime/polkadot/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,55 +46,61 @@ pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - Weight::from_ref_time(4_522_000 as u64) + // Minimum execution time: 4_885 nanoseconds. + Weight::from_ref_time(4_987_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - Weight::from_ref_time(3_859_000 as u64) - // Standard Error: 2_692 - .saturating_add(Weight::from_ref_time(618_992 as u64).saturating_mul(s as u64)) + // Minimum execution time: 4_159 nanoseconds. + Weight::from_ref_time(7_592_661 as u64) + // Standard Error: 1_966 + .saturating_add(Weight::from_ref_time(686_426 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_base() -> Weight { - Weight::from_ref_time(12_288_000 as u64) + // Minimum execution time: 10_198 nanoseconds. + Weight::from_ref_time(10_441_000 as u64) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { - Weight::from_ref_time(23_105_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_126 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_321 nanoseconds. + Weight::from_ref_time(21_555_000 as u64) + // Standard Error: 9 + .saturating_add(Weight::from_ref_time(1_534 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { - Weight::from_ref_time(13_382_000 as u64) + // Minimum execution time: 11_616 nanoseconds. + Weight::from_ref_time(11_798_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Agenda (r:1 w:1) fn service_task_periodic() -> Weight { - Weight::from_ref_time(19_246_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 9_892 nanoseconds. + Weight::from_ref_time(10_084_000 as u64) } fn execute_dispatch_signed() -> Weight { - Weight::from_ref_time(3_714_000 as u64) + // Minimum execution time: 4_250 nanoseconds. + Weight::from_ref_time(4_349_000 as u64) } fn execute_dispatch_unsigned() -> Weight { - Weight::from_ref_time(3_667_000 as u64) + // Minimum execution time: 4_195 nanoseconds. + Weight::from_ref_time(4_294_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(16_556_000 as u64) - // Standard Error: 3_431 - .saturating_add(Weight::from_ref_time(659_506 as u64).saturating_mul(s as u64)) + // Minimum execution time: 17_845 nanoseconds. + Weight::from_ref_time(21_966_647 as u64) + // Standard Error: 2_375 + .saturating_add(Weight::from_ref_time(709_788 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -102,9 +108,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(18_922_000 as u64) - // Standard Error: 1_665 - .saturating_add(Weight::from_ref_time(586_420 as u64).saturating_mul(s as u64)) + // Minimum execution time: 20_576 nanoseconds. + Weight::from_ref_time(22_223_331 as u64) + // Standard Error: 1_893 + .saturating_add(Weight::from_ref_time(704_138 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -112,9 +119,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(19_633_000 as u64) - // Standard Error: 3_740 - .saturating_add(Weight::from_ref_time(692_772 as u64).saturating_mul(s as u64)) + // Minimum execution time: 20_629 nanoseconds. + Weight::from_ref_time(25_733_922 as u64) + // Standard Error: 3_411 + .saturating_add(Weight::from_ref_time(730_376 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -122,9 +130,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(20_220_000 as u64) - // Standard Error: 2_111 - .saturating_add(Weight::from_ref_time(622_452 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_737 nanoseconds. + Weight::from_ref_time(24_034_587 as u64) + // Standard Error: 2_365 + .saturating_add(Weight::from_ref_time(719_777 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_session.rs b/runtime/polkadot/src/weights/pallet_session.rs index 2b67806f65d6..7512266e8c52 100644 --- a/runtime/polkadot/src/weights/pallet_session.rs +++ b/runtime/polkadot/src/weights/pallet_session.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_session`. @@ -48,7 +48,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:6 w:6) fn set_keys() -> Weight { - Weight::from_ref_time(50_181_000 as u64) + // Minimum execution time: 51_133 nanoseconds. + Weight::from_ref_time(52_762_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -56,7 +57,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:6) fn purge_keys() -> Weight { - Weight::from_ref_time(38_209_000 as u64) + // Minimum execution time: 38_703 nanoseconds. + Weight::from_ref_time(40_249_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index f162b24405a6..abe26f8ba45d 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_staking`. @@ -47,12 +47,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - Weight::from_ref_time(45_432_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) + // Minimum execution time: 46_662 nanoseconds. + Weight::from_ref_time(47_196_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Staking Bonded (r:1 w:0) @@ -61,7 +61,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - Weight::from_ref_time(79_495_000 as u64) + // Minimum execution time: 84_636 nanoseconds. + Weight::from_ref_time(85_507_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -75,7 +76,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - Weight::from_ref_time(84_820_000 as u64) + // Minimum execution time: 89_960 nanoseconds. + Weight::from_ref_time(90_775_000 as u64) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -85,9 +87,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - Weight::from_ref_time(39_300_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 40_902 nanoseconds. + Weight::from_ref_time(42_037_878 as u64) + // Standard Error: 759 + .saturating_add(Weight::from_ref_time(18_773 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -106,7 +109,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - Weight::from_ref_time(75_001_000 as u64) + // Minimum execution time: 76_841 nanoseconds. + Weight::from_ref_time(78_511_970 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(11 as u64)) } @@ -122,7 +126,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - Weight::from_ref_time(58_154_000 as u64) + // Minimum execution time: 61_371 nanoseconds. + Weight::from_ref_time(62_111_000 as u64) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -130,9 +135,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - Weight::from_ref_time(28_809_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(6_244_000 as u64).saturating_mul(k as u64)) + // Minimum execution time: 32_802 nanoseconds. + Weight::from_ref_time(31_148_886 as u64) + // Standard Error: 8_584 + .saturating_add(Weight::from_ref_time(6_310_078 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64))) @@ -150,9 +156,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - Weight::from_ref_time(59_788_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(2_494_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 63_601 nanoseconds. + Weight::from_ref_time(62_683_368 as u64) + // Standard Error: 5_693 + .saturating_add(Weight::from_ref_time(2_387_381 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(6 as u64)) @@ -165,50 +172,58 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - Weight::from_ref_time(55_934_000 as u64) + // Minimum execution time: 58_414 nanoseconds. + Weight::from_ref_time(58_926_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - Weight::from_ref_time(15_014_000 as u64) + // Minimum execution time: 15_904 nanoseconds. + Weight::from_ref_time(16_192_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - Weight::from_ref_time(22_074_000 as u64) + // Minimum execution time: 23_346 nanoseconds. + Weight::from_ref_time(23_789_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - Weight::from_ref_time(3_971_000 as u64) + // Minimum execution time: 4_391 nanoseconds. + Weight::from_ref_time(4_537_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - Weight::from_ref_time(3_980_000 as u64) + // Minimum execution time: 4_401 nanoseconds. + Weight::from_ref_time(4_566_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - Weight::from_ref_time(3_926_000 as u64) + // Minimum execution time: 4_332 nanoseconds. + Weight::from_ref_time(4_500_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - Weight::from_ref_time(4_043_000 as u64) + // Minimum execution time: 4_311 nanoseconds. + Weight::from_ref_time(4_424_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - Weight::from_ref_time(4_365_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 4_728 nanoseconds. + Weight::from_ref_time(5_009_153 as u64) + // Standard Error: 40 + .saturating_add(Weight::from_ref_time(13_575 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Bonded (r:1 w:1) @@ -226,9 +241,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - Weight::from_ref_time(72_013_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(868_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 70_738 nanoseconds. + Weight::from_ref_time(75_635_135 as u64) + // Standard Error: 1_963 + .saturating_add(Weight::from_ref_time(886_440 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -236,49 +252,50 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - Weight::from_ref_time(862_274_000 as u64) - // Standard Error: 57_000 - .saturating_add(Weight::from_ref_time(4_844_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 121_057 nanoseconds. + Weight::from_ref_time(930_162_123 as u64) + // Standard Error: 58_030 + .saturating_add(Weight::from_ref_time(4_954_466 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) - // Storage: Staking Bonded (r:2 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking ErasStakersClipped (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:0) // Storage: Staking ErasValidatorPrefs (r:1 w:0) - // Storage: Staking Payee (r:2 w:0) - // Storage: System Account (r:2 w:2) - /// The range of component `n` is `[1, 256]`. + // Storage: Staking Payee (r:1 w:0) + // Storage: System Account (r:1 w:1) + /// The range of component `n` is `[0, 512]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - Weight::from_ref_time(147_723_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(20_027_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) + // Minimum execution time: 109_038 nanoseconds. + Weight::from_ref_time(209_711_375 as u64) + // Standard Error: 14_502 + .saturating_add(Weight::from_ref_time(21_251_776 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) } // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) - // Storage: Staking Bonded (r:2 w:0) - // Storage: Staking Ledger (r:2 w:2) + // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking ErasStakersClipped (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:0) // Storage: Staking ErasValidatorPrefs (r:1 w:0) - // Storage: Staking Payee (r:2 w:0) - // Storage: System Account (r:2 w:2) - // Storage: Balances Locks (r:2 w:2) - /// The range of component `n` is `[1, 256]`. + // Storage: Staking Payee (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - Weight::from_ref_time(106_610_000 as u64) - // Standard Error: 144_000 - .saturating_add(Weight::from_ref_time(28_792_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) + // Minimum execution time: 126_327 nanoseconds. + Weight::from_ref_time(172_023_969 as u64) + // Standard Error: 77_234 + .saturating_add(Weight::from_ref_time(31_062_247 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64))) @@ -291,9 +308,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - Weight::from_ref_time(79_808_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(l as u64)) + // Minimum execution time: 81_709 nanoseconds. + Weight::from_ref_time(83_708_699 as u64) + // Standard Error: 4_311 + .saturating_add(Weight::from_ref_time(44_788 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -312,9 +330,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - Weight::from_ref_time(79_588_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(860_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 81_287 nanoseconds. + Weight::from_ref_time(83_420_670 as u64) + // Standard Error: 2_357 + .saturating_add(Weight::from_ref_time(879_072 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -332,21 +351,21 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking ValidatorCount (r:1 w:0) // Storage: Staking MinimumValidatorCount (r:1 w:0) // Storage: Staking CurrentEra (r:1 w:1) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasStakersClipped (r:0 w:1) // Storage: Staking ErasValidatorPrefs (r:0 w:1) // Storage: Staking ErasStakers (r:0 w:1) // Storage: Staking ErasTotalStake (r:0 w:1) // Storage: Staking ErasStartSessionIndex (r:0 w:1) /// The range of component `v` is `[1, 10]`. - /// The range of component `n` is `[1, 100]`. + /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 694_000 - .saturating_add(Weight::from_ref_time(176_240_000 as u64).saturating_mul(v as u64)) - // Standard Error: 66_000 - .saturating_add(Weight::from_ref_time(23_971_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(187 as u64)) + // Minimum execution time: 432_765 nanoseconds. + Weight::from_ref_time(434_560_000 as u64) + // Standard Error: 1_840_727 + .saturating_add(Weight::from_ref_time(60_273_780 as u64).saturating_mul(v as u64)) + // Standard Error: 183_418 + .saturating_add(Weight::from_ref_time(13_301_391 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(186 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -365,27 +384,28 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. /// The range of component `s` is `[1, 20]`. fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 450_000 - .saturating_add(Weight::from_ref_time(38_224_000 as u64).saturating_mul(v as u64)) - // Standard Error: 450_000 - .saturating_add(Weight::from_ref_time(38_981_000 as u64).saturating_mul(n as u64)) - // Standard Error: 11_498_000 - .saturating_add(Weight::from_ref_time(16_085_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 26_190_965 nanoseconds. + Weight::from_ref_time(26_379_230_000 as u64) + // Standard Error: 498_237 + .saturating_add(Weight::from_ref_time(12_106_020 as u64).saturating_mul(v as u64)) + // Standard Error: 498_237 + .saturating_add(Weight::from_ref_time(10_834_947 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(181 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { - Weight::from_ref_time(105_025_000 as u64) - // Standard Error: 45_000 - .saturating_add(Weight::from_ref_time(6_357_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 3_556_361 nanoseconds. + Weight::from_ref_time(120_792_037 as u64) + // Standard Error: 57_285 + .saturating_add(Weight::from_ref_time(7_333_197 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -396,7 +416,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - Weight::from_ref_time(7_146_000 as u64) + // Minimum execution time: 7_322 nanoseconds. + Weight::from_ref_time(7_596_000 as u64) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking MinCommission (r:0 w:1) @@ -406,7 +427,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - Weight::from_ref_time(6_698_000 as u64) + // Minimum execution time: 6_842 nanoseconds. + Weight::from_ref_time(7_029_000 as u64) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking Ledger (r:1 w:0) @@ -420,14 +442,16 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - Weight::from_ref_time(66_060_000 as u64) + // Minimum execution time: 69_097 nanoseconds. + Weight::from_ref_time(69_731_000 as u64) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - Weight::from_ref_time(14_560_000 as u64) + // Minimum execution time: 15_563 nanoseconds. + Weight::from_ref_time(15_867_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_timestamp.rs b/runtime/polkadot/src/weights/pallet_timestamp.rs index bb9dc57e1149..a00a8500e187 100644 --- a/runtime/polkadot/src/weights/pallet_timestamp.rs +++ b/runtime/polkadot/src/weights/pallet_timestamp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. @@ -47,11 +47,13 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - Weight::from_ref_time(9_237_000 as u64) + // Minimum execution time: 9_473 nanoseconds. + Weight::from_ref_time(9_896_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(3_851_000 as u64) + // Minimum execution time: 4_279 nanoseconds. + Weight::from_ref_time(4_529_000 as u64) } } diff --git a/runtime/polkadot/src/weights/pallet_tips.rs b/runtime/polkadot/src/weights/pallet_tips.rs index b43a9c45b965..8d5a80899b28 100644 --- a/runtime/polkadot/src/weights/pallet_tips.rs +++ b/runtime/polkadot/src/weights/pallet_tips.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_tips`. @@ -48,16 +48,18 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `r` is `[0, 16384]`. fn report_awesome(r: u32, ) -> Weight { - Weight::from_ref_time(29_098_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 29_978 nanoseconds. + Weight::from_ref_time(31_596_470 as u64) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(2_012 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { - Weight::from_ref_time(27_830_000 as u64) + // Minimum execution time: 29_917 nanoseconds. + Weight::from_ref_time(30_436_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -67,11 +69,12 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. /// The range of component `t` is `[1, 13]`. fn tip_new(r: u32, t: u32, ) -> Weight { - Weight::from_ref_time(20_185_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(204_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 22_911 nanoseconds. + Weight::from_ref_time(22_091_512 as u64) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_846 as u64).saturating_mul(r as u64)) + // Standard Error: 9_030 + .saturating_add(Weight::from_ref_time(210_311 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -79,9 +82,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `t` is `[1, 13]`. fn tip(t: u32, ) -> Weight { - Weight::from_ref_time(14_650_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(169_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 14_955 nanoseconds. + Weight::from_ref_time(15_347_933 as u64) + // Standard Error: 2_036 + .saturating_add(Weight::from_ref_time(140_987 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -91,9 +95,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 13]`. fn close_tip(t: u32, ) -> Weight { - Weight::from_ref_time(44_468_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(186_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 46_745 nanoseconds. + Weight::from_ref_time(47_775_426 as u64) + // Standard Error: 5_647 + .saturating_add(Weight::from_ref_time(149_882 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -101,9 +106,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 13]`. fn slash_tip(t: u32, ) -> Weight { - Weight::from_ref_time(18_758_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 19_411 nanoseconds. + Weight::from_ref_time(20_301_396 as u64) + // Standard Error: 2_075 + .saturating_add(Weight::from_ref_time(36_174 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/polkadot/src/weights/pallet_treasury.rs b/runtime/polkadot/src/weights/pallet_treasury.rs index 9e30a9b8ed2f..9a5e760241d4 100644 --- a/runtime/polkadot/src/weights/pallet_treasury.rs +++ b/runtime/polkadot/src/weights/pallet_treasury.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,26 +38,29 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_treasury`. pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - Weight::from_ref_time(159_000 as u64) + // Minimum execution time: 140 nanoseconds. + Weight::from_ref_time(192_000 as u64) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(25_052_000 as u64) + // Minimum execution time: 27_339 nanoseconds. + Weight::from_ref_time(27_812_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - Weight::from_ref_time(37_455_000 as u64) + // Minimum execution time: 39_765 nanoseconds. + Weight::from_ref_time(40_401_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -65,15 +68,17 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(12_929_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(52_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 10_092 nanoseconds. + Weight::from_ref_time(13_612_152 as u64) + // Standard Error: 1_134 + .saturating_add(Weight::from_ref_time(45_701 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(7_745_000 as u64) + // Minimum execution time: 8_372 nanoseconds. + Weight::from_ref_time(8_582_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -83,9 +88,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: System Account (r:4 w:4) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(41_263_000 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(24_564_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 35_588 nanoseconds. + Weight::from_ref_time(45_604_897 as u64) + // Standard Error: 24_691 + .saturating_add(Weight::from_ref_time(24_665_984 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) diff --git a/runtime/polkadot/src/weights/pallet_utility.rs b/runtime/polkadot/src/weights/pallet_utility.rs index f7e6e51eff4d..648577ca1a2d 100644 --- a/runtime/polkadot/src/weights/pallet_utility.rs +++ b/runtime/polkadot/src/weights/pallet_utility.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_utility`. @@ -46,26 +46,31 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(15_356_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_407_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_964 nanoseconds. + Weight::from_ref_time(19_427_609 as u64) + // Standard Error: 3_994 + .saturating_add(Weight::from_ref_time(3_826_293 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(5_533_000 as u64) + // Minimum execution time: 6_409 nanoseconds. + Weight::from_ref_time(6_892_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(26_834_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_527_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 12_148 nanoseconds. + Weight::from_ref_time(21_596_151 as u64) + // Standard Error: 2_632 + .saturating_add(Weight::from_ref_time(3_977_735 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(13_247_000 as u64) + // Minimum execution time: 14_111 nanoseconds. + Weight::from_ref_time(14_347_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(24_641_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_373_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 12_114 nanoseconds. + Weight::from_ref_time(16_797_748 as u64) + // Standard Error: 2_468 + .saturating_add(Weight::from_ref_time(3_823_041 as u64).saturating_mul(c as u64)) } } diff --git a/runtime/polkadot/src/weights/pallet_vesting.rs b/runtime/polkadot/src/weights/pallet_vesting.rs index e1052f38114e..4e1e4dd18d7b 100644 --- a/runtime/polkadot/src/weights/pallet_vesting.rs +++ b/runtime/polkadot/src/weights/pallet_vesting.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_vesting`. @@ -49,11 +49,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_041_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_531 nanoseconds. + Weight::from_ref_time(38_955_116 as u64) + // Standard Error: 1_450 + .saturating_add(Weight::from_ref_time(41_616 as u64).saturating_mul(l as u64)) + // Standard Error: 2_580 + .saturating_add(Weight::from_ref_time(69_436 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -62,11 +63,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(34_819_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(40_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 38_671 nanoseconds. + Weight::from_ref_time(38_567_314 as u64) + // Standard Error: 1_210 + .saturating_add(Weight::from_ref_time(35_143 as u64).saturating_mul(l as u64)) + // Standard Error: 2_154 + .saturating_add(Weight::from_ref_time(55_568 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -76,11 +78,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_068_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(43_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(98_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_295 nanoseconds. + Weight::from_ref_time(38_013_471 as u64) + // Standard Error: 1_321 + .saturating_add(Weight::from_ref_time(53_553 as u64).saturating_mul(l as u64)) + // Standard Error: 2_351 + .saturating_add(Weight::from_ref_time(84_076 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -90,11 +93,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_164_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(34_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 38_769 nanoseconds. + Weight::from_ref_time(38_918_484 as u64) + // Standard Error: 1_194 + .saturating_add(Weight::from_ref_time(28_142 as u64).saturating_mul(l as u64)) + // Standard Error: 2_126 + .saturating_add(Weight::from_ref_time(47_289 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -104,11 +108,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(49_221_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(39_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 53_331 nanoseconds. + Weight::from_ref_time(53_357_152 as u64) + // Standard Error: 2_054 + .saturating_add(Weight::from_ref_time(44_152 as u64).saturating_mul(l as u64)) + // Standard Error: 3_654 + .saturating_add(Weight::from_ref_time(52_672 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -118,11 +123,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(48_444_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(95_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 52_809 nanoseconds. + Weight::from_ref_time(53_497_880 as u64) + // Standard Error: 2_046 + .saturating_add(Weight::from_ref_time(29_895 as u64).saturating_mul(l as u64)) + // Standard Error: 3_641 + .saturating_add(Weight::from_ref_time(41_171 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -132,11 +138,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_632_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 40_643 nanoseconds. + Weight::from_ref_time(39_703_973 as u64) + // Standard Error: 1_240 + .saturating_add(Weight::from_ref_time(40_068 as u64).saturating_mul(l as u64)) + // Standard Error: 2_291 + .saturating_add(Weight::from_ref_time(79_877 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -146,11 +153,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_538_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(53_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(103_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 40_470 nanoseconds. + Weight::from_ref_time(39_534_878 as u64) + // Standard Error: 1_164 + .saturating_add(Weight::from_ref_time(40_286 as u64).saturating_mul(l as u64)) + // Standard Error: 2_149 + .saturating_add(Weight::from_ref_time(77_107 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/polkadot/src/weights/runtime_common_auctions.rs b/runtime/polkadot/src/weights/runtime_common_auctions.rs index 2f464845ebb3..b63f0396b078 100644 --- a/runtime/polkadot/src/weights/runtime_common_auctions.rs +++ b/runtime/polkadot/src/weights/runtime_common_auctions.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. @@ -47,7 +47,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - Weight::from_ref_time(16_359_000 as u64) + // Minimum execution time: 17_695 nanoseconds. + Weight::from_ref_time(18_051_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -59,7 +60,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - Weight::from_ref_time(69_607_000 as u64) + // Minimum execution time: 73_260 nanoseconds. + Weight::from_ref_time(74_711_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -76,7 +78,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - Weight::from_ref_time(15_111_005_000 as u64) + // Minimum execution time: 15_542_084 nanoseconds. + Weight::from_ref_time(15_830_065_000 as u64) .saturating_add(T::DbWeight::get().reads(3688 as u64)) .saturating_add(T::DbWeight::get().writes(3683 as u64)) } @@ -85,7 +88,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions Winning (r:0 w:3600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - Weight::from_ref_time(4_643_675_000 as u64) + // Minimum execution time: 4_685_796 nanoseconds. + Weight::from_ref_time(4_784_757_000 as u64) .saturating_add(T::DbWeight::get().reads(73 as u64)) .saturating_add(T::DbWeight::get().writes(3673 as u64)) } diff --git a/runtime/polkadot/src/weights/runtime_common_claims.rs b/runtime/polkadot/src/weights/runtime_common_claims.rs index 0c9dc4c7ad7f..e435986978b3 100644 --- a/runtime/polkadot/src/weights/runtime_common_claims.rs +++ b/runtime/polkadot/src/weights/runtime_common_claims.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::claims`. @@ -52,7 +52,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(143_005_000 as u64) + // Minimum execution time: 144_499 nanoseconds. + Weight::from_ref_time(146_851_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -61,7 +62,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Claims (r:0 w:1) // Storage: Claims Signing (r:0 w:1) fn mint_claim() -> Weight { - Weight::from_ref_time(11_431_000 as u64) + // Minimum execution time: 11_557 nanoseconds. + Weight::from_ref_time(12_078_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -73,7 +75,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim_attest() -> Weight { - Weight::from_ref_time(145_634_000 as u64) + // Minimum execution time: 147_154 nanoseconds. + Weight::from_ref_time(150_718_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -86,7 +89,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn attest() -> Weight { - Weight::from_ref_time(66_979_000 as u64) + // Minimum execution time: 68_909 nanoseconds. + Weight::from_ref_time(71_077_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -95,7 +99,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Signing (r:1 w:2) // Storage: Claims Preclaims (r:1 w:1) fn move_claim() -> Weight { - Weight::from_ref_time(21_303_000 as u64) + // Minimum execution time: 22_310 nanoseconds. + Weight::from_ref_time(23_037_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs index 7151a55e943a..2b375f9fcafb 100644 --- a/runtime/polkadot/src/weights/runtime_common_crowdloan.rs +++ b/runtime/polkadot/src/weights/runtime_common_crowdloan.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. @@ -49,7 +49,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(46_657_000 as u64) + // Minimum execution time: 47_532 nanoseconds. + Weight::from_ref_time(49_107_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -61,7 +62,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - Weight::from_ref_time(116_256_000 as u64) + // Minimum execution time: 117_161 nanoseconds. + Weight::from_ref_time(118_612_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -69,16 +71,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(54_668_000 as u64) + // Minimum execution time: 56_984 nanoseconds. + Weight::from_ref_time(57_919_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(17_769_000 as u64).saturating_mul(k as u64)) + // Minimum execution time: 53_704 nanoseconds. + Weight::from_ref_time(64_956_000 as u64) + // Standard Error: 15_082 + .saturating_add(Weight::from_ref_time(18_122_444 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -87,27 +91,31 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - Weight::from_ref_time(35_958_000 as u64) + // Minimum execution time: 37_332 nanoseconds. + Weight::from_ref_time(38_138_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - Weight::from_ref_time(23_705_000 as u64) + // Minimum execution time: 24_508 nanoseconds. + Weight::from_ref_time(24_887_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - Weight::from_ref_time(33_328_000 as u64) + // Minimum execution time: 34_804 nanoseconds. + Weight::from_ref_time(35_771_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - Weight::from_ref_time(25_527_000 as u64) + // Minimum execution time: 26_119 nanoseconds. + Weight::from_ref_time(26_830_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -123,9 +131,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { - Weight::from_ref_time(21_631_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(39_559_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 105_872 nanoseconds. + Weight::from_ref_time(6_994_467 as u64) + // Standard Error: 38_723 + .saturating_add(Weight::from_ref_time(41_147_156 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) diff --git a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs index 89a1c628c503..f10c5b2bed1c 100644 --- a/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/polkadot/src/weights/runtime_common_paras_registrar.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. @@ -48,7 +48,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - Weight::from_ref_time(29_429_000 as u64) + // Minimum execution time: 31_379 nanoseconds. + Weight::from_ref_time(32_013_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -63,7 +64,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - Weight::from_ref_time(7_272_403_000 as u64) + // Minimum execution time: 7_838_268 nanoseconds. + Weight::from_ref_time(8_000_048_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -78,7 +80,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - Weight::from_ref_time(7_255_583_000 as u64) + // Minimum execution time: 7_818_286 nanoseconds. + Weight::from_ref_time(7_962_262_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -89,7 +92,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - Weight::from_ref_time(47_678_000 as u64) + // Minimum execution time: 49_346 nanoseconds. + Weight::from_ref_time(50_242_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -101,11 +105,14 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - Weight::from_ref_time(42_298_000 as u64) + // Minimum execution time: 44_290 nanoseconds. + Weight::from_ref_time(44_983_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) // Storage: Paras CurrentCodeHash (r:1 w:0) // Storage: Paras UpgradeCooldowns (r:1 w:1) // Storage: Paras PvfActiveVoteMap (r:1 w:0) @@ -114,19 +121,22 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: System Digest (r:1 w:1) // Storage: Paras CodeByHashRefs (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:1) - // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 41_975 nanoseconds. + Weight::from_ref_time(42_390_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_483 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras Heads (r:0 w:1) + /// The range of component `b` is `[1, 1048576]`. fn set_current_head(b: u32, ) -> Weight { - Weight::from_ref_time(5_494_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 14_431 nanoseconds. + Weight::from_ref_time(14_559_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(1_072 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/polkadot/src/weights/runtime_common_slots.rs b/runtime/polkadot/src/weights/runtime_common_slots.rs index fdd7f3ba693b..b077e6d1a114 100644 --- a/runtime/polkadot/src/weights/runtime_common_slots.rs +++ b/runtime/polkadot/src/weights/runtime_common_slots.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::slots`. @@ -47,7 +47,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(29_433_000 as u64) + // Minimum execution time: 32_032 nanoseconds. + Weight::from_ref_time(32_759_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -60,11 +61,12 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(5_768_000 as u64).saturating_mul(c as u64)) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(15_445_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 557_429 nanoseconds. + Weight::from_ref_time(565_348_000 as u64) + // Standard Error: 70_889 + .saturating_add(Weight::from_ref_time(2_056_680 as u64).saturating_mul(c as u64)) + // Standard Error: 70_889 + .saturating_add(Weight::from_ref_time(12_087_471 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64))) @@ -75,7 +77,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(90_622_000 as u64) + // Minimum execution time: 94_049 nanoseconds. + Weight::from_ref_time(95_684_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -85,7 +88,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(28_143_000 as u64) + // Minimum execution time: 28_824 nanoseconds. + Weight::from_ref_time(29_892_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs index a0db531f8346..f4daa292146f 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_configuration.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_configuration.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. @@ -49,7 +49,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - Weight::from_ref_time(10_912_000 as u64) + // Minimum execution time: 11_517 nanoseconds. + Weight::from_ref_time(12_084_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -58,7 +59,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(10_724_000 as u64) + // Minimum execution time: 11_579 nanoseconds. + Weight::from_ref_time(11_966_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -67,7 +69,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - Weight::from_ref_time(10_750_000 as u64) + // Minimum execution time: 11_441 nanoseconds. + Weight::from_ref_time(11_834_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -76,12 +79,14 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(10_812_000 as u64) + // Minimum execution time: 11_406 nanoseconds. + Weight::from_ref_time(11_717_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Benchmark Override (r:0 w:0) fn set_hrmp_open_request_ttl() -> Weight { + // Minimum execution time: 2_000_000_000 nanoseconds. Weight::from_ref_time(2_000_000_000_000 as u64) } // Storage: Configuration PendingConfigs (r:1 w:1) @@ -89,7 +94,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - Weight::from_ref_time(11_100_000 as u64) + // Minimum execution time: 11_631 nanoseconds. + Weight::from_ref_time(11_937_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs index e45401e40eca..01292d51a830 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_disputes.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_disputes.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. @@ -46,7 +46,8 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - Weight::from_ref_time(3_751_000 as u64) + // Minimum execution time: 4_367 nanoseconds. + Weight::from_ref_time(4_690_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs index 576b25ddd718..d0e777bcb33b 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_hrmp.rs @@ -1,4 +1,4 @@ -// Copyright 2017-2021 Parity Technologies (UK) Ltd. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -16,23 +16,23 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-11-05, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128 +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// target/release/polkadot +// ./target/production/polkadot // benchmark -// --chain=kusama-dev +// pallet +// --chain=polkadot-dev // --steps=50 // --repeat=20 // --pallet=runtime_parachains::hrmp // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 // --header=./file_header.txt -// --output=./runtime/kusama/src/weights/runtime_parachains_hrmp.rs - +// --output=./runtime/polkadot/src/weights/runtime_parachains_hrmp.rs #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -54,7 +54,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_init_open_channel() -> Weight { - Weight::from_ref_time(54_952_000 as u64) + // Minimum execution time: 41_505 nanoseconds. + Weight::from_ref_time(42_119_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -66,7 +67,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_accept_open_channel() -> Weight { - Weight::from_ref_time(47_965_000 as u64) + // Minimum execution time: 41_067 nanoseconds. + Weight::from_ref_time(41_634_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -77,7 +79,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_close_channel() -> Weight { - Weight::from_ref_time(44_369_000 as u64) + // Minimum execution time: 37_960 nanoseconds. + Weight::from_ref_time(38_224_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -87,12 +90,15 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:0 w:1) // Storage: Hrmp HrmpChannelContents (r:0 w:127) // Storage: Hrmp HrmpOpenChannelRequestCount (r:0 w:1) + /// The range of component `i` is `[0, 127]`. + /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(15_959_000 as u64).saturating_mul(i as u64)) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(16_048_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 877_471 nanoseconds. + Weight::from_ref_time(886_196_000 as u64) + // Standard Error: 79_424 + .saturating_add(Weight::from_ref_time(2_738_544 as u64).saturating_mul(i as u64)) + // Standard Error: 79_424 + .saturating_add(Weight::from_ref_time(2_749_789 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64))) @@ -109,10 +115,12 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequestCount (r:2 w:2) // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:2 w:2) // Storage: Hrmp HrmpChannels (r:0 w:2) + /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(35_598_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 9_479 nanoseconds. + Weight::from_ref_time(9_641_000 as u64) + // Standard Error: 9_212 + .saturating_add(Weight::from_ref_time(15_726_613 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -124,37 +132,44 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpIngressChannelsIndex (r:2 w:2) // Storage: Hrmp HrmpCloseChannelRequests (r:0 w:2) // Storage: Hrmp HrmpChannelContents (r:0 w:2) + /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(20_510_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 6_452 nanoseconds. + Weight::from_ref_time(6_591_000 as u64) + // Standard Error: 7_889 + .saturating_add(Weight::from_ref_time(9_705_589 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((5 as u64).saturating_mul(c as u64))) } - // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) // Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) + // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) + /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { - Weight::from_ref_time(32_749_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 26_109 nanoseconds. + Weight::from_ref_time(31_555_015 as u64) + // Standard Error: 1_534 + .saturating_add(Weight::from_ref_time(90_940 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Hrmp HrmpOpenChannelRequestsList (r:1 w:1) // Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2) + /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(5_781_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 4_551 nanoseconds. + Weight::from_ref_time(2_251_955 as u64) + // Standard Error: 3_808 + .saturating_add(Weight::from_ref_time(2_597_436 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } // Storage: Paras ParaLifecycles (r:2 w:0) + // Storage: Configuration ActiveConfig (r:1 w:0) // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) // Storage: Hrmp HrmpChannels (r:1 w:0) // Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0) @@ -165,8 +180,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) fn force_open_hrmp_channel() -> Weight { - Weight::from_ref_time(104_771_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) + // Minimum execution time: 52_512 nanoseconds. + Weight::from_ref_time(53_287_000 as u64) + .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } } diff --git a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs index 15480b1c48a7..8e1dfd5a459b 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_initializer.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_initializer.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. @@ -47,9 +47,10 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - Weight::from_ref_time(9_756_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 8_089 nanoseconds. + Weight::from_ref_time(10_807_136 as u64) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(1_318 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras.rs b/runtime/polkadot/src/weights/runtime_parachains_paras.rs index bf81061f31ef..5cf3b86dc854 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. @@ -52,18 +52,20 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 38_052 nanoseconds. + Weight::from_ref_time(38_343_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_470 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Paras Heads (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_set_current_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 12_951 nanoseconds. + Weight::from_ref_time(13_054_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(1_071 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Configuration ActiveConfig (r:1 w:0) @@ -79,9 +81,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 62_248 nanoseconds. + Weight::from_ref_time(62_476_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_494 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -90,16 +93,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_note_new_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 18_755 nanoseconds. + Weight::from_ref_time(19_028_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(1_069 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - Weight::from_ref_time(23_313_000 as u64) + // Minimum execution time: 24_134 nanoseconds. + Weight::from_ref_time(24_730_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -107,16 +112,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:1 w:1) /// The range of component `c` is `[1, 3145728]`. fn add_trusted_validation_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 8_618 nanoseconds. + Weight::from_ref_time(8_808_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_473 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - Weight::from_ref_time(6_423_000 as u64) + // Minimum execution time: 6_839 nanoseconds. + Weight::from_ref_time(6_966_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -125,7 +132,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - Weight::from_ref_time(95_444_000 as u64) + // Minimum execution time: 92_622 nanoseconds. + Weight::from_ref_time(94_867_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -138,7 +146,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - Weight::from_ref_time(629_670_000 as u64) + // Minimum execution time: 637_636 nanoseconds. + Weight::from_ref_time(647_421_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(104 as u64)) } @@ -152,7 +161,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - Weight::from_ref_time(594_898_000 as u64) + // Minimum execution time: 593_660 nanoseconds. + Weight::from_ref_time(601_930_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(204 as u64)) } @@ -163,7 +173,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - Weight::from_ref_time(497_417_000 as u64) + // Minimum execution time: 498_509 nanoseconds. + Weight::from_ref_time(505_284_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -178,7 +189,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - Weight::from_ref_time(667_000_000 as u64) + // Minimum execution time: 669_947 nanoseconds. + Weight::from_ref_time(676_418_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(304 as u64)) } diff --git a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs index 7e7b020d5dfb..dc6535472ace 100644 --- a/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/polkadot/src/weights/runtime_parachains_paras_inherent.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::paras_inherent`. @@ -60,6 +60,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Parachains (r:1 w:0) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -77,10 +78,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { - Weight::from_ref_time(323_064_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(48_113_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(29 as u64)) + // Minimum execution time: 826_168 nanoseconds. + Weight::from_ref_time(364_874_705 as u64) + // Standard Error: 23_955 + .saturating_add(Weight::from_ref_time(47_989_024 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(30 as u64)) .saturating_add(T::DbWeight::get().writes(18 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -95,6 +97,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -114,8 +117,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_bitfields() -> Weight { - Weight::from_ref_time(322_987_000 as u64) - .saturating_add(T::DbWeight::get().reads(26 as u64)) + // Minimum execution time: 343_456 nanoseconds. + Weight::from_ref_time(351_684_000 as u64) + .saturating_add(T::DbWeight::get().reads(27 as u64)) .saturating_add(T::DbWeight::get().writes(17 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -130,6 +134,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -151,10 +156,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { - Weight::from_ref_time(820_412_000 as u64) - // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(47_835_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(29 as u64)) + // Minimum execution time: 5_667_234 nanoseconds. + Weight::from_ref_time(962_138_267 as u64) + // Standard Error: 46_800 + .saturating_add(Weight::from_ref_time(47_508_067 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(30 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -169,6 +175,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -191,8 +198,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_backed_candidate_code_upgrade() -> Weight { - Weight::from_ref_time(38_004_269_000 as u64) - .saturating_add(T::DbWeight::get().reads(31 as u64)) + // Minimum execution time: 40_991_691 nanoseconds. + Weight::from_ref_time(41_457_004_000 as u64) + .saturating_add(T::DbWeight::get().reads(32 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } } diff --git a/runtime/rococo/constants/Cargo.toml b/runtime/rococo/constants/Cargo.toml index 8b1901189f88..6d7563e36d10 100644 --- a/runtime/rococo/constants/Cargo.toml +++ b/runtime/rococo/constants/Cargo.toml @@ -10,10 +10,14 @@ smallvec = "1.8.0" frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false } runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] std = [ - "sp-runtime/std" + "sp-core/std", + "sp-runtime/std", + "sp-weights/std" ] diff --git a/runtime/rococo/constants/src/weights/block_weights.rs b/runtime/rococo/constants/src/weights/block_weights.rs index c33546f80a94..6be462e2b490 100644 --- a/runtime/rococo/constants/src/weights/block_weights.rs +++ b/runtime/rococo/constants/src/weights/block_weights.rs @@ -1,28 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19 (Y/M/D) +//! DATE: 2022-11-16 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/rococo/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -34,32 +32,31 @@ // --weight-path=runtime/rococo/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute an empty block. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 4_039_227, 4_394_160 - /// Average: 4_084_738 - /// Median: 4_077_180 - /// Std-Dev: 44325.29 + /// Min, Max: 5_285_413, 5_582_840 + /// Average: 5_334_883 + /// Median: 5_320_357 + /// Std-Dev: 54133.56 /// /// Percentiles nanoseconds: - /// 99th: 4_189_094 - /// 95th: 4_152_261 - /// 75th: 4_098_529 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(4_084_738); + /// 99th: 5_495_378 + /// 95th: 5_453_765 + /// 75th: 5_352_587 + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_334_883); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/rococo/constants/src/weights/extrinsic_weights.rs b/runtime/rococo/constants/src/weights/extrinsic_weights.rs index 53255ef6e8b0..46d516b44611 100644 --- a/runtime/rococo/constants/src/weights/extrinsic_weights.rs +++ b/runtime/rococo/constants/src/weights/extrinsic_weights.rs @@ -1,27 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-25 (Y/M/D) +//! DATE: 2022-11-16 (Y/M/D) +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/rococo/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -33,32 +32,31 @@ // --weight-path=runtime/rococo/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 77_945, 79_607 - /// Average: 78_269 - /// Median: 78_211 - /// Std-Dev: 259.27 + /// Min, Max: 86_780, 87_929 + /// Average: 87_092 + /// Median: 87_029 + /// Std-Dev: 244.16 /// /// Percentiles nanoseconds: - /// 99th: 79_591 - /// 95th: 78_730 - /// 75th: 78_272 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(78_269); + /// 99th: 87_916 + /// 95th: 87_727 + /// 75th: 87_112 + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(87_092); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/rococo/src/weights/frame_benchmarking_baseline.rs b/runtime/rococo/src/weights/frame_benchmarking_baseline.rs index 93b1cf101dec..a567ef8e0758 100644 --- a/runtime/rococo/src/weights/frame_benchmarking_baseline.rs +++ b/runtime/rococo/src/weights/frame_benchmarking_baseline.rs @@ -16,7 +16,7 @@ //! Autogenerated weights for `frame_benchmarking::baseline` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-06-20, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 @@ -46,46 +46,52 @@ pub struct WeightInfo(PhantomData); impl frame_benchmarking::baseline::WeightInfo for WeightInfo { /// The range of component `i` is `[0, 1000000]`. fn addition(_i: u32, ) -> Weight { - (126_000 as Weight) + // Minimum execution time: 104 nanoseconds. + Weight::from_ref_time(136_098 as u64) } /// The range of component `i` is `[0, 1000000]`. fn subtraction(_i: u32, ) -> Weight { - (117_000 as Weight) + // Minimum execution time: 101 nanoseconds. + Weight::from_ref_time(141_859 as u64) } /// The range of component `i` is `[0, 1000000]`. fn multiplication(_i: u32, ) -> Weight { - (132_000 as Weight) + // Minimum execution time: 106 nanoseconds. + Weight::from_ref_time(142_767 as u64) } /// The range of component `i` is `[0, 1000000]`. fn division(_i: u32, ) -> Weight { - (132_000 as Weight) + // Minimum execution time: 107 nanoseconds. + Weight::from_ref_time(145_251 as u64) } /// The range of component `i` is `[0, 100]`. - fn hashing(i: u32, ) -> Weight { - (19_331_786_000 as Weight) - // Standard Error: 113_000 - .saturating_add((410_000 as Weight).saturating_mul(i as Weight)) + fn hashing(_i: u32, ) -> Weight { + // Minimum execution time: 19_899_457 nanoseconds. + Weight::from_ref_time(20_127_184_762 as u64) } - /// The range of component `i` is `[1, 100]`. + /// The range of component `i` is `[0, 100]`. fn sr25519_verification(i: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 15_000 - .saturating_add((47_597_000 as Weight).saturating_mul(i as Weight)) + // Minimum execution time: 140 nanoseconds. + Weight::from_ref_time(160_000 as u64) + // Standard Error: 8_692 + .saturating_add(Weight::from_ref_time(47_038_394 as u64).saturating_mul(i as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_read(i: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 3_000 - .saturating_add((2_126_000 as Weight).saturating_mul(i as Weight)) - .saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(i as Weight))) + // Minimum execution time: 107 nanoseconds. + Weight::from_ref_time(117_000 as u64) + // Standard Error: 4_352 + .saturating_add(Weight::from_ref_time(1_945_080 as u64).saturating_mul(i as u64)) + .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `i` is `[0, 1000]`. fn storage_write(i: u32, ) -> Weight { - (0 as Weight) - // Standard Error: 0 - .saturating_add((328_000 as Weight).saturating_mul(i as Weight)) - .saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight))) + // Minimum execution time: 112 nanoseconds. + Weight::from_ref_time(118_000 as u64) + // Standard Error: 835 + .saturating_add(Weight::from_ref_time(321_096 as u64).saturating_mul(i as u64)) + .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } } diff --git a/runtime/rococo/src/weights/frame_system.rs b/runtime/rococo/src/weights/frame_system.rs index ec919ac946fc..5eaa7efcc22c 100644 --- a/runtime/rococo/src/weights/frame_system.rs +++ b/runtime/rococo/src/weights/frame_system.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,51 +38,59 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_system`. pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. - fn remark(_b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + fn remark(b: u32, ) -> Weight { + // Minimum execution time: 4_020 nanoseconds. + Weight::from_ref_time(4_086_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + // Minimum execution time: 12_989 nanoseconds. + Weight::from_ref_time(13_133_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(1_758 as u64).saturating_mul(b as u64)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(8_025_000 as u64) + // Minimum execution time: 8_329 nanoseconds. + Weight::from_ref_time(8_576_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(602_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 4_069 nanoseconds. + Weight::from_ref_time(4_172_000 as u64) + // Standard Error: 2_158 + .saturating_add(Weight::from_ref_time(598_068 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(456_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 4_023 nanoseconds. + Weight::from_ref_time(4_103_000 as u64) + // Standard Error: 875 + .saturating_add(Weight::from_ref_time(427_793 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[1, 1000]`. + /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_010_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 5_435 nanoseconds. + Weight::from_ref_time(5_565_000 as u64) + // Standard Error: 1_137 + .saturating_add(Weight::from_ref_time(970_252 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } } diff --git a/runtime/rococo/src/weights/pallet_balances.rs b/runtime/rococo/src/weights/pallet_balances.rs index 16c0b483836e..9e6af9772680 100644 --- a/runtime/rococo/src/weights/pallet_balances.rs +++ b/runtime/rococo/src/weights/pallet_balances.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. @@ -46,43 +46,50 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(40_460_000 as u64) + // Minimum execution time: 40_106 nanoseconds. + Weight::from_ref_time(40_750_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(29_508_000 as u64) + // Minimum execution time: 30_737 nanoseconds. + Weight::from_ref_time(31_295_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(22_142_000 as u64) + // Minimum execution time: 23_902 nanoseconds. + Weight::from_ref_time(24_338_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(25_653_000 as u64) + // Minimum execution time: 26_492 nanoseconds. + Weight::from_ref_time(26_866_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - Weight::from_ref_time(39_913_000 as u64) + // Minimum execution time: 40_384 nanoseconds. + Weight::from_ref_time(41_000_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(34_497_000 as u64) + // Minimum execution time: 35_115 nanoseconds. + Weight::from_ref_time(35_696_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(19_749_000 as u64) + // Minimum execution time: 20_274 nanoseconds. + Weight::from_ref_time(20_885_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_bounties.rs b/runtime/rococo/src/weights/pallet_bounties.rs index b8d21b4291ab..d58fbd470a57 100644 --- a/runtime/rococo/src/weights/pallet_bounties.rs +++ b/runtime/rococo/src/weights/pallet_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_bounties.rs +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -50,43 +50,49 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: Bounties Bounties (r:0 w:1) /// The range of component `d` is `[0, 16384]`. fn propose_bounty(d: u32, ) -> Weight { - Weight::from_ref_time(26_654_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 29_250 nanoseconds. + Weight::from_ref_time(39_490_219 as u64) + // Standard Error: 63 + .saturating_add(Weight::from_ref_time(127 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: Bounties BountyApprovals (r:1 w:1) fn approve_bounty() -> Weight { - Weight::from_ref_time(9_776_000 as u64) + // Minimum execution time: 12_228 nanoseconds. + Weight::from_ref_time(12_490_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) fn propose_curator() -> Weight { - Weight::from_ref_time(8_350_000 as u64) + // Minimum execution time: 11_809 nanoseconds. + Weight::from_ref_time(12_202_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn unassign_curator() -> Weight { - Weight::from_ref_time(34_804_000 as u64) + // Minimum execution time: 40_307 nanoseconds. + Weight::from_ref_time(41_570_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: System Account (r:1 w:1) fn accept_curator() -> Weight { - Weight::from_ref_time(23_414_000 as u64) + // Minimum execution time: 28_140 nanoseconds. + Weight::from_ref_time(28_829_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:1) // Storage: ChildBounties ParentChildBounties (r:1 w:0) fn award_bounty() -> Weight { - Weight::from_ref_time(20_148_000 as u64) + // Minimum execution time: 24_585 nanoseconds. + Weight::from_ref_time(24_912_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -95,7 +101,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: ChildBounties ChildrenCuratorFees (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn claim_bounty() -> Weight { - Weight::from_ref_time(64_115_000 as u64) + // Minimum execution time: 67_397 nanoseconds. + Weight::from_ref_time(67_955_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -104,7 +111,8 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_proposed() -> Weight { - Weight::from_ref_time(39_628_000 as u64) + // Minimum execution time: 44_196 nanoseconds. + Weight::from_ref_time(44_904_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -113,24 +121,27 @@ impl pallet_bounties::WeightInfo for WeightInfo { // Storage: System Account (r:2 w:2) // Storage: Bounties BountyDescriptions (r:0 w:1) fn close_bounty_active() -> Weight { - Weight::from_ref_time(47_429_000 as u64) + // Minimum execution time: 52_882 nanoseconds. + Weight::from_ref_time(53_466_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Bounties Bounties (r:1 w:1) fn extend_bounty_expiry() -> Weight { - Weight::from_ref_time(17_322_000 as u64) + // Minimum execution time: 21_567 nanoseconds. + Weight::from_ref_time(21_852_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Bounties BountyApprovals (r:1 w:1) - // Storage: Bounties Bounties (r:1 w:1) - // Storage: System Account (r:2 w:2) - /// The range of component `b` is `[1, 100]`. + // Storage: Bounties Bounties (r:2 w:2) + // Storage: System Account (r:4 w:4) + /// The range of component `b` is `[0, 100]`. fn spend_funds(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 30_000 - .saturating_add(Weight::from_ref_time(30_775_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 7_400 nanoseconds. + Weight::from_ref_time(15_331_778 as u64) + // Standard Error: 18_361 + .saturating_add(Weight::from_ref_time(24_618_020 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(b as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) diff --git a/runtime/rococo/src/weights/pallet_child_bounties.rs b/runtime/rococo/src/weights/pallet_child_bounties.rs index dd6dc2b1fd2b..07bb34136d6b 100644 --- a/runtime/rococo/src/weights/pallet_child_bounties.rs +++ b/runtime/rococo/src/weights/pallet_child_bounties.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_child_bounties` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_child_bounties.rs +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -52,9 +52,10 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(48_890_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 51_894 nanoseconds. + Weight::from_ref_time(52_400_296 as u64) + // Standard Error: 9 + .saturating_add(Weight::from_ref_time(776 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -62,7 +63,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(14_114_000 as u64) + // Minimum execution time: 19_145 nanoseconds. + Weight::from_ref_time(19_689_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -70,7 +72,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(26_807_000 as u64) + // Minimum execution time: 33_904 nanoseconds. + Weight::from_ref_time(34_574_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -78,14 +81,16 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(39_640_000 as u64) + // Minimum execution time: 45_501 nanoseconds. + Weight::from_ref_time(46_140_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Bounties Bounties (r:1 w:0) // Storage: ChildBounties ChildBounties (r:1 w:1) fn award_child_bounty() -> Weight { - Weight::from_ref_time(21_445_000 as u64) + // Minimum execution time: 27_533 nanoseconds. + Weight::from_ref_time(27_896_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -94,7 +99,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(65_771_000 as u64) + // Minimum execution time: 66_026 nanoseconds. + Weight::from_ref_time(68_035_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -105,7 +111,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(46_230_000 as u64) + // Minimum execution time: 50_711 nanoseconds. + Weight::from_ref_time(51_291_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -116,7 +123,8 @@ impl pallet_child_bounties::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(56_148_000 as u64) + // Minimum execution time: 60_553 nanoseconds. + Weight::from_ref_time(61_323_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_collective_council.rs b/runtime/rococo/src/weights/pallet_collective_council.rs index f50dce94e01f..7b5860d6fbd0 100644 --- a/runtime/rococo/src/weights/pallet_collective_council.rs +++ b/runtime/rococo/src/weights/pallet_collective_council.rs @@ -1,4 +1,4 @@ -// Copyright 2017-2021 Parity Technologies (UK) Ltd. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -16,12 +16,14 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 128 +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: -// target/release/polkadot +// ./target/production/polkadot // benchmark +// pallet // --chain=rococo-dev // --steps=50 // --repeat=20 @@ -29,11 +31,9 @@ // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 // --header=./file_header.txt // --output=./runtime/rococo/src/weights/ - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -44,132 +44,184 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Instance1Collective Members (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:0) - // Storage: Instance1Collective Voting (r:100 w:100) - // Storage: Instance1Collective Prime (r:0 w:1) - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(14_448_000 as u64).saturating_mul(m as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(19_620_000 as u64).saturating_mul(p as u64)) + // Storage: Council Members (r:1 w:1) + // Storage: Council Proposals (r:1 w:0) + // Storage: Council Prime (r:0 w:1) + // Storage: Council Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + // Minimum execution time: 16_865 nanoseconds. + Weight::from_ref_time(17_262_000 as u64) + // Standard Error: 47_503 + .saturating_add(Weight::from_ref_time(5_429_751 as u64).saturating_mul(m as u64)) + // Standard Error: 47_503 + .saturating_add(Weight::from_ref_time(7_509_601 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } - // Storage: Instance1Collective Members (r:1 w:0) + // Storage: Council Members (r:1 w:0) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(22_536_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 20_387 nanoseconds. + Weight::from_ref_time(19_900_869 as u64) + // Standard Error: 22 + .saturating_add(Weight::from_ref_time(1_697 as u64).saturating_mul(b as u64)) + // Standard Error: 233 + .saturating_add(Weight::from_ref_time(14_085 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:0) + // Storage: Council Members (r:1 w:0) + // Storage: Council ProposalOf (r:1 w:0) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(27_600_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(161_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_560 nanoseconds. + Weight::from_ref_time(21_438_949 as u64) + // Standard Error: 32 + .saturating_add(Weight::from_ref_time(1_831 as u64).saturating_mul(b as u64)) + // Standard Error: 335 + .saturating_add(Weight::from_ref_time(24_328 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective ProposalCount (r:1 w:1) - // Storage: Instance1Collective Voting (r:0 w:1) + // Storage: Council Members (r:1 w:0) + // Storage: Council ProposalOf (r:1 w:1) + // Storage: Council Proposals (r:1 w:1) + // Storage: Council ProposalCount (r:1 w:1) + // Storage: Council Voting (r:0 w:1) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(42_192_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(361_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 27_735 nanoseconds. + Weight::from_ref_time(28_160_737 as u64) + // Standard Error: 68 + .saturating_add(Weight::from_ref_time(3_381 as u64).saturating_mul(b as u64)) + // Standard Error: 715 + .saturating_add(Weight::from_ref_time(22_793 as u64).saturating_mul(m as u64)) + // Standard Error: 706 + .saturating_add(Weight::from_ref_time(106_054 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Voting (r:1 w:1) + // Storage: Council Members (r:1 w:0) + // Storage: Council Voting (r:1 w:1) + /// The range of component `m` is `[5, 100]`. + /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(32_307_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 27_532 nanoseconds. + Weight::from_ref_time(28_330_462 as u64) + // Standard Error: 249 + .saturating_add(Weight::from_ref_time(35_761 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective ProposalOf (r:0 w:1) + // Storage: Council Voting (r:1 w:1) + // Storage: Council Members (r:1 w:0) + // Storage: Council Proposals (r:1 w:1) + // Storage: Council ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(41_436_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(333_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 30_396 nanoseconds. + Weight::from_ref_time(32_911_535 as u64) + // Standard Error: 631 + .saturating_add(Weight::from_ref_time(23_197 as u64).saturating_mul(m as u64)) + // Standard Error: 615 + .saturating_add(Weight::from_ref_time(80_663 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Council Voting (r:1 w:1) + // Storage: Council Members (r:1 w:0) + // Storage: Council ProposalOf (r:1 w:1) + // Storage: Council Proposals (r:1 w:1) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(57_836_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 40_839 nanoseconds. + Weight::from_ref_time(41_249_633 as u64) + // Standard Error: 59 + .saturating_add(Weight::from_ref_time(1_719 as u64).saturating_mul(b as u64)) + // Standard Error: 634 + .saturating_add(Weight::from_ref_time(26_287 as u64).saturating_mul(m as u64)) + // Standard Error: 618 + .saturating_add(Weight::from_ref_time(98_027 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Prime (r:1 w:0) - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective ProposalOf (r:0 w:1) + // Storage: Council Voting (r:1 w:1) + // Storage: Council Members (r:1 w:0) + // Storage: Council Prime (r:1 w:0) + // Storage: Council Proposals (r:1 w:1) + // Storage: Council ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(45_551_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(338_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 33_692 nanoseconds. + Weight::from_ref_time(35_151_605 as u64) + // Standard Error: 473 + .saturating_add(Weight::from_ref_time(24_847 as u64).saturating_mul(m as u64)) + // Standard Error: 461 + .saturating_add(Weight::from_ref_time(81_291 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance1Collective Voting (r:1 w:1) - // Storage: Instance1Collective Members (r:1 w:0) - // Storage: Instance1Collective Prime (r:1 w:0) - // Storage: Instance1Collective ProposalOf (r:1 w:1) - // Storage: Instance1Collective Proposals (r:1 w:1) + // Storage: Council Voting (r:1 w:1) + // Storage: Council Members (r:1 w:0) + // Storage: Council Prime (r:1 w:0) + // Storage: Council ProposalOf (r:1 w:1) + // Storage: Council Proposals (r:1 w:1) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(61_497_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(343_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 42_657 nanoseconds. + Weight::from_ref_time(43_659_226 as u64) + // Standard Error: 63 + .saturating_add(Weight::from_ref_time(1_573 as u64).saturating_mul(b as u64)) + // Standard Error: 667 + .saturating_add(Weight::from_ref_time(25_528 as u64).saturating_mul(m as u64)) + // Standard Error: 651 + .saturating_add(Weight::from_ref_time(98_052 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance1Collective Proposals (r:1 w:1) - // Storage: Instance1Collective Voting (r:0 w:1) - // Storage: Instance1Collective ProposalOf (r:0 w:1) + // Storage: Council Proposals (r:1 w:1) + // Storage: Council Voting (r:0 w:1) + // Storage: Council ProposalOf (r:0 w:1) + /// The range of component `p` is `[1, 100]`. + /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(25_573_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 19_240 nanoseconds. + Weight::from_ref_time(22_570_186 as u64) + // Standard Error: 753 + .saturating_add(Weight::from_ref_time(89_467 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_collective_technical_committee.rs b/runtime/rococo/src/weights/pallet_collective_technical_committee.rs index acdced982d94..58cc7d2403e6 100644 --- a/runtime/rococo/src/weights/pallet_collective_technical_committee.rs +++ b/runtime/rococo/src/weights/pallet_collective_technical_committee.rs @@ -1,4 +1,4 @@ -// Copyright 2017-2021 Parity Technologies (UK) Ltd. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. // This file is part of Polkadot. // Polkadot is free software: you can redistribute it and/or modify @@ -16,12 +16,14 @@ //! Autogenerated weights for `pallet_collective` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2021-08-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 128 +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: -// target/release/polkadot +// ./target/production/polkadot // benchmark +// pallet // --chain=rococo-dev // --steps=50 // --repeat=20 @@ -29,11 +31,9 @@ // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 // --header=./file_header.txt // --output=./runtime/rococo/src/weights/ - #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] #![allow(unused_imports)] @@ -44,132 +44,184 @@ use sp_std::marker::PhantomData; /// Weight functions for `pallet_collective`. pub struct WeightInfo(PhantomData); impl pallet_collective::WeightInfo for WeightInfo { - // Storage: Instance2Collective Members (r:1 w:1) - // Storage: Instance2Collective Proposals (r:1 w:0) - // Storage: Instance2Collective Voting (r:100 w:100) - // Storage: Instance2Collective Prime (r:0 w:1) - fn set_members(m: u32, n: u32, p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(14_473_000 as u64).saturating_mul(m as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(73_000 as u64).saturating_mul(n as u64)) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(19_551_000 as u64).saturating_mul(p as u64)) + // Storage: TechnicalCommittee Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:100 w:100) + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + /// The range of component `m` is `[0, 100]`. + /// The range of component `n` is `[0, 100]`. + /// The range of component `p` is `[0, 100]`. + fn set_members(m: u32, _n: u32, p: u32, ) -> Weight { + // Minimum execution time: 17_568 nanoseconds. + Weight::from_ref_time(17_872_000 as u64) + // Standard Error: 46_117 + .saturating_add(Weight::from_ref_time(5_267_225 as u64).saturating_mul(m as u64)) + // Standard Error: 46_117 + .saturating_add(Weight::from_ref_time(7_440_577 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } - // Storage: Instance2Collective Members (r:1 w:0) + // Storage: TechnicalCommittee Members (r:1 w:0) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. fn execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(22_690_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 20_712 nanoseconds. + Weight::from_ref_time(20_051_871 as u64) + // Standard Error: 20 + .saturating_add(Weight::from_ref_time(1_652 as u64).saturating_mul(b as u64)) + // Standard Error: 212 + .saturating_add(Weight::from_ref_time(14_513 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } - // Storage: Instance2Collective Members (r:1 w:0) - // Storage: Instance2Collective ProposalOf (r:1 w:0) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:0) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[1, 100]`. fn propose_execute(b: u32, m: u32, ) -> Weight { - Weight::from_ref_time(27_473_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_790 nanoseconds. + Weight::from_ref_time(21_621_729 as u64) + // Standard Error: 28 + .saturating_add(Weight::from_ref_time(1_891 as u64).saturating_mul(b as u64)) + // Standard Error: 294 + .saturating_add(Weight::from_ref_time(22_852 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) } - // Storage: Instance2Collective Members (r:1 w:0) - // Storage: Instance2Collective ProposalOf (r:1 w:1) - // Storage: Instance2Collective Proposals (r:1 w:1) - // Storage: Instance2Collective ProposalCount (r:1 w:1) - // Storage: Instance2Collective Voting (r:0 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalCount (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[2, 100]`. + /// The range of component `p` is `[1, 100]`. fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(42_047_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(360_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_778 nanoseconds. + Weight::from_ref_time(29_237_413 as u64) + // Standard Error: 67 + .saturating_add(Weight::from_ref_time(3_589 as u64).saturating_mul(b as u64)) + // Standard Error: 703 + .saturating_add(Weight::from_ref_time(19_563 as u64).saturating_mul(m as u64)) + // Standard Error: 694 + .saturating_add(Weight::from_ref_time(112_770 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } - // Storage: Instance2Collective Members (r:1 w:0) - // Storage: Instance2Collective Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Voting (r:1 w:1) + /// The range of component `m` is `[5, 100]`. + /// The range of component `m` is `[5, 100]`. fn vote(m: u32, ) -> Weight { - Weight::from_ref_time(32_023_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 29_080 nanoseconds. + Weight::from_ref_time(29_820_804 as u64) + // Standard Error: 360 + .saturating_add(Weight::from_ref_time(38_547 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Instance2Collective Voting (r:1 w:1) - // Storage: Instance2Collective Members (r:1 w:0) - // Storage: Instance2Collective Proposals (r:1 w:1) - // Storage: Instance2Collective ProposalOf (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_early_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(41_107_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(171_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(332_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 31_795 nanoseconds. + Weight::from_ref_time(33_507_633 as u64) + // Standard Error: 577 + .saturating_add(Weight::from_ref_time(23_944 as u64).saturating_mul(m as u64)) + // Standard Error: 563 + .saturating_add(Weight::from_ref_time(80_035 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance2Collective Voting (r:1 w:1) - // Storage: Instance2Collective Members (r:1 w:0) - // Storage: Instance2Collective ProposalOf (r:1 w:1) - // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(57_783_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(167_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 41_185 nanoseconds. + Weight::from_ref_time(41_632_745 as u64) + // Standard Error: 58 + .saturating_add(Weight::from_ref_time(1_828 as u64).saturating_mul(b as u64)) + // Standard Error: 619 + .saturating_add(Weight::from_ref_time(27_285 as u64).saturating_mul(m as u64)) + // Standard Error: 604 + .saturating_add(Weight::from_ref_time(98_702 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance2Collective Voting (r:1 w:1) - // Storage: Instance2Collective Members (r:1 w:0) - // Storage: Instance2Collective Prime (r:1 w:0) - // Storage: Instance2Collective Proposals (r:1 w:1) - // Storage: Instance2Collective ProposalOf (r:0 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_disapproved(m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(45_646_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(170_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(335_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 34_275 nanoseconds. + Weight::from_ref_time(35_453_782 as u64) + // Standard Error: 514 + .saturating_add(Weight::from_ref_time(27_212 as u64).saturating_mul(m as u64)) + // Standard Error: 501 + .saturating_add(Weight::from_ref_time(82_393 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance2Collective Voting (r:1 w:1) - // Storage: Instance2Collective Members (r:1 w:0) - // Storage: Instance2Collective Prime (r:1 w:0) - // Storage: Instance2Collective ProposalOf (r:1 w:1) - // Storage: Instance2Collective Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:1 w:1) + // Storage: TechnicalCommittee Members (r:1 w:0) + // Storage: TechnicalCommittee Prime (r:1 w:0) + // Storage: TechnicalCommittee ProposalOf (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. + /// The range of component `b` is `[1, 1024]`. + /// The range of component `m` is `[4, 100]`. + /// The range of component `p` is `[1, 100]`. fn close_approved(b: u32, m: u32, p: u32, ) -> Weight { - Weight::from_ref_time(61_376_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(m as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(339_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 43_080 nanoseconds. + Weight::from_ref_time(43_948_612 as u64) + // Standard Error: 62 + .saturating_add(Weight::from_ref_time(1_753 as u64).saturating_mul(b as u64)) + // Standard Error: 661 + .saturating_add(Weight::from_ref_time(27_314 as u64).saturating_mul(m as u64)) + // Standard Error: 644 + .saturating_add(Weight::from_ref_time(99_583 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Instance2Collective Proposals (r:1 w:1) - // Storage: Instance2Collective Voting (r:0 w:1) - // Storage: Instance2Collective ProposalOf (r:0 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:1) + // Storage: TechnicalCommittee Voting (r:0 w:1) + // Storage: TechnicalCommittee ProposalOf (r:0 w:1) + /// The range of component `p` is `[1, 100]`. + /// The range of component `p` is `[1, 100]`. fn disapprove_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(25_286_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(336_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 19_363 nanoseconds. + Weight::from_ref_time(22_781_553 as u64) + // Standard Error: 763 + .saturating_add(Weight::from_ref_time(92_537 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_democracy.rs b/runtime/rococo/src/weights/pallet_democracy.rs index 453385b594e7..6af048b15824 100644 --- a/runtime/rococo/src/weights/pallet_democracy.rs +++ b/runtime/rococo/src/weights/pallet_democracy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_democracy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,13 +49,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy Blacklist (r:1 w:0) // Storage: Democracy DepositOf (r:0 w:1) fn propose() -> Weight { - Weight::from_ref_time(41_783_000 as u64) + // Minimum execution time: 41_715 nanoseconds. + Weight::from_ref_time(42_171_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy DepositOf (r:1 w:1) fn second() -> Weight { - Weight::from_ref_time(38_362_000 as u64) + // Minimum execution time: 38_899 nanoseconds. + Weight::from_ref_time(39_822_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -63,7 +65,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_new() -> Weight { - Weight::from_ref_time(48_307_000 as u64) + // Minimum execution time: 50_150 nanoseconds. + Weight::from_ref_time(50_792_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -71,14 +74,16 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn vote_existing() -> Weight { - Weight::from_ref_time(48_500_000 as u64) + // Minimum execution time: 50_121 nanoseconds. + Weight::from_ref_time(50_881_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Cancellations (r:1 w:1) fn emergency_cancel() -> Weight { - Weight::from_ref_time(20_294_000 as u64) + // Minimum execution time: 21_124 nanoseconds. + Weight::from_ref_time(21_631_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -89,39 +94,45 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:1 w:1) // Storage: Democracy Blacklist (r:0 w:1) fn blacklist() -> Weight { - Weight::from_ref_time(75_191_000 as u64) + // Minimum execution time: 75_761 nanoseconds. + Weight::from_ref_time(76_872_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:0) fn external_propose() -> Weight { - Weight::from_ref_time(16_369_000 as u64) + // Minimum execution time: 17_213 nanoseconds. + Weight::from_ref_time(17_695_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_majority() -> Weight { - Weight::from_ref_time(4_767_000 as u64) + // Minimum execution time: 4_818 nanoseconds. + Weight::from_ref_time(5_020_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:0 w:1) fn external_propose_default() -> Weight { - Weight::from_ref_time(4_866_000 as u64) + // Minimum execution time: 4_924 nanoseconds. + Weight::from_ref_time(5_123_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy ReferendumCount (r:1 w:1) // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn fast_track() -> Weight { - Weight::from_ref_time(19_986_000 as u64) + // Minimum execution time: 20_512 nanoseconds. + Weight::from_ref_time(21_249_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy NextExternal (r:1 w:1) // Storage: Democracy Blacklist (r:1 w:1) fn veto_external() -> Weight { - Weight::from_ref_time(25_291_000 as u64) + // Minimum execution time: 26_321 nanoseconds. + Weight::from_ref_time(26_795_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -129,13 +140,15 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy DepositOf (r:1 w:1) // Storage: System Account (r:1 w:1) fn cancel_proposal() -> Weight { - Weight::from_ref_time(63_703_000 as u64) + // Minimum execution time: 64_453 nanoseconds. + Weight::from_ref_time(65_189_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Democracy ReferendumInfoOf (r:0 w:1) fn cancel_referendum() -> Weight { - Weight::from_ref_time(13_235_000 as u64) + // Minimum execution time: 13_447 nanoseconds. + Weight::from_ref_time(14_027_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy LowestUnbaked (r:1 w:1) @@ -143,9 +156,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:0) /// The range of component `r` is `[0, 99]`. fn on_initialize_base(r: u32, ) -> Weight { - Weight::from_ref_time(5_980_000 as u64) - // Standard Error: 2_131 - .saturating_add(Weight::from_ref_time(2_104_197 as u64).saturating_mul(r as u64)) + // Minimum execution time: 6_181 nanoseconds. + Weight::from_ref_time(9_536_223 as u64) + // Standard Error: 5_062 + .saturating_add(Weight::from_ref_time(2_030_538 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -158,9 +172,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:0) /// The range of component `r` is `[0, 99]`. fn on_initialize_base_with_launch_period(r: u32, ) -> Weight { - Weight::from_ref_time(8_351_000 as u64) - // Standard Error: 2_308 - .saturating_add(Weight::from_ref_time(2_117_411 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_512 nanoseconds. + Weight::from_ref_time(11_614_712 as u64) + // Standard Error: 3_782 + .saturating_add(Weight::from_ref_time(2_035_162 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -170,9 +185,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:2) /// The range of component `r` is `[0, 99]`. fn delegate(r: u32, ) -> Weight { - Weight::from_ref_time(40_303_000 as u64) - // Standard Error: 3_789 - .saturating_add(Weight::from_ref_time(3_031_594 as u64).saturating_mul(r as u64)) + // Minimum execution time: 41_739 nanoseconds. + Weight::from_ref_time(48_459_085 as u64) + // Standard Error: 5_092 + .saturating_add(Weight::from_ref_time(2_923_424 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -182,9 +198,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy ReferendumInfoOf (r:2 w:2) /// The range of component `r` is `[0, 99]`. fn undelegate(r: u32, ) -> Weight { - Weight::from_ref_time(24_342_000 as u64) - // Standard Error: 2_624 - .saturating_add(Weight::from_ref_time(2_962_125 as u64).saturating_mul(r as u64)) + // Minimum execution time: 25_176 nanoseconds. + Weight::from_ref_time(28_498_205 as u64) + // Standard Error: 4_594 + .saturating_add(Weight::from_ref_time(2_897_543 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -192,7 +209,8 @@ impl pallet_democracy::WeightInfo for WeightInfo { } // Storage: Democracy PublicProps (r:0 w:1) fn clear_public_proposals() -> Weight { - Weight::from_ref_time(5_811_000 as u64) + // Minimum execution time: 5_512 nanoseconds. + Weight::from_ref_time(5_670_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Democracy VotingOf (r:1 w:1) @@ -200,9 +218,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[0, 99]`. fn unlock_remove(r: u32, ) -> Weight { - Weight::from_ref_time(22_894_000 as u64) - // Standard Error: 2_967 - .saturating_add(Weight::from_ref_time(142_001 as u64).saturating_mul(r as u64)) + // Minimum execution time: 24_374 nanoseconds. + Weight::from_ref_time(31_924_026 as u64) + // Standard Error: 2_290 + .saturating_add(Weight::from_ref_time(31_545 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -211,9 +230,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `r` is `[0, 99]`. fn unlock_set(r: u32, ) -> Weight { - Weight::from_ref_time(28_227_000 as u64) - // Standard Error: 673 - .saturating_add(Weight::from_ref_time(87_748 as u64).saturating_mul(r as u64)) + // Minimum execution time: 29_650 nanoseconds. + Weight::from_ref_time(31_448_868 as u64) + // Standard Error: 695 + .saturating_add(Weight::from_ref_time(69_392 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -221,9 +241,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 100]`. fn remove_vote(r: u32, ) -> Weight { - Weight::from_ref_time(15_578_000 as u64) - // Standard Error: 1_035 - .saturating_add(Weight::from_ref_time(105_378 as u64).saturating_mul(r as u64)) + // Minimum execution time: 16_232 nanoseconds. + Weight::from_ref_time(18_964_852 as u64) + // Standard Error: 896 + .saturating_add(Weight::from_ref_time(67_310 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -231,9 +252,10 @@ impl pallet_democracy::WeightInfo for WeightInfo { // Storage: Democracy VotingOf (r:1 w:1) /// The range of component `r` is `[1, 100]`. fn remove_other_vote(r: u32, ) -> Weight { - Weight::from_ref_time(15_542_000 as u64) - // Standard Error: 1_104 - .saturating_add(Weight::from_ref_time(109_552 as u64).saturating_mul(r as u64)) + // Minimum execution time: 15_817 nanoseconds. + Weight::from_ref_time(18_350_237 as u64) + // Standard Error: 936 + .saturating_add(Weight::from_ref_time(76_501 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_elections_phragmen.rs b/runtime/rococo/src/weights/pallet_elections_phragmen.rs index c4c015fe4412..888489e52990 100644 --- a/runtime/rococo/src/weights/pallet_elections_phragmen.rs +++ b/runtime/rococo/src/weights/pallet_elections_phragmen.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_elections_phragmen` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_elections_phragmen.rs +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -51,9 +51,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[1, 16]`. fn vote_equal(v: u32, ) -> Weight { - Weight::from_ref_time(24_107_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 31_116 nanoseconds. + Weight::from_ref_time(33_939_670 as u64) + // Standard Error: 19_880 + .saturating_add(Weight::from_ref_time(42_818 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -64,9 +65,10 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_more(v: u32, ) -> Weight { - Weight::from_ref_time(36_869_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(165_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 40_786 nanoseconds. + Weight::from_ref_time(42_128_805 as u64) + // Standard Error: 5_101 + .saturating_add(Weight::from_ref_time(160_966 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -77,16 +79,18 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:1 w:1) /// The range of component `v` is `[2, 16]`. fn vote_less(v: u32, ) -> Weight { - Weight::from_ref_time(36_445_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(199_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 40_445 nanoseconds. + Weight::from_ref_time(42_057_705 as u64) + // Standard Error: 5_093 + .saturating_add(Weight::from_ref_time(160_580 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: PhragmenElection Voting (r:1 w:1) // Storage: Balances Locks (r:1 w:1) fn remove_voter() -> Weight { - Weight::from_ref_time(33_035_000 as u64) + // Minimum execution time: 39_806 nanoseconds. + Weight::from_ref_time(40_625_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -95,18 +99,20 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: PhragmenElection RunnersUp (r:1 w:0) /// The range of component `c` is `[1, 1000]`. fn submit_candidacy(c: u32, ) -> Weight { - Weight::from_ref_time(25_946_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(101_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 36_211 nanoseconds. + Weight::from_ref_time(27_335_577 as u64) + // Standard Error: 999 + .saturating_add(Weight::from_ref_time(91_839 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: PhragmenElection Candidates (r:1 w:1) /// The range of component `c` is `[1, 1000]`. fn renounce_candidacy_candidate(c: u32, ) -> Weight { - Weight::from_ref_time(22_945_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 31_700 nanoseconds. + Weight::from_ref_time(22_985_655 as u64) + // Standard Error: 1_045 + .saturating_add(Weight::from_ref_time(72_257 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -116,18 +122,21 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn renounce_candidacy_members() -> Weight { - Weight::from_ref_time(41_502_000 as u64) + // Minimum execution time: 44_808 nanoseconds. + Weight::from_ref_time(45_734_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: PhragmenElection RunnersUp (r:1 w:1) fn renounce_candidacy_runners_up() -> Weight { - Weight::from_ref_time(30_791_000 as u64) + // Minimum execution time: 34_375 nanoseconds. + Weight::from_ref_time(34_942_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Benchmark Override (r:0 w:0) fn remove_member_without_replacement() -> Weight { + // Minimum execution time: 2_000_000_000 nanoseconds. Weight::from_ref_time(2_000_000_000_000 as u64) } // Storage: PhragmenElection Members (r:1 w:1) @@ -137,7 +146,8 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Council Proposals (r:1 w:0) // Storage: Council Members (r:0 w:1) fn remove_member_with_replacement() -> Weight { - Weight::from_ref_time(57_184_000 as u64) + // Minimum execution time: 58_977 nanoseconds. + Weight::from_ref_time(59_738_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -148,11 +158,12 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn // Storage: Balances Locks (r:5000 w:5000) // Storage: System Account (r:5000 w:5000) /// The range of component `v` is `[5000, 10000]`. - /// The range of component `d` is `[1, 5000]`. + /// The range of component `d` is `[0, 5000]`. fn clean_defunct_voters(v: u32, _d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 85_000 - .saturating_add(Weight::from_ref_time(61_507_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 278_968_823 nanoseconds. + Weight::from_ref_time(279_635_200_000 as u64) + // Standard Error: 242_951 + .saturating_add(Weight::from_ref_time(34_711_662 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) @@ -170,14 +181,16 @@ impl pallet_elections_phragmen::WeightInfo for WeightIn /// The range of component `v` is `[1, 10000]`. /// The range of component `e` is `[10000, 160000]`. fn election_phragmen(c: u32, v: u32, e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_864_000 - .saturating_add(Weight::from_ref_time(167_385_000 as u64).saturating_mul(v as u64)) - // Standard Error: 124_000 - .saturating_add(Weight::from_ref_time(9_721_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 28_205_490 nanoseconds. + Weight::from_ref_time(28_372_658_000 as u64) + // Standard Error: 537_591 + .saturating_add(Weight::from_ref_time(45_407_497 as u64).saturating_mul(v as u64)) + // Standard Error: 34_499 + .saturating_add(Weight::from_ref_time(2_313_355 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(265 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) + .saturating_add(T::DbWeight::get().writes(6 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } } diff --git a/runtime/rococo/src/weights/pallet_identity.rs b/runtime/rococo/src/weights/pallet_identity.rs index 57c18f391f4b..56a6b55557fa 100644 --- a/runtime/rococo/src/weights/pallet_identity.rs +++ b/runtime/rococo/src/weights/pallet_identity.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_identity.rs +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -47,32 +47,35 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - Weight::from_ref_time(16_146_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(164_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 16_590 nanoseconds. + Weight::from_ref_time(18_060_891 as u64) + // Standard Error: 2_851 + .saturating_add(Weight::from_ref_time(157_547 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(28_556_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(208_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(371_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 35_897 nanoseconds. + Weight::from_ref_time(35_818_211 as u64) + // Standard Error: 4_816 + .saturating_add(Weight::from_ref_time(55_596 as u64).saturating_mul(r as u64)) + // Standard Error: 939 + .saturating_add(Weight::from_ref_time(309_363 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:1 w:1) - /// The range of component `s` is `[1, 100]`. + // Storage: Identity SuperOf (r:2 w:2) + /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { - Weight::from_ref_time(25_214_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(3_032_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 10_669 nanoseconds. + Weight::from_ref_time(28_317_272 as u64) + // Standard Error: 4_823 + .saturating_add(Weight::from_ref_time(2_161_761 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -80,12 +83,13 @@ impl pallet_identity::WeightInfo for WeightInfo { } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:1) - /// The range of component `p` is `[1, 100]`. + // Storage: Identity SuperOf (r:0 w:2) + /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { - Weight::from_ref_time(26_402_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(916_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 10_805 nanoseconds. + Weight::from_ref_time(29_056_548 as u64) + // Standard Error: 4_259 + .saturating_add(Weight::from_ref_time(918_046 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) @@ -94,16 +98,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// 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 { - Weight::from_ref_time(32_822_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(74_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(909_000 as u64).saturating_mul(s as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(166_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 50_654 nanoseconds. + Weight::from_ref_time(36_563_794 as u64) + // Standard Error: 4_362 + .saturating_add(Weight::from_ref_time(74_110 as u64).saturating_mul(r as u64)) + // Standard Error: 851 + .saturating_add(Weight::from_ref_time(893_418 as u64).saturating_mul(s as u64)) + // Standard Error: 851 + .saturating_add(Weight::from_ref_time(161_174 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -111,65 +116,71 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(30_696_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(163_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(377_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 38_053 nanoseconds. + Weight::from_ref_time(37_522_807 as u64) + // Standard Error: 5_887 + .saturating_add(Weight::from_ref_time(117_945 as u64).saturating_mul(r as u64)) + // Standard Error: 1_148 + .saturating_add(Weight::from_ref_time(313_445 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(28_144_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(144_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(363_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 33_692 nanoseconds. + Weight::from_ref_time(33_105_581 as u64) + // Standard Error: 3_917 + .saturating_add(Weight::from_ref_time(85_654 as u64).saturating_mul(r as u64)) + // Standard Error: 764 + .saturating_add(Weight::from_ref_time(332_127 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - Weight::from_ref_time(7_135_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(135_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 8_839 nanoseconds. + Weight::from_ref_time(10_041_842 as u64) + // Standard Error: 2_450 + .saturating_add(Weight::from_ref_time(114_312 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - Weight::from_ref_time(6_861_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(140_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 9_063 nanoseconds. + Weight::from_ref_time(10_186_840 as u64) + // Standard Error: 2_347 + .saturating_add(Weight::from_ref_time(121_263 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - Weight::from_ref_time(7_143_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(133_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 9_287 nanoseconds. + Weight::from_ref_time(10_084_760 as u64) + // Standard Error: 1_943 + .saturating_add(Weight::from_ref_time(122_485 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(21_902_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(378_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 27_944 nanoseconds. + Weight::from_ref_time(27_020_698 as u64) + // Standard Error: 5_224 + .saturating_add(Weight::from_ref_time(120_916 as u64).saturating_mul(r as u64)) + // Standard Error: 966 + .saturating_add(Weight::from_ref_time(553_078 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,12 +189,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. - fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight { - Weight::from_ref_time(48_712_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(903_000 as u64).saturating_mul(s as u64)) + /// 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: 62_082 nanoseconds. + Weight::from_ref_time(48_030_628 as u64) + // Standard Error: 4_810 + .saturating_add(Weight::from_ref_time(81_688 as u64).saturating_mul(r as u64)) + // Standard Error: 939 + .saturating_add(Weight::from_ref_time(904_592 as u64).saturating_mul(s as u64)) + // Standard Error: 939 + .saturating_add(Weight::from_ref_time(155_277 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -191,11 +207,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { - Weight::from_ref_time(33_860_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 32_527 nanoseconds. + Weight::from_ref_time(38_498_962 as u64) + // Standard Error: 1_698 + .saturating_add(Weight::from_ref_time(67_955 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -203,9 +220,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - Weight::from_ref_time(12_063_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 14_044 nanoseconds. + Weight::from_ref_time(16_801_998 as u64) + // Standard Error: 863 + .saturating_add(Weight::from_ref_time(27_046 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -214,19 +232,21 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - Weight::from_ref_time(34_418_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 35_695 nanoseconds. + Weight::from_ref_time(39_736_997 as u64) + // Standard Error: 1_366 + .saturating_add(Weight::from_ref_time(65_000 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { - Weight::from_ref_time(24_186_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 26_079 nanoseconds. + Weight::from_ref_time(29_300_941 as u64) + // Standard Error: 1_147 + .saturating_add(Weight::from_ref_time(67_486 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_im_online.rs b/runtime/rococo/src/weights/pallet_im_online.rs index 7c4a52f28835..5893eab66f3f 100644 --- a/runtime/rococo/src/weights/pallet_im_online.rs +++ b/runtime/rococo/src/weights/pallet_im_online.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_im_online`. @@ -53,11 +53,12 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - Weight::from_ref_time(76_995_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(k as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(299_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 97_201 nanoseconds. + Weight::from_ref_time(77_884_363 as u64) + // Standard Error: 218 + .saturating_add(Weight::from_ref_time(23_192 as u64).saturating_mul(k as u64)) + // Standard Error: 2_200 + .saturating_add(Weight::from_ref_time(305_426 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_indices.rs b/runtime/rococo/src/weights/pallet_indices.rs index 18ccdaef5a97..941844189792 100644 --- a/runtime/rococo/src/weights/pallet_indices.rs +++ b/runtime/rococo/src/weights/pallet_indices.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_indices`. @@ -46,33 +46,38 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(24_885_000 as u64) + // Minimum execution time: 26_092 nanoseconds. + Weight::from_ref_time(26_602_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(31_127_000 as u64) + // Minimum execution time: 33_052 nanoseconds. + Weight::from_ref_time(33_482_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - Weight::from_ref_time(26_683_000 as u64) + // Minimum execution time: 27_445 nanoseconds. + Weight::from_ref_time(27_664_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - Weight::from_ref_time(26_689_000 as u64) + // Minimum execution time: 27_087 nanoseconds. + Weight::from_ref_time(27_630_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - Weight::from_ref_time(31_554_000 as u64) + // Minimum execution time: 32_690 nanoseconds. + Weight::from_ref_time(33_186_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_membership.rs b/runtime/rococo/src/weights/pallet_membership.rs index 9e2966caa9ba..5f11f882b063 100644 --- a/runtime/rococo/src/weights/pallet_membership.rs +++ b/runtime/rococo/src/weights/pallet_membership.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_membership` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,94 +38,101 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_membership`. pub struct WeightInfo(PhantomData); impl pallet_membership::WeightInfo for WeightInfo { - // Storage: Membership Members (r:1 w:1) - // Storage: Collective Proposals (r:1 w:0) - // Storage: Collective Members (r:0 w:1) - // Storage: Collective Prime (r:0 w:1) + // Storage: TechnicalMembership Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalCommittee Members (r:0 w:1) + // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 99]`. fn add_member(m: u32, ) -> Weight { - Weight::from_ref_time(19_637_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(32_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 20_803 nanoseconds. + Weight::from_ref_time(27_137_568 as u64) + // Standard Error: 5_594 + .saturating_add(Weight::from_ref_time(769 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Membership Members (r:1 w:1) - // Storage: Collective Proposals (r:1 w:0) - // Storage: Membership Prime (r:1 w:0) - // Storage: Collective Members (r:0 w:1) - // Storage: Collective Prime (r:0 w:1) + // Storage: TechnicalMembership Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalMembership Prime (r:1 w:0) + // Storage: TechnicalCommittee Members (r:0 w:1) + // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn remove_member(m: u32, ) -> Weight { - Weight::from_ref_time(21_565_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(31_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_937 nanoseconds. + Weight::from_ref_time(23_629_924 as u64) + // Standard Error: 546 + .saturating_add(Weight::from_ref_time(37_220 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Membership Members (r:1 w:1) - // Storage: Collective Proposals (r:1 w:0) - // Storage: Membership Prime (r:1 w:0) - // Storage: Collective Members (r:0 w:1) - // Storage: Collective Prime (r:0 w:1) + // Storage: TechnicalMembership Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalMembership Prime (r:1 w:0) + // Storage: TechnicalCommittee Members (r:0 w:1) + // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[2, 100]`. fn swap_member(m: u32, ) -> Weight { - Weight::from_ref_time(21_637_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 23_276 nanoseconds. + Weight::from_ref_time(23_973_749 as u64) + // Standard Error: 529 + .saturating_add(Weight::from_ref_time(43_532 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Membership Members (r:1 w:1) - // Storage: Collective Proposals (r:1 w:0) - // Storage: Membership Prime (r:1 w:0) - // Storage: Collective Members (r:0 w:1) - // Storage: Collective Prime (r:0 w:1) + // Storage: TechnicalMembership Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalMembership Prime (r:1 w:0) + // Storage: TechnicalCommittee Members (r:0 w:1) + // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn reset_member(m: u32, ) -> Weight { - Weight::from_ref_time(21_551_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 21_924 nanoseconds. + Weight::from_ref_time(23_794_804 as u64) + // Standard Error: 847 + .saturating_add(Weight::from_ref_time(148_943 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } - // Storage: Membership Members (r:1 w:1) - // Storage: Collective Proposals (r:1 w:0) - // Storage: Membership Prime (r:1 w:1) - // Storage: Collective Members (r:0 w:1) - // Storage: Collective Prime (r:0 w:1) + // Storage: TechnicalMembership Members (r:1 w:1) + // Storage: TechnicalCommittee Proposals (r:1 w:0) + // Storage: TechnicalMembership Prime (r:1 w:1) + // Storage: TechnicalCommittee Members (r:0 w:1) + // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn change_key(m: u32, ) -> Weight { - Weight::from_ref_time(22_510_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 22_826 nanoseconds. + Weight::from_ref_time(24_372_204 as u64) + // Standard Error: 604 + .saturating_add(Weight::from_ref_time(44_003 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } - // Storage: Membership Members (r:1 w:0) - // Storage: Membership Prime (r:0 w:1) - // Storage: Collective Prime (r:0 w:1) + // Storage: TechnicalMembership Members (r:1 w:0) + // Storage: TechnicalMembership Prime (r:0 w:1) + // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn set_prime(m: u32, ) -> Weight { - Weight::from_ref_time(8_828_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 8_708 nanoseconds. + Weight::from_ref_time(9_108_942 as u64) + // Standard Error: 195 + .saturating_add(Weight::from_ref_time(10_532 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } - // Storage: Membership Prime (r:0 w:1) - // Storage: Collective Prime (r:0 w:1) + // Storage: TechnicalMembership Prime (r:0 w:1) + // Storage: TechnicalCommittee Prime (r:0 w:1) /// The range of component `m` is `[1, 100]`. fn clear_prime(m: u32, ) -> Weight { - Weight::from_ref_time(5_084_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(m as u64)) + // Minimum execution time: 5_226 nanoseconds. + Weight::from_ref_time(5_596_646 as u64) + // Standard Error: 122 + .saturating_add(Weight::from_ref_time(249 as u64).saturating_mul(m as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } } diff --git a/runtime/rococo/src/weights/pallet_multisig.rs b/runtime/rococo/src/weights/pallet_multisig.rs index 300e4704ef8d..a0a9ad560d39 100644 --- a/runtime/rococo/src/weights/pallet_multisig.rs +++ b/runtime/rococo/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -28,11 +28,11 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic= +// --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=runtime/rococo/src/weights/ +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,22 +46,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: 14_582 nanoseconds. - Weight::from_ref_time(15_014_888 as u64) - // Standard Error: 2 - .saturating_add(Weight::from_ref_time(490 as u64).saturating_mul(z as u64)) + // Minimum execution time: 15_384 nanoseconds. + Weight::from_ref_time(15_683_204 as u64) + // Standard Error: 3 + .saturating_add(Weight::from_ref_time(524 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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: 41_651 nanoseconds. - Weight::from_ref_time(34_224_425 as u64) - // Standard Error: 735 - .saturating_add(Weight::from_ref_time(80_357 as u64).saturating_mul(s as u64)) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64)) + // Minimum execution time: 42_834 nanoseconds. + Weight::from_ref_time(35_781_153 as u64) + // Standard Error: 893 + .saturating_add(Weight::from_ref_time(84_835 as u64).saturating_mul(s as u64)) + // Standard Error: 8 + .saturating_add(Weight::from_ref_time(1_524 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -69,12 +69,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: 31_520 nanoseconds. - Weight::from_ref_time(24_283_932 as u64) - // Standard Error: 615 - .saturating_add(Weight::from_ref_time(80_034 as u64).saturating_mul(s as u64)) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(1_490 as u64).saturating_mul(z as u64)) + // Minimum execution time: 33_681 nanoseconds. + Weight::from_ref_time(25_962_089 as u64) + // Standard Error: 580 + .saturating_add(Weight::from_ref_time(82_734 as u64).saturating_mul(s as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_524 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -83,12 +83,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: 44_639 nanoseconds. - Weight::from_ref_time(35_788_014 as u64) - // Standard Error: 655 - .saturating_add(Weight::from_ref_time(103_738 as u64).saturating_mul(s as u64)) - // Standard Error: 6 - .saturating_add(Weight::from_ref_time(1_480 as u64).saturating_mul(z as u64)) + // Minimum execution time: 46_485 nanoseconds. + Weight::from_ref_time(37_568_729 as u64) + // Standard Error: 581 + .saturating_add(Weight::from_ref_time(95_323 as u64).saturating_mul(s as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_560 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -96,30 +96,30 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 30_092 nanoseconds. - Weight::from_ref_time(32_588_553 as u64) - // Standard Error: 1_203 - .saturating_add(Weight::from_ref_time(88_907 as u64).saturating_mul(s as u64)) + // Minimum execution time: 31_398 nanoseconds. + Weight::from_ref_time(34_097_049 as u64) + // Standard Error: 1_108 + .saturating_add(Weight::from_ref_time(92_698 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 21_743 nanoseconds. - Weight::from_ref_time(23_807_430 as u64) - // Standard Error: 828 - .saturating_add(Weight::from_ref_time(75_548 as u64).saturating_mul(s as u64)) + // Minimum execution time: 22_448 nanoseconds. + Weight::from_ref_time(24_513_833 as u64) + // Standard Error: 869 + .saturating_add(Weight::from_ref_time(83_825 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 29_786 nanoseconds. - Weight::from_ref_time(32_090_251 as u64) - // Standard Error: 904 - .saturating_add(Weight::from_ref_time(84_395 as u64).saturating_mul(s as u64)) + // Minimum execution time: 32_022 nanoseconds. + Weight::from_ref_time(33_953_466 as u64) + // Standard Error: 951 + .saturating_add(Weight::from_ref_time(83_819 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_preimage.rs b/runtime/rococo/src/weights/pallet_preimage.rs index 1755de2b34e6..4d081f470a8e 100644 --- a/runtime/rococo/src/weights/pallet_preimage.rs +++ b/runtime/rococo/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,9 +48,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(29_017_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_113 as u64).saturating_mul(s as u64)) + // Minimum execution time: 30_460 nanoseconds. + Weight::from_ref_time(30_792_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_316 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -58,9 +59,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(19_793_000 as u64) + // Minimum execution time: 21_455 nanoseconds. + Weight::from_ref_time(21_546_000 as u64) // Standard Error: 1 - .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(2_319 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -68,66 +70,76 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(18_854_000 as u64) + // Minimum execution time: 19_753 nanoseconds. + Weight::from_ref_time(20_023_000 as u64) // Standard Error: 1 - .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(2_316 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(38_886_000 as u64) + // Minimum execution time: 40_762 nanoseconds. + Weight::from_ref_time(41_809_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(27_017_000 as u64) + // Minimum execution time: 28_346 nanoseconds. + Weight::from_ref_time(29_180_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(25_041_000 as u64) + // Minimum execution time: 26_524 nanoseconds. + Weight::from_ref_time(28_080_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(13_933_000 as u64) + // Minimum execution time: 13_976 nanoseconds. + Weight::from_ref_time(14_955_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(17_760_000 as u64) + // Minimum execution time: 18_310 nanoseconds. + Weight::from_ref_time(19_036_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(8_816_000 as u64) + // Minimum execution time: 9_617 nanoseconds. + Weight::from_ref_time(9_815_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(25_068_000 as u64) + // Minimum execution time: 26_975 nanoseconds. + Weight::from_ref_time(28_077_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(8_917_000 as u64) + // Minimum execution time: 9_407 nanoseconds. + Weight::from_ref_time(9_773_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(8_915_000 as u64) + // Minimum execution time: 9_423 nanoseconds. + Weight::from_ref_time(9_784_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_proxy.rs b/runtime/rococo/src/weights/pallet_proxy.rs index b671d154e768..123c7b5ca3c3 100644 --- a/runtime/rococo/src/weights/pallet_proxy.rs +++ b/runtime/rococo/src/weights/pallet_proxy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. @@ -47,9 +47,10 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - Weight::from_ref_time(20_533_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 20_385 nanoseconds. + Weight::from_ref_time(22_155_487 as u64) + // Standard Error: 3_113 + .saturating_add(Weight::from_ref_time(30_563 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +59,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(37_599_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 39_432 nanoseconds. + Weight::from_ref_time(39_415_733 as u64) + // Standard Error: 1_929 + .saturating_add(Weight::from_ref_time(107_318 as u64).saturating_mul(a as u64)) + // Standard Error: 1_993 + .saturating_add(Weight::from_ref_time(25_511 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -71,11 +73,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_459_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(117_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(9_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 27_050 nanoseconds. + Weight::from_ref_time(28_070_798 as u64) + // Standard Error: 1_705 + .saturating_add(Weight::from_ref_time(113_162 as u64).saturating_mul(a as u64)) + // Standard Error: 1_762 + .saturating_add(Weight::from_ref_time(12_446 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -83,12 +86,11 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_557_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(114_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(14_000 as u64).saturating_mul(p as u64)) + fn reject_announcement(a: u32, _p: u32, ) -> Weight { + // Minimum execution time: 27_248 nanoseconds. + Weight::from_ref_time(28_158_710 as u64) + // Standard Error: 1_623 + .saturating_add(Weight::from_ref_time(115_623 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -98,38 +100,42 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(34_189_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(a as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(33_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 35_207 nanoseconds. + Weight::from_ref_time(36_385_483 as u64) + // Standard Error: 1_995 + .saturating_add(Weight::from_ref_time(111_408 as u64).saturating_mul(a as u64)) + // Standard Error: 2_062 + .saturating_add(Weight::from_ref_time(25_567 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(28_228_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(65_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_888 nanoseconds. + Weight::from_ref_time(30_278_512 as u64) + // Standard Error: 1_804 + .saturating_add(Weight::from_ref_time(67_673 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(28_161_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(83_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 28_480 nanoseconds. + Weight::from_ref_time(30_044_474 as u64) + // Standard Error: 2_395 + .saturating_add(Weight::from_ref_time(85_827 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - Weight::from_ref_time(24_391_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(61_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 25_720 nanoseconds. + Weight::from_ref_time(26_609_505 as u64) + // Standard Error: 1_628 + .saturating_add(Weight::from_ref_time(35_399 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -137,18 +143,20 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - Weight::from_ref_time(30_191_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 31_956 nanoseconds. + Weight::from_ref_time(33_261_390 as u64) + // Standard Error: 2_137 + .saturating_add(Weight::from_ref_time(27_969 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { - Weight::from_ref_time(25_957_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(51_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_985 nanoseconds. + Weight::from_ref_time(27_622_324 as u64) + // Standard Error: 1_578 + .saturating_add(Weight::from_ref_time(46_357 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_scheduler.rs b/runtime/rococo/src/weights/pallet_scheduler.rs index ae9dc6426622..996bc8bf3e24 100644 --- a/runtime/rococo/src/weights/pallet_scheduler.rs +++ b/runtime/rococo/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,55 +46,61 @@ pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - Weight::from_ref_time(4_700_000 as u64) + // Minimum execution time: 5_124 nanoseconds. + Weight::from_ref_time(5_271_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - Weight::from_ref_time(3_868_000 as u64) - // Standard Error: 2_747 - .saturating_add(Weight::from_ref_time(629_992 as u64).saturating_mul(s as u64)) + // Minimum execution time: 4_528 nanoseconds. + Weight::from_ref_time(7_937_018 as u64) + // Standard Error: 2_323 + .saturating_add(Weight::from_ref_time(545_673 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_base() -> Weight { - Weight::from_ref_time(12_316_000 as u64) + // Minimum execution time: 9_413 nanoseconds. + Weight::from_ref_time(9_664_000 as u64) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { - Weight::from_ref_time(24_103_000 as u64) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(1_154 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_974 nanoseconds. + Weight::from_ref_time(22_234_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(1_247 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { - Weight::from_ref_time(13_408_000 as u64) + // Minimum execution time: 10_371 nanoseconds. + Weight::from_ref_time(10_726_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Agenda (r:1 w:1) fn service_task_periodic() -> Weight { - Weight::from_ref_time(19_302_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 9_409 nanoseconds. + Weight::from_ref_time(9_630_000 as u64) } fn execute_dispatch_signed() -> Weight { - Weight::from_ref_time(3_885_000 as u64) + // Minimum execution time: 4_306 nanoseconds. + Weight::from_ref_time(4_607_000 as u64) } fn execute_dispatch_unsigned() -> Weight { - Weight::from_ref_time(4_037_000 as u64) + // Minimum execution time: 4_322 nanoseconds. + Weight::from_ref_time(4_513_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(16_768_000 as u64) - // Standard Error: 3_650 - .saturating_add(Weight::from_ref_time(667_428 as u64).saturating_mul(s as u64)) + // Minimum execution time: 17_395 nanoseconds. + Weight::from_ref_time(21_512_944 as u64) + // Standard Error: 2_371 + .saturating_add(Weight::from_ref_time(573_170 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -102,9 +108,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(19_239_000 as u64) - // Standard Error: 1_456 - .saturating_add(Weight::from_ref_time(578_125 as u64).saturating_mul(s as u64)) + // Minimum execution time: 19_648 nanoseconds. + Weight::from_ref_time(21_662_022 as u64) + // Standard Error: 2_132 + .saturating_add(Weight::from_ref_time(564_135 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -112,9 +119,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(19_065_000 as u64) - // Standard Error: 4_027 - .saturating_add(Weight::from_ref_time(719_766 as u64).saturating_mul(s as u64)) + // Minimum execution time: 19_791 nanoseconds. + Weight::from_ref_time(25_057_099 as u64) + // Standard Error: 3_443 + .saturating_add(Weight::from_ref_time(593_725 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -122,9 +130,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(20_039_000 as u64) - // Standard Error: 2_179 - .saturating_add(Weight::from_ref_time(627_335 as u64).saturating_mul(s as u64)) + // Minimum execution time: 20_923 nanoseconds. + Weight::from_ref_time(23_562_860 as u64) + // Standard Error: 2_306 + .saturating_add(Weight::from_ref_time(582_170 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_timestamp.rs b/runtime/rococo/src/weights/pallet_timestamp.rs index 943b7d69c83e..8a77164c8646 100644 --- a/runtime/rococo/src/weights/pallet_timestamp.rs +++ b/runtime/rococo/src/weights/pallet_timestamp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. @@ -47,11 +47,13 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - Weight::from_ref_time(9_814_000 as u64) + // Minimum execution time: 9_895 nanoseconds. + Weight::from_ref_time(10_121_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(3_846_000 as u64) + // Minimum execution time: 4_368 nanoseconds. + Weight::from_ref_time(4_472_000 as u64) } } diff --git a/runtime/rococo/src/weights/pallet_tips.rs b/runtime/rococo/src/weights/pallet_tips.rs index 9d737bfa5a1b..dfde0f04d210 100644 --- a/runtime/rococo/src/weights/pallet_tips.rs +++ b/runtime/rococo/src/weights/pallet_tips.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_tips` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_tips.rs +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,16 +48,18 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `r` is `[0, 16384]`. fn report_awesome(r: u32, ) -> Weight { - Weight::from_ref_time(28_045_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 29_347 nanoseconds. + Weight::from_ref_time(31_426_849 as u64) + // Standard Error: 11 + .saturating_add(Weight::from_ref_time(1_804 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Tips Tips (r:1 w:1) // Storage: Tips Reasons (r:0 w:1) fn retract_tip() -> Weight { - Weight::from_ref_time(26_017_000 as u64) + // Minimum execution time: 29_249 nanoseconds. + Weight::from_ref_time(30_138_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -67,11 +69,12 @@ impl pallet_tips::WeightInfo for WeightInfo { /// The range of component `r` is `[0, 16384]`. /// The range of component `t` is `[1, 19]`. fn tip_new(r: u32, t: u32, ) -> Weight { - Weight::from_ref_time(19_125_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(r as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(41_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 23_208 nanoseconds. + Weight::from_ref_time(21_294_796 as u64) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_694 as u64).saturating_mul(r as u64)) + // Standard Error: 6_779 + .saturating_add(Weight::from_ref_time(186_533 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -79,9 +82,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Tips (r:1 w:1) /// The range of component `t` is `[1, 19]`. fn tip(t: u32, ) -> Weight { - Weight::from_ref_time(10_895_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 15_412 nanoseconds. + Weight::from_ref_time(15_839_203 as u64) + // Standard Error: 1_743 + .saturating_add(Weight::from_ref_time(146_279 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -91,9 +95,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 19]`. fn close_tip(t: u32, ) -> Weight { - Weight::from_ref_time(42_301_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(154_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 45_039 nanoseconds. + Weight::from_ref_time(46_836_640 as u64) + // Standard Error: 5_083 + .saturating_add(Weight::from_ref_time(157_368 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -101,9 +106,10 @@ impl pallet_tips::WeightInfo for WeightInfo { // Storage: Tips Reasons (r:0 w:1) /// The range of component `t` is `[1, 19]`. fn slash_tip(t: u32, ) -> Weight { - Weight::from_ref_time(16_548_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(21_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 19_057 nanoseconds. + Weight::from_ref_time(19_894_265 as u64) + // Standard Error: 1_867 + .saturating_add(Weight::from_ref_time(36_854 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/rococo/src/weights/pallet_treasury.rs b/runtime/rococo/src/weights/pallet_treasury.rs index 09a0d3c819cb..ce22b3168c8a 100644 --- a/runtime/rococo/src/weights/pallet_treasury.rs +++ b/runtime/rococo/src/weights/pallet_treasury.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_treasury` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_treasury.rs +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -45,19 +45,22 @@ use sp_std::marker::PhantomData; pub struct WeightInfo(PhantomData); impl pallet_treasury::WeightInfo for WeightInfo { fn spend() -> Weight { - Weight::from_ref_time(153_000 as u64) + // Minimum execution time: 165 nanoseconds. + Weight::from_ref_time(203_000 as u64) } // Storage: Treasury ProposalCount (r:1 w:1) // Storage: Treasury Proposals (r:0 w:1) fn propose_spend() -> Weight { - Weight::from_ref_time(25_149_000 as u64) + // Minimum execution time: 27_032 nanoseconds. + Weight::from_ref_time(27_706_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Treasury Proposals (r:1 w:1) // Storage: System Account (r:1 w:1) fn reject_proposal() -> Weight { - Weight::from_ref_time(35_748_000 as u64) + // Minimum execution time: 38_448 nanoseconds. + Weight::from_ref_time(39_295_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -65,15 +68,17 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Approvals (r:1 w:1) /// The range of component `p` is `[0, 99]`. fn approve_proposal(p: u32, ) -> Weight { - Weight::from_ref_time(10_082_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 10_432 nanoseconds. + Weight::from_ref_time(14_012_693 as u64) + // Standard Error: 1_132 + .saturating_add(Weight::from_ref_time(39_879 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Treasury Approvals (r:1 w:1) fn remove_approval() -> Weight { - Weight::from_ref_time(5_612_000 as u64) + // Minimum execution time: 8_743 nanoseconds. + Weight::from_ref_time(9_030_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -83,9 +88,10 @@ impl pallet_treasury::WeightInfo for WeightInfo { // Storage: Treasury Proposals (r:2 w:2) /// The range of component `p` is `[0, 100]`. fn on_initialize_proposals(p: u32, ) -> Weight { - Weight::from_ref_time(36_270_000 as u64) - // Standard Error: 32_000 - .saturating_add(Weight::from_ref_time(30_142_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 49_888 nanoseconds. + Weight::from_ref_time(52_406_081 as u64) + // Standard Error: 17_219 + .saturating_add(Weight::from_ref_time(24_168_774 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(p as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) diff --git a/runtime/rococo/src/weights/pallet_utility.rs b/runtime/rococo/src/weights/pallet_utility.rs index 63396be46e9c..a6e201a51c5d 100644 --- a/runtime/rococo/src/weights/pallet_utility.rs +++ b/runtime/rococo/src/weights/pallet_utility.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_utility`. @@ -46,26 +46,31 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(12_812_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(3_415_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_953 nanoseconds. + Weight::from_ref_time(18_308_318 as u64) + // Standard Error: 2_253 + .saturating_add(Weight::from_ref_time(3_495_583 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(6_175_000 as u64) + // Minimum execution time: 6_311 nanoseconds. + Weight::from_ref_time(6_502_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(18_462_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_555_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_914 nanoseconds. + Weight::from_ref_time(17_184_352 as u64) + // Standard Error: 2_365 + .saturating_add(Weight::from_ref_time(3_634_964 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(13_444_000 as u64) + // Minimum execution time: 14_094 nanoseconds. + Weight::from_ref_time(14_446_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(18_937_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(3_433_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 11_647 nanoseconds. + Weight::from_ref_time(21_034_042 as u64) + // Standard Error: 2_136 + .saturating_add(Weight::from_ref_time(3_488_991 as u64).saturating_mul(c as u64)) } } diff --git a/runtime/rococo/src/weights/pallet_vesting.rs b/runtime/rococo/src/weights/pallet_vesting.rs index 32f07f0bc98b..7966658038ad 100644 --- a/runtime/rococo/src/weights/pallet_vesting.rs +++ b/runtime/rococo/src/weights/pallet_vesting.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/rococo/src/weights/pallet_vesting.rs +// --output=./runtime/rococo/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -49,11 +49,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(29_030_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(162_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 38_341 nanoseconds. + Weight::from_ref_time(37_801_522 as u64) + // Standard Error: 1_586 + .saturating_add(Weight::from_ref_time(32_423 as u64).saturating_mul(l as u64)) + // Standard Error: 2_823 + .saturating_add(Weight::from_ref_time(69_168 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -62,11 +63,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(29_535_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(l as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(113_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 37_958 nanoseconds. + Weight::from_ref_time(37_872_302 as u64) + // Standard Error: 1_146 + .saturating_add(Weight::from_ref_time(33_653 as u64).saturating_mul(l as u64)) + // Standard Error: 2_040 + .saturating_add(Weight::from_ref_time(47_119 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -76,11 +78,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(29_237_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(160_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 37_559 nanoseconds. + Weight::from_ref_time(36_681_424 as u64) + // Standard Error: 1_195 + .saturating_add(Weight::from_ref_time(44_728 as u64).saturating_mul(l as u64)) + // Standard Error: 2_127 + .saturating_add(Weight::from_ref_time(80_573 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -90,11 +93,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(29_750_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(84_000 as u64).saturating_mul(l as u64)) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(109_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 37_544 nanoseconds. + Weight::from_ref_time(37_721_468 as u64) + // Standard Error: 1_095 + .saturating_add(Weight::from_ref_time(32_382 as u64).saturating_mul(l as u64)) + // Standard Error: 1_949 + .saturating_add(Weight::from_ref_time(33_071 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -104,11 +108,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(44_092_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(71_000 as u64).saturating_mul(l as u64)) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(134_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 51_775 nanoseconds. + Weight::from_ref_time(51_992_075 as u64) + // Standard Error: 1_826 + .saturating_add(Weight::from_ref_time(37_262 as u64).saturating_mul(l as u64)) + // Standard Error: 3_249 + .saturating_add(Weight::from_ref_time(37_648 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -118,11 +123,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(44_003_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(72_000 as u64).saturating_mul(l as u64)) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(119_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 50_985 nanoseconds. + Weight::from_ref_time(51_452_925 as u64) + // Standard Error: 1_987 + .saturating_add(Weight::from_ref_time(43_075 as u64).saturating_mul(l as u64)) + // Standard Error: 3_535 + .saturating_add(Weight::from_ref_time(27_901 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -132,11 +138,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(29_853_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(77_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(153_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_288 nanoseconds. + Weight::from_ref_time(38_933_285 as u64) + // Standard Error: 1_173 + .saturating_add(Weight::from_ref_time(43_260 as u64).saturating_mul(l as u64)) + // Standard Error: 2_167 + .saturating_add(Weight::from_ref_time(54_585 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -146,11 +153,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(29_466_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(81_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(158_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_035 nanoseconds. + Weight::from_ref_time(38_181_254 as u64) + // Standard Error: 1_170 + .saturating_add(Weight::from_ref_time(48_328 as u64).saturating_mul(l as u64)) + // Standard Error: 2_161 + .saturating_add(Weight::from_ref_time(76_489 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/rococo/src/weights/runtime_common_auctions.rs b/runtime/rococo/src/weights/runtime_common_auctions.rs index 61dae37398e1..712dd1485ca1 100644 --- a/runtime/rococo/src/weights/runtime_common_auctions.rs +++ b/runtime/rococo/src/weights/runtime_common_auctions.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. @@ -47,7 +47,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - Weight::from_ref_time(16_735_000 as u64) + // Minimum execution time: 17_416 nanoseconds. + Weight::from_ref_time(18_096_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -59,7 +60,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - Weight::from_ref_time(71_032_000 as u64) + // Minimum execution time: 72_229 nanoseconds. + Weight::from_ref_time(73_919_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -67,26 +69,28 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Babe NextRandomness (r:1 w:0) // Storage: Babe EpochStart (r:1 w:0) // Storage: Auctions AuctionCounter (r:1 w:0) - // Storage: Auctions Winning (r:600 w:600) + // Storage: Auctions Winning (r:3600 w:3600) // Storage: Auctions ReservedAmounts (r:37 w:36) // Storage: System Account (r:36 w:36) - // Storage: Slots Leases (r:7 w:7) + // Storage: Slots Leases (r:2 w:2) // Storage: Paras ParaLifecycles (r:1 w:1) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - Weight::from_ref_time(2_877_003_000 as u64) - .saturating_add(T::DbWeight::get().reads(688 as u64)) - .saturating_add(T::DbWeight::get().writes(683 as u64)) + // Minimum execution time: 15_470_596 nanoseconds. + Weight::from_ref_time(15_820_292_000 as u64) + .saturating_add(T::DbWeight::get().reads(3683 as u64)) + .saturating_add(T::DbWeight::get().writes(3678 as u64)) } // Storage: Auctions ReservedAmounts (r:37 w:36) // Storage: System Account (r:36 w:36) - // Storage: Auctions Winning (r:0 w:600) + // Storage: Auctions Winning (r:0 w:3600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - Weight::from_ref_time(1_167_630_000 as u64) + // Minimum execution time: 4_725_156 nanoseconds. + Weight::from_ref_time(4_776_126_000 as u64) .saturating_add(T::DbWeight::get().reads(73 as u64)) - .saturating_add(T::DbWeight::get().writes(673 as u64)) + .saturating_add(T::DbWeight::get().writes(3673 as u64)) } } diff --git a/runtime/rococo/src/weights/runtime_common_claims.rs b/runtime/rococo/src/weights/runtime_common_claims.rs index 510592b2ed09..57d26efdd819 100644 --- a/runtime/rococo/src/weights/runtime_common_claims.rs +++ b/runtime/rococo/src/weights/runtime_common_claims.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::claims` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -52,7 +52,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(139_399_000 as u64) + // Minimum execution time: 141_490 nanoseconds. + Weight::from_ref_time(143_346_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -61,7 +62,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Claims (r:0 w:1) // Storage: Claims Signing (r:0 w:1) fn mint_claim() -> Weight { - Weight::from_ref_time(9_284_000 as u64) + // Minimum execution time: 11_578 nanoseconds. + Weight::from_ref_time(12_009_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -73,7 +75,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn claim_attest() -> Weight { - Weight::from_ref_time(143_329_000 as u64) + // Minimum execution time: 145_783 nanoseconds. + Weight::from_ref_time(147_533_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -86,7 +89,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: System Account (r:1 w:0) // Storage: Balances Locks (r:1 w:1) fn attest() -> Weight { - Weight::from_ref_time(63_456_000 as u64) + // Minimum execution time: 66_536 nanoseconds. + Weight::from_ref_time(68_172_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -95,7 +99,8 @@ impl runtime_common::claims::WeightInfo for WeightInfo< // Storage: Claims Signing (r:1 w:2) // Storage: Claims Preclaims (r:1 w:1) fn move_claim() -> Weight { - Weight::from_ref_time(19_434_000 as u64) + // Minimum execution time: 21_997 nanoseconds. + Weight::from_ref_time(22_443_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/rococo/src/weights/runtime_common_crowdloan.rs b/runtime/rococo/src/weights/runtime_common_crowdloan.rs index 307647658c9b..6483b3f0ff09 100644 --- a/runtime/rococo/src/weights/runtime_common_crowdloan.rs +++ b/runtime/rococo/src/weights/runtime_common_crowdloan.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. @@ -49,7 +49,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(48_864_000 as u64) + // Minimum execution time: 47_458 nanoseconds. + Weight::from_ref_time(48_284_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -61,7 +62,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - Weight::from_ref_time(117_031_000 as u64) + // Minimum execution time: 115_881 nanoseconds. + Weight::from_ref_time(117_274_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -69,16 +71,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(54_273_000 as u64) + // Minimum execution time: 54_993 nanoseconds. + Weight::from_ref_time(56_432_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `k` is `[0, 500]`. + /// The range of component `k` is `[0, 1000]`. fn refund(k: u32, ) -> Weight { - Weight::from_ref_time(6_907_000 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(17_220_000 as u64).saturating_mul(k as u64)) + // Minimum execution time: 48_376 nanoseconds. + Weight::from_ref_time(62_706_000 as u64) + // Standard Error: 13_183 + .saturating_add(Weight::from_ref_time(17_803_069 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -87,27 +91,31 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - Weight::from_ref_time(35_254_000 as u64) + // Minimum execution time: 36_619 nanoseconds. + Weight::from_ref_time(37_672_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - Weight::from_ref_time(24_432_000 as u64) + // Minimum execution time: 24_847 nanoseconds. + Weight::from_ref_time(25_990_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - Weight::from_ref_time(30_987_000 as u64) + // Minimum execution time: 33_113 nanoseconds. + Weight::from_ref_time(33_692_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - Weight::from_ref_time(25_181_000 as u64) + // Minimum execution time: 25_008 nanoseconds. + Weight::from_ref_time(25_759_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -123,9 +131,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { - Weight::from_ref_time(18_891_000 as u64) - // Standard Error: 36_000 - .saturating_add(Weight::from_ref_time(39_465_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 101_679 nanoseconds. + Weight::from_ref_time(9_820_927 as u64) + // Standard Error: 31_621 + .saturating_add(Weight::from_ref_time(40_221_451 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) diff --git a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs index 5afe490ae1ff..24f3d86ec899 100644 --- a/runtime/rococo/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/rococo/src/weights/runtime_common_paras_registrar.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. @@ -48,7 +48,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - Weight::from_ref_time(31_235_000 as u64) + // Minimum execution time: 31_954 nanoseconds. + Weight::from_ref_time(32_827_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -63,7 +64,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - Weight::from_ref_time(8_138_589_000 as u64) + // Minimum execution time: 7_424_164 nanoseconds. + Weight::from_ref_time(7_467_965_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -78,7 +80,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - Weight::from_ref_time(8_105_111_000 as u64) + // Minimum execution time: 7_388_087 nanoseconds. + Weight::from_ref_time(7_440_577_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -89,7 +92,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - Weight::from_ref_time(50_153_000 as u64) + // Minimum execution time: 49_786 nanoseconds. + Weight::from_ref_time(51_246_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -101,11 +105,14 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - Weight::from_ref_time(44_912_000 as u64) + // Minimum execution time: 44_651 nanoseconds. + Weight::from_ref_time(46_029_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:1 w:1) + // Storage: Configuration ActiveConfig (r:1 w:0) // Storage: Paras CurrentCodeHash (r:1 w:0) // Storage: Paras UpgradeCooldowns (r:1 w:1) // Storage: Paras PvfActiveVoteMap (r:1 w:0) @@ -114,19 +121,22 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: System Digest (r:1 w:1) // Storage: Paras CodeByHashRefs (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:1) - // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 41_572 nanoseconds. + Weight::from_ref_time(41_959_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_308 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras Heads (r:0 w:1) + /// The range of component `b` is `[1, 1048576]`. fn set_current_head(b: u32, ) -> Weight { - Weight::from_ref_time(5_494_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 13_501 nanoseconds. + Weight::from_ref_time(13_655_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(903 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/rococo/src/weights/runtime_common_slots.rs b/runtime/rococo/src/weights/runtime_common_slots.rs index 53c4a94600ea..ca7c9242366e 100644 --- a/runtime/rococo/src/weights/runtime_common_slots.rs +++ b/runtime/rococo/src/weights/runtime_common_slots.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::slots`. @@ -47,7 +47,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(30_562_000 as u64) + // Minimum execution time: 30_856 nanoseconds. + Weight::from_ref_time(31_310_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -60,11 +61,12 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(6_071_000 as u64).saturating_mul(c as u64)) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(15_667_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 568_013 nanoseconds. + Weight::from_ref_time(571_084_000 as u64) + // Standard Error: 70_451 + .saturating_add(Weight::from_ref_time(2_049_624 as u64).saturating_mul(c as u64)) + // Standard Error: 70_451 + .saturating_add(Weight::from_ref_time(12_021_692 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64))) @@ -75,7 +77,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(92_497_000 as u64) + // Minimum execution time: 93_285 nanoseconds. + Weight::from_ref_time(94_547_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -85,7 +88,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(29_439_000 as u64) + // Minimum execution time: 29_974 nanoseconds. + Weight::from_ref_time(30_875_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_configuration.rs b/runtime/rococo/src/weights/runtime_parachains_configuration.rs index 2ff2c3130b04..a530cab551b1 100644 --- a/runtime/rococo/src/weights/runtime_parachains_configuration.rs +++ b/runtime/rococo/src/weights/runtime_parachains_configuration.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. @@ -49,7 +49,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - Weight::from_ref_time(12_392_000 as u64) + // Minimum execution time: 12_888 nanoseconds. + Weight::from_ref_time(13_364_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -58,7 +59,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(11_753_000 as u64) + // Minimum execution time: 12_480 nanoseconds. + Weight::from_ref_time(12_877_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -67,7 +69,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - Weight::from_ref_time(11_682_000 as u64) + // Minimum execution time: 12_415 nanoseconds. + Weight::from_ref_time(12_679_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -76,12 +79,14 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(12_019_000 as u64) + // Minimum execution time: 12_662 nanoseconds. + Weight::from_ref_time(12_963_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Benchmark Override (r:0 w:0) fn set_hrmp_open_request_ttl() -> Weight { + // Minimum execution time: 2_000_000_000 nanoseconds. Weight::from_ref_time(2_000_000_000_000 as u64) } // Storage: Configuration PendingConfigs (r:1 w:1) @@ -89,7 +94,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - Weight::from_ref_time(12_097_000 as u64) + // Minimum execution time: 12_757 nanoseconds. + Weight::from_ref_time(13_102_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_disputes.rs b/runtime/rococo/src/weights/runtime_parachains_disputes.rs index 9e1d5b373cf4..8116febf8208 100644 --- a/runtime/rococo/src/weights/runtime_parachains_disputes.rs +++ b/runtime/rococo/src/weights/runtime_parachains_disputes.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. @@ -46,7 +46,8 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - Weight::from_ref_time(4_507_000 as u64) + // Minimum execution time: 4_616 nanoseconds. + Weight::from_ref_time(4_769_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs index 04db94e8f76a..9d376464f3bb 100644 --- a/runtime/rococo/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/rococo/src/weights/runtime_parachains_hrmp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::hrmp`. @@ -54,7 +54,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_init_open_channel() -> Weight { - Weight::from_ref_time(40_520_000 as u64) + // Minimum execution time: 40_837 nanoseconds. + Weight::from_ref_time(41_080_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -66,7 +67,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_accept_open_channel() -> Weight { - Weight::from_ref_time(39_646_000 as u64) + // Minimum execution time: 41_440 nanoseconds. + Weight::from_ref_time(41_921_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -77,7 +79,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_close_channel() -> Weight { - Weight::from_ref_time(36_691_000 as u64) + // Minimum execution time: 37_947 nanoseconds. + Weight::from_ref_time(38_595_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -90,11 +93,12 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `i` is `[0, 127]`. /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(7_248_000 as u64).saturating_mul(i as u64)) - // Standard Error: 16_000 - .saturating_add(Weight::from_ref_time(7_311_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 863_345 nanoseconds. + Weight::from_ref_time(867_570_000 as u64) + // Standard Error: 78_508 + .saturating_add(Weight::from_ref_time(2_631_961 as u64).saturating_mul(i as u64)) + // Standard Error: 78_508 + .saturating_add(Weight::from_ref_time(2_704_438 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64))) @@ -113,9 +117,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpChannels (r:0 w:2) /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 19_000 - .saturating_add(Weight::from_ref_time(15_783_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 10_285 nanoseconds. + Weight::from_ref_time(1_111_560 as u64) + // Standard Error: 13_840 + .saturating_add(Weight::from_ref_time(15_680_777 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -129,9 +134,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpChannelContents (r:0 w:2) /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(9_624_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 6_692 nanoseconds. + Weight::from_ref_time(856_761 as u64) + // Standard Error: 10_461 + .saturating_add(Weight::from_ref_time(9_555_420 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -142,9 +148,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { - Weight::from_ref_time(30_548_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 25_435 nanoseconds. + Weight::from_ref_time(31_235_891 as u64) + // Standard Error: 1_321 + .saturating_add(Weight::from_ref_time(90_605 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -152,15 +159,17 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2) /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { - Weight::from_ref_time(1_732_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_574_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 4_826 nanoseconds. + Weight::from_ref_time(3_062_277 as u64) + // Standard Error: 3_603 + .saturating_add(Weight::from_ref_time(2_569_729 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(c as u64))) } // Storage: Paras ParaLifecycles (r:2 w:0) + // Storage: Configuration ActiveConfig (r:1 w:0) // Storage: Hrmp HrmpOpenChannelRequests (r:1 w:1) // Storage: Hrmp HrmpChannels (r:1 w:0) // Storage: Hrmp HrmpEgressChannelsIndex (r:1 w:0) @@ -171,8 +180,9 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) fn force_open_hrmp_channel() -> Weight { - Weight::from_ref_time(104_771_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) + // Minimum execution time: 51_572 nanoseconds. + Weight::from_ref_time(52_378_000 as u64) + .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } } diff --git a/runtime/rococo/src/weights/runtime_parachains_initializer.rs b/runtime/rococo/src/weights/runtime_parachains_initializer.rs index 017ebf0c49b8..183a6a88b70c 100644 --- a/runtime/rococo/src/weights/runtime_parachains_initializer.rs +++ b/runtime/rococo/src/weights/runtime_parachains_initializer.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. @@ -47,9 +47,10 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - Weight::from_ref_time(10_731_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 8_142 nanoseconds. + Weight::from_ref_time(10_136_698 as u64) + // Standard Error: 7 + .saturating_add(Weight::from_ref_time(1_311 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_paras.rs b/runtime/rococo/src/weights/runtime_parachains_paras.rs index ebc8ea4c6909..d11279842694 100644 --- a/runtime/rococo/src/weights/runtime_parachains_paras.rs +++ b/runtime/rococo/src/weights/runtime_parachains_paras.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. @@ -52,18 +52,20 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 35_041 nanoseconds. + Weight::from_ref_time(35_497_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_295 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Paras Heads (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_set_current_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 13_370 nanoseconds. + Weight::from_ref_time(13_609_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(903 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Configuration ActiveConfig (r:1 w:0) @@ -79,9 +81,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 59_941 nanoseconds. + Weight::from_ref_time(60_494_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_326 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -90,16 +93,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_note_new_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 18_772 nanoseconds. + Weight::from_ref_time(18_957_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(904 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - Weight::from_ref_time(24_187_000 as u64) + // Minimum execution time: 24_940 nanoseconds. + Weight::from_ref_time(25_445_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -107,16 +112,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:1 w:1) /// The range of component `c` is `[1, 3145728]`. fn add_trusted_validation_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 8_856 nanoseconds. + Weight::from_ref_time(8_978_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_303 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - Weight::from_ref_time(7_273_000 as u64) + // Minimum execution time: 7_165 nanoseconds. + Weight::from_ref_time(7_398_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -125,7 +132,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - Weight::from_ref_time(96_047_000 as u64) + // Minimum execution time: 93_512 nanoseconds. + Weight::from_ref_time(97_654_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -138,7 +146,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - Weight::from_ref_time(630_640_000 as u64) + // Minimum execution time: 635_584 nanoseconds. + Weight::from_ref_time(644_490_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(104 as u64)) } @@ -152,7 +161,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - Weight::from_ref_time(599_325_000 as u64) + // Minimum execution time: 599_005 nanoseconds. + Weight::from_ref_time(603_141_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(204 as u64)) } @@ -163,7 +173,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - Weight::from_ref_time(505_499_000 as u64) + // Minimum execution time: 501_883 nanoseconds. + Weight::from_ref_time(505_926_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -178,7 +189,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - Weight::from_ref_time(668_669_000 as u64) + // Minimum execution time: 661_757 nanoseconds. + Weight::from_ref_time(669_986_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(304 as u64)) } diff --git a/runtime/rococo/src/weights/runtime_parachains_ump.rs b/runtime/rococo/src/weights/runtime_parachains_ump.rs index ff9b55ec24b2..a82fd5dbee60 100644 --- a/runtime/rococo/src/weights/runtime_parachains_ump.rs +++ b/runtime/rococo/src/weights/runtime_parachains_ump.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("rococo-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::ump`. @@ -46,22 +46,25 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::ump::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 51200]`. fn process_upward_message(s: u32, ) -> Weight { - Weight::from_ref_time(4_190_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 10_433 nanoseconds. + Weight::from_ref_time(6_809_084 as u64) + // Standard Error: 12 + .saturating_add(Weight::from_ref_time(1_973 as u64).saturating_mul(s as u64)) } // Storage: Ump NeedsDispatch (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1) // Storage: Ump RelayDispatchQueues (r:0 w:1) // Storage: Ump RelayDispatchQueueSize (r:0 w:1) fn clean_ump_after_outgoing() -> Weight { - Weight::from_ref_time(8_658_000 as u64) + // Minimum execution time: 8_932 nanoseconds. + Weight::from_ref_time(9_171_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Ump Overweight (r:1 w:1) fn service_overweight() -> Weight { - Weight::from_ref_time(24_318_000 as u64) + // Minimum execution time: 25_129 nanoseconds. + Weight::from_ref_time(25_441_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/test-runtime/constants/Cargo.toml b/runtime/test-runtime/constants/Cargo.toml index 54de8a6b9d5d..d96de0a0f9c1 100644 --- a/runtime/test-runtime/constants/Cargo.toml +++ b/runtime/test-runtime/constants/Cargo.toml @@ -10,10 +10,14 @@ smallvec = "1.8.0" frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false } runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] std = [ - "sp-runtime/std" + "sp-core/std", + "sp-runtime/std", + "sp-weights/std" ] diff --git a/runtime/westend/constants/Cargo.toml b/runtime/westend/constants/Cargo.toml index 46d7ecd5465d..1de2721b5051 100644 --- a/runtime/westend/constants/Cargo.toml +++ b/runtime/westend/constants/Cargo.toml @@ -10,10 +10,14 @@ smallvec = "1.8.0" frame-support = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } primitives = { package = "polkadot-primitives", path = "../../../primitives", default-features = false } runtime-common = { package = "polkadot-runtime-common", path = "../../common", default-features = false } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-weights = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } +sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "master" } [features] default = ["std"] std = [ - "sp-runtime/std" + "sp-core/std", + "sp-runtime/std", + "sp-weights/std" ] diff --git a/runtime/westend/constants/src/weights/block_weights.rs b/runtime/westend/constants/src/weights/block_weights.rs index a1bcebc89654..ccd238cbd153 100644 --- a/runtime/westend/constants/src/weights/block_weights.rs +++ b/runtime/westend/constants/src/weights/block_weights.rs @@ -1,28 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-19 (Y/M/D) +//! DATE: 2022-11-16 (Y/M/D) //! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `block`, LONG-NAME: `BlockExecution`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/westend/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -34,32 +32,31 @@ // --weight-path=runtime/westend/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute an empty block. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 4_929_970, 5_140_248 - /// Average: 4_970_728 - /// Median: 4_964_665 - /// Std-Dev: 37170.72 + /// Min, Max: 5_165_500, 5_422_922 + /// Average: 5_208_926 + /// Median: 5_196_288 + /// Std-Dev: 52022.65 /// /// Percentiles nanoseconds: - /// 99th: 5_084_427 - /// 95th: 5_039_369 - /// 75th: 4_991_020 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(4_970_728); + /// 99th: 5_381_058 + /// 95th: 5_313_959 + /// 75th: 5_227_090 + pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_208_926); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/westend/constants/src/weights/extrinsic_weights.rs b/runtime/westend/constants/src/weights/extrinsic_weights.rs index 9feca5255c82..742bc677bc3a 100644 --- a/runtime/westend/constants/src/weights/extrinsic_weights.rs +++ b/runtime/westend/constants/src/weights/extrinsic_weights.rs @@ -1,27 +1,26 @@ -// This file is part of Substrate. +// Copyright 2017-2022 Parity Technologies (UK) Ltd. +// This file is part of Polkadot. -// Copyright (C) 2022 Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 +// Polkadot 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. -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Polkadot 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 Polkadot. If not, see . //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-05-26 (Y/M/D) +//! DATE: 2022-11-16 (Y/M/D) +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! //! SHORT-NAME: `extrinsic`, LONG-NAME: `ExtrinsicBase`, RUNTIME: `Development` //! WARMUPS: `10`, REPEAT: `100` //! WEIGHT-PATH: `runtime/westend/constants/src/weights/` -//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1`, WEIGHT-ADD: `0` +//! WEIGHT-METRIC: `Average`, WEIGHT-MUL: `1.0`, WEIGHT-ADD: `0` // Executed Command: // ./target/production/polkadot @@ -33,32 +32,31 @@ // --weight-path=runtime/westend/constants/src/weights/ // --warmup=10 // --repeat=100 +// --header=./file_header.txt -use frame_support::{ - parameter_types, - weights::{constants::WEIGHT_PER_NANOS, Weight}, -}; +use sp_core::parameter_types; +use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. - /// Calculated by multiplying the *Average* with `1` and adding `0`. + /// Calculated by multiplying the *Average* with `1.0` and adding `0`. /// /// Stats nanoseconds: - /// Min, Max: 78_822, 82_445 - /// Average: 79_088 - /// Median: 79_012 - /// Std-Dev: 422.84 + /// Min, Max: 86_956, 88_275 + /// Average: 87_248 + /// Median: 87_179 + /// Std-Dev: 239.45 /// /// Percentiles nanoseconds: - /// 99th: 80_770 - /// 95th: 79_394 - /// 75th: 79_071 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(79_088); + /// 99th: 87_990 + /// 95th: 87_768 + /// 75th: 87_312 + pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(87_248); } #[cfg(test)] mod test_weights { - use frame_support::weights::constants; + use sp_weights::constants; /// Checks that the weight exists and is sane. // NOTE: If this test fails but you are sure that the generated values are fine, diff --git a/runtime/westend/src/weights/frame_election_provider_support.rs b/runtime/westend/src/weights/frame_election_provider_support.rs index 9725bac63a4a..6b498f069353 100644 --- a/runtime/westend/src/weights/frame_election_provider_support.rs +++ b/runtime/westend/src/weights/frame_election_provider_support.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_election_provider_support` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_election_provider_support`. @@ -48,20 +48,22 @@ impl frame_election_provider_support::WeightInfo for We /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmen(v: u32, _t: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 58_000 - .saturating_add(Weight::from_ref_time(14_001_000 as u64).saturating_mul(v as u64)) - // Standard Error: 5_013_000 - .saturating_add(Weight::from_ref_time(2_245_454_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 5_567_929 nanoseconds. + Weight::from_ref_time(5_602_140_000 as u64) + // Standard Error: 137_492 + .saturating_add(Weight::from_ref_time(5_547_397 as u64).saturating_mul(v as u64)) + // Standard Error: 14_056_706 + .saturating_add(Weight::from_ref_time(1_525_731_692 as u64).saturating_mul(d as u64)) } /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. /// The range of component `d` is `[5, 16]`. fn phragmms(v: u32, _t: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 84_000 - .saturating_add(Weight::from_ref_time(15_041_000 as u64).saturating_mul(v as u64)) - // Standard Error: 7_315_000 - .saturating_add(Weight::from_ref_time(2_619_056_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 4_305_735 nanoseconds. + Weight::from_ref_time(4_328_820_000 as u64) + // Standard Error: 145_214 + .saturating_add(Weight::from_ref_time(5_450_622 as u64).saturating_mul(v as u64)) + // Standard Error: 14_846_234 + .saturating_add(Weight::from_ref_time(1_754_617_474 as u64).saturating_mul(d as u64)) } } diff --git a/runtime/westend/src/weights/frame_system.rs b/runtime/westend/src/weights/frame_system.rs index fd6b7ee31748..2d42b9df80ab 100644 --- a/runtime/westend/src/weights/frame_system.rs +++ b/runtime/westend/src/weights/frame_system.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `frame_system` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,51 +38,59 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `frame_system`. pub struct WeightInfo(PhantomData); impl frame_system::WeightInfo for WeightInfo { /// The range of component `b` is `[0, 3932160]`. - fn remark(_b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + fn remark(b: u32, ) -> Weight { + // Minimum execution time: 3_736 nanoseconds. + Weight::from_ref_time(3_841_000 as u64) + // Standard Error: 0 + .saturating_add(Weight::from_ref_time(409 as u64).saturating_mul(b as u64)) } /// The range of component `b` is `[0, 3932160]`. fn remark_with_event(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) + // Minimum execution time: 12_934 nanoseconds. + Weight::from_ref_time(13_170_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(b as u64)) + .saturating_add(Weight::from_ref_time(1_758 as u64).saturating_mul(b as u64)) } // Storage: System Digest (r:1 w:1) // Storage: unknown [0x3a686561707061676573] (r:0 w:1) fn set_heap_pages() -> Weight { - Weight::from_ref_time(7_880_000 as u64) + // Minimum execution time: 8_550 nanoseconds. + Weight::from_ref_time(8_837_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn set_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(611_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 3_914 nanoseconds. + Weight::from_ref_time(4_037_000 as u64) + // Standard Error: 2_058 + .saturating_add(Weight::from_ref_time(594_863 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `i` is `[1, 1000]`. + /// The range of component `i` is `[0, 1000]`. fn kill_storage(i: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(459_000 as u64).saturating_mul(i as u64)) + // Minimum execution time: 3_693 nanoseconds. + Weight::from_ref_time(3_817_000 as u64) + // Standard Error: 922 + .saturating_add(Weight::from_ref_time(429_424 as u64).saturating_mul(i as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(i as u64))) } // Storage: Skipped Metadata (r:0 w:0) - /// The range of component `p` is `[1, 1000]`. + /// The range of component `p` is `[0, 1000]`. fn kill_prefix(p: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(970_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 5_446 nanoseconds. + Weight::from_ref_time(5_531_000 as u64) + // Standard Error: 1_121 + .saturating_add(Weight::from_ref_time(966_414 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) } } diff --git a/runtime/westend/src/weights/pallet_bags_list.rs b/runtime/westend/src/weights/pallet_bags_list.rs index 29653d3f7b9d..3888392da0e3 100644 --- a/runtime/westend/src/weights/pallet_bags_list.rs +++ b/runtime/westend/src/weights/pallet_bags_list.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_bags_list` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_bags_list`. @@ -49,7 +49,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:4 w:4) // Storage: VoterList ListBags (r:1 w:1) fn rebag_non_terminal() -> Weight { - Weight::from_ref_time(60_419_000 as u64) + // Minimum execution time: 64_437 nanoseconds. + Weight::from_ref_time(65_304_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -58,7 +59,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn rebag_terminal() -> Weight { - Weight::from_ref_time(59_082_000 as u64) + // Minimum execution time: 63_586 nanoseconds. + Weight::from_ref_time(64_301_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -68,7 +70,8 @@ impl pallet_bags_list::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) fn put_in_front_of() -> Weight { - Weight::from_ref_time(59_623_000 as u64) + // Minimum execution time: 63_247 nanoseconds. + Weight::from_ref_time(64_507_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } diff --git a/runtime/westend/src/weights/pallet_balances.rs b/runtime/westend/src/weights/pallet_balances.rs index c91b0c4c540a..5192faad0141 100644 --- a/runtime/westend/src/weights/pallet_balances.rs +++ b/runtime/westend/src/weights/pallet_balances.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_balances` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_balances`. @@ -46,43 +46,50 @@ pub struct WeightInfo(PhantomData); impl pallet_balances::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(39_143_000 as u64) + // Minimum execution time: 42_147 nanoseconds. + Weight::from_ref_time(42_914_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_keep_alive() -> Weight { - Weight::from_ref_time(30_428_000 as u64) + // Minimum execution time: 31_276 nanoseconds. + Weight::from_ref_time(31_701_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_creating() -> Weight { - Weight::from_ref_time(22_859_000 as u64) + // Minimum execution time: 24_241 nanoseconds. + Weight::from_ref_time(24_686_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn set_balance_killing() -> Weight { - Weight::from_ref_time(25_454_000 as u64) + // Minimum execution time: 26_470 nanoseconds. + Weight::from_ref_time(27_095_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:2 w:2) fn force_transfer() -> Weight { - Weight::from_ref_time(40_355_000 as u64) + // Minimum execution time: 41_420 nanoseconds. + Weight::from_ref_time(42_067_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn transfer_all() -> Weight { - Weight::from_ref_time(34_280_000 as u64) + // Minimum execution time: 35_961 nanoseconds. + Weight::from_ref_time(36_373_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) fn force_unreserve() -> Weight { - Weight::from_ref_time(19_325_000 as u64) + // Minimum execution time: 20_742 nanoseconds. + Weight::from_ref_time(21_132_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs index 01e0f1363280..6a444f269836 100644 --- a/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs +++ b/runtime/westend/src/weights/pallet_election_provider_multi_phase.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_election_provider_multi_phase` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_election_provider_multi_phase`. @@ -53,33 +53,38 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: Staking ForceEra (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) fn on_initialize_nothing() -> Weight { - Weight::from_ref_time(14_647_000 as u64) + // Minimum execution time: 15_062 nanoseconds. + Weight::from_ref_time(15_395_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_signed() -> Weight { - Weight::from_ref_time(12_864_000 as u64) + // Minimum execution time: 14_243 nanoseconds. + Weight::from_ref_time(14_487_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: ElectionProviderMultiPhase Round (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:0 w:1) fn on_initialize_open_unsigned() -> Weight { - Weight::from_ref_time(12_700_000 as u64) + // Minimum execution time: 13_434 nanoseconds. + Weight::from_ref_time(13_686_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: System Account (r:1 w:1) // Storage: ElectionProviderMultiPhase QueuedSolution (r:0 w:1) fn finalize_signed_phase_accept_solution() -> Weight { - Weight::from_ref_time(27_641_000 as u64) + // Minimum execution time: 29_144 nanoseconds. + Weight::from_ref_time(29_867_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: System Account (r:1 w:1) fn finalize_signed_phase_reject_solution() -> Weight { - Weight::from_ref_time(21_520_000 as u64) + // Minimum execution time: 23_284 nanoseconds. + Weight::from_ref_time(23_541_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -88,12 +93,11 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase Snapshot (r:0 w:1) /// The range of component `v` is `[1000, 2000]`. /// The range of component `t` is `[500, 1000]`. - fn create_snapshot_internal(v: u32, t: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(420_000 as u64).saturating_mul(v as u64)) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(127_000 as u64).saturating_mul(t as u64)) + fn create_snapshot_internal(v: u32, _t: u32, ) -> Weight { + // Minimum execution time: 433_743 nanoseconds. + Weight::from_ref_time(437_885_000 as u64) + // Standard Error: 2_375 + .saturating_add(Weight::from_ref_time(267_405 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: ElectionProviderMultiPhase SignedSubmissionIndices (r:1 w:1) @@ -109,11 +113,12 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. fn elect_queued(a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(456_000 as u64).saturating_mul(a as u64)) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(172_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 277_991 nanoseconds. + Weight::from_ref_time(86_081_787 as u64) + // Standard Error: 2_745 + .saturating_add(Weight::from_ref_time(342_302 as u64).saturating_mul(a as u64)) + // Standard Error: 4_115 + .saturating_add(Weight::from_ref_time(95_861 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -124,7 +129,8 @@ impl pallet_election_provider_multi_phase::WeightInfo f // Storage: ElectionProviderMultiPhase SignedSubmissionNextIndex (r:1 w:1) // Storage: ElectionProviderMultiPhase SignedSubmissionsMap (r:0 w:1) fn submit() -> Weight { - Weight::from_ref_time(55_478_000 as u64) + // Minimum execution time: 57_338 nanoseconds. + Weight::from_ref_time(58_651_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -139,16 +145,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(762_000 as u64).saturating_mul(v as u64)) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(42_000 as u64).saturating_mul(t as u64)) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(7_387_000 as u64).saturating_mul(a as u64)) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(1_810_000 as u64).saturating_mul(d as u64)) + fn submit_unsigned(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight { + // Minimum execution time: 4_733_437 nanoseconds. + Weight::from_ref_time(4_752_271_000 as u64) + // Standard Error: 14_871 + .saturating_add(Weight::from_ref_time(120_136 as u64).saturating_mul(v as u64)) + // Standard Error: 44_069 + .saturating_add(Weight::from_ref_time(4_506_557 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -160,16 +163,13 @@ impl pallet_election_provider_multi_phase::WeightInfo f /// The range of component `t` is `[500, 1000]`. /// The range of component `a` is `[500, 800]`. /// The range of component `d` is `[200, 400]`. - fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(782_000 as u64).saturating_mul(v as u64)) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(57_000 as u64).saturating_mul(t as u64)) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(5_868_000 as u64).saturating_mul(a as u64)) - // Standard Error: 33_000 - .saturating_add(Weight::from_ref_time(1_483_000 as u64).saturating_mul(d as u64)) + fn feasibility_check(v: u32, _t: u32, a: u32, _d: u32, ) -> Weight { + // Minimum execution time: 3_897_457 nanoseconds. + Weight::from_ref_time(3_923_058_000 as u64) + // Standard Error: 12_141 + .saturating_add(Weight::from_ref_time(212_441 as u64).saturating_mul(v as u64)) + // Standard Error: 35_981 + .saturating_add(Weight::from_ref_time(3_207_505 as u64).saturating_mul(a as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) } } diff --git a/runtime/westend/src/weights/pallet_fast_unstake.rs b/runtime/westend/src/weights/pallet_fast_unstake.rs index 1fc7a2580978..521ea577c18e 100644 --- a/runtime/westend/src/weights/pallet_fast_unstake.rs +++ b/runtime/westend/src/weights/pallet_fast_unstake.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `pallet_fast_unstake` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-28, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=westend-dev // --steps=50 // --repeat=20 +// --pallet=pallet_fast_unstake // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=pallet_fast_unstake -// --chain=westend-dev // --header=./file_header.txt // --output=./runtime/westend/src/weights/ @@ -50,53 +49,57 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) // Storage: FastUnstake Head (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking SlashingSpans (r:1 w:0) - // Storage: Staking Bonded (r:1 w:1) - // Storage: Staking Validators (r:1 w:0) - // Storage: Staking Nominators (r:1 w:0) - // Storage: System Account (r:1 w:1) - // Storage: Balances Locks (r:1 w:1) - // Storage: Staking Ledger (r:0 w:1) - // Storage: Staking Payee (r:0 w:1) + // Storage: Staking SlashingSpans (r:64 w:0) + // Storage: Staking Bonded (r:64 w:64) + // Storage: Staking Validators (r:64 w:0) + // Storage: Staking Nominators (r:64 w:0) + // Storage: System Account (r:64 w:64) + // Storage: Balances Locks (r:64 w:64) + // Storage: Staking Ledger (r:0 w:64) + // Storage: Staking Payee (r:0 w:64) fn on_idle_unstake() -> Weight { - Weight::from_ref_time(71_751_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 2_151_083 nanoseconds. + Weight::from_ref_time(2_165_150_000 as u64) + .saturating_add(T::DbWeight::get().reads(389 as u64)) + .saturating_add(T::DbWeight::get().writes(321 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking ValidatorCount (r:1 w:0) // Storage: ElectionProviderMultiPhase CurrentPhase (r:1 w:0) // Storage: FastUnstake Head (r:1 w:1) - // Storage: FastUnstake Queue (r:2 w:1) + // Storage: FastUnstake Queue (r:65 w:64) // Storage: FastUnstake CounterForQueue (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasStakers (r:4 w:0) /// The range of component `x` is `[2, 256]`. fn on_idle_check(x: u32, ) -> Weight { - Weight::from_ref_time(68_336_000 as u64) - // Standard Error: 9_399 - .saturating_add(Weight::from_ref_time(13_544_336 as u64).saturating_mul(x as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) + // Minimum execution time: 2_339_481 nanoseconds. + Weight::from_ref_time(2_362_834_000 as u64) + // Standard Error: 472_765 + .saturating_add(Weight::from_ref_time(804_985_586 as u64).saturating_mul(x as u64)) + .saturating_add(T::DbWeight::get().reads(72 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(x as u64))) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + .saturating_add(T::DbWeight::get().writes(66 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: FastUnstake Queue (r:1 w:1) // Storage: FastUnstake Head (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) // Storage: Staking CounterForNominators (r:1 w:1) - // Storage: VoterList ListNodes (r:1 w:1) + // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: FastUnstake CounterForQueue (r:1 w:1) fn register_fast_unstake() -> Weight { - Weight::from_ref_time(93_252_000 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(9 as u64)) + // Minimum execution time: 125_665 nanoseconds. + Weight::from_ref_time(128_301_000 as u64) + .saturating_add(T::DbWeight::get().reads(15 as u64)) + .saturating_add(T::DbWeight::get().writes(10 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) @@ -104,13 +107,15 @@ impl pallet_fast_unstake::WeightInfo for WeightInfo // Storage: FastUnstake Head (r:1 w:0) // Storage: FastUnstake CounterForQueue (r:1 w:1) fn deregister() -> Weight { - Weight::from_ref_time(40_994_000 as u64) + // Minimum execution time: 50_138 nanoseconds. + Weight::from_ref_time(51_813_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: FastUnstake ErasToCheckPerBlock (r:0 w:1) fn control() -> Weight { - Weight::from_ref_time(4_420_000 as u64) + // Minimum execution time: 4_661 nanoseconds. + Weight::from_ref_time(4_778_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/westend/src/weights/pallet_identity.rs b/runtime/westend/src/weights/pallet_identity.rs index 0fdbe3edc23c..90d07dc99e2e 100644 --- a/runtime/westend/src/weights/pallet_identity.rs +++ b/runtime/westend/src/weights/pallet_identity.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_identity` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_identity`. @@ -47,32 +47,35 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn add_registrar(r: u32, ) -> Weight { - Weight::from_ref_time(17_318_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 17_404 nanoseconds. + Weight::from_ref_time(18_656_367 as u64) + // Standard Error: 2_570 + .saturating_add(Weight::from_ref_time(181_443 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn set_identity(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(32_608_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(123_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(298_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 36_708 nanoseconds. + Weight::from_ref_time(35_850_708 as u64) + // Standard Error: 3_462 + .saturating_add(Weight::from_ref_time(93_826 as u64).saturating_mul(r as u64)) + // Standard Error: 675 + .saturating_add(Weight::from_ref_time(330_646 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:1 w:1) - /// The range of component `s` is `[1, 100]`. + // Storage: Identity SuperOf (r:2 w:2) + /// The range of component `s` is `[0, 100]`. fn set_subs_new(s: u32, ) -> Weight { - Weight::from_ref_time(29_011_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(2_061_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 10_740 nanoseconds. + Weight::from_ref_time(30_187_558 as u64) + // Standard Error: 5_092 + .saturating_add(Weight::from_ref_time(2_129_883 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -80,12 +83,13 @@ impl pallet_identity::WeightInfo for WeightInfo { } // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SubsOf (r:1 w:1) - // Storage: Identity SuperOf (r:0 w:1) - /// The range of component `p` is `[1, 100]`. + // Storage: Identity SuperOf (r:0 w:2) + /// The range of component `p` is `[0, 100]`. fn set_subs_old(p: u32, ) -> Weight { - Weight::from_ref_time(29_082_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(881_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 10_968 nanoseconds. + Weight::from_ref_time(29_634_655 as u64) + // Standard Error: 4_331 + .saturating_add(Weight::from_ref_time(924_855 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(p as u64))) @@ -94,16 +98,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. + /// 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 { - Weight::from_ref_time(36_503_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(27_000 as u64).saturating_mul(r as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(873_000 as u64).saturating_mul(s as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(149_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 51_903 nanoseconds. + Weight::from_ref_time(36_302_297 as u64) + // Standard Error: 4_837 + .saturating_add(Weight::from_ref_time(129_708 as u64).saturating_mul(r as u64)) + // Standard Error: 944 + .saturating_add(Weight::from_ref_time(899_485 as u64).saturating_mul(s as u64)) + // Standard Error: 944 + .saturating_add(Weight::from_ref_time(170_186 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -111,65 +116,71 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn request_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(34_025_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(159_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(312_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 39_215 nanoseconds. + Weight::from_ref_time(35_871_187 as u64) + // Standard Error: 4_586 + .saturating_add(Weight::from_ref_time(160_077 as u64).saturating_mul(r as u64)) + // Standard Error: 895 + .saturating_add(Weight::from_ref_time(352_424 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 20]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn cancel_request(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(31_767_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(307_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 34_568 nanoseconds. + Weight::from_ref_time(32_340_656 as u64) + // Standard Error: 4_471 + .saturating_add(Weight::from_ref_time(150_594 as u64).saturating_mul(r as u64)) + // Standard Error: 872 + .saturating_add(Weight::from_ref_time(351_058 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fee(r: u32, ) -> Weight { - Weight::from_ref_time(9_456_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(137_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 9_145 nanoseconds. + Weight::from_ref_time(10_004_747 as u64) + // Standard Error: 2_519 + .saturating_add(Weight::from_ref_time(144_599 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_account_id(r: u32, ) -> Weight { - Weight::from_ref_time(9_695_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(131_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 9_478 nanoseconds. + Weight::from_ref_time(10_280_264 as u64) + // Standard Error: 2_157 + .saturating_add(Weight::from_ref_time(137_027 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:1) /// The range of component `r` is `[1, 19]`. fn set_fields(r: u32, ) -> Weight { - Weight::from_ref_time(9_441_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(132_000 as u64).saturating_mul(r as u64)) + // Minimum execution time: 9_364 nanoseconds. + Weight::from_ref_time(10_048_693 as u64) + // Standard Error: 2_168 + .saturating_add(Weight::from_ref_time(138_246 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Identity Registrars (r:1 w:0) // Storage: Identity IdentityOf (r:1 w:1) /// The range of component `r` is `[1, 19]`. - /// The range of component `x` is `[1, 100]`. + /// The range of component `x` is `[0, 100]`. fn provide_judgement(r: u32, x: u32, ) -> Weight { - Weight::from_ref_time(24_671_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(97_000 as u64).saturating_mul(r as u64)) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(306_000 as u64).saturating_mul(x as u64)) + // Minimum execution time: 29_237 nanoseconds. + Weight::from_ref_time(27_101_513 as u64) + // Standard Error: 6_451 + .saturating_add(Weight::from_ref_time(151_316 as u64).saturating_mul(r as u64)) + // Standard Error: 1_193 + .saturating_add(Weight::from_ref_time(584_669 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -178,12 +189,17 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Identity SuperOf (r:0 w:100) /// The range of component `r` is `[1, 20]`. - /// The range of component `s` is `[1, 100]`. - /// The range of component `x` is `[1, 100]`. - fn kill_identity(_r: u32, s: u32, _x: u32, ) -> Weight { - Weight::from_ref_time(42_491_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(878_000 as u64).saturating_mul(s as u64)) + /// 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: 57_804 nanoseconds. + Weight::from_ref_time(41_385_856 as u64) + // Standard Error: 3_892 + .saturating_add(Weight::from_ref_time(127_211 as u64).saturating_mul(r as u64)) + // Standard Error: 760 + .saturating_add(Weight::from_ref_time(905_485 as u64).saturating_mul(s as u64)) + // Standard Error: 760 + .saturating_add(Weight::from_ref_time(167_074 as u64).saturating_mul(x as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -191,11 +207,12 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity IdentityOf (r:1 w:0) // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn add_sub(s: u32, ) -> Weight { - Weight::from_ref_time(36_480_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 33_707 nanoseconds. + Weight::from_ref_time(38_599_750 as u64) + // Standard Error: 1_484 + .saturating_add(Weight::from_ref_time(78_528 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -203,9 +220,10 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SuperOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn rename_sub(s: u32, ) -> Weight { - Weight::from_ref_time(15_798_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(30_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 14_349 nanoseconds. + Weight::from_ref_time(16_709_884 as u64) + // Standard Error: 797 + .saturating_add(Weight::from_ref_time(31_371 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -214,19 +232,21 @@ impl pallet_identity::WeightInfo for WeightInfo { // Storage: Identity SubsOf (r:1 w:1) /// The range of component `s` is `[1, 100]`. fn remove_sub(s: u32, ) -> Weight { - Weight::from_ref_time(37_872_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(64_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 37_260 nanoseconds. + Weight::from_ref_time(40_182_898 as u64) + // Standard Error: 1_255 + .saturating_add(Weight::from_ref_time(70_354 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Identity SuperOf (r:1 w:1) // Storage: Identity SubsOf (r:1 w:1) - /// The range of component `s` is `[1, 99]`. + /// The range of component `s` is `[0, 99]`. fn quit_sub(s: u32, ) -> Weight { - Weight::from_ref_time(28_241_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(59_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 26_859 nanoseconds. + Weight::from_ref_time(29_852_260 as u64) + // Standard Error: 1_197 + .saturating_add(Weight::from_ref_time(68_170 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/westend/src/weights/pallet_im_online.rs b/runtime/westend/src/weights/pallet_im_online.rs index 7d83ee69c824..aa800c3832fd 100644 --- a/runtime/westend/src/weights/pallet_im_online.rs +++ b/runtime/westend/src/weights/pallet_im_online.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_im_online` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_im_online`. @@ -52,11 +52,12 @@ impl pallet_im_online::WeightInfo for WeightInfo { /// The range of component `k` is `[1, 1000]`. /// The range of component `e` is `[1, 100]`. fn validate_unsigned_and_then_heartbeat(k: u32, e: u32, ) -> Weight { - Weight::from_ref_time(75_894_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(23_000 as u64).saturating_mul(k as u64)) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(301_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 97_442 nanoseconds. + Weight::from_ref_time(78_300_860 as u64) + // Standard Error: 266 + .saturating_add(Weight::from_ref_time(23_605 as u64).saturating_mul(k as u64)) + // Standard Error: 2_682 + .saturating_add(Weight::from_ref_time(306_554 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_indices.rs b/runtime/westend/src/weights/pallet_indices.rs index 48dcf2d0c1ea..9194fd0e9d92 100644 --- a/runtime/westend/src/weights/pallet_indices.rs +++ b/runtime/westend/src/weights/pallet_indices.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_indices` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_indices`. @@ -46,33 +46,38 @@ pub struct WeightInfo(PhantomData); impl pallet_indices::WeightInfo for WeightInfo { // Storage: Indices Accounts (r:1 w:1) fn claim() -> Weight { - Weight::from_ref_time(25_477_000 as u64) + // Minimum execution time: 27_006 nanoseconds. + Weight::from_ref_time(27_436_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn transfer() -> Weight { - Weight::from_ref_time(32_237_000 as u64) + // Minimum execution time: 32_199 nanoseconds. + Weight::from_ref_time(32_827_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn free() -> Weight { - Weight::from_ref_time(27_019_000 as u64) + // Minimum execution time: 27_961 nanoseconds. + Weight::from_ref_time(28_227_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Indices Accounts (r:1 w:1) // Storage: System Account (r:1 w:1) fn force_transfer() -> Weight { - Weight::from_ref_time(26_805_000 as u64) + // Minimum execution time: 27_795 nanoseconds. + Weight::from_ref_time(28_425_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Indices Accounts (r:1 w:1) fn freeze() -> Weight { - Weight::from_ref_time(32_450_000 as u64) + // Minimum execution time: 33_395 nanoseconds. + Weight::from_ref_time(33_824_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_multisig.rs b/runtime/westend/src/weights/pallet_multisig.rs index e15f0973adae..d4ee0291febd 100644 --- a/runtime/westend/src/weights/pallet_multisig.rs +++ b/runtime/westend/src/weights/pallet_multisig.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_multisig` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -28,11 +28,11 @@ // --steps=50 // --repeat=20 // --pallet=pallet_multisig -// --extrinsic= +// --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=runtime/westend/src/weights/ +// --output=./runtime/westend/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,22 +46,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: 14_417 nanoseconds. - Weight::from_ref_time(14_932_092 as u64) + // Minimum execution time: 15_271 nanoseconds. + Weight::from_ref_time(15_773_573 as u64) // Standard Error: 2 - .saturating_add(Weight::from_ref_time(482 as u64).saturating_mul(z as u64)) + .saturating_add(Weight::from_ref_time(579 as u64).saturating_mul(z as u64)) } // Storage: Multisig Multisigs (r:1 w:1) // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// 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: 41_482 nanoseconds. - Weight::from_ref_time(34_353_792 as u64) - // Standard Error: 791 - .saturating_add(Weight::from_ref_time(81_017 as u64).saturating_mul(s as u64)) - // Standard Error: 7 - .saturating_add(Weight::from_ref_time(1_468 as u64).saturating_mul(z as u64)) + // Minimum execution time: 42_809 nanoseconds. + Weight::from_ref_time(35_419_390 as u64) + // Standard Error: 591 + .saturating_add(Weight::from_ref_time(82_370 as u64).saturating_mul(s as u64)) + // Standard Error: 5 + .saturating_add(Weight::from_ref_time(1_638 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -69,12 +69,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: 32_410 nanoseconds. - Weight::from_ref_time(25_806_543 as u64) - // Standard Error: 602 - .saturating_add(Weight::from_ref_time(74_253 as u64).saturating_mul(s as u64)) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(1_463 as u64).saturating_mul(z as u64)) + // Minimum execution time: 34_162 nanoseconds. + Weight::from_ref_time(28_110_900 as u64) + // Standard Error: 825 + .saturating_add(Weight::from_ref_time(76_710 as u64).saturating_mul(s as u64)) + // Standard Error: 8 + .saturating_add(Weight::from_ref_time(1_516 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -83,12 +83,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: 46_059 nanoseconds. - Weight::from_ref_time(37_295_248 as u64) - // Standard Error: 604 - .saturating_add(Weight::from_ref_time(104_164 as u64).saturating_mul(s as u64)) - // Standard Error: 5 - .saturating_add(Weight::from_ref_time(1_489 as u64).saturating_mul(z as u64)) + // Minimum execution time: 49_116 nanoseconds. + Weight::from_ref_time(39_420_656 as u64) + // Standard Error: 700 + .saturating_add(Weight::from_ref_time(109_061 as u64).saturating_mul(s as u64)) + // Standard Error: 6 + .saturating_add(Weight::from_ref_time(1_628 as u64).saturating_mul(z as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -96,30 +96,30 @@ impl pallet_multisig::WeightInfo for WeightInfo { // Storage: unknown [0x3a65787472696e7369635f696e646578] (r:1 w:0) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_create(s: u32, ) -> Weight { - // Minimum execution time: 29_952 nanoseconds. - Weight::from_ref_time(32_697_678 as u64) - // Standard Error: 857 - .saturating_add(Weight::from_ref_time(86_644 as u64).saturating_mul(s as u64)) + // Minimum execution time: 31_803 nanoseconds. + Weight::from_ref_time(33_935_512 as u64) + // Standard Error: 843 + .saturating_add(Weight::from_ref_time(92_536 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn approve_as_multi_approve(s: u32, ) -> Weight { - // Minimum execution time: 22_298 nanoseconds. - Weight::from_ref_time(23_997_404 as u64) - // Standard Error: 855 - .saturating_add(Weight::from_ref_time(82_455 as u64).saturating_mul(s as u64)) + // Minimum execution time: 24_026 nanoseconds. + Weight::from_ref_time(25_381_198 as u64) + // Standard Error: 688 + .saturating_add(Weight::from_ref_time(86_761 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Multisig Multisigs (r:1 w:1) /// The range of component `s` is `[2, 100]`. fn cancel_as_multi(s: u32, ) -> Weight { - // Minimum execution time: 31_615 nanoseconds. - Weight::from_ref_time(33_932_527 as u64) - // Standard Error: 823 - .saturating_add(Weight::from_ref_time(87_873 as u64).saturating_mul(s as u64)) + // Minimum execution time: 34_044 nanoseconds. + Weight::from_ref_time(36_091_489 as u64) + // Standard Error: 917 + .saturating_add(Weight::from_ref_time(88_975 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_nomination_pools.rs b/runtime/westend/src/weights/pallet_nomination_pools.rs index aee227af0e1c..a8ac042edc76 100644 --- a/runtime/westend/src/weights/pallet_nomination_pools.rs +++ b/runtime/westend/src/weights/pallet_nomination_pools.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_nomination_pools` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_nomination_pools`. @@ -47,18 +47,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinJoinBond (r:1 w:0) // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:2 w:1) // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) // Storage: NominationPools MaxPoolMembers (r:1 w:0) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) - // Storage: Staking Bonded (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn join() -> Weight { - Weight::from_ref_time(138_670_000 as u64) + // Minimum execution time: 142_360 nanoseconds. + Weight::from_ref_time(143_773_000 as u64) .saturating_add(T::DbWeight::get().reads(17 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -66,13 +67,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:3 w:2) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_transfer() -> Weight { - Weight::from_ref_time(138_922_000 as u64) + // Minimum execution time: 140_103 nanoseconds. + Weight::from_ref_time(141_199_000 as u64) .saturating_add(T::DbWeight::get().reads(14 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -80,13 +82,14 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:3 w:3) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:2 w:2) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra_reward() -> Weight { - Weight::from_ref_time(139_673_000 as u64) + // Minimum execution time: 142_664 nanoseconds. + Weight::from_ref_time(145_348_000 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) } @@ -95,13 +98,15 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools RewardPools (r:1 w:1) // Storage: System Account (r:1 w:1) fn claim_payout() -> Weight { - Weight::from_ref_time(55_421_000 as u64) + // Minimum execution time: 54_355 nanoseconds. + Weight::from_ref_time(54_950_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: System Account (r:2 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -109,49 +114,53 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: VoterList ListNodes (r:3 w:3) - // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) // Storage: NominationPools SubPoolsStorage (r:1 w:1) // Storage: NominationPools CounterForSubPoolsStorage (r:1 w:1) fn unbond() -> Weight { - Weight::from_ref_time(140_347_000 as u64) + // Minimum execution time: 142_734 nanoseconds. + Weight::from_ref_time(143_730_000 as u64) .saturating_add(T::DbWeight::get().reads(18 as u64)) .saturating_add(T::DbWeight::get().writes(13 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: Balances Locks (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn pool_withdraw_unbonded(s: u32, ) -> Weight { - Weight::from_ref_time(52_101_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) + // Minimum execution time: 58_816 nanoseconds. + Weight::from_ref_time(60_454_017 as u64) + // Standard Error: 964 + .saturating_add(Weight::from_ref_time(13_805 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools SubPoolsStorage (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: System Account (r:1 w:1) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - Weight::from_ref_time(93_331_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 97_677 nanoseconds. + Weight::from_ref_time(99_885_437 as u64) + // Standard Error: 1_438 + .saturating_add(Weight::from_ref_time(23_450 as u64).saturating_mul(s as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } // Storage: NominationPools PoolMembers (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) // Storage: NominationPools BondedPools (r:1 w:1) // Storage: NominationPools SubPoolsStorage (r:1 w:1) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking SlashingSpans (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:0) @@ -167,28 +176,26 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForBondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(s: u32, ) -> Weight { - Weight::from_ref_time(145_331_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + fn withdraw_unbonded_kill(_s: u32, ) -> Weight { + // Minimum execution time: 146_514 nanoseconds. + Weight::from_ref_time(150_150_119 as u64) .saturating_add(T::DbWeight::get().reads(20 as u64)) .saturating_add(T::DbWeight::get().writes(17 as u64)) } + // Storage: NominationPools LastPoolId (r:1 w:1) // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: NominationPools MinCreateBond (r:1 w:0) // Storage: NominationPools MinJoinBond (r:1 w:0) // Storage: NominationPools MaxPools (r:1 w:0) // Storage: NominationPools CounterForBondedPools (r:1 w:1) // Storage: NominationPools PoolMembers (r:1 w:1) - // Storage: NominationPools LastPoolId (r:1 w:1) // Storage: NominationPools MaxPoolMembersPerPool (r:1 w:0) // Storage: NominationPools MaxPoolMembers (r:1 w:0) // Storage: NominationPools CounterForPoolMembers (r:1 w:1) // Storage: System Account (r:2 w:2) - // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: NominationPools RewardPools (r:1 w:1) // Storage: NominationPools CounterForRewardPools (r:1 w:1) @@ -197,36 +204,40 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools BondedPools (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn create() -> Weight { - Weight::from_ref_time(131_800_000 as u64) - .saturating_add(T::DbWeight::get().reads(22 as u64)) + // Minimum execution time: 129_468 nanoseconds. + Weight::from_ref_time(130_634_000 as u64) + .saturating_add(T::DbWeight::get().reads(21 as u64)) .saturating_add(T::DbWeight::get().writes(15 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinNominatorBond (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) // Storage: Staking MaxNominatorsCount (r:1 w:0) // Storage: Staking Validators (r:2 w:0) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListNodes (r:1 w:1) // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - Weight::from_ref_time(61_633_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(1_008_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 64_123 nanoseconds. + Weight::from_ref_time(64_974_242 as u64) + // Standard Error: 6_814 + .saturating_add(Weight::from_ref_time(983_177 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: NominationPools BondedPools (r:1 w:1) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) fn set_state() -> Weight { - Weight::from_ref_time(35_755_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 39_824 nanoseconds. + Weight::from_ref_time(40_580_000 as u64) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) @@ -234,9 +245,10 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools CounterForMetadata (r:1 w:1) /// The range of component `n` is `[1, 256]`. fn set_metadata(n: u32, ) -> Weight { - Weight::from_ref_time(17_011_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 16_059 nanoseconds. + Weight::from_ref_time(16_653_229 as u64) + // Standard Error: 122 + .saturating_add(Weight::from_ref_time(825 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -246,16 +258,19 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: NominationPools MinCreateBond (r:0 w:1) // Storage: NominationPools MaxPools (r:0 w:1) fn set_configs() -> Weight { - Weight::from_ref_time(7_744_000 as u64) + // Minimum execution time: 6_763 nanoseconds. + Weight::from_ref_time(7_029_000 as u64) .saturating_add(T::DbWeight::get().writes(5 as u64)) } // Storage: NominationPools BondedPools (r:1 w:1) fn update_roles() -> Weight { - Weight::from_ref_time(26_398_000 as u64) + // Minimum execution time: 25_305 nanoseconds. + Weight::from_ref_time(26_044_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: NominationPools BondedPools (r:1 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Validators (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) @@ -264,8 +279,9 @@ impl pallet_nomination_pools::WeightInfo for WeightInfo // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - Weight::from_ref_time(61_574_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 66_812 nanoseconds. + Weight::from_ref_time(67_339_000 as u64) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } } diff --git a/runtime/westend/src/weights/pallet_preimage.rs b/runtime/westend/src/weights/pallet_preimage.rs index 97f066d7d40b..7327bfd49255 100644 --- a/runtime/westend/src/weights/pallet_preimage.rs +++ b/runtime/westend/src/weights/pallet_preimage.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_preimage` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/westend/src/weights +// --output=./runtime/westend/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -48,9 +48,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(28_888_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_116 as u64).saturating_mul(s as u64)) + // Minimum execution time: 30_695 nanoseconds. + Weight::from_ref_time(31_212_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_377 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -58,9 +59,10 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_requested_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(20_640_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_433 nanoseconds. + Weight::from_ref_time(21_653_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_370 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -68,66 +70,76 @@ impl pallet_preimage::WeightInfo for WeightInfo { // Storage: Preimage PreimageFor (r:0 w:1) /// The range of component `s` is `[0, 4194304]`. fn note_no_deposit_preimage(s: u32, ) -> Weight { - Weight::from_ref_time(19_203_000 as u64) + // Minimum execution time: 20_420 nanoseconds. + Weight::from_ref_time(20_617_000 as u64) // Standard Error: 1 - .saturating_add(Weight::from_ref_time(2_115 as u64).saturating_mul(s as u64)) + .saturating_add(Weight::from_ref_time(2_368 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_preimage() -> Weight { - Weight::from_ref_time(41_563_000 as u64) + // Minimum execution time: 40_628 nanoseconds. + Weight::from_ref_time(42_418_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unnote_no_deposit_preimage() -> Weight { - Weight::from_ref_time(28_606_000 as u64) + // Minimum execution time: 27_950 nanoseconds. + Weight::from_ref_time(28_924_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_preimage() -> Weight { - Weight::from_ref_time(27_447_000 as u64) + // Minimum execution time: 26_777 nanoseconds. + Weight::from_ref_time(28_552_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_no_deposit_preimage() -> Weight { - Weight::from_ref_time(14_862_000 as u64) + // Minimum execution time: 14_306 nanoseconds. + Weight::from_ref_time(15_302_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_unnoted_preimage() -> Weight { - Weight::from_ref_time(18_337_000 as u64) + // Minimum execution time: 18_820 nanoseconds. + Weight::from_ref_time(19_834_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn request_requested_preimage() -> Weight { - Weight::from_ref_time(9_074_000 as u64) + // Minimum execution time: 9_887 nanoseconds. + Weight::from_ref_time(10_209_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) // Storage: Preimage PreimageFor (r:0 w:1) fn unrequest_preimage() -> Weight { - Weight::from_ref_time(28_192_000 as u64) + // Minimum execution time: 26_855 nanoseconds. + Weight::from_ref_time(28_503_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_unnoted_preimage() -> Weight { - Weight::from_ref_time(9_012_000 as u64) + // Minimum execution time: 9_450 nanoseconds. + Weight::from_ref_time(9_924_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Preimage StatusFor (r:1 w:1) fn unrequest_multi_referenced_preimage() -> Weight { - Weight::from_ref_time(8_961_000 as u64) + // Minimum execution time: 9_420 nanoseconds. + Weight::from_ref_time(9_972_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_proxy.rs b/runtime/westend/src/weights/pallet_proxy.rs index 5713094eb5c5..8a1fa3eeba47 100644 --- a/runtime/westend/src/weights/pallet_proxy.rs +++ b/runtime/westend/src/weights/pallet_proxy.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_proxy`. @@ -47,9 +47,10 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:0) /// The range of component `p` is `[1, 31]`. fn proxy(p: u32, ) -> Weight { - Weight::from_ref_time(20_519_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(53_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 20_847 nanoseconds. + Weight::from_ref_time(21_941_679 as u64) + // Standard Error: 1_366 + .saturating_add(Weight::from_ref_time(48_868 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Proxy Proxies (r:1 w:0) @@ -58,11 +59,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn proxy_announced(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(37_277_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(125_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 39_435 nanoseconds. + Weight::from_ref_time(39_978_786 as u64) + // Standard Error: 1_917 + .saturating_add(Weight::from_ref_time(102_832 as u64).saturating_mul(a as u64)) + // Standard Error: 1_981 + .saturating_add(Weight::from_ref_time(27_934 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -71,11 +73,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn remove_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_615_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(121_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(18_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_820 nanoseconds. + Weight::from_ref_time(28_184_500 as u64) + // Standard Error: 1_574 + .saturating_add(Weight::from_ref_time(125_329 as u64).saturating_mul(a as u64)) + // Standard Error: 1_626 + .saturating_add(Weight::from_ref_time(1_294 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -84,11 +87,12 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn reject_announcement(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(26_769_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(115_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(16_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 27_473 nanoseconds. + Weight::from_ref_time(28_278_833 as u64) + // Standard Error: 1_680 + .saturating_add(Weight::from_ref_time(117_703 as u64).saturating_mul(a as u64)) + // Standard Error: 1_735 + .saturating_add(Weight::from_ref_time(479 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -98,38 +102,42 @@ impl pallet_proxy::WeightInfo for WeightInfo { /// The range of component `a` is `[0, 31]`. /// The range of component `p` is `[1, 31]`. fn announce(a: u32, p: u32, ) -> Weight { - Weight::from_ref_time(34_494_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(111_000 as u64).saturating_mul(a as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 35_104 nanoseconds. + Weight::from_ref_time(36_127_124 as u64) + // Standard Error: 1_989 + .saturating_add(Weight::from_ref_time(120_599 as u64).saturating_mul(a as u64)) + // Standard Error: 2_055 + .saturating_add(Weight::from_ref_time(40_753 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn add_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(28_462_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(80_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 29_166 nanoseconds. + Weight::from_ref_time(30_090_935 as u64) + // Standard Error: 2_399 + .saturating_add(Weight::from_ref_time(84_394 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxy(p: u32, ) -> Weight { - Weight::from_ref_time(28_641_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(85_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 29_053 nanoseconds. + Weight::from_ref_time(30_966_271 as u64) + // Standard Error: 2_380 + .saturating_add(Weight::from_ref_time(41_109 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn remove_proxies(p: u32, ) -> Weight { - Weight::from_ref_time(24_918_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(60_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 25_087 nanoseconds. + Weight::from_ref_time(26_233_387 as u64) + // Standard Error: 1_784 + .saturating_add(Weight::from_ref_time(51_604 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -137,18 +145,20 @@ impl pallet_proxy::WeightInfo for WeightInfo { // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[1, 31]`. fn create_pure(p: u32, ) -> Weight { - Weight::from_ref_time(30_510_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(29_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 31_112 nanoseconds. + Weight::from_ref_time(32_658_370 as u64) + // Standard Error: 2_825 + .saturating_add(Weight::from_ref_time(10_687 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Proxy Proxies (r:1 w:1) /// The range of component `p` is `[0, 30]`. fn kill_pure(p: u32, ) -> Weight { - Weight::from_ref_time(26_338_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(62_000 as u64).saturating_mul(p as u64)) + // Minimum execution time: 26_655 nanoseconds. + Weight::from_ref_time(27_520_903 as u64) + // Standard Error: 3_755 + .saturating_add(Weight::from_ref_time(65_727 as u64).saturating_mul(p as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_scheduler.rs b/runtime/westend/src/weights/pallet_scheduler.rs index f325f2311093..571f925d8aba 100644 --- a/runtime/westend/src/weights/pallet_scheduler.rs +++ b/runtime/westend/src/weights/pallet_scheduler.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_scheduler` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-10-03, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -32,7 +32,7 @@ // --execution=wasm // --wasm-execution=compiled // --header=./file_header.txt -// --output=./runtime/westend/src/weights +// --output=./runtime/westend/src/weights/ #![cfg_attr(rustfmt, rustfmt_skip)] #![allow(unused_parens)] @@ -46,55 +46,61 @@ pub struct WeightInfo(PhantomData); impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler IncompleteSince (r:1 w:1) fn service_agendas_base() -> Weight { - Weight::from_ref_time(4_399_000 as u64) + // Minimum execution time: 4_854 nanoseconds. + Weight::from_ref_time(5_006_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 50]`. fn service_agenda_base(s: u32, ) -> Weight { - Weight::from_ref_time(3_771_000 as u64) - // Standard Error: 2_641 - .saturating_add(Weight::from_ref_time(610_848 as u64).saturating_mul(s as u64)) + // Minimum execution time: 4_121 nanoseconds. + Weight::from_ref_time(7_183_321 as u64) + // Standard Error: 1_950 + .saturating_add(Weight::from_ref_time(652_691 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn service_task_base() -> Weight { - Weight::from_ref_time(12_651_000 as u64) + // Minimum execution time: 10_249 nanoseconds. + Weight::from_ref_time(10_443_000 as u64) } // Storage: Preimage PreimageFor (r:1 w:1) // Storage: Preimage StatusFor (r:1 w:1) /// The range of component `s` is `[128, 4194304]`. fn service_task_fetched(s: u32, ) -> Weight { - Weight::from_ref_time(24_280_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_126 as u64).saturating_mul(s as u64)) + // Minimum execution time: 22_224 nanoseconds. + Weight::from_ref_time(23_076_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(1_244 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Scheduler Lookup (r:0 w:1) fn service_task_named() -> Weight { - Weight::from_ref_time(13_929_000 as u64) + // Minimum execution time: 11_503 nanoseconds. + Weight::from_ref_time(11_763_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } - // Storage: Scheduler Agenda (r:1 w:1) fn service_task_periodic() -> Weight { - Weight::from_ref_time(19_285_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 10_001 nanoseconds. + Weight::from_ref_time(10_201_000 as u64) } fn execute_dispatch_signed() -> Weight { - Weight::from_ref_time(4_026_000 as u64) + // Minimum execution time: 4_582 nanoseconds. + Weight::from_ref_time(4_733_000 as u64) } fn execute_dispatch_unsigned() -> Weight { - Weight::from_ref_time(4_078_000 as u64) + // Minimum execution time: 4_671 nanoseconds. + Weight::from_ref_time(4_762_000 as u64) } // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule(s: u32, ) -> Weight { - Weight::from_ref_time(17_176_000 as u64) - // Standard Error: 3_203 - .saturating_add(Weight::from_ref_time(645_757 as u64).saturating_mul(s as u64)) + // Minimum execution time: 18_756 nanoseconds. + Weight::from_ref_time(22_264_134 as u64) + // Standard Error: 2_104 + .saturating_add(Weight::from_ref_time(674_215 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -102,9 +108,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Lookup (r:0 w:1) /// The range of component `s` is `[1, 50]`. fn cancel(s: u32, ) -> Weight { - Weight::from_ref_time(19_408_000 as u64) - // Standard Error: 1_645 - .saturating_add(Weight::from_ref_time(575_558 as u64).saturating_mul(s as u64)) + // Minimum execution time: 21_264 nanoseconds. + Weight::from_ref_time(22_300_303 as u64) + // Standard Error: 1_716 + .saturating_add(Weight::from_ref_time(665_239 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -112,9 +119,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[0, 49]`. fn schedule_named(s: u32, ) -> Weight { - Weight::from_ref_time(20_173_000 as u64) - // Standard Error: 3_998 - .saturating_add(Weight::from_ref_time(684_714 as u64).saturating_mul(s as u64)) + // Minimum execution time: 20_880 nanoseconds. + Weight::from_ref_time(25_963_207 as u64) + // Standard Error: 3_338 + .saturating_add(Weight::from_ref_time(689_950 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -122,9 +130,10 @@ impl pallet_scheduler::WeightInfo for WeightInfo { // Storage: Scheduler Agenda (r:1 w:1) /// The range of component `s` is `[1, 50]`. fn cancel_named(s: u32, ) -> Weight { - Weight::from_ref_time(20_330_000 as u64) - // Standard Error: 2_310 - .saturating_add(Weight::from_ref_time(621_196 as u64).saturating_mul(s as u64)) + // Minimum execution time: 22_691 nanoseconds. + Weight::from_ref_time(24_309_908 as u64) + // Standard Error: 2_267 + .saturating_add(Weight::from_ref_time(687_241 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } diff --git a/runtime/westend/src/weights/pallet_session.rs b/runtime/westend/src/weights/pallet_session.rs index 4349e1aecd06..46e42d078c10 100644 --- a/runtime/westend/src/weights/pallet_session.rs +++ b/runtime/westend/src/weights/pallet_session.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_session` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_session`. @@ -48,7 +48,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:6 w:6) fn set_keys() -> Weight { - Weight::from_ref_time(50_037_000 as u64) + // Minimum execution time: 51_716 nanoseconds. + Weight::from_ref_time(52_472_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -56,7 +57,8 @@ impl pallet_session::WeightInfo for WeightInfo { // Storage: Session NextKeys (r:1 w:1) // Storage: Session KeyOwner (r:0 w:6) fn purge_keys() -> Weight { - Weight::from_ref_time(38_037_000 as u64) + // Minimum execution time: 39_736 nanoseconds. + Weight::from_ref_time(41_579_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index 86f33610fafb..96f6a6654033 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_staking`. @@ -47,12 +47,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - Weight::from_ref_time(46_604_000 as u64) - .saturating_add(T::DbWeight::get().reads(5 as u64)) + // Minimum execution time: 47_864 nanoseconds. + Weight::from_ref_time(48_374_000 as u64) + .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Staking Bonded (r:1 w:0) @@ -61,7 +61,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - Weight::from_ref_time(82_033_000 as u64) + // Minimum execution time: 92_224 nanoseconds. + Weight::from_ref_time(92_673_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -75,7 +76,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - Weight::from_ref_time(85_478_000 as u64) + // Minimum execution time: 89_173 nanoseconds. + Weight::from_ref_time(91_518_000 as u64) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -85,9 +87,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - Weight::from_ref_time(39_507_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(26_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 41_525 nanoseconds. + Weight::from_ref_time(42_785_087 as u64) + // Standard Error: 689 + .saturating_add(Weight::from_ref_time(16_918 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -106,7 +109,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Payee (r:0 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - Weight::from_ref_time(74_901_000 as u64) + // Minimum execution time: 77_930 nanoseconds. + Weight::from_ref_time(79_791_309 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(11 as u64)) } @@ -122,7 +126,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - Weight::from_ref_time(58_380_000 as u64) + // Minimum execution time: 61_039 nanoseconds. + Weight::from_ref_time(61_864_000 as u64) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -130,9 +135,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - Weight::from_ref_time(28_781_000 as u64) - // Standard Error: 9_000 - .saturating_add(Weight::from_ref_time(6_295_000 as u64).saturating_mul(k as u64)) + // Minimum execution time: 33_744 nanoseconds. + Weight::from_ref_time(31_656_370 as u64) + // Standard Error: 7_390 + .saturating_add(Weight::from_ref_time(6_320_562 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64))) @@ -150,9 +156,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - Weight::from_ref_time(60_248_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(2_332_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 64_103 nanoseconds. + Weight::from_ref_time(63_617_315 as u64) + // Standard Error: 5_476 + .saturating_add(Weight::from_ref_time(2_416_112 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(6 as u64)) @@ -165,50 +172,58 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - Weight::from_ref_time(55_912_000 as u64) + // Minimum execution time: 59_072 nanoseconds. + Weight::from_ref_time(59_664_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - Weight::from_ref_time(15_735_000 as u64) + // Minimum execution time: 16_287 nanoseconds. + Weight::from_ref_time(16_474_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - Weight::from_ref_time(22_455_000 as u64) + // Minimum execution time: 23_295 nanoseconds. + Weight::from_ref_time(23_742_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - Weight::from_ref_time(4_350_000 as u64) + // Minimum execution time: 4_606 nanoseconds. + Weight::from_ref_time(4_753_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - Weight::from_ref_time(4_465_000 as u64) + // Minimum execution time: 4_714 nanoseconds. + Weight::from_ref_time(4_870_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - Weight::from_ref_time(4_503_000 as u64) + // Minimum execution time: 4_811 nanoseconds. + Weight::from_ref_time(4_915_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - Weight::from_ref_time(4_480_000 as u64) + // Minimum execution time: 4_815 nanoseconds. + Weight::from_ref_time(4_888_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - Weight::from_ref_time(4_819_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(10_000 as u64).saturating_mul(v as u64)) + // Minimum execution time: 4_957 nanoseconds. + Weight::from_ref_time(5_458_970 as u64) + // Standard Error: 37 + .saturating_add(Weight::from_ref_time(11_689 as u64).saturating_mul(v as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking Bonded (r:1 w:1) @@ -226,9 +241,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - Weight::from_ref_time(71_683_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(876_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 72_209 nanoseconds. + Weight::from_ref_time(77_298_663 as u64) + // Standard Error: 3_183 + .saturating_add(Weight::from_ref_time(888_800 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -236,49 +252,50 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - Weight::from_ref_time(860_469_000 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(4_820_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 118_262 nanoseconds. + Weight::from_ref_time(930_422_429 as u64) + // Standard Error: 58_358 + .saturating_add(Weight::from_ref_time(4_891_639 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) - // Storage: Staking Bonded (r:2 w:0) + // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) // Storage: Staking ErasStakersClipped (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:0) // Storage: Staking ErasValidatorPrefs (r:1 w:0) - // Storage: Staking Payee (r:2 w:0) - // Storage: System Account (r:2 w:2) - /// The range of component `n` is `[1, 64]`. + // Storage: Staking Payee (r:1 w:0) + // Storage: System Account (r:1 w:1) + /// The range of component `n` is `[0, 64]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - Weight::from_ref_time(89_749_000 as u64) - // Standard Error: 28_000 - .saturating_add(Weight::from_ref_time(19_776_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) + // Minimum execution time: 79_513 nanoseconds. + Weight::from_ref_time(93_058_704 as u64) + // Standard Error: 20_402 + .saturating_add(Weight::from_ref_time(19_965_835 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) } // Storage: Staking CurrentEra (r:1 w:0) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) - // Storage: Staking Bonded (r:2 w:0) - // Storage: Staking Ledger (r:2 w:2) + // Storage: Staking Bonded (r:1 w:0) + // Storage: Staking Ledger (r:1 w:1) // Storage: Staking ErasStakersClipped (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:0) // Storage: Staking ErasValidatorPrefs (r:1 w:0) - // Storage: Staking Payee (r:2 w:0) - // Storage: System Account (r:2 w:2) - // Storage: Balances Locks (r:2 w:2) - /// The range of component `n` is `[1, 64]`. + // Storage: Staking Payee (r:1 w:0) + // Storage: System Account (r:1 w:1) + // Storage: Balances Locks (r:1 w:1) + /// The range of component `n` is `[0, 64]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - Weight::from_ref_time(111_065_000 as u64) - // Standard Error: 32_000 - .saturating_add(Weight::from_ref_time(26_426_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) + // Minimum execution time: 91_791 nanoseconds. + Weight::from_ref_time(119_133_841 as u64) + // Standard Error: 31_093 + .saturating_add(Weight::from_ref_time(26_717_359 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64))) @@ -291,9 +308,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - Weight::from_ref_time(80_083_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(13_000 as u64).saturating_mul(l as u64)) + // Minimum execution time: 82_457 nanoseconds. + Weight::from_ref_time(83_869_512 as u64) + // Standard Error: 4_174 + .saturating_add(Weight::from_ref_time(46_937 as u64).saturating_mul(l as u64)) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -312,9 +330,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - Weight::from_ref_time(81_279_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(843_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 82_568 nanoseconds. + Weight::from_ref_time(83_999_520 as u64) + // Standard Error: 2_098 + .saturating_add(Weight::from_ref_time(884_734 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(12 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) @@ -332,21 +351,21 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking ValidatorCount (r:1 w:0) // Storage: Staking MinimumValidatorCount (r:1 w:0) // Storage: Staking CurrentEra (r:1 w:1) - // Storage: Staking HistoryDepth (r:1 w:0) // Storage: Staking ErasStakersClipped (r:0 w:1) // Storage: Staking ErasValidatorPrefs (r:0 w:1) // Storage: Staking ErasStakers (r:0 w:1) // Storage: Staking ErasTotalStake (r:0 w:1) // Storage: Staking ErasStartSessionIndex (r:0 w:1) /// The range of component `v` is `[1, 10]`. - /// The range of component `n` is `[1, 100]`. + /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 709_000 - .saturating_add(Weight::from_ref_time(178_570_000 as u64).saturating_mul(v as u64)) - // Standard Error: 68_000 - .saturating_add(Weight::from_ref_time(24_156_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(187 as u64)) + // Minimum execution time: 433_425 nanoseconds. + Weight::from_ref_time(435_379_000 as u64) + // Standard Error: 1_833_800 + .saturating_add(Weight::from_ref_time(60_252_147 as u64).saturating_mul(v as u64)) + // Standard Error: 182_728 + .saturating_add(Weight::from_ref_time(13_188_805 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(186 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -365,27 +384,28 @@ impl pallet_staking::WeightInfo for WeightInfo { /// The range of component `n` is `[500, 1000]`. /// The range of component `s` is `[1, 20]`. fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 378_000 - .saturating_add(Weight::from_ref_time(36_021_000 as u64).saturating_mul(v as u64)) - // Standard Error: 378_000 - .saturating_add(Weight::from_ref_time(34_834_000 as u64).saturating_mul(n as u64)) - // Standard Error: 9_659_000 - .saturating_add(Weight::from_ref_time(52_904_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 26_306_369 nanoseconds. + Weight::from_ref_time(26_515_009_000 as u64) + // Standard Error: 478_602 + .saturating_add(Weight::from_ref_time(11_814_244 as u64).saturating_mul(v as u64)) + // Standard Error: 478_602 + .saturating_add(Weight::from_ref_time(10_546_073 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(181 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } + // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 18_000 - .saturating_add(Weight::from_ref_time(6_515_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(2 as u64)) + // Minimum execution time: 3_513_761 nanoseconds. + Weight::from_ref_time(168_738_313 as u64) + // Standard Error: 55_974 + .saturating_add(Weight::from_ref_time(7_130_301 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -396,7 +416,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - Weight::from_ref_time(7_514_000 as u64) + // Minimum execution time: 8_232 nanoseconds. + Weight::from_ref_time(8_510_000 as u64) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking MinCommission (r:0 w:1) @@ -406,7 +427,8 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - Weight::from_ref_time(7_012_000 as u64) + // Minimum execution time: 7_257 nanoseconds. + Weight::from_ref_time(7_425_000 as u64) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking Ledger (r:1 w:0) @@ -420,14 +442,16 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - Weight::from_ref_time(67_858_000 as u64) + // Minimum execution time: 69_220 nanoseconds. + Weight::from_ref_time(70_070_000 as u64) .saturating_add(T::DbWeight::get().reads(11 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - Weight::from_ref_time(15_301_000 as u64) + // Minimum execution time: 16_197 nanoseconds. + Weight::from_ref_time(16_518_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/pallet_timestamp.rs b/runtime/westend/src/weights/pallet_timestamp.rs index ba2cce1c5981..141e2f3d924b 100644 --- a/runtime/westend/src/weights/pallet_timestamp.rs +++ b/runtime/westend/src/weights/pallet_timestamp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_timestamp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_timestamp`. @@ -47,11 +47,13 @@ impl pallet_timestamp::WeightInfo for WeightInfo { // Storage: Timestamp Now (r:1 w:1) // Storage: Babe CurrentSlot (r:1 w:0) fn set() -> Weight { - Weight::from_ref_time(9_508_000 as u64) + // Minimum execution time: 10_153 nanoseconds. + Weight::from_ref_time(10_579_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } fn on_finalize() -> Weight { - Weight::from_ref_time(3_854_000 as u64) + // Minimum execution time: 4_289 nanoseconds. + Weight::from_ref_time(4_440_000 as u64) } } diff --git a/runtime/westend/src/weights/pallet_utility.rs b/runtime/westend/src/weights/pallet_utility.rs index 5c89f6ccf59d..205e762f1957 100644 --- a/runtime/westend/src/weights/pallet_utility.rs +++ b/runtime/westend/src/weights/pallet_utility.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_utility`. @@ -46,26 +46,31 @@ pub struct WeightInfo(PhantomData); impl pallet_utility::WeightInfo for WeightInfo { /// The range of component `c` is `[0, 1000]`. fn batch(c: u32, ) -> Weight { - Weight::from_ref_time(17_234_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(3_441_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 12_032 nanoseconds. + Weight::from_ref_time(19_173_385 as u64) + // Standard Error: 2_090 + .saturating_add(Weight::from_ref_time(3_609_818 as u64).saturating_mul(c as u64)) } fn as_derivative() -> Weight { - Weight::from_ref_time(5_955_000 as u64) + // Minimum execution time: 6_100 nanoseconds. + Weight::from_ref_time(6_336_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn batch_all(c: u32, ) -> Weight { - Weight::from_ref_time(19_475_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(3_560_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 12_371 nanoseconds. + Weight::from_ref_time(21_670_546 as u64) + // Standard Error: 2_316 + .saturating_add(Weight::from_ref_time(3_762_013 as u64).saturating_mul(c as u64)) } fn dispatch_as() -> Weight { - Weight::from_ref_time(13_475_000 as u64) + // Minimum execution time: 14_279 nanoseconds. + Weight::from_ref_time(14_621_000 as u64) } /// The range of component `c` is `[0, 1000]`. fn force_batch(c: u32, ) -> Weight { - Weight::from_ref_time(22_544_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(3_402_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 12_028 nanoseconds. + Weight::from_ref_time(16_767_678 as u64) + // Standard Error: 2_024 + .saturating_add(Weight::from_ref_time(3_599_663 as u64).saturating_mul(c as u64)) } } diff --git a/runtime/westend/src/weights/pallet_vesting.rs b/runtime/westend/src/weights/pallet_vesting.rs index bf003d9799fb..378870a875be 100644 --- a/runtime/westend/src/weights/pallet_vesting.rs +++ b/runtime/westend/src/weights/pallet_vesting.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `pallet_vesting` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `pallet_vesting`. @@ -49,11 +49,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_233_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(87_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_501 nanoseconds. + Weight::from_ref_time(38_586_050 as u64) + // Standard Error: 1_079 + .saturating_add(Weight::from_ref_time(45_077 as u64).saturating_mul(l as u64)) + // Standard Error: 1_921 + .saturating_add(Weight::from_ref_time(80_116 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -62,11 +63,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_218_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(36_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(75_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_157 nanoseconds. + Weight::from_ref_time(38_714_147 as u64) + // Standard Error: 1_129 + .saturating_add(Weight::from_ref_time(40_680 as u64).saturating_mul(l as u64)) + // Standard Error: 2_009 + .saturating_add(Weight::from_ref_time(49_307 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -76,11 +78,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_locked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_094_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(88_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_619 nanoseconds. + Weight::from_ref_time(38_312_074 as u64) + // Standard Error: 1_578 + .saturating_add(Weight::from_ref_time(52_122 as u64).saturating_mul(l as u64)) + // Standard Error: 2_808 + .saturating_add(Weight::from_ref_time(84_812 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -90,11 +93,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[1, 28]`. fn vest_other_unlocked(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(34_979_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(48_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(69_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 39_176 nanoseconds. + Weight::from_ref_time(39_030_642 as u64) + // Standard Error: 1_123 + .saturating_add(Weight::from_ref_time(27_844 as u64).saturating_mul(l as u64)) + // Standard Error: 1_999 + .saturating_add(Weight::from_ref_time(52_163 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -104,11 +108,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(49_327_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(37_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(70_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 53_466 nanoseconds. + Weight::from_ref_time(53_598_494 as u64) + // Standard Error: 2_075 + .saturating_add(Weight::from_ref_time(36_845 as u64).saturating_mul(l as u64)) + // Standard Error: 3_693 + .saturating_add(Weight::from_ref_time(54_899 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -118,11 +123,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[0, 27]`. fn force_vested_transfer(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(48_465_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(42_000 as u64).saturating_mul(l as u64)) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(86_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 52_321 nanoseconds. + Weight::from_ref_time(52_787_334 as u64) + // Standard Error: 2_039 + .saturating_add(Weight::from_ref_time(40_228 as u64).saturating_mul(l as u64)) + // Standard Error: 3_628 + .saturating_add(Weight::from_ref_time(47_740 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -132,11 +138,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn not_unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_787_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(49_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 40_321 nanoseconds. + Weight::from_ref_time(39_633_306 as u64) + // Standard Error: 1_202 + .saturating_add(Weight::from_ref_time(47_105 as u64).saturating_mul(l as u64)) + // Standard Error: 2_220 + .saturating_add(Weight::from_ref_time(79_753 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -146,11 +153,12 @@ impl pallet_vesting::WeightInfo for WeightInfo { /// The range of component `l` is `[0, 49]`. /// The range of component `s` is `[2, 28]`. fn unlocking_merge_schedules(l: u32, s: u32, ) -> Weight { - Weight::from_ref_time(35_807_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(47_000 as u64).saturating_mul(l as u64)) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(99_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 40_633 nanoseconds. + Weight::from_ref_time(39_553_977 as u64) + // Standard Error: 1_166 + .saturating_add(Weight::from_ref_time(49_075 as u64).saturating_mul(l as u64)) + // Standard Error: 2_153 + .saturating_add(Weight::from_ref_time(74_630 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/westend/src/weights/runtime_common_auctions.rs b/runtime/westend/src/weights/runtime_common_auctions.rs index 30fe377312d9..088f365e7986 100644 --- a/runtime/westend/src/weights/runtime_common_auctions.rs +++ b/runtime/westend/src/weights/runtime_common_auctions.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::auctions` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::auctions`. @@ -47,7 +47,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions AuctionInfo (r:1 w:1) // Storage: Auctions AuctionCounter (r:1 w:1) fn new_auction() -> Weight { - Weight::from_ref_time(17_108_000 as u64) + // Minimum execution time: 17_288 nanoseconds. + Weight::from_ref_time(17_985_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -59,7 +60,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions ReservedAmounts (r:2 w:2) // Storage: System Account (r:1 w:1) fn bid() -> Weight { - Weight::from_ref_time(70_333_000 as u64) + // Minimum execution time: 73_535 nanoseconds. + Weight::from_ref_time(75_064_000 as u64) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -76,7 +78,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar Paras (r:1 w:1) fn on_initialize() -> Weight { - Weight::from_ref_time(15_569_290_000 as u64) + // Minimum execution time: 15_672_246 nanoseconds. + Weight::from_ref_time(16_047_763_000 as u64) .saturating_add(T::DbWeight::get().reads(3688 as u64)) .saturating_add(T::DbWeight::get().writes(3683 as u64)) } @@ -85,7 +88,8 @@ impl runtime_common::auctions::WeightInfo for WeightInf // Storage: Auctions Winning (r:0 w:3600) // Storage: Auctions AuctionInfo (r:0 w:1) fn cancel_auction() -> Weight { - Weight::from_ref_time(4_675_785_000 as u64) + // Minimum execution time: 4_654_031 nanoseconds. + Weight::from_ref_time(4_736_028_000 as u64) .saturating_add(T::DbWeight::get().reads(73 as u64)) .saturating_add(T::DbWeight::get().writes(3673 as u64)) } diff --git a/runtime/westend/src/weights/runtime_common_crowdloan.rs b/runtime/westend/src/weights/runtime_common_crowdloan.rs index d569e9696e91..7ff12034a1f0 100644 --- a/runtime/westend/src/weights/runtime_common_crowdloan.rs +++ b/runtime/westend/src/weights/runtime_common_crowdloan.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::crowdloan`. @@ -49,7 +49,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Paras ParaLifecycles (r:1 w:0) // Storage: Crowdloan NextFundIndex (r:1 w:1) fn create() -> Weight { - Weight::from_ref_time(46_894_000 as u64) + // Minimum execution time: 49_547 nanoseconds. + Weight::from_ref_time(51_304_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -61,7 +62,8 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan NewRaise (r:1 w:1) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn contribute() -> Weight { - Weight::from_ref_time(113_396_000 as u64) + // Minimum execution time: 115_314 nanoseconds. + Weight::from_ref_time(116_381_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -69,16 +71,18 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) // Storage: unknown [0xc85982571aa615c788ef9b2c16f54f25773fd439e8ee1ed2aa3ae43d48e880f0] (r:1 w:1) fn withdraw() -> Weight { - Weight::from_ref_time(52_598_000 as u64) + // Minimum execution time: 55_447 nanoseconds. + Weight::from_ref_time(56_653_000 as u64) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 500]`. fn refund(k: u32, ) -> Weight { - Weight::from_ref_time(19_773_000 as u64) - // Standard Error: 12_000 - .saturating_add(Weight::from_ref_time(17_083_000 as u64).saturating_mul(k as u64)) + // Minimum execution time: 47_461 nanoseconds. + Weight::from_ref_time(12_852_340 as u64) + // Standard Error: 11_221 + .saturating_add(Weight::from_ref_time(17_750_477 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(k as u64))) .saturating_add(T::DbWeight::get().writes(2 as u64)) @@ -87,27 +91,31 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: Crowdloan Funds (r:1 w:1) // Storage: System Account (r:1 w:1) fn dissolve() -> Weight { - Weight::from_ref_time(36_019_000 as u64) + // Minimum execution time: 37_208 nanoseconds. + Weight::from_ref_time(38_133_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: Crowdloan Funds (r:1 w:1) fn edit() -> Weight { - Weight::from_ref_time(24_837_000 as u64) + // Minimum execution time: 26_446 nanoseconds. + Weight::from_ref_time(27_193_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: unknown [0xd861ea1ebf4800d4b89f4ff787ad79ee96d9a708c85b57da7eb8f9ddeda61291] (r:1 w:1) fn add_memo() -> Weight { - Weight::from_ref_time(31_340_000 as u64) + // Minimum execution time: 33_570 nanoseconds. + Weight::from_ref_time(34_862_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Crowdloan Funds (r:1 w:0) // Storage: Crowdloan NewRaise (r:1 w:1) fn poke() -> Weight { - Weight::from_ref_time(25_223_000 as u64) + // Minimum execution time: 26_059 nanoseconds. + Weight::from_ref_time(27_073_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -123,9 +131,10 @@ impl runtime_common::crowdloan::WeightInfo for WeightIn // Storage: System Account (r:2 w:2) /// The range of component `n` is `[2, 100]`. fn on_initialize(n: u32, ) -> Weight { - Weight::from_ref_time(18_538_000 as u64) - // Standard Error: 36_000 - .saturating_add(Weight::from_ref_time(39_321_000 as u64).saturating_mul(n as u64)) + // Minimum execution time: 103_883 nanoseconds. + Weight::from_ref_time(14_102_173 as u64) + // Standard Error: 25_076 + .saturating_add(Weight::from_ref_time(40_977_126 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) diff --git a/runtime/westend/src/weights/runtime_common_paras_registrar.rs b/runtime/westend/src/weights/runtime_common_paras_registrar.rs index e52924381cd7..990173341004 100644 --- a/runtime/westend/src/weights/runtime_common_paras_registrar.rs +++ b/runtime/westend/src/weights/runtime_common_paras_registrar.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::paras_registrar` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::paras_registrar`. @@ -48,7 +48,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Registrar Paras (r:1 w:1) // Storage: Paras ParaLifecycles (r:1 w:0) fn reserve() -> Weight { - Weight::from_ref_time(30_965_000 as u64) + // Minimum execution time: 33_216 nanoseconds. + Weight::from_ref_time(33_774_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -62,7 +63,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn register() -> Weight { - Weight::from_ref_time(7_411_024_000 as u64) + // Minimum execution time: 7_610_660 nanoseconds. + Weight::from_ref_time(7_680_278_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -76,7 +78,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras CurrentCodeHash (r:0 w:1) // Storage: Paras UpcomingParasGenesis (r:0 w:1) fn force_register() -> Weight { - Weight::from_ref_time(7_355_259_000 as u64) + // Minimum execution time: 7_576_126 nanoseconds. + Weight::from_ref_time(7_632_431_000 as u64) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(7 as u64)) } @@ -87,7 +90,8 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Paras ActionsQueue (r:1 w:1) // Storage: Registrar PendingSwap (r:0 w:1) fn deregister() -> Weight { - Weight::from_ref_time(48_776_000 as u64) + // Minimum execution time: 49_734 nanoseconds. + Weight::from_ref_time(50_945_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -99,11 +103,13 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: Crowdloan Funds (r:2 w:2) // Storage: Slots Leases (r:2 w:2) fn swap() -> Weight { - Weight::from_ref_time(42_830_000 as u64) + // Minimum execution time: 44_434 nanoseconds. + Weight::from_ref_time(45_553_000 as u64) .saturating_add(T::DbWeight::get().reads(10 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras FutureCodeHash (r:1 w:1) + // Storage: Paras UpgradeRestrictionSignal (r:1 w:1) // Storage: Paras CurrentCodeHash (r:1 w:0) // Storage: Paras UpgradeCooldowns (r:1 w:1) // Storage: Paras PvfActiveVoteMap (r:1 w:0) @@ -112,19 +118,22 @@ impl runtime_common::paras_registrar::WeightInfo for We // Storage: System Digest (r:1 w:1) // Storage: Paras CodeByHashRefs (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:1) - // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) + /// The range of component `b` is `[1, 3145728]`. fn schedule_code_upgrade(b: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(b as u64)) - .saturating_add(T::DbWeight::get().reads(8 as u64)) + // Minimum execution time: 42_971 nanoseconds. + Weight::from_ref_time(43_456_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_366 as u64).saturating_mul(b as u64)) + .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } // Storage: Paras Heads (r:0 w:1) + /// The range of component `b` is `[1, 1048576]`. fn set_current_head(b: u32, ) -> Weight { - Weight::from_ref_time(5_494_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(b as u64)) + // Minimum execution time: 13_894 nanoseconds. + Weight::from_ref_time(14_187_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(958 as u64).saturating_mul(b as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/westend/src/weights/runtime_common_slots.rs b/runtime/westend/src/weights/runtime_common_slots.rs index bd2cf35258bb..6f13925773f1 100644 --- a/runtime/westend/src/weights/runtime_common_slots.rs +++ b/runtime/westend/src/weights/runtime_common_slots.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_common::slots` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_common::slots`. @@ -47,7 +47,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(30_227_000 as u64) + // Minimum execution time: 31_957 nanoseconds. + Weight::from_ref_time(32_370_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } @@ -60,11 +61,12 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(5_902_000 as u64).saturating_mul(c as u64)) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(15_585_000 as u64).saturating_mul(t as u64)) + // Minimum execution time: 555_630 nanoseconds. + Weight::from_ref_time(559_259_000 as u64) + // Standard Error: 69_842 + .saturating_add(Weight::from_ref_time(2_031_472 as u64).saturating_mul(c as u64)) + // Standard Error: 69_842 + .saturating_add(Weight::from_ref_time(11_996_760 as u64).saturating_mul(t as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(t as u64))) @@ -75,7 +77,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(91_801_000 as u64) + // Minimum execution time: 94_359 nanoseconds. + Weight::from_ref_time(95_058_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(9 as u64)) } @@ -85,7 +88,8 @@ impl runtime_common::slots::WeightInfo for WeightInfo Weight { - Weight::from_ref_time(28_756_000 as u64) + // Minimum execution time: 29_605 nanoseconds. + Weight::from_ref_time(31_180_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } diff --git a/runtime/westend/src/weights/runtime_parachains_configuration.rs b/runtime/westend/src/weights/runtime_parachains_configuration.rs index 3d7021f73da9..21ffcbe3ab3e 100644 --- a/runtime/westend/src/weights/runtime_parachains_configuration.rs +++ b/runtime/westend/src/weights/runtime_parachains_configuration.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::configuration` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::configuration`. @@ -48,7 +48,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_block_number() -> Weight { - Weight::from_ref_time(11_077_000 as u64) + // Minimum execution time: 12_337 nanoseconds. + Weight::from_ref_time(12_771_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -56,7 +57,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_u32() -> Weight { - Weight::from_ref_time(11_628_000 as u64) + // Minimum execution time: 12_317 nanoseconds. + Weight::from_ref_time(13_005_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -64,7 +66,8 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_option_u32() -> Weight { - Weight::from_ref_time(11_476_000 as u64) + // Minimum execution time: 12_566 nanoseconds. + Weight::from_ref_time(13_063_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -72,19 +75,22 @@ impl runtime_parachains::configuration::WeightInfo for // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_weight() -> Weight { - Weight::from_ref_time(11_361_000 as u64) + // Minimum execution time: 12_626 nanoseconds. + Weight::from_ref_time(12_946_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Benchmark Override (r:0 w:0) fn set_hrmp_open_request_ttl() -> Weight { + // Minimum execution time: 2_000_000_000 nanoseconds. Weight::from_ref_time(2_000_000_000_000 as u64) } // Storage: Configuration PendingConfigs (r:1 w:1) // Storage: Configuration BypassConsistencyCheck (r:1 w:0) // Storage: ParasShared CurrentSessionIndex (r:1 w:0) fn set_config_with_balance() -> Weight { - Weight::from_ref_time(11_601_000 as u64) + // Minimum execution time: 12_697 nanoseconds. + Weight::from_ref_time(13_051_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/runtime_parachains_disputes.rs b/runtime/westend/src/weights/runtime_parachains_disputes.rs index 85090f4ed620..fe983117b01b 100644 --- a/runtime/westend/src/weights/runtime_parachains_disputes.rs +++ b/runtime/westend/src/weights/runtime_parachains_disputes.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::disputes` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::disputes`. @@ -46,7 +46,8 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::disputes::WeightInfo for WeightInfo { // Storage: ParasDisputes Frozen (r:0 w:1) fn force_unfreeze() -> Weight { - Weight::from_ref_time(4_357_000 as u64) + // Minimum execution time: 4_805 nanoseconds. + Weight::from_ref_time(5_035_000 as u64) .saturating_add(T::DbWeight::get().writes(1 as u64)) } } diff --git a/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs b/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs index 868be3969728..97780dd04c88 100644 --- a/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs +++ b/runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs @@ -16,22 +16,21 @@ //! Autogenerated weights for `runtime_parachains::disputes::slashing` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-08-31, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: -// /home/benchbot/cargo_target_dir/production/polkadot +// ./target/production/polkadot // benchmark // pallet +// --chain=westend-dev // --steps=50 // --repeat=20 +// --pallet=runtime_parachains::disputes::slashing // --extrinsic=* // --execution=wasm // --wasm-execution=compiled -// --heap-pages=4096 -// --pallet=runtime_parachains::disputes::slashing -// --chain=westend-dev // --header=./file_header.txt // --output=./runtime/westend/src/weights/runtime_parachains_disputes_slashing.rs @@ -49,8 +48,6 @@ impl runtime_parachains::disputes::slashing::WeightInfo // Storage: Historical HistoricalSessions (r:1 w:0) // Storage: ParaSessionInfo Sessions (r:1 w:0) // Storage: ParasSlashing UnappliedSlashes (r:1 w:1) - // Storage: Authorship Author (r:1 w:0) - // Storage: System Digest (r:1 w:0) // Storage: Offences ReportsByKindIndex (r:1 w:1) // Storage: Offences ConcurrentReportsIndex (r:1 w:1) // Storage: Offences Reports (r:1 w:1) @@ -61,10 +58,11 @@ impl runtime_parachains::disputes::slashing::WeightInfo // Storage: Staking ValidatorSlashInEra (r:1 w:0) /// The range of component `n` is `[4, 300]`. fn report_dispute_lost(n: u32, ) -> Weight { - Weight::from_ref_time(97_366_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(467_000 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(14 as u64)) + // Minimum execution time: 86_641 nanoseconds. + Weight::from_ref_time(100_448_901 as u64) + // Standard Error: 2_909 + .saturating_add(Weight::from_ref_time(237_873 as u64).saturating_mul(n as u64)) + .saturating_add(T::DbWeight::get().reads(12 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } } diff --git a/runtime/westend/src/weights/runtime_parachains_hrmp.rs b/runtime/westend/src/weights/runtime_parachains_hrmp.rs index 5cb4754daa02..b0104b86148a 100644 --- a/runtime/westend/src/weights/runtime_parachains_hrmp.rs +++ b/runtime/westend/src/weights/runtime_parachains_hrmp.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::hrmp` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::hrmp`. @@ -53,7 +53,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_init_open_channel() -> Weight { - Weight::from_ref_time(38_897_000 as u64) + // Minimum execution time: 42_236 nanoseconds. + Weight::from_ref_time(42_643_000 as u64) .saturating_add(T::DbWeight::get().reads(9 as u64)) .saturating_add(T::DbWeight::get().writes(5 as u64)) } @@ -64,7 +65,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_accept_open_channel() -> Weight { - Weight::from_ref_time(38_657_000 as u64) + // Minimum execution time: 42_348 nanoseconds. + Weight::from_ref_time(45_358_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -74,7 +76,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Dmp DownwardMessageQueueHeads (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) fn hrmp_close_channel() -> Weight { - Weight::from_ref_time(35_977_000 as u64) + // Minimum execution time: 44_696 nanoseconds. + Weight::from_ref_time(46_077_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -87,11 +90,12 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf /// The range of component `i` is `[0, 127]`. /// The range of component `e` is `[0, 127]`. fn force_clean_hrmp(i: u32, e: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(7_277_000 as u64).saturating_mul(i as u64)) - // Standard Error: 15_000 - .saturating_add(Weight::from_ref_time(7_283_000 as u64).saturating_mul(e as u64)) + // Minimum execution time: 867_905 nanoseconds. + Weight::from_ref_time(871_643_000 as u64) + // Standard Error: 80_060 + .saturating_add(Weight::from_ref_time(2_666_207 as u64).saturating_mul(i as u64)) + // Standard Error: 80_060 + .saturating_add(Weight::from_ref_time(2_737_378 as u64).saturating_mul(e as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(i as u64))) .saturating_add(T::DbWeight::get().reads((2 as u64).saturating_mul(e as u64))) @@ -109,9 +113,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpChannels (r:0 w:2) /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_open(c: u32, ) -> Weight { - Weight::from_ref_time(4_112_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(15_678_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 10_127 nanoseconds. + Weight::from_ref_time(465_403 as u64) + // Standard Error: 13_887 + .saturating_add(Weight::from_ref_time(15_736_845 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -125,9 +130,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpChannelContents (r:0 w:2) /// The range of component `c` is `[0, 128]`. fn force_process_hrmp_close(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(9_674_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 6_473 nanoseconds. + Weight::from_ref_time(335_647 as u64) + // Standard Error: 11_098 + .saturating_add(Weight::from_ref_time(9_684_287 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -138,9 +144,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequestCount (r:1 w:1) /// The range of component `c` is `[0, 128]`. fn hrmp_cancel_open_request(c: u32, ) -> Weight { - Weight::from_ref_time(29_660_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(89_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 25_408 nanoseconds. + Weight::from_ref_time(31_410_214 as u64) + // Standard Error: 1_341 + .saturating_add(Weight::from_ref_time(97_088 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -148,9 +155,10 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpOpenChannelRequests (r:2 w:2) /// The range of component `c` is `[0, 128]`. fn clean_open_channel_requests(c: u32, ) -> Weight { - Weight::from_ref_time(843_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_591_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 4_587 nanoseconds. + Weight::from_ref_time(3_141_418 as u64) + // Standard Error: 4_136 + .saturating_add(Weight::from_ref_time(2_571_806 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(c as u64))) .saturating_add(T::DbWeight::get().writes(1 as u64)) @@ -167,7 +175,8 @@ impl runtime_parachains::hrmp::WeightInfo for WeightInf // Storage: Hrmp HrmpIngressChannelsIndex (r:1 w:0) // Storage: Hrmp HrmpAcceptedChannelRequestCount (r:1 w:1) fn force_open_hrmp_channel() -> Weight { - Weight::from_ref_time(104_771_000 as u64) + // Minimum execution time: 52_246 nanoseconds. + Weight::from_ref_time(52_759_000 as u64) .saturating_add(T::DbWeight::get().reads(13 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } diff --git a/runtime/westend/src/weights/runtime_parachains_initializer.rs b/runtime/westend/src/weights/runtime_parachains_initializer.rs index a7d569364b07..be7737424cbf 100644 --- a/runtime/westend/src/weights/runtime_parachains_initializer.rs +++ b/runtime/westend/src/weights/runtime_parachains_initializer.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::initializer` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::initializer`. @@ -47,9 +47,10 @@ impl runtime_parachains::initializer::WeightInfo for We // Storage: System Digest (r:1 w:1) /// The range of component `d` is `[0, 65536]`. fn force_approve(d: u32, ) -> Weight { - Weight::from_ref_time(10_816_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(d as u64)) + // Minimum execution time: 8_409 nanoseconds. + Weight::from_ref_time(11_270_686 as u64) + // Standard Error: 4 + .saturating_add(Weight::from_ref_time(1_294 as u64).saturating_mul(d as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } diff --git a/runtime/westend/src/weights/runtime_parachains_paras.rs b/runtime/westend/src/weights/runtime_parachains_paras.rs index 62de4f872ba9..58336118c946 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::paras`. @@ -52,18 +52,20 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_set_current_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 38_715 nanoseconds. + Weight::from_ref_time(38_929_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_347 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(4 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } // Storage: Paras Heads (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_set_current_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 13_799 nanoseconds. + Weight::from_ref_time(14_046_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(957 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Paras FutureCodeHash (r:1 w:1) @@ -78,9 +80,10 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeRestrictionSignal (r:0 w:1) /// The range of component `c` is `[1, 3145728]`. fn force_schedule_code_upgrade(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 64_410 nanoseconds. + Weight::from_ref_time(64_726_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_381 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().writes(8 as u64)) } @@ -89,16 +92,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `s` is `[1, 1048576]`. fn force_note_new_head(s: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(1_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 19_973 nanoseconds. + Weight::from_ref_time(20_282_000 as u64) + // Standard Error: 2 + .saturating_add(Weight::from_ref_time(959 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(2 as u64)) } // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras ActionsQueue (r:1 w:1) fn force_queue_action() -> Weight { - Weight::from_ref_time(23_089_000 as u64) + // Minimum execution time: 24_774 nanoseconds. + Weight::from_ref_time(25_196_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -106,16 +111,18 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CodeByHash (r:1 w:1) /// The range of component `c` is `[1, 3145728]`. fn add_trusted_validation_code(c: u32, ) -> Weight { - Weight::from_ref_time(0 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(c as u64)) + // Minimum execution time: 9_323 nanoseconds. + Weight::from_ref_time(9_449_000 as u64) + // Standard Error: 1 + .saturating_add(Weight::from_ref_time(2_358 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } // Storage: Paras CodeByHashRefs (r:1 w:0) // Storage: Paras CodeByHash (r:0 w:1) fn poke_unused_validation_code() -> Weight { - Weight::from_ref_time(6_855_000 as u64) + // Minimum execution time: 7_298 nanoseconds. + Weight::from_ref_time(7_449_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -123,7 +130,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: ParasShared CurrentSessionIndex (r:1 w:0) // Storage: Paras PvfActiveVoteMap (r:1 w:1) fn include_pvf_check_statement() -> Weight { - Weight::from_ref_time(92_275_000 as u64) + // Minimum execution time: 93_045 nanoseconds. + Weight::from_ref_time(94_976_000 as u64) .saturating_add(T::DbWeight::get().reads(3 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -135,7 +143,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: System Digest (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_accept() -> Weight { - Weight::from_ref_time(637_301_000 as u64) + // Minimum execution time: 642_157 nanoseconds. + Weight::from_ref_time(646_001_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(104 as u64)) } @@ -148,7 +157,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras UpgradeGoAheadSignal (r:0 w:100) // Storage: Paras FutureCodeHash (r:0 w:100) fn include_pvf_check_statement_finalize_upgrade_reject() -> Weight { - Weight::from_ref_time(602_283_000 as u64) + // Minimum execution time: 590_509 nanoseconds. + Weight::from_ref_time(593_930_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(204 as u64)) } @@ -158,7 +168,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras PvfActiveVoteList (r:1 w:1) // Storage: Paras ActionsQueue (r:1 w:1) fn include_pvf_check_statement_finalize_onboarding_accept() -> Weight { - Weight::from_ref_time(509_697_000 as u64) + // Minimum execution time: 494_553 nanoseconds. + Weight::from_ref_time(499_464_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -172,7 +183,8 @@ impl runtime_parachains::paras::WeightInfo for WeightIn // Storage: Paras CurrentCodeHash (r:0 w:100) // Storage: Paras UpcomingParasGenesis (r:0 w:100) fn include_pvf_check_statement_finalize_onboarding_reject() -> Weight { - Weight::from_ref_time(678_895_000 as u64) + // Minimum execution time: 657_723 nanoseconds. + Weight::from_ref_time(664_673_000 as u64) .saturating_add(T::DbWeight::get().reads(5 as u64)) .saturating_add(T::DbWeight::get().writes(304 as u64)) } diff --git a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs index 176213574750..f48eac260b0e 100644 --- a/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs +++ b/runtime/westend/src/weights/runtime_parachains_paras_inherent.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::paras_inherent` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::paras_inherent`. @@ -53,14 +53,15 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParasDisputes Included (r:1 w:1) // Storage: ParasDisputes SpamSlots (r:1 w:1) // Storage: ParaScheduler AvailabilityCores (r:1 w:1) + // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) + // Storage: Staking ActiveEra (r:1 w:0) + // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: ParasDisputes Frozen (r:1 w:0) // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParasShared ActiveValidatorKeys (r:1 w:0) // Storage: Paras Parachains (r:1 w:0) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) - // Storage: ParaSessionInfo AccountKeys (r:1 w:0) - // Storage: Staking ActiveEra (r:1 w:0) - // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) // Storage: Hrmp HrmpChannelDigests (r:1 w:1) // Storage: Paras FutureCodeUpgrades (r:1 w:0) @@ -74,12 +75,15 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Hrmp HrmpWatermarks (r:0 w:1) // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) + // Storage: Session CurrentIndex (r:1 w:0) + // Storage: ParasSlashing UnappliedSlashes (r:0 w:1) /// The range of component `v` is `[10, 200]`. fn enter_variable_disputes(v: u32, ) -> Weight { - Weight::from_ref_time(324_637_000 as u64) - // Standard Error: 22_000 - .saturating_add(Weight::from_ref_time(48_505_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(28 as u64)) + // Minimum execution time: 821_332 nanoseconds. + Weight::from_ref_time(359_810_525 as u64) + // Standard Error: 18_715 + .saturating_add(Weight::from_ref_time(47_648_405 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(29 as u64)) .saturating_add(T::DbWeight::get().writes(18 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -93,6 +97,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -112,8 +117,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_bitfields() -> Weight { - Weight::from_ref_time(319_428_000 as u64) - .saturating_add(T::DbWeight::get().reads(25 as u64)) + // Minimum execution time: 339_897 nanoseconds. + Weight::from_ref_time(345_687_000 as u64) + .saturating_add(T::DbWeight::get().reads(26 as u64)) .saturating_add(T::DbWeight::get().writes(17 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -127,6 +133,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -148,10 +155,11 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) /// The range of component `v` is `[101, 200]`. fn enter_backed_candidates_variable(v: u32, ) -> Weight { - Weight::from_ref_time(873_724_000 as u64) - // Standard Error: 49_000 - .saturating_add(Weight::from_ref_time(47_930_000 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(28 as u64)) + // Minimum execution time: 5_636_363 nanoseconds. + Weight::from_ref_time(904_039_610 as u64) + // Standard Error: 47_739 + .saturating_add(Weight::from_ref_time(47_290_716 as u64).saturating_mul(v as u64)) + .saturating_add(T::DbWeight::get().reads(29 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } // Storage: ParaInherent Included (r:1 w:1) @@ -165,6 +173,7 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: ParaInclusion PendingAvailability (r:2 w:1) // Storage: ParaInclusion PendingAvailabilityCommitments (r:1 w:1) // Storage: ParaSessionInfo AccountKeys (r:1 w:0) + // Storage: Session Validators (r:1 w:0) // Storage: Staking ActiveEra (r:1 w:0) // Storage: Staking ErasRewardPoints (r:1 w:1) // Storage: Dmp DownwardMessageQueues (r:1 w:1) @@ -187,8 +196,9 @@ impl runtime_parachains::paras_inherent::WeightInfo for // Storage: Paras Heads (r:0 w:1) // Storage: Paras UpgradeGoAheadSignal (r:0 w:1) fn enter_backed_candidate_code_upgrade() -> Weight { - Weight::from_ref_time(37_417_873_000 as u64) - .saturating_add(T::DbWeight::get().reads(30 as u64)) + // Minimum execution time: 39_347_863 nanoseconds. + Weight::from_ref_time(39_581_368_000 as u64) + .saturating_add(T::DbWeight::get().reads(31 as u64)) .saturating_add(T::DbWeight::get().writes(16 as u64)) } } diff --git a/runtime/westend/src/weights/runtime_parachains_ump.rs b/runtime/westend/src/weights/runtime_parachains_ump.rs index 887be07dd4b8..6afe1a8685dc 100644 --- a/runtime/westend/src/weights/runtime_parachains_ump.rs +++ b/runtime/westend/src/weights/runtime_parachains_ump.rs @@ -16,8 +16,8 @@ //! Autogenerated weights for `runtime_parachains::ump` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: @@ -38,7 +38,7 @@ #![allow(unused_parens)] #![allow(unused_imports)] -use frame_support::{traits::Get, weights::{Weight}}; +use frame_support::{traits::Get, weights::Weight}; use sp_std::marker::PhantomData; /// Weight functions for `runtime_parachains::ump`. @@ -46,22 +46,25 @@ pub struct WeightInfo(PhantomData); impl runtime_parachains::ump::WeightInfo for WeightInfo { /// The range of component `s` is `[0, 51200]`. fn process_upward_message(s: u32, ) -> Weight { - Weight::from_ref_time(4_124_000 as u64) - // Standard Error: 0 - .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) + // Minimum execution time: 10_921 nanoseconds. + Weight::from_ref_time(5_417_303 as u64) + // Standard Error: 13 + .saturating_add(Weight::from_ref_time(1_939 as u64).saturating_mul(s as u64)) } // Storage: Ump NeedsDispatch (r:1 w:1) // Storage: Ump NextDispatchRoundStartWith (r:1 w:1) // Storage: Ump RelayDispatchQueues (r:0 w:1) // Storage: Ump RelayDispatchQueueSize (r:0 w:1) fn clean_ump_after_outgoing() -> Weight { - Weight::from_ref_time(8_684_000 as u64) + // Minimum execution time: 9_499 nanoseconds. + Weight::from_ref_time(9_800_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } // Storage: Ump Overweight (r:1 w:1) fn service_overweight() -> Weight { - Weight::from_ref_time(23_672_000 as u64) + // Minimum execution time: 26_656 nanoseconds. + Weight::from_ref_time(27_122_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } From b6ccb9ea562d6ca27ecd7336ce764c1ff4a2eded Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 8 Dec 2022 15:12:04 +0100 Subject: [PATCH 172/211] Feature gate test `benchmark_storage_works` (#6376) * Feature gate storage bench test Signed-off-by: Oliver Tale-Yazdi * typo Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> --- tests/benchmark_storage_works.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/benchmark_storage_works.rs b/tests/benchmark_storage_works.rs index 8d9694aa0a0e..7c9e40b9d0b9 100644 --- a/tests/benchmark_storage_works.rs +++ b/tests/benchmark_storage_works.rs @@ -14,6 +14,8 @@ // You should have received a copy of the GNU General Public License // along with Polkadot. If not, see . +#![cfg(feature = "runtime-benchmarks")] + use assert_cmd::cargo::cargo_bin; use std::{ path::Path, From 6d612ab1fee2dcaaabd19ee12a9399d0c01a10f7 Mon Sep 17 00:00:00 2001 From: Keith Yeung Date: Fri, 9 Dec 2022 01:56:37 +0900 Subject: [PATCH 173/211] Companion for paritytech/substrate#12868 (#6406) * Replace WEIGHT_PER_* with WEIGHT_REF_TIME_PER_* * cargo fmt * Update substrate --- Cargo.lock | 362 +++++++++--------- runtime/common/src/lib.rs | 4 +- .../constants/src/weights/block_weights.rs | 9 +- .../src/weights/extrinsic_weights.rs | 9 +- .../constants/src/weights/paritydb_weights.rs | 12 +- .../constants/src/weights/rocksdb_weights.rs | 12 +- runtime/parachains/src/configuration.rs | 8 +- .../parachains/src/configuration/migration.rs | 2 +- .../constants/src/weights/block_weights.rs | 9 +- .../src/weights/extrinsic_weights.rs | 9 +- .../constants/src/weights/paritydb_weights.rs | 12 +- .../constants/src/weights/rocksdb_weights.rs | 12 +- .../constants/src/weights/block_weights.rs | 9 +- .../src/weights/extrinsic_weights.rs | 9 +- .../constants/src/weights/paritydb_weights.rs | 12 +- .../constants/src/weights/rocksdb_weights.rs | 12 +- .../constants/src/weights/block_weights.rs | 7 +- .../src/weights/extrinsic_weights.rs | 7 +- .../constants/src/weights/paritydb_weights.rs | 12 +- .../constants/src/weights/rocksdb_weights.rs | 12 +- .../constants/src/weights/block_weights.rs | 9 +- .../src/weights/extrinsic_weights.rs | 9 +- .../constants/src/weights/paritydb_weights.rs | 12 +- .../constants/src/weights/rocksdb_weights.rs | 12 +- xcm/xcm-builder/src/tests.rs | 6 +- xcm/xcm-builder/src/weight.rs | 10 +- xcm/xcm-simulator/example/src/parachain.rs | 6 +- xcm/xcm-simulator/fuzzer/src/parachain.rs | 6 +- 28 files changed, 312 insertions(+), 298 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fcb50982c58e..ac2bd158e616 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "env_logger 0.9.0", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "chrono", "frame-election-provider-support", @@ -4083,7 +4083,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "log", @@ -4103,7 +4103,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "anyhow", "jsonrpsee", @@ -4608,7 +4608,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4622,7 +4622,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -4638,7 +4638,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -4653,7 +4653,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4677,7 +4677,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4697,7 +4697,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4716,7 +4716,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4731,7 +4731,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -4747,7 +4747,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4770,7 +4770,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4788,7 +4788,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4807,7 +4807,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4824,7 +4824,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4841,7 +4841,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4859,7 +4859,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4883,7 +4883,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4896,7 +4896,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4914,13 +4914,14 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "log", + "pallet-staking", "parity-scale-codec", "scale-info", "sp-io", @@ -4932,7 +4933,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4955,7 +4956,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4971,7 +4972,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -4991,7 +4992,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5008,7 +5009,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5025,7 +5026,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5042,7 +5043,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5058,7 +5059,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5074,7 +5075,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -5091,7 +5092,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5111,7 +5112,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "sp-api", @@ -5121,7 +5122,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -5138,7 +5139,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5161,7 +5162,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5178,7 +5179,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5193,7 +5194,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5211,7 +5212,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5226,7 +5227,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5245,7 +5246,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5261,7 +5262,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -5282,7 +5283,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5298,7 +5299,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -5312,7 +5313,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5320,6 +5321,7 @@ dependencies = [ "frame-system", "log", "pallet-authorship", + "pallet-bags-list", "pallet-session", "parity-scale-codec", "rand_chacha 0.2.2", @@ -5335,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5346,7 +5348,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "log", "sp-arithmetic", @@ -5355,7 +5357,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5372,7 +5374,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -5386,7 +5388,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5404,7 +5406,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5423,7 +5425,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-support", "frame-system", @@ -5439,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5455,7 +5457,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5467,7 +5469,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5484,7 +5486,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5500,7 +5502,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -5515,7 +5517,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-benchmarking", "frame-support", @@ -8286,7 +8288,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "log", "sp-core", @@ -8297,7 +8299,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures", @@ -8324,7 +8326,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "futures-timer", @@ -8347,7 +8349,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8363,7 +8365,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8380,7 +8382,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8391,7 +8393,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "chrono", @@ -8431,7 +8433,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "fnv", "futures", @@ -8459,7 +8461,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "hash-db", "kvdb", @@ -8484,7 +8486,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures", @@ -8508,7 +8510,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "fork-tree", @@ -8549,7 +8551,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "jsonrpsee", @@ -8571,7 +8573,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8584,7 +8586,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures", @@ -8608,7 +8610,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "lru", "parity-scale-codec", @@ -8632,7 +8634,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8645,7 +8647,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "log", "sc-allocator", @@ -8658,7 +8660,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "cfg-if", "libc", @@ -8675,7 +8677,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "ahash", "array-bytes", @@ -8716,7 +8718,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "finality-grandpa", "futures", @@ -8737,7 +8739,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "ansi_term", "futures", @@ -8753,7 +8755,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "async-trait", @@ -8768,7 +8770,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "async-trait", @@ -8815,7 +8817,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "cid", "futures", @@ -8835,7 +8837,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "bitflags", @@ -8861,7 +8863,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "ahash", "futures", @@ -8879,7 +8881,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "futures", @@ -8900,7 +8902,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "async-trait", @@ -8931,7 +8933,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "futures", @@ -8950,7 +8952,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "bytes", @@ -8980,7 +8982,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "libp2p", @@ -8993,7 +8995,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9002,7 +9004,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "hash-db", @@ -9032,7 +9034,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "jsonrpsee", @@ -9055,7 +9057,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "jsonrpsee", @@ -9068,7 +9070,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "hex", @@ -9087,7 +9089,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "directories", @@ -9157,7 +9159,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "log", "parity-scale-codec", @@ -9169,7 +9171,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9188,7 +9190,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "libc", @@ -9207,7 +9209,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "chrono", "futures", @@ -9225,7 +9227,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "ansi_term", "atty", @@ -9256,7 +9258,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9267,7 +9269,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures", @@ -9293,7 +9295,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures", @@ -9307,7 +9309,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "futures-timer", @@ -9788,7 +9790,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "hash-db", "log", @@ -9806,7 +9808,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "blake2", "proc-macro-crate", @@ -9818,7 +9820,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9831,7 +9833,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "integer-sqrt", "num-traits", @@ -9846,7 +9848,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9859,7 +9861,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "parity-scale-codec", @@ -9871,7 +9873,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9888,7 +9890,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "sp-api", @@ -9900,7 +9902,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "log", @@ -9918,7 +9920,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures", @@ -9937,7 +9939,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "merlin", @@ -9960,7 +9962,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9974,7 +9976,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -9987,7 +9989,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "base58", @@ -10032,7 +10034,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "blake2", "byteorder", @@ -10046,7 +10048,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro2", "quote", @@ -10057,7 +10059,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10066,7 +10068,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro2", "quote", @@ -10076,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "environmental", "parity-scale-codec", @@ -10087,7 +10089,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "finality-grandpa", "log", @@ -10105,7 +10107,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10119,7 +10121,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "bytes", "ed25519-dalek", @@ -10146,7 +10148,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "lazy_static", "sp-core", @@ -10157,7 +10159,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures", @@ -10174,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "thiserror", "zstd", @@ -10183,7 +10185,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10201,7 +10203,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10215,7 +10217,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "sp-api", "sp-core", @@ -10225,7 +10227,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "backtrace", "lazy_static", @@ -10235,7 +10237,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "rustc-hash", "serde", @@ -10245,7 +10247,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "either", "hash256-std-hasher", @@ -10267,7 +10269,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10285,7 +10287,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "Inflector", "proc-macro-crate", @@ -10297,7 +10299,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10311,7 +10313,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "scale-info", @@ -10322,7 +10324,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "hash-db", "log", @@ -10344,12 +10346,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10362,7 +10364,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "futures-timer", @@ -10378,7 +10380,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "sp-std", @@ -10390,7 +10392,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "sp-api", "sp-runtime", @@ -10399,7 +10401,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "log", @@ -10415,7 +10417,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "ahash", "hash-db", @@ -10438,7 +10440,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10455,7 +10457,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10466,7 +10468,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "impl-trait-for-tuples", "log", @@ -10479,7 +10481,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10694,7 +10696,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "platforms", ] @@ -10702,7 +10704,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10723,7 +10725,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures-util", "hyper", @@ -10736,7 +10738,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "async-trait", "jsonrpsee", @@ -10749,7 +10751,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "jsonrpsee", "log", @@ -10770,7 +10772,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "array-bytes", "async-trait", @@ -10796,7 +10798,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10806,7 +10808,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10817,7 +10819,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "ansi_term", "build-helper", @@ -11528,7 +11530,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#0a27e54514338b71204e7321192fbd32dae3b950" +source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" dependencies = [ "clap", "frame-remote-externalities", diff --git a/runtime/common/src/lib.rs b/runtime/common/src/lib.rs index ac5fc69a28e4..3fb1d9021307 100644 --- a/runtime/common/src/lib.rs +++ b/runtime/common/src/lib.rs @@ -40,7 +40,7 @@ mod mock; use frame_support::{ parameter_types, traits::{ConstU32, Currency, OneSessionHandler}, - weights::{constants::WEIGHT_PER_SECOND, Weight}, + weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, }; use frame_system::limits; use primitives::v2::{AssignmentId, Balance, BlockNumber, ValidatorId, MAX_POV_SIZE}; @@ -71,7 +71,7 @@ pub const AVERAGE_ON_INITIALIZE_RATIO: Perbill = Perbill::from_percent(1); pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75); /// The storage proof size is not limited so far. pub const MAXIMUM_BLOCK_WEIGHT: Weight = - WEIGHT_PER_SECOND.saturating_mul(2).set_proof_size(MAX_POV_SIZE as u64); + Weight::from_parts(WEIGHT_REF_TIME_PER_SECOND.saturating_mul(2), MAX_POV_SIZE as u64); const_assert!(NORMAL_DISPATCH_RATIO.deconstruct() >= AVERAGE_ON_INITIALIZE_RATIO.deconstruct()); diff --git a/runtime/kusama/constants/src/weights/block_weights.rs b/runtime/kusama/constants/src/weights/block_weights.rs index 546c6426d826..7931478ee7b0 100644 --- a/runtime/kusama/constants/src/weights/block_weights.rs +++ b/runtime/kusama/constants/src/weights/block_weights.rs @@ -35,7 +35,7 @@ // --header=./file_header.txt use sp_core::parameter_types; -use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; +use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; parameter_types! { /// Time to execute an empty block. @@ -51,7 +51,8 @@ parameter_types! { /// 99th: 6_876_251 /// 95th: 6_811_463 /// 75th: 6_751_221 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(6_731_894); + pub const BlockExecutionWeight: Weight = + Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(6_731_894)); } #[cfg(test)] @@ -67,12 +68,12 @@ mod test_weights { // At least 100 µs. assert!( - w.ref_time() >= 100u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 100u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 100 µs." ); // At most 50 ms. assert!( - w.ref_time() <= 50u64 * constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= 50u64 * constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 50 ms." ); } diff --git a/runtime/kusama/constants/src/weights/extrinsic_weights.rs b/runtime/kusama/constants/src/weights/extrinsic_weights.rs index 0de0c399f783..f0fc7739ee27 100644 --- a/runtime/kusama/constants/src/weights/extrinsic_weights.rs +++ b/runtime/kusama/constants/src/weights/extrinsic_weights.rs @@ -35,7 +35,7 @@ // --header=./file_header.txt use sp_core::parameter_types; -use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; +use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. @@ -51,7 +51,8 @@ parameter_types! { /// 99th: 96_279 /// 95th: 95_584 /// 75th: 95_005 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(94_889); + pub const ExtrinsicBaseWeight: Weight = + Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(94_889)); } #[cfg(test)] @@ -67,12 +68,12 @@ mod test_weights { // At least 10 µs. assert!( - w.ref_time() >= 10u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 10 µs." ); // At most 1 ms. assert!( - w.ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 1 ms." ); } diff --git a/runtime/kusama/constants/src/weights/paritydb_weights.rs b/runtime/kusama/constants/src/weights/paritydb_weights.rs index dca7d348310c..4338d928d807 100644 --- a/runtime/kusama/constants/src/weights/paritydb_weights.rs +++ b/runtime/kusama/constants/src/weights/paritydb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights /// are available for brave runtime engineers who may want to try this out as default. pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 8_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 50_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 8_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 50_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/kusama/constants/src/weights/rocksdb_weights.rs b/runtime/kusama/constants/src/weights/rocksdb_weights.rs index 87867ebfe177..1d115d963fac 100644 --- a/runtime/kusama/constants/src/weights/rocksdb_weights.rs +++ b/runtime/kusama/constants/src/weights/rocksdb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout /// the runtime. pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 25_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 100_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 25_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 100_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/parachains/src/configuration.rs b/runtime/parachains/src/configuration.rs index 2ebaff1b8282..113fad1d7a57 100644 --- a/runtime/parachains/src/configuration.rs +++ b/runtime/parachains/src/configuration.rs @@ -19,7 +19,7 @@ //! Configuration can change only at session boundaries and is buffered until then. use crate::shared; -use frame_support::{pallet_prelude::*, weights::constants::WEIGHT_PER_MILLIS}; +use frame_support::{pallet_prelude::*, weights::constants::WEIGHT_REF_TIME_PER_MILLIS}; use frame_system::pallet_prelude::*; use parity_scale_codec::{Decode, Encode}; use primitives::v2::{Balance, SessionIndex, MAX_CODE_SIZE, MAX_HEAD_DATA_SIZE, MAX_POV_SIZE}; @@ -285,8 +285,10 @@ impl> Default for HostConfiguration= 100u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 100u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 100 µs." ); // At most 50 ms. assert!( - w.ref_time() <= 50u64 * constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= 50u64 * constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 50 ms." ); } diff --git a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs index 334cf0089167..e56fc9108452 100644 --- a/runtime/polkadot/constants/src/weights/extrinsic_weights.rs +++ b/runtime/polkadot/constants/src/weights/extrinsic_weights.rs @@ -35,7 +35,7 @@ // --header=./file_header.txt use sp_core::parameter_types; -use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; +use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. @@ -51,7 +51,8 @@ parameter_types! { /// 99th: 96_351 /// 95th: 96_116 /// 75th: 95_639 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(95_479); + pub const ExtrinsicBaseWeight: Weight = + Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(95_479)); } #[cfg(test)] @@ -67,12 +68,12 @@ mod test_weights { // At least 10 µs. assert!( - w.ref_time() >= 10u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 10 µs." ); // At most 1 ms. assert!( - w.ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 1 ms." ); } diff --git a/runtime/polkadot/constants/src/weights/paritydb_weights.rs b/runtime/polkadot/constants/src/weights/paritydb_weights.rs index 9695b7bc7800..95c91e5182bd 100644 --- a/runtime/polkadot/constants/src/weights/paritydb_weights.rs +++ b/runtime/polkadot/constants/src/weights/paritydb_weights.rs @@ -57,7 +57,7 @@ pub mod constants { /// 99th: 14_451 /// 95th: 12_588 /// 75th: 11_200 - read: 11_826 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 11_826 * constants::WEIGHT_REF_TIME_PER_NANOS, /// Time to write one storage item. /// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`. @@ -72,7 +72,7 @@ pub mod constants { /// 99th: 69_379 /// 95th: 47_168 /// 75th: 35_252 - write: 38_052 * constants::WEIGHT_PER_NANOS.ref_time(), + write: 38_052 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -88,20 +88,20 @@ pub mod constants { fn bound() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/polkadot/constants/src/weights/rocksdb_weights.rs b/runtime/polkadot/constants/src/weights/rocksdb_weights.rs index 1ed70431b9e3..cfc480ce9461 100644 --- a/runtime/polkadot/constants/src/weights/rocksdb_weights.rs +++ b/runtime/polkadot/constants/src/weights/rocksdb_weights.rs @@ -56,7 +56,7 @@ pub mod constants { /// 99th: 32_074 /// 95th: 26_658 /// 75th: 19_363 - read: 20_499 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 20_499 * constants::WEIGHT_REF_TIME_PER_NANOS, /// Time to write one storage item. /// Calculated by multiplying the *Average* of all values with `1.1` and adding `0`. @@ -71,7 +71,7 @@ pub mod constants { /// 99th: 111_151 /// 95th: 92_666 /// 75th: 80_297 - write: 83_471 * constants::WEIGHT_PER_NANOS.ref_time(), + write: 83_471 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -87,20 +87,20 @@ pub mod constants { fn bound() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/rococo/constants/src/weights/block_weights.rs b/runtime/rococo/constants/src/weights/block_weights.rs index 6be462e2b490..8d0f096561c4 100644 --- a/runtime/rococo/constants/src/weights/block_weights.rs +++ b/runtime/rococo/constants/src/weights/block_weights.rs @@ -35,7 +35,7 @@ // --header=./file_header.txt use sp_core::parameter_types; -use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; +use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; parameter_types! { /// Time to execute an empty block. @@ -51,7 +51,8 @@ parameter_types! { /// 99th: 5_495_378 /// 95th: 5_453_765 /// 75th: 5_352_587 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_334_883); + pub const BlockExecutionWeight: Weight = + Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_334_883)); } #[cfg(test)] @@ -67,12 +68,12 @@ mod test_weights { // At least 100 µs. assert!( - w.ref_time() >= 100u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 100u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 100 µs." ); // At most 50 ms. assert!( - w.ref_time() <= 50u64 * constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= 50u64 * constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 50 ms." ); } diff --git a/runtime/rococo/constants/src/weights/extrinsic_weights.rs b/runtime/rococo/constants/src/weights/extrinsic_weights.rs index 46d516b44611..0993985292d8 100644 --- a/runtime/rococo/constants/src/weights/extrinsic_weights.rs +++ b/runtime/rococo/constants/src/weights/extrinsic_weights.rs @@ -35,7 +35,7 @@ // --header=./file_header.txt use sp_core::parameter_types; -use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; +use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. @@ -51,7 +51,8 @@ parameter_types! { /// 99th: 87_916 /// 95th: 87_727 /// 75th: 87_112 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(87_092); + pub const ExtrinsicBaseWeight: Weight = + Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(87_092)); } #[cfg(test)] @@ -67,12 +68,12 @@ mod test_weights { // At least 10 µs. assert!( - w.ref_time() >= 10u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 10 µs." ); // At most 1 ms. assert!( - w.ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 1 ms." ); } diff --git a/runtime/rococo/constants/src/weights/paritydb_weights.rs b/runtime/rococo/constants/src/weights/paritydb_weights.rs index dca7d348310c..4338d928d807 100644 --- a/runtime/rococo/constants/src/weights/paritydb_weights.rs +++ b/runtime/rococo/constants/src/weights/paritydb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights /// are available for brave runtime engineers who may want to try this out as default. pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 8_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 50_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 8_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 50_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/rococo/constants/src/weights/rocksdb_weights.rs b/runtime/rococo/constants/src/weights/rocksdb_weights.rs index 87867ebfe177..1d115d963fac 100644 --- a/runtime/rococo/constants/src/weights/rocksdb_weights.rs +++ b/runtime/rococo/constants/src/weights/rocksdb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout /// the runtime. pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 25_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 100_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 25_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 100_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/test-runtime/constants/src/weights/block_weights.rs b/runtime/test-runtime/constants/src/weights/block_weights.rs index c004307336d9..ea8a341b58bb 100644 --- a/runtime/test-runtime/constants/src/weights/block_weights.rs +++ b/runtime/test-runtime/constants/src/weights/block_weights.rs @@ -23,7 +23,8 @@ pub mod constants { parameter_types! { /// Importing a block with 0 Extrinsics. - pub const BlockExecutionWeight: Weight = constants::WEIGHT_PER_NANOS.saturating_mul(5_000_000); + pub const BlockExecutionWeight: Weight = + Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_000_000)); } #[cfg(test)] @@ -39,12 +40,12 @@ pub mod constants { // At least 100 µs. assert!( - w.ref_time() >= 100u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 100u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 100 µs." ); // At most 50 ms. assert!( - w.ref_time() <= 50u64 * constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= 50u64 * constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 50 ms." ); } diff --git a/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs b/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs index 3ce6b73d5844..0512efb60e2a 100644 --- a/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs +++ b/runtime/test-runtime/constants/src/weights/extrinsic_weights.rs @@ -23,7 +23,8 @@ pub mod constants { parameter_types! { /// Executing a NO-OP `System::remarks` Extrinsic. - pub const ExtrinsicBaseWeight: Weight = constants::WEIGHT_PER_NANOS.saturating_mul(125_000); + pub const ExtrinsicBaseWeight: Weight = + Weight::from_ref_time(constants::WEIGHT_REF_TIME_PER_NANOS.saturating_mul(125_000)); } #[cfg(test)] @@ -39,12 +40,12 @@ pub mod constants { // At least 10 µs. assert!( - w.ref_time() >= 10u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 10 µs." ); // At most 1 ms. assert!( - w.ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 1 ms." ); } diff --git a/runtime/test-runtime/constants/src/weights/paritydb_weights.rs b/runtime/test-runtime/constants/src/weights/paritydb_weights.rs index dca7d348310c..4338d928d807 100644 --- a/runtime/test-runtime/constants/src/weights/paritydb_weights.rs +++ b/runtime/test-runtime/constants/src/weights/paritydb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights /// are available for brave runtime engineers who may want to try this out as default. pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 8_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 50_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 8_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 50_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/test-runtime/constants/src/weights/rocksdb_weights.rs b/runtime/test-runtime/constants/src/weights/rocksdb_weights.rs index 87867ebfe177..1d115d963fac 100644 --- a/runtime/test-runtime/constants/src/weights/rocksdb_weights.rs +++ b/runtime/test-runtime/constants/src/weights/rocksdb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout /// the runtime. pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 25_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 100_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 25_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 100_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/westend/constants/src/weights/block_weights.rs b/runtime/westend/constants/src/weights/block_weights.rs index ccd238cbd153..dd2e447a409a 100644 --- a/runtime/westend/constants/src/weights/block_weights.rs +++ b/runtime/westend/constants/src/weights/block_weights.rs @@ -35,7 +35,7 @@ // --header=./file_header.txt use sp_core::parameter_types; -use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; +use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; parameter_types! { /// Time to execute an empty block. @@ -51,7 +51,8 @@ parameter_types! { /// 99th: 5_381_058 /// 95th: 5_313_959 /// 75th: 5_227_090 - pub const BlockExecutionWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(5_208_926); + pub const BlockExecutionWeight: Weight = + Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(5_208_926)); } #[cfg(test)] @@ -67,12 +68,12 @@ mod test_weights { // At least 100 µs. assert!( - w.ref_time() >= 100u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 100u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 100 µs." ); // At most 50 ms. assert!( - w.ref_time() <= 50u64 * constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= 50u64 * constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 50 ms." ); } diff --git a/runtime/westend/constants/src/weights/extrinsic_weights.rs b/runtime/westend/constants/src/weights/extrinsic_weights.rs index 742bc677bc3a..c077d17a73c9 100644 --- a/runtime/westend/constants/src/weights/extrinsic_weights.rs +++ b/runtime/westend/constants/src/weights/extrinsic_weights.rs @@ -35,7 +35,7 @@ // --header=./file_header.txt use sp_core::parameter_types; -use sp_weights::{constants::WEIGHT_PER_NANOS, Weight}; +use sp_weights::{constants::WEIGHT_REF_TIME_PER_NANOS, Weight}; parameter_types! { /// Time to execute a NO-OP extrinsic, for example `System::remark`. @@ -51,7 +51,8 @@ parameter_types! { /// 99th: 87_990 /// 95th: 87_768 /// 75th: 87_312 - pub const ExtrinsicBaseWeight: Weight = WEIGHT_PER_NANOS.saturating_mul(87_248); + pub const ExtrinsicBaseWeight: Weight = + Weight::from_ref_time(WEIGHT_REF_TIME_PER_NANOS.saturating_mul(87_248)); } #[cfg(test)] @@ -67,12 +68,12 @@ mod test_weights { // At least 10 µs. assert!( - w.ref_time() >= 10u64 * constants::WEIGHT_PER_MICROS.ref_time(), + w.ref_time() >= 10u64 * constants::WEIGHT_REF_TIME_PER_MICROS, "Weight should be at least 10 µs." ); // At most 1 ms. assert!( - w.ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + w.ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Weight should be at most 1 ms." ); } diff --git a/runtime/westend/constants/src/weights/paritydb_weights.rs b/runtime/westend/constants/src/weights/paritydb_weights.rs index dca7d348310c..4338d928d807 100644 --- a/runtime/westend/constants/src/weights/paritydb_weights.rs +++ b/runtime/westend/constants/src/weights/paritydb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// `ParityDB` can be enabled with a feature flag, but is still experimental. These weights /// are available for brave runtime engineers who may want to try this out as default. pub const ParityDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 8_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 50_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 8_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 50_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/runtime/westend/constants/src/weights/rocksdb_weights.rs b/runtime/westend/constants/src/weights/rocksdb_weights.rs index 87867ebfe177..1d115d963fac 100644 --- a/runtime/westend/constants/src/weights/rocksdb_weights.rs +++ b/runtime/westend/constants/src/weights/rocksdb_weights.rs @@ -25,8 +25,8 @@ pub mod constants { /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout /// the runtime. pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { - read: 25_000 * constants::WEIGHT_PER_NANOS.ref_time(), - write: 100_000 * constants::WEIGHT_PER_NANOS.ref_time(), + read: 25_000 * constants::WEIGHT_REF_TIME_PER_NANOS, + write: 100_000 * constants::WEIGHT_REF_TIME_PER_NANOS, }; } @@ -42,20 +42,20 @@ pub mod constants { fn sane() { // At least 1 µs. assert!( - W::get().reads(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().reads(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Read weight should be at least 1 µs." ); assert!( - W::get().writes(1).ref_time() >= constants::WEIGHT_PER_MICROS.ref_time(), + W::get().writes(1).ref_time() >= constants::WEIGHT_REF_TIME_PER_MICROS, "Write weight should be at least 1 µs." ); // At most 1 ms. assert!( - W::get().reads(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().reads(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Read weight should be at most 1 ms." ); assert!( - W::get().writes(1).ref_time() <= constants::WEIGHT_PER_MILLIS.ref_time(), + W::get().writes(1).ref_time() <= constants::WEIGHT_REF_TIME_PER_MILLIS, "Write weight should be at most 1 ms." ); } diff --git a/xcm/xcm-builder/src/tests.rs b/xcm/xcm-builder/src/tests.rs index fe3f144e95c9..d26a2f008884 100644 --- a/xcm/xcm-builder/src/tests.rs +++ b/xcm/xcm-builder/src/tests.rs @@ -15,7 +15,7 @@ // along with Polkadot. If not, see . use super::{mock::*, test_utils::*, *}; -use frame_support::{assert_err, weights::constants::WEIGHT_PER_SECOND}; +use frame_support::{assert_err, weights::constants::WEIGHT_REF_TIME_PER_SECOND}; use xcm::latest::prelude::*; use xcm_executor::{traits::*, Config, XcmExecutor}; @@ -676,8 +676,8 @@ fn weight_trader_tuple_should_work() { pub const PARA_2: MultiLocation = X1(Parachain(2)).into(); parameter_types! { - pub static HereWeightPrice: (AssetId, u128) = (Here.into().into(), WEIGHT_PER_SECOND.ref_time().into()); - pub static PARA1WeightPrice: (AssetId, u128) = (PARA_1.into(), WEIGHT_PER_SECOND.ref_time().into()); + pub static HereWeightPrice: (AssetId, u128) = (Here.into().into(), WEIGHT_REF_TIME_PER_SECOND.into()); + pub static PARA1WeightPrice: (AssetId, u128) = (PARA_1.into(), WEIGHT_REF_TIME_PER_SECOND.into()); } type Traders = ( diff --git a/xcm/xcm-builder/src/weight.rs b/xcm/xcm-builder/src/weight.rs index 2a86f30d632b..2ab8afde2da5 100644 --- a/xcm/xcm-builder/src/weight.rs +++ b/xcm/xcm-builder/src/weight.rs @@ -17,7 +17,7 @@ use frame_support::{ dispatch::GetDispatchInfo, traits::{tokens::currency::Currency as CurrencyT, Get, OnUnbalanced as OnUnbalancedT}, - weights::{constants::WEIGHT_PER_SECOND, WeightToFee as WeightToFeeT}, + weights::{constants::WEIGHT_REF_TIME_PER_SECOND, WeightToFee as WeightToFeeT}, }; use parity_scale_codec::Decode; use sp_runtime::traits::{SaturatedConversion, Saturating, Zero}; @@ -153,7 +153,7 @@ impl, R: TakeRevenue> WeightTrader weight, payment, ); let (id, units_per_second) = T::get(); - let amount = units_per_second * (weight as u128) / (WEIGHT_PER_SECOND.ref_time() as u128); + let amount = units_per_second * (weight as u128) / (WEIGHT_REF_TIME_PER_SECOND as u128); let unused = payment.checked_sub((id, amount).into()).map_err(|_| XcmError::TooExpensive)?; self.0 = self.0.saturating_add(weight); @@ -165,7 +165,7 @@ impl, R: TakeRevenue> WeightTrader log::trace!(target: "xcm::weight", "FixedRateOfConcreteFungible::refund_weight weight: {:?}", weight); let (id, units_per_second) = T::get(); let weight = weight.min(self.0); - let amount = units_per_second * (weight as u128) / (WEIGHT_PER_SECOND.ref_time() as u128); + let amount = units_per_second * (weight as u128) / (WEIGHT_REF_TIME_PER_SECOND as u128); self.0 -= weight; self.1 = self.1.saturating_sub(amount); if amount > 0 { @@ -205,7 +205,7 @@ impl, R: TakeRevenue> WeightTrader for FixedRateOfFungib weight, payment, ); let (id, units_per_second) = T::get(); - let amount = units_per_second * (weight as u128) / (WEIGHT_PER_SECOND.ref_time() as u128); + let amount = units_per_second * (weight as u128) / (WEIGHT_REF_TIME_PER_SECOND as u128); if amount == 0 { return Ok(payment) } @@ -220,7 +220,7 @@ impl, R: TakeRevenue> WeightTrader for FixedRateOfFungib log::trace!(target: "xcm::weight", "FixedRateOfFungible::refund_weight weight: {:?}", weight); let (id, units_per_second) = T::get(); let weight = weight.min(self.0); - let amount = units_per_second * (weight as u128) / (WEIGHT_PER_SECOND.ref_time() as u128); + let amount = units_per_second * (weight as u128) / (WEIGHT_REF_TIME_PER_SECOND as u128); self.0 -= weight; self.1 = self.1.saturating_sub(amount); if amount > 0 { diff --git a/xcm/xcm-simulator/example/src/parachain.rs b/xcm/xcm-simulator/example/src/parachain.rs index ff435a9238fd..d638867c281f 100644 --- a/xcm/xcm-simulator/example/src/parachain.rs +++ b/xcm/xcm-simulator/example/src/parachain.rs @@ -20,7 +20,7 @@ use codec::{Decode, Encode}; use frame_support::{ construct_runtime, parameter_types, traits::{Everything, Nothing}, - weights::{constants::WEIGHT_PER_SECOND, Weight}, + weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, }; use sp_core::H256; use sp_runtime::{ @@ -97,8 +97,8 @@ impl pallet_balances::Config for Runtime { } parameter_types! { - pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); - pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); + pub const ReservedXcmpWeight: Weight = Weight::from_ref_time(WEIGHT_REF_TIME_PER_SECOND.saturating_div(4)); + pub const ReservedDmpWeight: Weight = Weight::from_ref_time(WEIGHT_REF_TIME_PER_SECOND.saturating_div(4)); } parameter_types! { diff --git a/xcm/xcm-simulator/fuzzer/src/parachain.rs b/xcm/xcm-simulator/fuzzer/src/parachain.rs index b8b51e57e853..ce2a2698d00c 100644 --- a/xcm/xcm-simulator/fuzzer/src/parachain.rs +++ b/xcm/xcm-simulator/fuzzer/src/parachain.rs @@ -20,7 +20,7 @@ use codec::{Decode, Encode}; use frame_support::{ construct_runtime, parameter_types, traits::{Everything, Nothing}, - weights::{constants::WEIGHT_PER_SECOND, Weight}, + weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight}, }; use sp_core::H256; use sp_runtime::{ @@ -97,8 +97,8 @@ impl pallet_balances::Config for Runtime { } parameter_types! { - pub const ReservedXcmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); - pub const ReservedDmpWeight: Weight = WEIGHT_PER_SECOND.saturating_div(4); + pub const ReservedXcmpWeight: Weight = Weight::from_ref_time(WEIGHT_REF_TIME_PER_SECOND.saturating_div(4)); + pub const ReservedDmpWeight: Weight = Weight::from_ref_time(WEIGHT_REF_TIME_PER_SECOND.saturating_div(4)); } parameter_types! { From 81d24de221d52b40935cd27581e3440628d59840 Mon Sep 17 00:00:00 2001 From: Gavin Wood Date: Sun, 11 Dec 2022 12:44:10 +0000 Subject: [PATCH 174/211] OpenGov: Tweak parameters further (#6416) * Tweak parameters further * Further tweaks to deposits --- runtime/kusama/src/governance/mod.rs | 2 +- runtime/kusama/src/governance/tracks.rs | 72 ++++++++++++------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/runtime/kusama/src/governance/mod.rs b/runtime/kusama/src/governance/mod.rs index 460aaaed4b98..3dd4eba2b57e 100644 --- a/runtime/kusama/src/governance/mod.rs +++ b/runtime/kusama/src/governance/mod.rs @@ -55,7 +55,7 @@ impl pallet_conviction_voting::Config for Runtime { parameter_types! { pub const AlarmInterval: BlockNumber = 1; pub const SubmissionDeposit: Balance = 1 * QUID; - pub const UndecidingTimeout: BlockNumber = 28 * DAYS; + pub const UndecidingTimeout: BlockNumber = 14 * DAYS; } parameter_types! { diff --git a/runtime/kusama/src/governance/tracks.rs b/runtime/kusama/src/governance/tracks.rs index b802d21c04f5..93b2312a76f8 100644 --- a/runtime/kusama/src/governance/tracks.rs +++ b/runtime/kusama/src/governance/tracks.rs @@ -72,10 +72,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "root", max_deciding: 1, decision_deposit: 100 * GRAND, - prepare_period: 4 * HOURS, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, - confirm_period: 3 * HOURS, - min_enactment_period: 3 * HOURS, + confirm_period: 24 * HOURS, + min_enactment_period: 24 * HOURS, min_approval: APP_ROOT, min_support: SUP_ROOT, }, @@ -84,12 +84,12 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 1, pallet_referenda::TrackInfo { name: "whitelisted_caller", - max_deciding: 30, - decision_deposit: 100 * GRAND, - prepare_period: 4 * HOURS, + max_deciding: 100, + decision_deposit: 10 * GRAND, + prepare_period: 30 * MINUTES, decision_period: 14 * DAYS, confirm_period: 10 * MINUTES, - min_enactment_period: 30 * MINUTES, + min_enactment_period: 10 * MINUTES, min_approval: APP_WHITELISTED_CALLER, min_support: SUP_WHITELISTED_CALLER, }, @@ -100,10 +100,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "staking_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4 * HOURS, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, confirm_period: 3 * HOURS, - min_enactment_period: 2 * DAYS, + min_enactment_period: 10 * MINUTES, min_approval: APP_STAKING_ADMIN, min_support: SUP_STAKING_ADMIN, }, @@ -113,11 +113,11 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 pallet_referenda::TrackInfo { name: "treasurer", max_deciding: 10, - decision_deposit: 5 * GRAND, - prepare_period: 4 * HOURS, + decision_deposit: 1 * GRAND, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, confirm_period: 3 * HOURS, - min_enactment_period: 2 * DAYS, + min_enactment_period: 24 * HOURS, min_approval: APP_TREASURER, min_support: SUP_TREASURER, }, @@ -128,10 +128,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "lease_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4 * HOURS, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, confirm_period: 3 * HOURS, - min_enactment_period: 2 * DAYS, + min_enactment_period: 10 * MINUTES, min_approval: APP_LEASE_ADMIN, min_support: SUP_LEASE_ADMIN, }, @@ -142,10 +142,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "fellowship_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4 * HOURS, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, confirm_period: 3 * HOURS, - min_enactment_period: 2 * DAYS, + min_enactment_period: 10 * MINUTES, min_approval: APP_FELLOWSHIP_ADMIN, min_support: SUP_FELLOWSHIP_ADMIN, }, @@ -156,10 +156,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "general_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4 * HOURS, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, confirm_period: 3 * HOURS, - min_enactment_period: 2 * DAYS, + min_enactment_period: 10 * MINUTES, min_approval: APP_GENERAL_ADMIN, min_support: SUP_GENERAL_ADMIN, }, @@ -170,10 +170,10 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "auction_admin", max_deciding: 10, decision_deposit: 5 * GRAND, - prepare_period: 4 * HOURS, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, confirm_period: 3 * HOURS, - min_enactment_period: 2 * DAYS, + min_enactment_period: 10 * MINUTES, min_approval: APP_AUCTION_ADMIN, min_support: SUP_AUCTION_ADMIN, }, @@ -183,8 +183,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 pallet_referenda::TrackInfo { name: "referendum_canceller", max_deciding: 1_000, - decision_deposit: 50 * GRAND, - prepare_period: 4 * HOURS, + decision_deposit: 10 * GRAND, + prepare_period: 2 * HOURS, decision_period: 7 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 10 * MINUTES, @@ -198,7 +198,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 name: "referendum_killer", max_deciding: 1_000, decision_deposit: 50 * GRAND, - prepare_period: 4 * HOURS, + prepare_period: 2 * HOURS, decision_period: 14 * DAYS, confirm_period: 3 * HOURS, min_enactment_period: 10 * MINUTES, @@ -211,11 +211,11 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 pallet_referenda::TrackInfo { name: "small_tipper", max_deciding: 200, - decision_deposit: 5 * QUID, - prepare_period: 4 * HOURS, + decision_deposit: 1 * QUID, + prepare_period: 1 * MINUTES, decision_period: 7 * DAYS, - confirm_period: 3 * HOURS, - min_enactment_period: 24 * HOURS, + confirm_period: 10 * MINUTES, + min_enactment_period: 1 * MINUTES, min_approval: APP_SMALL_TIPPER, min_support: SUP_SMALL_TIPPER, }, @@ -225,11 +225,11 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 pallet_referenda::TrackInfo { name: "big_tipper", max_deciding: 100, - decision_deposit: 50 * QUID, - prepare_period: 4 * HOURS, + decision_deposit: 10 * QUID, + prepare_period: 10 * MINUTES, decision_period: 7 * DAYS, - confirm_period: 6 * HOURS, - min_enactment_period: 24 * HOURS, + confirm_period: 1 * HOURS, + min_enactment_period: 10 * MINUTES, min_approval: APP_BIG_TIPPER, min_support: SUP_BIG_TIPPER, }, @@ -239,7 +239,7 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 pallet_referenda::TrackInfo { name: "small_spender", max_deciding: 50, - decision_deposit: 500 * QUID, + decision_deposit: 100 * QUID, prepare_period: 4 * HOURS, decision_period: 14 * DAYS, confirm_period: 12 * HOURS, @@ -252,8 +252,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 33, pallet_referenda::TrackInfo { name: "medium_spender", - max_deciding: 20, - decision_deposit: 1_500 * QUID, + max_deciding: 50, + decision_deposit: 200 * QUID, prepare_period: 4 * HOURS, decision_period: 14 * DAYS, confirm_period: 24 * HOURS, @@ -266,8 +266,8 @@ const TRACKS_DATA: [(u16, pallet_referenda::TrackInfo); 15 34, pallet_referenda::TrackInfo { name: "big_spender", - max_deciding: 10, - decision_deposit: 5 * GRAND, + max_deciding: 50, + decision_deposit: 400 * QUID, prepare_period: 4 * HOURS, decision_period: 14 * DAYS, confirm_period: 48 * HOURS, From 441106ecbe2bc843adb248c8fab346af58ed9ffc Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Mon, 12 Dec 2022 12:40:37 +0100 Subject: [PATCH 175/211] companion for #12663 jsonrpsee v0.16 (#6339) * companion for #12663 jsonrpsee v0.16.1 * update substrate * merge master * Update rpc/Cargo.toml Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> * Update utils/staking-miner/Cargo.toml Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> * update lockfile for {"substrate"} Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com> Co-authored-by: parity-processbot <> --- Cargo.lock | 506 +++++++++++++++++---------------- rpc/Cargo.toml | 2 +- utils/staking-miner/Cargo.toml | 2 +- 3 files changed, 265 insertions(+), 245 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ac2bd158e616..60ece4066f64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "env_logger 0.9.0", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "chrono", "frame-election-provider-support", @@ -2779,15 +2779,21 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ff4f84919677303da5f147645dbea6b1881f368d03ac84e1dc09031ebd7b2c6" +checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", "http", "pin-project-lite 0.2.7", ] +[[package]] +name = "http-range-header" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0bfe8eed0a9285ef776bb792479ea3834e8b94e13d615c2f66d03dd50a435a29" + [[package]] name = "httparse" version = "1.6.0" @@ -3041,24 +3047,23 @@ dependencies = [ [[package]] name = "jsonrpsee" -version = "0.15.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bd0d559d5e679b1ab2f869b486a11182923863b1b3ee8b421763cdd707b783a" +checksum = "7d291e3a5818a2384645fd9756362e6d89cf0541b0b916fa7702ea4a9833608e" dependencies = [ "jsonrpsee-core", - "jsonrpsee-http-server", "jsonrpsee-proc-macros", + "jsonrpsee-server", "jsonrpsee-types", "jsonrpsee-ws-client", - "jsonrpsee-ws-server", "tracing", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.15.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8752740ecd374bcbf8b69f3e80b0327942df76f793f8d4e60d3355650c31fb74" +checksum = "965de52763f2004bc91ac5bcec504192440f0b568a5d621c59d9dbd6f886c3fb" dependencies = [ "futures-util", "http", @@ -3077,9 +3082,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.15.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3dc3e9cf2ba50b7b1d7d76a667619f82846caa39e8e8daa8a4962d74acaddca" +checksum = "a4e70b4439a751a5de7dd5ed55eacff78ebf4ffe0fc009cb1ebb11417f5b536b" dependencies = [ "anyhow", "arrayvec 0.7.2", @@ -3090,10 +3095,8 @@ dependencies = [ "futures-timer", "futures-util", "globset", - "http", "hyper", "jsonrpsee-types", - "lazy_static", "parking_lot 0.12.1", "rand 0.8.5", "rustc-hash", @@ -3103,45 +3106,48 @@ dependencies = [ "thiserror", "tokio", "tracing", - "tracing-futures", - "unicase", ] [[package]] -name = "jsonrpsee-http-server" -version = "0.15.1" +name = "jsonrpsee-proc-macros" +version = "0.16.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa6da1e4199c10d7b1d0a6e5e8bd8e55f351163b6f4b3cbb044672a69bd4c1c" +dependencies = [ + "heck", + "proc-macro-crate", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "jsonrpsee-server" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03802f0373a38c2420c70b5144742d800b509e2937edc4afb116434f07120117" +checksum = "1fb69dad85df79527c019659a992498d03f8495390496da2f07e6c24c2b356fc" dependencies = [ "futures-channel", "futures-util", + "http", "hyper", "jsonrpsee-core", "jsonrpsee-types", "serde", "serde_json", + "soketto", "tokio", + "tokio-stream", + "tokio-util 0.7.1", + "tower", "tracing", - "tracing-futures", -] - -[[package]] -name = "jsonrpsee-proc-macros" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd67957d4280217247588ac86614ead007b301ca2fa9f19c19f880a536f029e3" -dependencies = [ - "proc-macro-crate", - "proc-macro2", - "quote", - "syn", ] [[package]] name = "jsonrpsee-types" -version = "0.15.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e290bba767401b646812f608c099b922d8142603c9e73a50fb192d3ac86f4a0d" +checksum = "5bd522fe1ce3702fd94812965d7bb7a3364b1c9aba743944c5a00529aae80f8c" dependencies = [ "anyhow", "beef", @@ -3153,9 +3159,9 @@ dependencies = [ [[package]] name = "jsonrpsee-ws-client" -version = "0.15.1" +version = "0.16.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ee5feddd5188e62ac08fcf0e56478138e581509d4730f3f7be9b57dd402a4ff" +checksum = "0b83daeecfc6517cfe210df24e570fb06213533dfb990318fae781f4c7119dd9" dependencies = [ "http", "jsonrpsee-client-transport", @@ -3163,26 +3169,6 @@ dependencies = [ "jsonrpsee-types", ] -[[package]] -name = "jsonrpsee-ws-server" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d488ba74fb369e5ab68926feb75a483458b88e768d44319f37e4ecad283c7325" -dependencies = [ - "futures-channel", - "futures-util", - "http", - "jsonrpsee-core", - "jsonrpsee-types", - "serde_json", - "soketto", - "tokio", - "tokio-stream", - "tokio-util 0.7.1", - "tracing", - "tracing-futures", -] - [[package]] name = "k256" version = "0.11.6" @@ -4083,7 +4069,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "log", @@ -4103,7 +4089,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "anyhow", "jsonrpsee", @@ -4608,7 +4594,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4622,7 +4608,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -4638,7 +4624,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -4653,7 +4639,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4677,7 +4663,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4697,7 +4683,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4716,7 +4702,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4731,7 +4717,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -4747,7 +4733,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4770,7 +4756,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4788,7 +4774,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4807,7 +4793,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4824,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4841,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4859,7 +4845,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4883,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4896,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4914,7 +4900,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4933,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4956,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4972,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -4992,7 +4978,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5009,7 +4995,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5026,7 +5012,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5043,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5059,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5075,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -5092,7 +5078,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5112,7 +5098,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "sp-api", @@ -5122,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -5139,7 +5125,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5162,7 +5148,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5179,7 +5165,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5194,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5212,7 +5198,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5227,7 +5213,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5246,7 +5232,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5257,12 +5243,13 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std", + "sp-weights", ] [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -5283,7 +5270,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5299,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -5313,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5337,7 +5324,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5348,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "log", "sp-arithmetic", @@ -5357,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5374,7 +5361,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -5388,7 +5375,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5406,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5425,7 +5412,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-support", "frame-system", @@ -5441,7 +5428,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5457,7 +5444,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5469,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5486,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5502,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -5517,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-benchmarking", "frame-support", @@ -8288,7 +8275,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "log", "sp-core", @@ -8299,7 +8286,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures", @@ -8326,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "futures-timer", @@ -8349,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8365,7 +8352,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8382,7 +8369,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8393,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "chrono", @@ -8433,7 +8420,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "fnv", "futures", @@ -8461,7 +8448,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "hash-db", "kvdb", @@ -8486,13 +8473,14 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures", "futures-timer", "libp2p", "log", + "mockall", "parking_lot 0.12.1", "sc-client-api", "sc-utils", @@ -8510,7 +8498,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "fork-tree", @@ -8551,7 +8539,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "jsonrpsee", @@ -8573,7 +8561,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8586,7 +8574,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures", @@ -8610,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "lru", "parity-scale-codec", @@ -8634,7 +8622,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8647,7 +8635,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "log", "sc-allocator", @@ -8660,7 +8648,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "cfg-if", "libc", @@ -8677,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "ahash", "array-bytes", @@ -8718,7 +8706,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "finality-grandpa", "futures", @@ -8739,7 +8727,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "ansi_term", "futures", @@ -8755,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "async-trait", @@ -8770,7 +8758,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "async-trait", @@ -8817,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "cid", "futures", @@ -8837,7 +8825,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "bitflags", @@ -8863,7 +8851,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "ahash", "futures", @@ -8881,7 +8869,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "futures", @@ -8902,7 +8890,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "async-trait", @@ -8927,13 +8915,14 @@ dependencies = [ "sp-core", "sp-finality-grandpa", "sp-runtime", + "substrate-prometheus-endpoint", "thiserror", ] [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "futures", @@ -8952,7 +8941,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "bytes", @@ -8982,7 +8971,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "libp2p", @@ -8995,7 +8984,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -9004,7 +8993,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "hash-db", @@ -9034,7 +9023,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "jsonrpsee", @@ -9057,20 +9046,23 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", + "http", "jsonrpsee", "log", "serde_json", "substrate-prometheus-endpoint", "tokio", + "tower", + "tower-http", ] [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "hex", @@ -9089,7 +9081,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "directories", @@ -9159,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "log", "parity-scale-codec", @@ -9171,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9190,7 +9182,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "libc", @@ -9209,7 +9201,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "chrono", "futures", @@ -9227,7 +9219,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "ansi_term", "atty", @@ -9258,7 +9250,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9269,7 +9261,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures", @@ -9295,7 +9287,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures", @@ -9309,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "futures-timer", @@ -9781,6 +9773,7 @@ dependencies = [ "bytes", "flate2", "futures", + "http", "httparse", "log", "rand 0.8.5", @@ -9790,7 +9783,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "hash-db", "log", @@ -9808,7 +9801,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "blake2", "proc-macro-crate", @@ -9820,7 +9813,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9833,7 +9826,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "integer-sqrt", "num-traits", @@ -9848,7 +9841,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9861,7 +9854,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "parity-scale-codec", @@ -9873,7 +9866,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9890,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "sp-api", @@ -9902,7 +9895,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "log", @@ -9920,7 +9913,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures", @@ -9939,7 +9932,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "merlin", @@ -9962,7 +9955,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9976,7 +9969,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -9989,7 +9982,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "base58", @@ -10034,7 +10027,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "blake2", "byteorder", @@ -10048,7 +10041,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro2", "quote", @@ -10059,7 +10052,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10068,7 +10061,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro2", "quote", @@ -10078,7 +10071,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "environmental", "parity-scale-codec", @@ -10089,7 +10082,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "finality-grandpa", "log", @@ -10107,7 +10100,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10121,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "bytes", "ed25519-dalek", @@ -10148,7 +10141,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "lazy_static", "sp-core", @@ -10159,7 +10152,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures", @@ -10176,7 +10169,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "thiserror", "zstd", @@ -10185,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10203,7 +10196,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10217,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "sp-api", "sp-core", @@ -10227,7 +10220,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "backtrace", "lazy_static", @@ -10237,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "rustc-hash", "serde", @@ -10247,7 +10240,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "either", "hash256-std-hasher", @@ -10269,7 +10262,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10287,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "Inflector", "proc-macro-crate", @@ -10299,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10313,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "scale-info", @@ -10324,7 +10317,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "hash-db", "log", @@ -10346,12 +10339,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10364,7 +10357,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "futures-timer", @@ -10380,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "sp-std", @@ -10392,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "sp-api", "sp-runtime", @@ -10401,7 +10394,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "log", @@ -10417,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "ahash", "hash-db", @@ -10440,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10457,7 +10450,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10468,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "impl-trait-for-tuples", "log", @@ -10481,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10696,7 +10689,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "platforms", ] @@ -10704,7 +10697,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10725,7 +10718,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures-util", "hyper", @@ -10738,7 +10731,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "async-trait", "jsonrpsee", @@ -10751,7 +10744,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "jsonrpsee", "log", @@ -10772,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "array-bytes", "async-trait", @@ -10798,7 +10791,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10808,7 +10801,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10819,7 +10812,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "ansi_term", "build-helper", @@ -11321,6 +11314,41 @@ dependencies = [ "serde", ] +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-http" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f873044bf02dd1e8239e9c1293ea39dad76dc594ec16185d0a1bf31d8dc8d858" +dependencies = [ + "bitflags", + "bytes", + "futures-core", + "futures-util", + "http", + "http-body", + "http-range-header", + "pin-project-lite 0.2.7", + "tower-layer", + "tower-service", +] + +[[package]] +name = "tower-layer" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" + [[package]] name = "tower-service" version = "0.3.1" @@ -11334,6 +11362,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a400e31aa60b9d44a52a8ee0343b5b18566b03a8321e0d321f695cf56e940160" dependencies = [ "cfg-if", + "log", "pin-project-lite 0.2.7", "tracing-attributes", "tracing-core", @@ -11530,7 +11559,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d0540a79967cb06cd7598a4965c7c06afc788b0c" +source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" dependencies = [ "clap", "frame-remote-externalities", @@ -11631,15 +11660,6 @@ dependencies = [ "static_assertions", ] -[[package]] -name = "unicase" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6" -dependencies = [ - "version_check", -] - [[package]] name = "unicode-bidi" version = "0.3.7" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 20b459e3f73f..a641afd12496 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -5,7 +5,7 @@ authors.workspace = true edition.workspace = true [dependencies] -jsonrpsee = { version = "0.15.1", features = ["server"] } +jsonrpsee = { version = "0.16.2", features = ["server"] } polkadot-primitives = { path = "../primitives" } sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/utils/staking-miner/Cargo.toml b/utils/staking-miner/Cargo.toml index ca0fa1abaf77..63810aaa2fd6 100644 --- a/utils/staking-miner/Cargo.toml +++ b/utils/staking-miner/Cargo.toml @@ -8,7 +8,7 @@ edition.workspace = true codec = { package = "parity-scale-codec", version = "3.0.0" } clap = { version = "4.0.9", features = ["derive", "env"] } tracing-subscriber = { version = "0.3.11", features = ["env-filter"] } -jsonrpsee = { version = "0.15.1", features = ["ws-client", "macros"] } +jsonrpsee = { version = "0.16.2", features = ["ws-client", "macros"] } log = "0.4.17" paste = "1.0.7" serde = "1.0.137" From 4a7032c5faa462f480b64e52d01eeabae5e0641d Mon Sep 17 00:00:00 2001 From: Vlad Date: Mon, 12 Dec 2022 20:25:53 +0300 Subject: [PATCH 176/211] CI: Remove the excessive variable declaration (#6426) --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 80b2d6790bfb..01763a13d9c7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,6 @@ variables: DOCKER_OS: "debian:stretch" ARCH: "x86_64" ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.2.78" - PIPELINE_SCRIPTS_TAG: "v0.4" default: cache: {} From c732a8d3b17444b9442a04ffb02e89131b785d1c Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Mon, 12 Dec 2022 20:07:13 +0000 Subject: [PATCH 177/211] companion slash chilling update (#6424) * update weights * goddamit * update weights * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 360 +++++++++--------- runtime/kusama/src/weights/pallet_staking.rs | 27 +- .../polkadot/src/weights/pallet_staking.rs | 27 +- runtime/westend/src/weights/pallet_staking.rs | 27 +- 4 files changed, 213 insertions(+), 228 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60ece4066f64..a6cb2965f587 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -2145,7 +2145,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "env_logger 0.9.0", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "chrono", "frame-election-provider-support", @@ -4069,7 +4069,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "log", @@ -4089,7 +4089,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "anyhow", "jsonrpsee", @@ -4594,7 +4594,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4608,7 +4608,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -4624,7 +4624,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -4639,7 +4639,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4663,7 +4663,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4683,7 +4683,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4702,7 +4702,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4717,7 +4717,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -4733,7 +4733,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4756,7 +4756,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4774,7 +4774,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4793,7 +4793,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4827,7 +4827,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4845,7 +4845,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4882,7 +4882,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4900,7 +4900,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4919,7 +4919,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4942,7 +4942,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4978,7 +4978,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -4995,7 +4995,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +5012,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5029,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5045,7 +5045,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5061,7 +5061,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -5078,7 +5078,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5098,7 +5098,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "sp-api", @@ -5108,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -5125,7 +5125,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5148,7 +5148,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5165,7 +5165,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5180,7 +5180,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5198,7 +5198,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5213,7 +5213,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5232,7 +5232,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5249,7 +5249,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -5270,7 +5270,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5286,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -5300,7 +5300,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5324,7 +5324,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5335,7 +5335,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "log", "sp-arithmetic", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5361,7 +5361,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -5375,7 +5375,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5393,7 +5393,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5412,7 +5412,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-support", "frame-system", @@ -5428,7 +5428,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5444,7 +5444,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5456,7 +5456,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5473,7 +5473,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -5504,7 +5504,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-benchmarking", "frame-support", @@ -8275,7 +8275,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "log", "sp-core", @@ -8286,7 +8286,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures", @@ -8313,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "futures-timer", @@ -8336,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8352,7 +8352,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8369,7 +8369,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8380,7 +8380,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "chrono", @@ -8420,7 +8420,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "fnv", "futures", @@ -8448,7 +8448,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "hash-db", "kvdb", @@ -8473,7 +8473,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures", @@ -8498,7 +8498,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "fork-tree", @@ -8539,7 +8539,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "jsonrpsee", @@ -8561,7 +8561,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8574,7 +8574,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures", @@ -8598,7 +8598,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "lru", "parity-scale-codec", @@ -8622,7 +8622,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8635,7 +8635,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "log", "sc-allocator", @@ -8648,7 +8648,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "cfg-if", "libc", @@ -8665,7 +8665,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "ahash", "array-bytes", @@ -8706,7 +8706,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "finality-grandpa", "futures", @@ -8727,7 +8727,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "ansi_term", "futures", @@ -8743,7 +8743,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "async-trait", @@ -8758,7 +8758,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "async-trait", @@ -8805,7 +8805,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "cid", "futures", @@ -8825,7 +8825,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "bitflags", @@ -8851,7 +8851,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "ahash", "futures", @@ -8869,7 +8869,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "futures", @@ -8890,7 +8890,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "async-trait", @@ -8922,7 +8922,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "futures", @@ -8941,7 +8941,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "bytes", @@ -8971,7 +8971,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "libp2p", @@ -8984,7 +8984,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8993,7 +8993,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "hash-db", @@ -9023,7 +9023,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "jsonrpsee", @@ -9046,7 +9046,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "http", @@ -9062,7 +9062,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "hex", @@ -9081,7 +9081,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "directories", @@ -9151,7 +9151,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "log", "parity-scale-codec", @@ -9163,7 +9163,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9182,7 +9182,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "libc", @@ -9201,7 +9201,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "chrono", "futures", @@ -9219,7 +9219,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "ansi_term", "atty", @@ -9250,7 +9250,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9261,7 +9261,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures", @@ -9287,7 +9287,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures", @@ -9301,7 +9301,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "futures-timer", @@ -9783,7 +9783,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "hash-db", "log", @@ -9801,7 +9801,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "blake2", "proc-macro-crate", @@ -9813,7 +9813,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -9826,7 +9826,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "integer-sqrt", "num-traits", @@ -9841,7 +9841,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -9854,7 +9854,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "parity-scale-codec", @@ -9866,7 +9866,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "sp-api", @@ -9895,7 +9895,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "log", @@ -9913,7 +9913,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures", @@ -9932,7 +9932,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "merlin", @@ -9955,7 +9955,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -9969,7 +9969,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -9982,7 +9982,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "base58", @@ -10027,7 +10027,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "blake2", "byteorder", @@ -10041,7 +10041,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro2", "quote", @@ -10052,7 +10052,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10061,7 +10061,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro2", "quote", @@ -10071,7 +10071,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "environmental", "parity-scale-codec", @@ -10082,7 +10082,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "finality-grandpa", "log", @@ -10100,7 +10100,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "bytes", "ed25519-dalek", @@ -10141,7 +10141,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "lazy_static", "sp-core", @@ -10152,7 +10152,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures", @@ -10169,7 +10169,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "thiserror", "zstd", @@ -10178,7 +10178,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10196,7 +10196,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -10210,7 +10210,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "sp-api", "sp-core", @@ -10220,7 +10220,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "backtrace", "lazy_static", @@ -10230,7 +10230,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "rustc-hash", "serde", @@ -10240,7 +10240,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "either", "hash256-std-hasher", @@ -10262,7 +10262,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "Inflector", "proc-macro-crate", @@ -10292,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -10306,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "scale-info", @@ -10317,7 +10317,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "hash-db", "log", @@ -10339,12 +10339,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10357,7 +10357,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "futures-timer", @@ -10373,7 +10373,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "sp-std", @@ -10385,7 +10385,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "sp-api", "sp-runtime", @@ -10394,7 +10394,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "log", @@ -10410,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "ahash", "hash-db", @@ -10433,7 +10433,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10450,7 +10450,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10461,7 +10461,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "impl-trait-for-tuples", "log", @@ -10474,7 +10474,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10689,7 +10689,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "platforms", ] @@ -10697,7 +10697,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10718,7 +10718,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures-util", "hyper", @@ -10731,7 +10731,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "async-trait", "jsonrpsee", @@ -10744,7 +10744,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "jsonrpsee", "log", @@ -10765,7 +10765,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "array-bytes", "async-trait", @@ -10791,7 +10791,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10801,7 +10801,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10812,7 +10812,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "ansi_term", "build-helper", @@ -11559,7 +11559,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#06090ab35255833d892016dfc74fdc9d2d2fe06f" +source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" dependencies = [ "clap", "frame-remote-externalities", diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index 43935f0d0dd6..c5fa8545f19b 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -374,29 +374,24 @@ impl pallet_staking::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: Staking SlashingSpans (r:21 w:0) - // Storage: VoterList ListBags (r:183 w:0) + // Storage: VoterList ListBags (r:200 w:0) // Storage: VoterList ListNodes (r:1500 w:0) // Storage: Staking Nominators (r:1500 w:0) // Storage: Staking Validators (r:500 w:0) // Storage: Staking Bonded (r:1500 w:0) // Storage: Staking Ledger (r:1500 w:0) - // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. /// The range of component `n` is `[500, 1000]`. - /// The range of component `s` is `[1, 20]`. - fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { - // Minimum execution time: 26_480_054 nanoseconds. - Weight::from_ref_time(26_659_270_000 as u64) - // Standard Error: 480_708 - .saturating_add(Weight::from_ref_time(10_306_257 as u64).saturating_mul(v as u64)) - // Standard Error: 480_708 - .saturating_add(Weight::from_ref_time(12_612_184 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(186 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn get_npos_voters(v: u32, n: u32, ) -> Weight { + // Minimum execution time: 24_634_585 nanoseconds. + Weight::from_ref_time(24_718_377_000) + // Standard Error: 324_839 + .saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into())) + // Standard Error: 324_839 + .saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(201)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) } // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index abe26f8ba45d..8e49eeefee1b 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -372,29 +372,24 @@ impl pallet_staking::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: Staking SlashingSpans (r:21 w:0) - // Storage: VoterList ListBags (r:178 w:0) + // Storage: VoterList ListBags (r:200 w:0) // Storage: VoterList ListNodes (r:1500 w:0) // Storage: Staking Nominators (r:1500 w:0) // Storage: Staking Validators (r:500 w:0) // Storage: Staking Bonded (r:1500 w:0) // Storage: Staking Ledger (r:1500 w:0) - // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. /// The range of component `n` is `[500, 1000]`. - /// The range of component `s` is `[1, 20]`. - fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { - // Minimum execution time: 26_190_965 nanoseconds. - Weight::from_ref_time(26_379_230_000 as u64) - // Standard Error: 498_237 - .saturating_add(Weight::from_ref_time(12_106_020 as u64).saturating_mul(v as u64)) - // Standard Error: 498_237 - .saturating_add(Weight::from_ref_time(10_834_947 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(181 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn get_npos_voters(v: u32, n: u32, ) -> Weight { + // Minimum execution time: 24_634_585 nanoseconds. + Weight::from_ref_time(24_718_377_000) + // Standard Error: 324_839 + .saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into())) + // Standard Error: 324_839 + .saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(201)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) } // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index 96f6a6654033..0c240630a9c2 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -372,29 +372,24 @@ impl pallet_staking::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: Staking SlashingSpans (r:21 w:0) - // Storage: VoterList ListBags (r:178 w:0) + // Storage: VoterList ListBags (r:200 w:0) // Storage: VoterList ListNodes (r:1500 w:0) // Storage: Staking Nominators (r:1500 w:0) // Storage: Staking Validators (r:500 w:0) // Storage: Staking Bonded (r:1500 w:0) // Storage: Staking Ledger (r:1500 w:0) - // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. /// The range of component `n` is `[500, 1000]`. - /// The range of component `s` is `[1, 20]`. - fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight { - // Minimum execution time: 26_306_369 nanoseconds. - Weight::from_ref_time(26_515_009_000 as u64) - // Standard Error: 478_602 - .saturating_add(Weight::from_ref_time(11_814_244 as u64).saturating_mul(v as u64)) - // Standard Error: 478_602 - .saturating_add(Weight::from_ref_time(10_546_073 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(181 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + fn get_npos_voters(v: u32, n: u32, ) -> Weight { + // Minimum execution time: 24_634_585 nanoseconds. + Weight::from_ref_time(24_718_377_000) + // Standard Error: 324_839 + .saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into())) + // Standard Error: 324_839 + .saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(201)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) } // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) From c98a7821a985c77db695fd25b382ebf1015c04d3 Mon Sep 17 00:00:00 2001 From: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Date: Tue, 13 Dec 2022 09:32:27 +0100 Subject: [PATCH 178/211] swap error responses (#6421) --- runtime/parachains/src/hrmp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/parachains/src/hrmp.rs b/runtime/parachains/src/hrmp.rs index c0624cdcacfd..ed8e554bc498 100644 --- a/runtime/parachains/src/hrmp.rs +++ b/runtime/parachains/src/hrmp.rs @@ -1149,11 +1149,11 @@ impl Pallet { let channel_id = HrmpChannelId { sender: origin, recipient }; ensure!( ::HrmpOpenChannelRequests::get(&channel_id).is_none(), - Error::::OpenHrmpChannelAlreadyExists, + Error::::OpenHrmpChannelAlreadyRequested, ); ensure!( ::HrmpChannels::get(&channel_id).is_none(), - Error::::OpenHrmpChannelAlreadyRequested, + Error::::OpenHrmpChannelAlreadyExists, ); let egress_cnt = From 64a8b43f8b0ff1213e8b09a9b34936e559be8570 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Tue, 13 Dec 2022 11:22:32 +0100 Subject: [PATCH 179/211] [ci] fix check-transaction-versions (#6425) * [ci] fix check-transaction-versions * allow fail the job --- scripts/ci/gitlab/pipeline/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index 1553456a9e7b..454e6289aa43 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -53,9 +53,11 @@ check-transaction-versions: - npm install --ignore-scripts -g @polkadot/metadata-cmp # Set git config - git config remote.origin.url "https://github.com/paritytech/polkadot.git" - - git fetch origin release + # - git fetch origin release script: - ./scripts/ci/gitlab/check_extrinsics_ordering.sh + # TODO: fixme, more info https://github.com/paritytech/polkadot/issues/6422 + allow_failure: true build-test-collators: stage: build From de0839b95c246f35441a6d4737c80401947b555b Mon Sep 17 00:00:00 2001 From: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Date: Tue, 13 Dec 2022 14:06:05 +0200 Subject: [PATCH 180/211] approval-distribution: batched approval/assignment sending (#6401) * Imple batched send Signed-off-by: Andrei Sandu * Add batch tests Signed-off-by: Andrei Sandu * pub MAX_NOTIFICATION_SIZE Signed-off-by: Andrei Sandu * spell check Signed-off-by: Andrei Sandu * spellcheck ... Signed-off-by: Andrei Sandu * Fix comment Signed-off-by: Andrei Sandu * o.O Signed-off-by: Andrei Sandu * 2 constants Signed-off-by: Andrei Sandu * Ensure batch size is at least 1 element Signed-off-by: Andrei Sandu * feedback impl Signed-off-by: Andrei Sandu Signed-off-by: Andrei Sandu --- node/network/approval-distribution/src/lib.rs | 107 +++++++++---- .../approval-distribution/src/tests.rs | 144 ++++++++++++++++++ node/network/protocol/src/peer_set.rs | 2 +- 3 files changed, 222 insertions(+), 31 deletions(-) diff --git a/node/network/approval-distribution/src/lib.rs b/node/network/approval-distribution/src/lib.rs index 017538cae5f3..bf8a60fcefba 100644 --- a/node/network/approval-distribution/src/lib.rs +++ b/node/network/approval-distribution/src/lib.rs @@ -24,6 +24,7 @@ use futures::{channel::oneshot, FutureExt as _}; use polkadot_node_network_protocol::{ self as net_protocol, grid_topology::{RandomRouting, RequiredRouting, SessionGridTopologies, SessionGridTopology}, + peer_set::MAX_NOTIFICATION_SIZE, v1 as protocol_v1, PeerId, UnifiedReputationChange as Rep, Versioned, View, }; use polkadot_node_primitives::approval::{ @@ -1381,14 +1382,7 @@ impl State { "Sending assignments to unified peer", ); - sender - .send_message(NetworkBridgeTxMessage::SendValidationMessage( - vec![peer_id], - Versioned::V1(protocol_v1::ValidationProtocol::ApprovalDistribution( - protocol_v1::ApprovalDistributionMessage::Assignments(assignments_to_send), - )), - )) - .await; + send_assignments_batched(sender, assignments_to_send, peer_id).await; } if !approvals_to_send.is_empty() { @@ -1399,14 +1393,7 @@ impl State { "Sending approvals to unified peer", ); - sender - .send_message(NetworkBridgeTxMessage::SendValidationMessage( - vec![peer_id], - Versioned::V1(protocol_v1::ValidationProtocol::ApprovalDistribution( - protocol_v1::ApprovalDistributionMessage::Approvals(approvals_to_send), - )), - )) - .await; + send_approvals_batched(sender, approvals_to_send, peer_id).await; } } @@ -1605,23 +1592,11 @@ async fn adjust_required_routing_and_propagate ApprovalDistribution { SpawnedSubsystem { name: "approval-distribution-subsystem", future } } } + +/// Ensures the batch size is always at least 1 element. +const fn ensure_size_not_zero(size: usize) -> usize { + if 0 == size { + panic!("Batch size must be at least 1 (MAX_NOTIFICATION_SIZE constant is too low)",); + } + + size +} + +/// The maximum amount of assignments per batch is 33% of maximum allowed by protocol. +/// This is an arbitrary value. Bumping this up increases the maximum amount of approvals or assignments +/// we send in a single message to peers. Exceeding `MAX_NOTIFICATION_SIZE` will violate the protocol +/// configuration. +pub const MAX_ASSIGNMENT_BATCH_SIZE: usize = ensure_size_not_zero( + MAX_NOTIFICATION_SIZE as usize / + std::mem::size_of::<(IndirectAssignmentCert, CandidateIndex)>() / + 3, +); + +/// The maximum amount of approvals per batch is 33% of maximum allowed by protocol. +pub const MAX_APPROVAL_BATCH_SIZE: usize = ensure_size_not_zero( + MAX_NOTIFICATION_SIZE as usize / std::mem::size_of::() / 3, +); + +/// Send assignments while honoring the `max_notification_size` of the protocol. +/// +/// Splitting the messages into multiple notifications allows more granular processing at the +/// destination, such that the subsystem doesn't get stuck for long processing a batch +/// of assignments and can `select!` other tasks. +pub(crate) async fn send_assignments_batched( + sender: &mut impl overseer::ApprovalDistributionSenderTrait, + assignments: Vec<(IndirectAssignmentCert, CandidateIndex)>, + peer: PeerId, +) { + let mut batches = assignments.into_iter().peekable(); + + while batches.peek().is_some() { + let batch: Vec<_> = batches.by_ref().take(MAX_ASSIGNMENT_BATCH_SIZE).collect(); + + sender + .send_message(NetworkBridgeTxMessage::SendValidationMessage( + vec![peer], + Versioned::V1(protocol_v1::ValidationProtocol::ApprovalDistribution( + protocol_v1::ApprovalDistributionMessage::Assignments(batch), + )), + )) + .await; + } +} + +/// Send approvals while honoring the `max_notification_size` of the protocol. +pub(crate) async fn send_approvals_batched( + sender: &mut impl overseer::ApprovalDistributionSenderTrait, + approvals: Vec, + peer: PeerId, +) { + let mut batches = approvals.into_iter().peekable(); + + while batches.peek().is_some() { + let batch: Vec<_> = batches.by_ref().take(MAX_APPROVAL_BATCH_SIZE).collect(); + + sender + .send_message(NetworkBridgeTxMessage::SendValidationMessage( + vec![peer], + Versioned::V1(protocol_v1::ValidationProtocol::ApprovalDistribution( + protocol_v1::ApprovalDistributionMessage::Approvals(batch), + )), + )) + .await; + } +} diff --git a/node/network/approval-distribution/src/tests.rs b/node/network/approval-distribution/src/tests.rs index 73aa461752ba..567cf22f23f1 100644 --- a/node/network/approval-distribution/src/tests.rs +++ b/node/network/approval-distribution/src/tests.rs @@ -2276,3 +2276,147 @@ fn resends_messages_periodically() { virtual_overseer }); } + +fn batch_test_round(message_count: usize) { + use polkadot_node_subsystem::SubsystemContext; + let pool = sp_core::testing::TaskExecutor::new(); + let mut state = State::default(); + + let (mut context, mut virtual_overseer) = test_helpers::make_subsystem_context(pool.clone()); + let subsystem = ApprovalDistribution::new(Default::default()); + let mut rng = rand_chacha::ChaCha12Rng::seed_from_u64(12345); + let mut sender = context.sender().clone(); + let subsystem = subsystem.run_inner(context, &mut state, &mut rng); + + let test_fut = async move { + let overseer = &mut virtual_overseer; + let validators = 0..message_count; + let assignments: Vec<_> = validators + .clone() + .map(|index| (fake_assignment_cert(Hash::zero(), ValidatorIndex(index as u32)), 0)) + .collect(); + + let approvals: Vec<_> = validators + .map(|index| IndirectSignedApprovalVote { + block_hash: Hash::zero(), + candidate_index: 0, + validator: ValidatorIndex(index as u32), + signature: dummy_signature(), + }) + .collect(); + + let peer = PeerId::random(); + send_assignments_batched(&mut sender, assignments.clone(), peer).await; + send_approvals_batched(&mut sender, approvals.clone(), peer).await; + + // Check expected assignments batches. + for assignment_index in (0..assignments.len()).step_by(super::MAX_ASSIGNMENT_BATCH_SIZE) { + assert_matches!( + overseer_recv(overseer).await, + AllMessages::NetworkBridgeTx(NetworkBridgeTxMessage::SendValidationMessage( + peers, + Versioned::V1(protocol_v1::ValidationProtocol::ApprovalDistribution( + protocol_v1::ApprovalDistributionMessage::Assignments(sent_assignments) + )) + )) => { + // Last batch should cover all remaining messages. + if sent_assignments.len() < super::MAX_ASSIGNMENT_BATCH_SIZE { + assert_eq!(sent_assignments.len() + assignment_index, assignments.len()); + } else { + assert_eq!(sent_assignments.len(), super::MAX_ASSIGNMENT_BATCH_SIZE); + } + + assert_eq!(peers.len(), 1); + + for (message_index, assignment) in sent_assignments.iter().enumerate() { + assert_eq!(assignment.0, assignments[assignment_index + message_index].0); + assert_eq!(assignment.1, 0); + } + } + ); + } + + // Check approval vote batching. + for approval_index in (0..approvals.len()).step_by(super::MAX_APPROVAL_BATCH_SIZE) { + assert_matches!( + overseer_recv(overseer).await, + AllMessages::NetworkBridgeTx(NetworkBridgeTxMessage::SendValidationMessage( + peers, + Versioned::V1(protocol_v1::ValidationProtocol::ApprovalDistribution( + protocol_v1::ApprovalDistributionMessage::Approvals(sent_approvals) + )) + )) => { + // Last batch should cover all remaining messages. + if sent_approvals.len() < super::MAX_APPROVAL_BATCH_SIZE { + assert_eq!(sent_approvals.len() + approval_index, approvals.len()); + } else { + assert_eq!(sent_approvals.len(), super::MAX_APPROVAL_BATCH_SIZE); + } + + assert_eq!(peers.len(), 1); + + for (message_index, approval) in sent_approvals.iter().enumerate() { + assert_eq!(approval, &approvals[approval_index + message_index]); + } + } + ); + } + virtual_overseer + }; + + futures::pin_mut!(test_fut); + futures::pin_mut!(subsystem); + + executor::block_on(future::join( + async move { + let mut overseer = test_fut.await; + overseer + .send(FromOrchestra::Signal(OverseerSignal::Conclude)) + .timeout(TIMEOUT) + .await + .expect("Conclude send timeout"); + }, + subsystem, + )); +} + +#[test] +fn batch_sending_1_msg() { + batch_test_round(1); +} + +#[test] +fn batch_sending_exactly_one_batch() { + batch_test_round(super::MAX_APPROVAL_BATCH_SIZE); + batch_test_round(super::MAX_ASSIGNMENT_BATCH_SIZE); +} + +#[test] +fn batch_sending_partial_batch() { + batch_test_round(super::MAX_APPROVAL_BATCH_SIZE * 2 + 4); + batch_test_round(super::MAX_ASSIGNMENT_BATCH_SIZE * 2 + 4); +} + +#[test] +fn batch_sending_multiple_same_len() { + batch_test_round(super::MAX_APPROVAL_BATCH_SIZE * 10); + batch_test_round(super::MAX_ASSIGNMENT_BATCH_SIZE * 10); +} + +#[test] +fn batch_sending_half_batch() { + batch_test_round(super::MAX_APPROVAL_BATCH_SIZE / 2); + batch_test_round(super::MAX_ASSIGNMENT_BATCH_SIZE / 2); +} + +#[test] +#[should_panic] +fn const_batch_size_panics_if_zero() { + crate::ensure_size_not_zero(0); +} + +#[test] +fn const_ensure_size_not_zero() { + crate::ensure_size_not_zero(super::MAX_ASSIGNMENT_BATCH_SIZE); + crate::ensure_size_not_zero(super::MAX_APPROVAL_BATCH_SIZE); +} diff --git a/node/network/protocol/src/peer_set.rs b/node/network/protocol/src/peer_set.rs index d9d2925e594d..22eddc44c42f 100644 --- a/node/network/protocol/src/peer_set.rs +++ b/node/network/protocol/src/peer_set.rs @@ -36,7 +36,7 @@ const LEGACY_COLLATION_PROTOCOL_V1: &str = "/polkadot/collation/1"; const LEGACY_PROTOCOL_VERSION_V1: u32 = 1; /// Max notification size is currently constant. -const MAX_NOTIFICATION_SIZE: u64 = 100 * 1024; +pub const MAX_NOTIFICATION_SIZE: u64 = 100 * 1024; /// The peer-sets and thus the protocols which are used for the network. #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, EnumIter)] From cbbc24f58a61763a4e0ceda8b70a68aa54b556ba Mon Sep 17 00:00:00 2001 From: tugy <33746108+tugytur@users.noreply.github.com> Date: Wed, 14 Dec 2022 12:07:19 +0100 Subject: [PATCH 181/211] add westend bootnode (#6434) --- node/service/chain-specs/westend.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/node/service/chain-specs/westend.json b/node/service/chain-specs/westend.json index 059f5c39b6e2..6527d81001df 100644 --- a/node/service/chain-specs/westend.json +++ b/node/service/chain-specs/westend.json @@ -15,7 +15,9 @@ "/dns/boot.stake.plus/tcp/32333/p2p/12D3KooWK8fjVoSvMq5copQYMsdYreSGPGgcMbGMgbMDPfpf3sm7", "/dns/boot.stake.plus/tcp/32334/wss/p2p/12D3KooWK8fjVoSvMq5copQYMsdYreSGPGgcMbGMgbMDPfpf3sm7", "/dns/boot-node.helikon.io/tcp/7080/p2p/12D3KooWRFDPyT8vA8mLzh6dJoyujn4QNjeqi6Ch79eSMz9beKXC", - "/dns/boot-node.helikon.io/tcp/7082/wss/p2p/12D3KooWRFDPyT8vA8mLzh6dJoyujn4QNjeqi6Ch79eSMz9beKXC" + "/dns/boot-node.helikon.io/tcp/7082/wss/p2p/12D3KooWRFDPyT8vA8mLzh6dJoyujn4QNjeqi6Ch79eSMz9beKXC", + "/dns/westend.bootnode.amforc.com/tcp/30333/p2p/12D3KooWJ5y9ZgVepBQNW4aabrxgmnrApdVnscqgKWiUu4BNJbC8", + "/dns/westend.bootnode.amforc.com/tcp/30334/wss/p2p/12D3KooWJ5y9ZgVepBQNW4aabrxgmnrApdVnscqgKWiUu4BNJbC8" ], "telemetryEndpoints": [ [ @@ -135,4 +137,4 @@ "childrenDefault": {} } } -} +} \ No newline at end of file From be42a9ca5b78c70911d20be2d527f565ae1f9e01 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Wed, 14 Dec 2022 13:49:56 +0100 Subject: [PATCH 182/211] [ci] add job switcher (#6433) * [ci] add job switcher * add before_script to docker and k8s runners * upd runners * sccache :( --- .gitlab-ci.yml | 14 ++++++++++++-- scripts/ci/gitlab/pipeline/build.yml | 1 - 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01763a13d9c7..6d9300ba93a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,7 @@ default: # they will be used if the job fails .pipeline-stopper-vars: before_script: + - !reference [.job-switcher, before_script] - echo "FAILED_JOB_URL=${CI_JOB_URL}" > pipeline-stopper.env - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env - echo "FAILED_JOB_NAME=${CI_JOB_NAME}" >> pipeline-stopper.env @@ -78,18 +79,27 @@ default: reports: dotenv: pipeline-stopper.env +.job-switcher: + before_script: + - if echo "$CI_DISABLED_JOBS" | grep -xF "$CI_JOB_NAME"; then echo "The job has been cancelled in CI settings"; exit 0; fi + .kubernetes-env: image: "${CI_IMAGE}" + before_script: + - !reference [.job-switcher, before_script] tags: - kubernetes-parity-build .docker-env: image: "${CI_IMAGE}" + before_script: + - !reference [.job-switcher, before_script] tags: - - linux-docker + - linux-docker-vm-c2 .compiler-info: before_script: + - !reference [.job-switcher, before_script] - rustup show - cargo --version @@ -144,6 +154,7 @@ default: .build-push-image: before_script: + - !reference [.job-switcher, before_script] - test -s ./artifacts/VERSION || exit 1 - test -s ./artifacts/EXTRATAG || exit 1 - VERSION="$(cat ./artifacts/VERSION)" @@ -230,7 +241,6 @@ remove-cancel-pipeline-message: PR_NUM: "${CI_COMMIT_REF_NAME}" trigger: project: "parity/infrastructure/ci_cd/pipeline-stopper" - branch: "as-improve" cancel-pipeline-test-linux-stable: extends: .cancel-pipeline-template diff --git a/scripts/ci/gitlab/pipeline/build.yml b/scripts/ci/gitlab/pipeline/build.yml index 454e6289aa43..c1ec964e96b2 100644 --- a/scripts/ci/gitlab/pipeline/build.yml +++ b/scripts/ci/gitlab/pipeline/build.yml @@ -74,7 +74,6 @@ build-test-collators: script: - time cargo build --profile testnet --verbose -p test-parachain-adder-collator - time cargo build --profile testnet --verbose -p test-parachain-undying-collator - - sccache -s # pack artifacts - mkdir -p ./artifacts - mv ./target/testnet/adder-collator ./artifacts/. From b235eefea9f1654d797b41fd6421284d1efe0ea2 Mon Sep 17 00:00:00 2001 From: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Date: Thu, 15 Dec 2022 09:10:16 +0000 Subject: [PATCH 183/211] companion for try-runtime revamp (#6187) * update to reflect latest try-runtime stuff * update to latest version * fix * fix miner * update * update * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 377 ++++++++++++++++---------------- cli/Cargo.toml | 2 + cli/src/command.rs | 20 +- runtime/kusama/src/lib.rs | 24 +- runtime/polkadot/src/lib.rs | 24 +- runtime/westend/src/lib.rs | 24 +- utils/staking-miner/src/main.rs | 7 +- 7 files changed, 246 insertions(+), 232 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a6cb2965f587..1ad3b99e76f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2108,6 +2108,7 @@ dependencies = [ "parity-scale-codec", "scale-info", "sp-arithmetic", + "sp-core", "sp-npos-elections", "sp-runtime", "sp-std", @@ -2116,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -2145,9 +2146,10 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "env_logger 0.9.0", + "futures", "log", "parity-scale-codec", "serde", @@ -2157,12 +2159,13 @@ dependencies = [ "sp-runtime", "sp-version", "substrate-rpc-client", + "tokio", ] [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2197,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2211,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2223,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2233,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "log", @@ -2282,7 +2285,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2300,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2309,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2480,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "chrono", "frame-election-provider-support", @@ -4069,7 +4072,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "log", @@ -4089,7 +4092,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "anyhow", "jsonrpsee", @@ -4594,13 +4597,14 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "parity-scale-codec", "scale-info", + "sp-core", "sp-runtime", "sp-std", ] @@ -4608,7 +4612,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -4624,7 +4628,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -4639,7 +4643,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4663,7 +4667,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4683,7 +4687,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4702,7 +4706,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4717,7 +4721,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -4733,7 +4737,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4756,7 +4760,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4774,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4793,7 +4797,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4810,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4827,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4845,7 +4849,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4869,7 +4873,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4882,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4900,14 +4904,13 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", "frame-support", "frame-system", "log", - "pallet-staking", "parity-scale-codec", "scale-info", "sp-io", @@ -4919,7 +4922,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4942,7 +4945,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4958,7 +4961,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4978,7 +4981,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4995,7 +4998,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5012,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5029,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5045,7 +5048,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5061,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -5078,7 +5081,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5098,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "sp-api", @@ -5108,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -5125,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5148,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5165,7 +5168,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5180,7 +5183,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5198,7 +5201,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5213,7 +5216,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5232,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5249,7 +5252,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -5270,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5286,7 +5289,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -5300,7 +5303,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5308,7 +5311,6 @@ dependencies = [ "frame-system", "log", "pallet-authorship", - "pallet-bags-list", "pallet-session", "parity-scale-codec", "rand_chacha 0.2.2", @@ -5324,7 +5326,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5335,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "log", "sp-arithmetic", @@ -5344,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5361,7 +5363,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -5375,7 +5377,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5393,7 +5395,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5412,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-support", "frame-system", @@ -5428,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5444,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5456,7 +5458,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5473,7 +5475,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5491,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5504,7 +5506,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5961,10 +5963,12 @@ dependencies = [ "polkadot-service", "pyroscope", "sc-cli", + "sc-executor", "sc-service", "sc-sysinfo", "sc-tracing", "sp-core", + "sp-io", "sp-keyring", "substrate-build-script-utils", "thiserror", @@ -8275,7 +8279,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "log", "sp-core", @@ -8286,7 +8290,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures", @@ -8313,7 +8317,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "futures-timer", @@ -8336,7 +8340,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8352,7 +8356,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8369,7 +8373,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8380,7 +8384,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "chrono", @@ -8420,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "fnv", "futures", @@ -8448,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "hash-db", "kvdb", @@ -8473,7 +8477,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures", @@ -8498,7 +8502,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "fork-tree", @@ -8539,7 +8543,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "jsonrpsee", @@ -8561,7 +8565,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8574,7 +8578,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures", @@ -8598,7 +8602,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "lru", "parity-scale-codec", @@ -8622,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8635,7 +8639,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "log", "sc-allocator", @@ -8648,7 +8652,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "cfg-if", "libc", @@ -8665,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "ahash", "array-bytes", @@ -8706,7 +8710,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "finality-grandpa", "futures", @@ -8727,7 +8731,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "ansi_term", "futures", @@ -8743,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "async-trait", @@ -8758,7 +8762,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "async-trait", @@ -8805,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "cid", "futures", @@ -8825,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "bitflags", @@ -8851,7 +8855,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "ahash", "futures", @@ -8869,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "futures", @@ -8890,7 +8894,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "async-trait", @@ -8922,7 +8926,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "futures", @@ -8941,7 +8945,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "bytes", @@ -8971,7 +8975,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "libp2p", @@ -8984,7 +8988,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8993,7 +8997,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "hash-db", @@ -9023,7 +9027,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "jsonrpsee", @@ -9046,7 +9050,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "http", @@ -9062,7 +9066,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "hex", @@ -9081,7 +9085,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "directories", @@ -9151,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "log", "parity-scale-codec", @@ -9163,7 +9167,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9182,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "libc", @@ -9201,7 +9205,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "chrono", "futures", @@ -9219,7 +9223,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "ansi_term", "atty", @@ -9250,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9261,7 +9265,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures", @@ -9287,7 +9291,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures", @@ -9301,7 +9305,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "futures-timer", @@ -9783,7 +9787,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "hash-db", "log", @@ -9801,7 +9805,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "blake2", "proc-macro-crate", @@ -9813,7 +9817,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9826,7 +9830,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "integer-sqrt", "num-traits", @@ -9841,7 +9845,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9854,7 +9858,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "parity-scale-codec", @@ -9866,7 +9870,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9883,7 +9887,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "sp-api", @@ -9895,7 +9899,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "log", @@ -9913,7 +9917,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures", @@ -9932,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "merlin", @@ -9955,7 +9959,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9969,7 +9973,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9982,7 +9986,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "base58", @@ -10027,7 +10031,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "blake2", "byteorder", @@ -10041,7 +10045,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro2", "quote", @@ -10052,7 +10056,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10061,7 +10065,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro2", "quote", @@ -10071,7 +10075,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "environmental", "parity-scale-codec", @@ -10082,7 +10086,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "finality-grandpa", "log", @@ -10100,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10114,7 +10118,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "bytes", "ed25519-dalek", @@ -10141,7 +10145,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "lazy_static", "sp-core", @@ -10152,7 +10156,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures", @@ -10169,7 +10173,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "thiserror", "zstd", @@ -10178,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10196,7 +10200,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10210,7 +10214,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "sp-api", "sp-core", @@ -10220,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "backtrace", "lazy_static", @@ -10230,7 +10234,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "rustc-hash", "serde", @@ -10240,7 +10244,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "either", "hash256-std-hasher", @@ -10262,7 +10266,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10280,7 +10284,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "Inflector", "proc-macro-crate", @@ -10292,7 +10296,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10306,10 +10310,11 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "scale-info", + "sp-core", "sp-runtime", "sp-std", ] @@ -10317,7 +10322,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "hash-db", "log", @@ -10339,12 +10344,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10357,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "futures-timer", @@ -10373,7 +10378,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "sp-std", @@ -10385,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "sp-api", "sp-runtime", @@ -10394,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "log", @@ -10410,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "ahash", "hash-db", @@ -10433,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10450,7 +10455,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10461,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "impl-trait-for-tuples", "log", @@ -10474,7 +10479,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10505,9 +10510,9 @@ dependencies = [ [[package]] name = "ss58-registry" -version = "1.34.0" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37a9821878e1f13aba383aa40a86fb1b33c7265774ec91e32563cb1dd1577496" +checksum = "23d92659e7d18d82b803824a9ba5a6022cff101c3491d027c1c1d8d30e749284" dependencies = [ "Inflector", "num-format", @@ -10689,7 +10694,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "platforms", ] @@ -10697,7 +10702,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10718,7 +10723,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures-util", "hyper", @@ -10731,7 +10736,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "async-trait", "jsonrpsee", @@ -10744,7 +10749,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "jsonrpsee", "log", @@ -10765,7 +10770,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "array-bytes", "async-trait", @@ -10791,7 +10796,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10801,7 +10806,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10812,7 +10817,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "ansi_term", "build-helper", @@ -11559,11 +11564,12 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#d4837cb5ede0c4a17a1aca8a72a48fbac11e9ef7" +source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" dependencies = [ "clap", "frame-remote-externalities", "frame-try-runtime", + "hex", "log", "parity-scale-codec", "sc-chain-spec", @@ -11571,10 +11577,13 @@ dependencies = [ "sc-executor", "sc-service", "serde", + "sp-api", "sp-core", + "sp-debug-derive", "sp-externalities", "sp-io", "sp-keystore", + "sp-rpc", "sp-runtime", "sp-state-machine", "sp-version", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 1b02f24dd9a2..0d1c55187400 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -26,6 +26,7 @@ polkadot-node-core-pvf = { path = "../node/core/pvf", optional = true } polkadot-performance-test = { path = "../node/test/performance-test", optional = true } sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } +sp-io = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-keyring = { git = "https://github.com/paritytech/substrate", branch = "master" } frame-benchmarking-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } try-runtime-cli = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } @@ -34,6 +35,7 @@ sc-service = { git = "https://github.com/paritytech/substrate", branch = "master polkadot-node-metrics = { path = "../node/metrics" } sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", optional = true } sc-sysinfo = { git = "https://github.com/paritytech/substrate", branch = "master" } +sc-executor = { git = "https://github.com/paritytech/substrate", branch = "master" } [build-dependencies] substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/cli/src/command.rs b/cli/src/command.rs index 0995e1d265d4..81d707e58a24 100644 --- a/cli/src/command.rs +++ b/cli/src/command.rs @@ -638,9 +638,14 @@ pub fn run() -> Result<()> { Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?), #[cfg(feature = "try-runtime")] Some(Subcommand::TryRuntime(cmd)) => { + use sc_executor::{sp_wasm_interface::ExtendedHostFunctions, NativeExecutionDispatch}; let runner = cli.create_runner(cmd)?; let chain_spec = &runner.config().chain_spec; set_default_ss58_version(chain_spec); + type HostFunctionsOf = ExtendedHostFunctions< + sp_io::SubstrateHostFunctions, + ::ExtendHostFunctions, + >; use sc_service::TaskManager; let registry = &runner.config().prometheus_config.as_ref().map(|cfg| &cfg.registry); @@ -651,10 +656,9 @@ pub fn run() -> Result<()> { #[cfg(feature = "kusama-native")] if chain_spec.is_kusama() { - return runner.async_run(|config| { + return runner.async_run(|_| { Ok(( - cmd.run::( - config, + cmd.run::>( ) .map_err(Error::SubstrateCli), task_manager, @@ -664,10 +668,9 @@ pub fn run() -> Result<()> { #[cfg(feature = "westend-native")] if chain_spec.is_westend() { - return runner.async_run(|config| { + return runner.async_run(|_| { Ok(( - cmd.run::( - config, + cmd.run::>( ) .map_err(Error::SubstrateCli), task_manager, @@ -677,10 +680,9 @@ pub fn run() -> Result<()> { // else we assume it is polkadot. #[cfg(feature = "polkadot-native")] { - return runner.async_run(|config| { + return runner.async_run(|_| { Ok(( - cmd.run::( - config, + cmd.run::>( ) .map_err(Error::SubstrateCli), task_manager, diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 0f1be14e27d0..a67e2d467351 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1913,21 +1913,21 @@ sp_api::impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> (Weight, Weight) { + fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade kusama."); - let weight = Executive::try_runtime_upgrade().unwrap(); + let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) } - fn execute_block(block: Block, state_root_check: bool, select: frame_try_runtime::TryStateSelect) -> Weight { - log::info!( - target: "runtime::kusama", "try-runtime: executing block #{} ({:?}) / root checks: {:?} / sanity-checks: {:?}", - block.header.number, - block.header.hash(), - state_root_check, - select, - ); - Executive::try_execute_block(block, state_root_check, select).expect("try_execute_block failed") + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect, + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() } } @@ -2233,6 +2233,6 @@ mod remote_tests { .build() .await .unwrap(); - ext.execute_with(|| Runtime::on_runtime_upgrade()); + ext.execute_with(|| Runtime::on_runtime_upgrade(true)); } } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 17ff253d196f..385b7b815fb8 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -2015,21 +2015,21 @@ sp_api::impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> (Weight, Weight) { + fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade polkadot."); - let weight = Executive::try_runtime_upgrade().unwrap(); + let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) } - fn execute_block(block: Block, state_root_check: bool, select: frame_try_runtime::TryStateSelect) -> Weight { - log::info!( - target: "runtime::polkadot", "try-runtime: executing block #{} ({:?}) / root checks: {:?} / sanity-checks: {:?}", - block.header.number, - block.header.hash(), - state_root_check, - select, - ); - Executive::try_execute_block(block, state_root_check, select).expect("try_execute_block failed") + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect, + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() } } @@ -2441,6 +2441,6 @@ mod remote_tests { .build() .await .unwrap(); - ext.execute_with(|| Runtime::on_runtime_upgrade()); + ext.execute_with(|| Runtime::on_runtime_upgrade(true)); } } diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index b6ae141f3b50..097dcfdd5897 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1630,21 +1630,21 @@ sp_api::impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade() -> (Weight, Weight) { + fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade westend."); - let weight = Executive::try_runtime_upgrade().unwrap(); + let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) } - fn execute_block(block: Block, state_root_check: bool, select: frame_try_runtime::TryStateSelect) -> Weight { - log::info!( - target: "runtime::westend", "try-runtime: executing block #{} ({:?}) / root checks: {:?} / sanity-checks: {:?}", - block.header.number, - block.header.hash(), - state_root_check, - select, - ); - Executive::try_execute_block(block, state_root_check, select).expect("try_execute_block failed") + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect, + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() } } @@ -1832,6 +1832,6 @@ mod remote_tests { .build() .await .unwrap(); - ext.execute_with(|| Runtime::on_runtime_upgrade()); + ext.execute_with(|| Runtime::on_runtime_upgrade(true)); } } diff --git a/utils/staking-miner/src/main.rs b/utils/staking-miner/src/main.rs index 8c134874f297..84c57bc6d2e8 100644 --- a/utils/staking-miner/src/main.rs +++ b/utils/staking-miner/src/main.rs @@ -302,7 +302,7 @@ async fn create_election_ext( ) -> Result> where T: EPM::Config, - B: BlockT, + B: BlockT + DeserializeOwned, B::Header: DeserializeOwned, { use frame_support::{storage::generator::StorageMap, traits::PalletInfo}; @@ -317,13 +317,14 @@ where transport: client.into_inner().into(), at, pallets, + hashed_prefixes: vec![>::prefix_hash()], + hashed_keys: vec![[twox_128(b"System"), twox_128(b"Number")].concat()], ..Default::default() })) - .inject_hashed_prefix(&>::prefix_hash()) - .inject_hashed_key(&[twox_128(b"System"), twox_128(b"Number")].concat()) .build() .await .map_err(|why| Error::RemoteExternalities(why)) + .map(|rx| rx.inner_ext) } /// Compute the election. It expects to NOT be `Phase::Off`. In other words, the snapshot must From 6e3f2c5b4b6e6927915de2f784e1d831717760fa Mon Sep 17 00:00:00 2001 From: eskimor Date: Thu, 15 Dec 2022 10:47:06 +0100 Subject: [PATCH 184/211] Fix wrong rate limit + add a few logs. (#6440) * Add trace log * More tracing. * Fix redundant rate limit. * Add trace log. * Improve logging. Co-authored-by: eskimor --- node/core/approval-voting/src/lib.rs | 5 +++++ .../dispute-coordinator/src/initialized.rs | 9 ++++++++- .../dispute-distribution/src/sender/mod.rs | 5 ++++- .../src/sender/send_task.rs | 19 ++++++++++++++++++- 4 files changed, 35 insertions(+), 3 deletions(-) diff --git a/node/core/approval-voting/src/lib.rs b/node/core/approval-voting/src/lib.rs index 06a4f0b24bb0..14fc87761c42 100644 --- a/node/core/approval-voting/src/lib.rs +++ b/node/core/approval-voting/src/lib.rs @@ -1327,6 +1327,11 @@ async fn get_approval_signatures_for_candidate( // No need to block subsystem on this (also required to break cycle). // We should not be sending this message frequently - caller must make sure this is bounded. + gum::trace!( + target: LOG_TARGET, + ?candidate_hash, + "Spawning task for fetching sinatures from approval-distribution" + ); ctx.spawn("get-approval-signatures", Box::pin(get_approvals)) } diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 1313eb600052..245af523685f 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -807,7 +807,14 @@ impl Initialized { ); intermediate_result }, - Ok(votes) => intermediate_result.import_approval_votes(&env, votes, now), + Ok(votes) => { + gum::trace!( + target: LOG_TARGET, + count = votes.len(), + "Successfully received approval votes." + ); + intermediate_result.import_approval_votes(&env, votes, now) + }, } } else { gum::trace!( diff --git a/node/network/dispute-distribution/src/sender/mod.rs b/node/network/dispute-distribution/src/sender/mod.rs index c0cb7c1c0acc..a54033945d6f 100644 --- a/node/network/dispute-distribution/src/sender/mod.rs +++ b/node/network/dispute-distribution/src/sender/mod.rs @@ -195,7 +195,7 @@ impl DisputeSender { // recovered at startup will be relatively "old" anyway and we assume that no more than a // third of the validators will go offline at any point in time anyway. for dispute in unknown_disputes { - self.rate_limit.limit("while going through unknown disputes", dispute.1).await; + // Rate limiting handled inside `start_send_for_dispute` (calls `start_sender`). self.start_send_for_dispute(ctx, runtime, dispute).await?; } Ok(()) @@ -389,6 +389,7 @@ impl RateLimit { /// String given as occasion and candidate hash are logged in case the rate limit hit. async fn limit(&mut self, occasion: &'static str, candidate_hash: CandidateHash) { // Wait for rate limit and add some logging: + let mut num_wakes: u32 = 0; poll_fn(|cx| { let old_limit = Pin::new(&mut self.limit); match old_limit.poll(cx) { @@ -397,8 +398,10 @@ impl RateLimit { target: LOG_TARGET, ?occasion, ?candidate_hash, + ?num_wakes, "Sending rate limit hit, slowing down requests" ); + num_wakes += 1; Poll::Pending }, Poll::Ready(()) => Poll::Ready(()), diff --git a/node/network/dispute-distribution/src/sender/send_task.rs b/node/network/dispute-distribution/src/sender/send_task.rs index 89b5c099bde9..3852adbc141b 100644 --- a/node/network/dispute-distribution/src/sender/send_task.rs +++ b/node/network/dispute-distribution/src/sender/send_task.rs @@ -140,21 +140,38 @@ impl SendTask { let new_authorities = self.get_relevant_validators(ctx, runtime, active_sessions).await?; // Note this will also contain all authorities for which sending failed previously: - let add_authorities = new_authorities + let add_authorities: Vec<_> = new_authorities .iter() .filter(|a| !self.deliveries.contains_key(a)) .map(Clone::clone) .collect(); // Get rid of dead/irrelevant tasks/statuses: + gum::trace!( + target: LOG_TARGET, + already_running_deliveries = ?self.deliveries.len(), + "Cleaning up deliveries" + ); self.deliveries.retain(|k, _| new_authorities.contains(k)); // Start any new tasks that are needed: + gum::trace!( + target: LOG_TARGET, + new_and_failed_authorities = ?add_authorities.len(), + overall_authority_set_size = ?new_authorities.len(), + already_running_deliveries = ?self.deliveries.len(), + "Starting new send requests for authorities." + ); let new_statuses = send_requests(ctx, self.tx.clone(), add_authorities, self.request.clone(), metrics) .await?; let was_empty = new_statuses.is_empty(); + gum::trace!( + target: LOG_TARGET, + sent_requests = ?new_statuses.len(), + "Requests dispatched." + ); self.has_failed_sends = false; self.deliveries.extend(new_statuses.into_iter()); From eea7770bc7e49dc013f971669b52f9b19b2bf69d Mon Sep 17 00:00:00 2001 From: eskimor Date: Fri, 16 Dec 2022 21:37:57 +0100 Subject: [PATCH 185/211] Make sure errors get logged (#6451) instead of silently dropped. Co-authored-by: eskimor --- node/overseer/src/lib.rs | 10 +++++++++- node/overseer/src/tests.rs | 14 +++++++------- node/service/src/lib.rs | 4 ++-- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index 78d1e1fe7889..3497bc88c059 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -711,7 +711,15 @@ where } /// Run the `Overseer`. - pub async fn run(mut self) -> SubsystemResult<()> { + /// + /// Logging any errors. + pub async fn run(self) { + if let Err(err) = self.run_inner().await { + gum::error!(target: LOG_TARGET, ?err, "Overseer exited with error"); + } + } + + async fn run_inner(mut self) -> SubsystemResult<()> { let metrics = self.metrics.clone(); spawn_metronome_metrics(&mut self, metrics)?; diff --git a/node/overseer/src/tests.rs b/node/overseer/src/tests.rs index dee4c7cbbba9..ca84f033b599 100644 --- a/node/overseer/src/tests.rs +++ b/node/overseer/src/tests.rs @@ -241,7 +241,7 @@ fn overseer_metrics_work() { .unwrap(); let mut handle = Handle::new(handle); - let overseer_fut = overseer.run().fuse(); + let overseer_fut = overseer.run_inner().fuse(); pin_mut!(overseer_fut); @@ -302,7 +302,7 @@ fn overseer_ends_on_subsystem_exit() { .build() .unwrap(); - overseer.run().await.unwrap(); + overseer.run_inner().await.unwrap(); }) } @@ -400,7 +400,7 @@ fn overseer_start_stop_works() { .unwrap(); let mut handle = Handle::new(handle); - let overseer_fut = overseer.run().fuse(); + let overseer_fut = overseer.run_inner().fuse(); pin_mut!(overseer_fut); let mut ss5_results = Vec::new(); @@ -499,7 +499,7 @@ fn overseer_finalize_works() { .unwrap(); let mut handle = Handle::new(handle); - let overseer_fut = overseer.run().fuse(); + let overseer_fut = overseer.run_inner().fuse(); pin_mut!(overseer_fut); let mut ss5_results = Vec::new(); @@ -595,7 +595,7 @@ fn overseer_finalize_leaf_preserves_it() { .unwrap(); let mut handle = Handle::new(handle); - let overseer_fut = overseer.run().fuse(); + let overseer_fut = overseer.run_inner().fuse(); pin_mut!(overseer_fut); let mut ss5_results = Vec::new(); @@ -684,7 +684,7 @@ fn do_not_send_empty_leaves_update_on_block_finalization() { let mut handle = Handle::new(handle); - let overseer_fut = overseer.run().fuse(); + let overseer_fut = overseer.run_inner().fuse(); pin_mut!(overseer_fut); let mut ss5_results = Vec::new(); @@ -947,7 +947,7 @@ fn overseer_all_subsystems_receive_signals_and_messages() { .unwrap(); let mut handle = Handle::new(handle); - let overseer_fut = overseer.run().fuse(); + let overseer_fut = overseer.run_inner().fuse(); pin_mut!(overseer_fut); diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 4252474a68f5..76be6c2d6f36 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -1112,8 +1112,8 @@ where pin_mut!(forward); select! { - _ = forward => (), - _ = overseer_fut => (), + () = forward => (), + () = overseer_fut => (), complete => (), } }), From 1959598cb339a2d64d33d0ac8314dd0c7b9b509d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Sat, 17 Dec 2022 18:51:39 +0100 Subject: [PATCH 186/211] Adding some more logs (#6455) * Adding some more logs More logs are always better! Joke aside, these logs help to debug certain issues. * Apply suggestions from code review --- .../src/requester/fetch_task/mod.rs | 21 ++++++++++++++----- node/network/bridge/src/network.rs | 14 +++++++++++++ 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/node/network/availability-distribution/src/requester/fetch_task/mod.rs b/node/network/availability-distribution/src/requester/fetch_task/mod.rs index 89b634a5ce7e..c6356c9ccd5f 100644 --- a/node/network/availability-distribution/src/requester/fetch_task/mod.rs +++ b/node/network/availability-distribution/src/requester/fetch_task/mod.rs @@ -326,6 +326,17 @@ impl RunningTask { &mut self, validator: &AuthorityDiscoveryId, ) -> std::result::Result { + gum::trace!( + target: LOG_TARGET, + origin = ?validator, + relay_parent = ?self.relay_parent, + group_index = ?self.group_index, + session_index = ?self.session_index, + chunk_index = ?self.request.index, + candidate_hash = ?self.request.candidate_hash, + "Starting chunk request", + ); + let (full_request, response_recv) = OutgoingRequest::new(Recipient::Authority(validator.clone()), self.request); let requests = Requests::ChunkFetchingV1(full_request); @@ -346,13 +357,13 @@ impl RunningTask { Err(RequestError::InvalidResponse(err)) => { gum::warn!( target: LOG_TARGET, - origin= ?validator, + origin = ?validator, relay_parent = ?self.relay_parent, group_index = ?self.group_index, session_index = ?self.session_index, chunk_index = ?self.request.index, candidate_hash = ?self.request.candidate_hash, - err= ?err, + err = ?err, "Peer sent us invalid erasure chunk data" ); Err(TaskError::PeerError) @@ -360,13 +371,13 @@ impl RunningTask { Err(RequestError::NetworkError(err)) => { gum::debug!( target: LOG_TARGET, - origin= ?validator, + origin = ?validator, relay_parent = ?self.relay_parent, group_index = ?self.group_index, session_index = ?self.session_index, chunk_index = ?self.request.index, candidate_hash = ?self.request.candidate_hash, - err= ?err, + err = ?err, "Some network error occurred when fetching erasure chunk" ); Err(TaskError::PeerError) @@ -374,7 +385,7 @@ impl RunningTask { Err(RequestError::Canceled(oneshot::Canceled)) => { gum::debug!( target: LOG_TARGET, - origin= ?validator, + origin = ?validator, relay_parent = ?self.relay_parent, group_index = ?self.group_index, session_index = ?self.session_index, diff --git a/node/network/bridge/src/network.rs b/node/network/bridge/src/network.rs index 32dc79d25814..ec7623bb2e1d 100644 --- a/node/network/bridge/src/network.rs +++ b/node/network/bridge/src/network.rs @@ -161,6 +161,12 @@ impl Network for Arc> { let peer_id = match peer { Recipient::Peer(peer_id) => Some(peer_id), Recipient::Authority(authority) => { + gum::trace!( + target: LOG_TARGET, + ?authority, + "Searching for peer id to connect to authority", + ); + let mut found_peer_id = None; // Note: `get_addresses_by_authority_id` searched in a cache, and it thus expected // to be very quick. @@ -196,6 +202,14 @@ impl Network for Arc> { Some(peer_id) => peer_id, }; + gum::trace!( + target: LOG_TARGET, + %peer_id, + protocol = %req_protocol_names.get_name(protocol), + ?if_disconnected, + "Starting request", + ); + NetworkService::start_request( self, peer_id, From a9abc15f7f65c22796750d7e002e300269b53ca3 Mon Sep 17 00:00:00 2001 From: Bernhard Schuster Date: Mon, 19 Dec 2022 09:51:57 +0100 Subject: [PATCH 187/211] [bump] orchestra v0.0.4 (#6413) * update orchestra to v0.0.3 * fix locks * update orchestra to v0.0.4 * update lock --- Cargo.lock | 16 ++++++++-------- node/overseer/Cargo.toml | 3 ++- node/overseer/src/dummy.rs | 3 +++ node/overseer/src/lib.rs | 15 ++++++++------- node/subsystem-types/Cargo.toml | 2 +- node/subsystem-types/src/messages.rs | 18 ------------------ node/subsystem/src/lib.rs | 3 +++ 7 files changed, 25 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1ad3b99e76f1..fc912dfccc03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4534,9 +4534,9 @@ dependencies = [ [[package]] name = "orchestra" -version = "0.0.2" +version = "0.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0aab54694ddaa8a9b703724c6ef04272b2d27bc32d2c855aae5cdd1857216b43" +checksum = "17e7d5b6bb115db09390bed8842c94180893dd83df3dfce7354f2a2aa090a4ee" dependencies = [ "async-trait", "dyn-clonable", @@ -4551,9 +4551,9 @@ dependencies = [ [[package]] name = "orchestra-proc-macro" -version = "0.0.2" +version = "0.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a702b2f6bf592b3eb06c00d80d05afaf7a8eff6b41bb361e397d799acc21b45a" +checksum = "c2af4dabb2286b0be0e9711d2d24e25f6217048b71210cffd3daddc3b5c84e1f" dependencies = [ "expander 0.0.6", "itertools", @@ -7530,9 +7530,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.43" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" +checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" dependencies = [ "unicode-ident", ] @@ -10871,9 +10871,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.98" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" +checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908" dependencies = [ "proc-macro2", "quote", diff --git a/node/overseer/Cargo.toml b/node/overseer/Cargo.toml index 092ba410a126..52310422eb4d 100644 --- a/node/overseer/Cargo.toml +++ b/node/overseer/Cargo.toml @@ -15,7 +15,7 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-subsystem-types = { path = "../subsystem-types" } polkadot-node-metrics = { path = "../metrics" } polkadot-primitives = { path = "../../primitives" } -orchestra = "0.0.2" +orchestra = "0.0.4" gum = { package = "tracing-gum", path = "../gum" } lru = "0.8" sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -34,3 +34,4 @@ test-helpers = { package = "polkadot-primitives-test-helpers", path = "../../pri [features] default = [] expand = ["orchestra/expand"] +dotgraph = ["orchestra/dotgraph"] diff --git a/node/overseer/src/dummy.rs b/node/overseer/src/dummy.rs index 0706244356aa..cf72774826ea 100644 --- a/node/overseer/src/dummy.rs +++ b/node/overseer/src/dummy.rs @@ -22,6 +22,9 @@ use crate::{ use lru::LruCache; use orchestra::{FromOrchestra, SpawnedSubsystem, Subsystem, SubsystemContext}; use polkadot_node_subsystem_types::{errors::SubsystemError, messages::*}; +// Generated dummy messages +use crate::messages::*; + /// A dummy subsystem that implements [`Subsystem`] for all /// types of messages. Used for tests or as a placeholder. #[derive(Clone, Copy, Debug)] diff --git a/node/overseer/src/lib.rs b/node/overseer/src/lib.rs index 3497bc88c059..6253f8b3e264 100644 --- a/node/overseer/src/lib.rs +++ b/node/overseer/src/lib.rs @@ -74,15 +74,16 @@ use lru::LruCache; use client::{BlockImportNotification, BlockchainEvents, FinalityNotification}; use polkadot_primitives::v2::{Block, BlockNumber, Hash}; +use self::messages::{BitfieldSigningMessage, PvfCheckerMessage}; use polkadot_node_subsystem_types::messages::{ ApprovalDistributionMessage, ApprovalVotingMessage, AvailabilityDistributionMessage, AvailabilityRecoveryMessage, AvailabilityStoreMessage, BitfieldDistributionMessage, - BitfieldSigningMessage, CandidateBackingMessage, CandidateValidationMessage, ChainApiMessage, - ChainSelectionMessage, CollationGenerationMessage, CollatorProtocolMessage, - DisputeCoordinatorMessage, DisputeDistributionMessage, GossipSupportMessage, - NetworkBridgeRxMessage, NetworkBridgeTxMessage, ProvisionerMessage, PvfCheckerMessage, - RuntimeApiMessage, StatementDistributionMessage, + CandidateBackingMessage, CandidateValidationMessage, ChainApiMessage, ChainSelectionMessage, + CollationGenerationMessage, CollatorProtocolMessage, DisputeCoordinatorMessage, + DisputeDistributionMessage, GossipSupportMessage, NetworkBridgeRxMessage, + NetworkBridgeTxMessage, ProvisionerMessage, RuntimeApiMessage, StatementDistributionMessage, }; + pub use polkadot_node_subsystem_types::{ errors::{SubsystemError, SubsystemResult}, jaeger, ActivatedLeaf, ActiveLeavesUpdate, LeafStatus, OverseerSignal, @@ -458,7 +459,7 @@ pub struct Overseer { ])] candidate_validation: CandidateValidation, - #[subsystem(PvfCheckerMessage, sends: [ + #[subsystem(sends: [ CandidateValidationMessage, RuntimeApiMessage, ])] @@ -498,7 +499,7 @@ pub struct Overseer { ])] availability_recovery: AvailabilityRecovery, - #[subsystem(blocking, BitfieldSigningMessage, sends: [ + #[subsystem(blocking, sends: [ AvailabilityStoreMessage, RuntimeApiMessage, BitfieldDistributionMessage, diff --git a/node/subsystem-types/Cargo.toml b/node/subsystem-types/Cargo.toml index 175623dc32d8..22528503ccc4 100644 --- a/node/subsystem-types/Cargo.toml +++ b/node/subsystem-types/Cargo.toml @@ -13,7 +13,7 @@ polkadot-node-primitives = { path = "../primitives" } polkadot-node-network-protocol = { path = "../network/protocol" } polkadot-statement-table = { path = "../../statement-table" } polkadot-node-jaeger = { path = "../jaeger" } -orchestra = "0.0.2" +orchestra = "0.0.4" sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-consensus-babe = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/subsystem-types/src/messages.rs b/node/subsystem-types/src/messages.rs index 94562ae6baef..cb0834c5ba34 100644 --- a/node/subsystem-types/src/messages.rs +++ b/node/subsystem-types/src/messages.rs @@ -473,18 +473,6 @@ impl BitfieldDistributionMessage { } } -/// Bitfield signing message. -/// -/// Currently non-instantiable. -#[derive(Debug)] -pub enum BitfieldSigningMessage {} - -impl BoundToRelayParent for BitfieldSigningMessage { - fn relay_parent(&self) -> Hash { - match *self {} - } -} - /// Availability store subsystem message. #[derive(Debug)] pub enum AvailabilityStoreMessage { @@ -950,9 +938,3 @@ pub enum GossipSupportMessage { #[from] NetworkBridgeUpdate(NetworkBridgeEvent), } - -/// PVF checker message. -/// -/// Currently non-instantiable. -#[derive(Debug)] -pub enum PvfCheckerMessage {} diff --git a/node/subsystem/src/lib.rs b/node/subsystem/src/lib.rs index ce5fef2c8b51..6d534f5fd5bd 100644 --- a/node/subsystem/src/lib.rs +++ b/node/subsystem/src/lib.rs @@ -34,6 +34,9 @@ pub use polkadot_node_subsystem_types::{ /// Re-export of all messages type, including the wrapper type. pub mod messages { pub use super::overseer::AllMessages; + // generated, empty message types + pub use super::overseer::messages::*; + // deliberately defined messages pub use polkadot_node_subsystem_types::messages::*; } From 913a6fa5cfc046e936e971d19f553adcfe9c87c2 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Mon, 19 Dec 2022 23:13:34 +0100 Subject: [PATCH 188/211] Use explicit call indices (#6449) * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi * Use explicit call indices Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi --- Cargo.lock | 360 +++++++++---------- runtime/common/src/assigned_slots.rs | 3 + runtime/common/src/auctions.rs | 3 + runtime/common/src/claims.rs | 5 + runtime/common/src/crowdloan/mod.rs | 9 + runtime/common/src/paras_registrar.rs | 9 + runtime/common/src/paras_sudo_wrapper.rs | 6 + runtime/common/src/purchase.rs | 7 + runtime/common/src/slots/mod.rs | 3 + runtime/parachains/src/configuration.rs | 45 +++ runtime/parachains/src/disputes.rs | 1 + runtime/parachains/src/disputes/slashing.rs | 1 + runtime/parachains/src/hrmp.rs | 8 + runtime/parachains/src/initializer.rs | 1 + runtime/parachains/src/paras/mod.rs | 8 + runtime/parachains/src/paras_inherent/mod.rs | 1 + runtime/parachains/src/ump.rs | 1 + runtime/rococo/src/validator_manager.rs | 2 + runtime/test-runtime/src/lib.rs | 3 + xcm/pallet-xcm/src/lib.rs | 10 + xcm/pallet-xcm/src/mock.rs | 3 + 21 files changed, 309 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fc912dfccc03..6bbdb7e01779 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "async-trait", @@ -447,7 +447,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "beefy-gadget", "futures", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "sp-api", "sp-beefy", @@ -1990,7 +1990,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2014,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2037,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "env_logger 0.9.0", "futures", @@ -2165,7 +2165,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "bitflags", "frame-metadata", @@ -2197,7 +2197,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "Inflector", "cfg-expr", @@ -2211,7 +2211,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2223,7 +2223,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro2", "quote", @@ -2233,7 +2233,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2256,7 +2256,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -2267,7 +2267,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "log", @@ -2285,7 +2285,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -2300,7 +2300,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "sp-api", @@ -2309,7 +2309,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "parity-scale-codec", @@ -2480,7 +2480,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "chrono", "frame-election-provider-support", @@ -4072,7 +4072,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "log", @@ -4092,7 +4092,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "anyhow", "jsonrpsee", @@ -4597,7 +4597,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4612,7 +4612,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -4628,7 +4628,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -4643,7 +4643,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4667,7 +4667,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4687,7 +4687,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4706,7 +4706,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4721,7 +4721,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -4737,7 +4737,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4760,7 +4760,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4778,7 +4778,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4797,7 +4797,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4814,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4831,7 +4831,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4849,7 +4849,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4873,7 +4873,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4886,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4904,7 +4904,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4922,7 +4922,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4945,7 +4945,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4961,7 +4961,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +4981,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -4998,7 +4998,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,7 +5032,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5048,7 +5048,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -5081,7 +5081,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5101,7 +5101,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "sp-api", @@ -5111,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -5128,7 +5128,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5151,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5168,7 +5168,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5183,7 +5183,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5201,7 +5201,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5216,7 +5216,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5252,7 +5252,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -5273,7 +5273,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5289,7 +5289,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -5303,7 +5303,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5326,7 +5326,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5337,7 +5337,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "log", "sp-arithmetic", @@ -5346,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5363,7 +5363,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -5377,7 +5377,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5395,7 +5395,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5414,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-support", "frame-system", @@ -5430,7 +5430,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5446,7 +5446,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5458,7 +5458,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5475,7 +5475,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5491,7 +5491,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -5506,7 +5506,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-benchmarking", "frame-support", @@ -8279,7 +8279,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "log", "sp-core", @@ -8290,7 +8290,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures", @@ -8317,7 +8317,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "futures-timer", @@ -8340,7 +8340,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8356,7 +8356,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "impl-trait-for-tuples", "memmap2", @@ -8373,7 +8373,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8384,7 +8384,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "chrono", @@ -8424,7 +8424,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "fnv", "futures", @@ -8452,7 +8452,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "hash-db", "kvdb", @@ -8477,7 +8477,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures", @@ -8502,7 +8502,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "fork-tree", @@ -8543,7 +8543,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "jsonrpsee", @@ -8565,7 +8565,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8578,7 +8578,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures", @@ -8602,7 +8602,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "lru", "parity-scale-codec", @@ -8626,7 +8626,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8639,7 +8639,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "log", "sc-allocator", @@ -8652,7 +8652,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "cfg-if", "libc", @@ -8669,7 +8669,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "ahash", "array-bytes", @@ -8710,7 +8710,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "finality-grandpa", "futures", @@ -8731,7 +8731,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "ansi_term", "futures", @@ -8747,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "async-trait", @@ -8762,7 +8762,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "async-trait", @@ -8809,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "cid", "futures", @@ -8829,7 +8829,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "bitflags", @@ -8855,7 +8855,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "ahash", "futures", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "futures", @@ -8894,7 +8894,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "async-trait", @@ -8926,7 +8926,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "futures", @@ -8945,7 +8945,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "bytes", @@ -8975,7 +8975,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "libp2p", @@ -8988,7 +8988,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8997,7 +8997,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "hash-db", @@ -9027,7 +9027,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "jsonrpsee", @@ -9050,7 +9050,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "http", @@ -9066,7 +9066,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "hex", @@ -9085,7 +9085,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "directories", @@ -9155,7 +9155,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "log", "parity-scale-codec", @@ -9167,7 +9167,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9186,7 +9186,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "libc", @@ -9205,7 +9205,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "chrono", "futures", @@ -9223,7 +9223,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "ansi_term", "atty", @@ -9254,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9265,7 +9265,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures", @@ -9291,7 +9291,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures", @@ -9305,7 +9305,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "futures-timer", @@ -9787,7 +9787,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "hash-db", "log", @@ -9805,7 +9805,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "blake2", "proc-macro-crate", @@ -9817,7 +9817,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -9830,7 +9830,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "integer-sqrt", "num-traits", @@ -9845,7 +9845,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -9858,7 +9858,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "parity-scale-codec", @@ -9870,7 +9870,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -9887,7 +9887,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "sp-api", @@ -9899,7 +9899,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "log", @@ -9917,7 +9917,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "merlin", @@ -9959,7 +9959,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -9973,7 +9973,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -9986,7 +9986,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "base58", @@ -10031,7 +10031,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "blake2", "byteorder", @@ -10045,7 +10045,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro2", "quote", @@ -10056,7 +10056,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10065,7 +10065,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro2", "quote", @@ -10075,7 +10075,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "environmental", "parity-scale-codec", @@ -10086,7 +10086,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "finality-grandpa", "log", @@ -10104,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10118,7 +10118,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "bytes", "ed25519-dalek", @@ -10145,7 +10145,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "lazy_static", "sp-core", @@ -10156,7 +10156,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures", @@ -10173,7 +10173,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "thiserror", "zstd", @@ -10182,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10200,7 +10200,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10214,7 +10214,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "sp-api", "sp-core", @@ -10224,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "backtrace", "lazy_static", @@ -10234,7 +10234,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "rustc-hash", "serde", @@ -10244,7 +10244,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "either", "hash256-std-hasher", @@ -10266,7 +10266,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10284,7 +10284,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "Inflector", "proc-macro-crate", @@ -10296,7 +10296,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10310,7 +10310,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "scale-info", @@ -10322,7 +10322,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "hash-db", "log", @@ -10344,12 +10344,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10362,7 +10362,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "futures-timer", @@ -10378,7 +10378,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "sp-std", @@ -10390,7 +10390,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "sp-api", "sp-runtime", @@ -10399,7 +10399,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "log", @@ -10415,7 +10415,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "ahash", "hash-db", @@ -10438,7 +10438,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10455,7 +10455,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10466,7 +10466,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "impl-trait-for-tuples", "log", @@ -10479,7 +10479,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", @@ -10694,7 +10694,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "platforms", ] @@ -10702,7 +10702,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10723,7 +10723,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures-util", "hyper", @@ -10736,7 +10736,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "async-trait", "jsonrpsee", @@ -10749,7 +10749,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "jsonrpsee", "log", @@ -10770,7 +10770,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "array-bytes", "async-trait", @@ -10796,7 +10796,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10806,7 +10806,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10817,7 +10817,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "ansi_term", "build-helper", @@ -11564,7 +11564,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#cd2fdcf85eb96c53ce2a5d418d4338eb92f5d4f5" +source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" dependencies = [ "clap", "frame-remote-externalities", diff --git a/runtime/common/src/assigned_slots.rs b/runtime/common/src/assigned_slots.rs index 9be227a37352..e7da8c7407cf 100644 --- a/runtime/common/src/assigned_slots.rs +++ b/runtime/common/src/assigned_slots.rs @@ -200,6 +200,7 @@ pub mod pallet { impl Pallet { // TODO: Benchmark this /// Assign a permanent parachain slot and immediately create a lease for it. + #[pallet::call_index(0)] #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] pub fn assign_perm_parachain_slot(origin: OriginFor, id: ParaId) -> DispatchResult { T::AssignSlotOrigin::ensure_origin(origin)?; @@ -258,6 +259,7 @@ pub mod pallet { /// Assign a temporary parachain slot. The function tries to create a lease for it /// immediately if `SlotLeasePeriodStart::Current` is specified, and if the number /// of currently active temporary slots is below `MaxTemporarySlotPerLeasePeriod`. + #[pallet::call_index(1)] #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] pub fn assign_temp_parachain_slot( origin: OriginFor, @@ -341,6 +343,7 @@ pub mod pallet { // TODO: Benchmark this /// Unassign a permanent or temporary parachain slot + #[pallet::call_index(2)] #[pallet::weight(((MAXIMUM_BLOCK_WEIGHT / 10) as Weight, DispatchClass::Operational))] pub fn unassign_parachain_slot(origin: OriginFor, id: ParaId) -> DispatchResult { T::AssignSlotOrigin::ensure_origin(origin.clone())?; diff --git a/runtime/common/src/auctions.rs b/runtime/common/src/auctions.rs index f9181a7eac7b..bdbd9d4cae97 100644 --- a/runtime/common/src/auctions.rs +++ b/runtime/common/src/auctions.rs @@ -253,6 +253,7 @@ pub mod pallet { /// This can only happen when there isn't already an auction in progress and may only be /// called by the root origin. Accepts the `duration` of this auction and the /// `lease_period_index` of the initial lease period of the four that are to be auctioned. + #[pallet::call_index(0)] #[pallet::weight((T::WeightInfo::new_auction(), DispatchClass::Operational))] pub fn new_auction( origin: OriginFor, @@ -279,6 +280,7 @@ pub mod pallet { /// absolute lease period index value, not an auction-specific offset. /// - `amount` is the amount to bid to be held as deposit for the parachain should the /// bid win. This amount is held throughout the range. + #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::bid())] pub fn bid( origin: OriginFor, @@ -296,6 +298,7 @@ pub mod pallet { /// Cancel an in-progress auction. /// /// Can only be called by Root origin. + #[pallet::call_index(2)] #[pallet::weight(T::WeightInfo::cancel_auction())] pub fn cancel_auction(origin: OriginFor) -> DispatchResult { ensure_root(origin)?; diff --git a/runtime/common/src/claims.rs b/runtime/common/src/claims.rs index 1bb5b0cdc8d3..a07bf37079d3 100644 --- a/runtime/common/src/claims.rs +++ b/runtime/common/src/claims.rs @@ -305,6 +305,7 @@ pub mod pallet { /// /// Total Complexity: O(1) /// + #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::claim())] pub fn claim( origin: OriginFor, @@ -337,6 +338,7 @@ pub mod pallet { /// /// Total Complexity: O(1) /// + #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::mint_claim())] pub fn mint_claim( origin: OriginFor, @@ -384,6 +386,7 @@ pub mod pallet { /// /// Total Complexity: O(1) /// + #[pallet::call_index(2)] #[pallet::weight(T::WeightInfo::claim_attest())] pub fn claim_attest( origin: OriginFor, @@ -420,6 +423,7 @@ pub mod pallet { /// /// Total Complexity: O(1) /// + #[pallet::call_index(3)] #[pallet::weight(( T::WeightInfo::attest(), DispatchClass::Normal, @@ -436,6 +440,7 @@ pub mod pallet { Ok(()) } + #[pallet::call_index(4)] #[pallet::weight(T::WeightInfo::move_claim())] pub fn move_claim( origin: OriginFor, diff --git a/runtime/common/src/crowdloan/mod.rs b/runtime/common/src/crowdloan/mod.rs index 224f06c0d6e4..711bf0b7b33b 100644 --- a/runtime/common/src/crowdloan/mod.rs +++ b/runtime/common/src/crowdloan/mod.rs @@ -372,6 +372,7 @@ pub mod pallet { /// /// This applies a lock to your parachain configuration, ensuring that it cannot be changed /// by the parachain manager. + #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::create())] pub fn create( origin: OriginFor, @@ -449,6 +450,7 @@ pub mod pallet { /// Contribute to a crowd sale. This will transfer some balance over to fund a parachain /// slot. It will be withdrawable when the crowdloan has ended and the funds are unused. + #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::contribute())] pub fn contribute( origin: OriginFor, @@ -477,6 +479,7 @@ pub mod pallet { /// /// - `who`: The account whose contribution should be withdrawn. /// - `index`: The parachain to whose crowdloan the contribution was made. + #[pallet::call_index(2)] #[pallet::weight(T::WeightInfo::withdraw())] pub fn withdraw( origin: OriginFor, @@ -510,6 +513,7 @@ pub mod pallet { /// times to fully refund all users. We will refund `RemoveKeysLimit` users at a time. /// /// Origin must be signed, but can come from anyone. + #[pallet::call_index(3)] #[pallet::weight(T::WeightInfo::refund(T::RemoveKeysLimit::get()))] pub fn refund( origin: OriginFor, @@ -555,6 +559,7 @@ pub mod pallet { } /// Remove a fund after the retirement period has ended and all funds have been returned. + #[pallet::call_index(4)] #[pallet::weight(T::WeightInfo::dissolve())] pub fn dissolve(origin: OriginFor, #[pallet::compact] index: ParaId) -> DispatchResult { let who = ensure_signed(origin)?; @@ -582,6 +587,7 @@ pub mod pallet { /// Edit the configuration for an in-progress crowdloan. /// /// Can only be called by Root origin. + #[pallet::call_index(5)] #[pallet::weight(T::WeightInfo::edit())] pub fn edit( origin: OriginFor, @@ -619,6 +625,7 @@ pub mod pallet { /// Add an optional memo to an existing crowdloan contribution. /// /// Origin must be Signed, and the user must have contributed to the crowdloan. + #[pallet::call_index(6)] #[pallet::weight(T::WeightInfo::add_memo())] pub fn add_memo(origin: OriginFor, index: ParaId, memo: Vec) -> DispatchResult { let who = ensure_signed(origin)?; @@ -637,6 +644,7 @@ pub mod pallet { /// Poke the fund into `NewRaise` /// /// Origin must be Signed, and the fund has non-zero raise. + #[pallet::call_index(7)] #[pallet::weight(T::WeightInfo::poke())] pub fn poke(origin: OriginFor, index: ParaId) -> DispatchResult { ensure_signed(origin)?; @@ -650,6 +658,7 @@ pub mod pallet { /// Contribute your entire balance to a crowd sale. This will transfer the entire balance of a user over to fund a parachain /// slot. It will be withdrawable when the crowdloan has ended and the funds are unused. + #[pallet::call_index(8)] #[pallet::weight(T::WeightInfo::contribute())] pub fn contribute_all( origin: OriginFor, diff --git a/runtime/common/src/paras_registrar.rs b/runtime/common/src/paras_registrar.rs index bfcc91e3ba71..c66c33ca21bd 100644 --- a/runtime/common/src/paras_registrar.rs +++ b/runtime/common/src/paras_registrar.rs @@ -228,6 +228,7 @@ pub mod pallet { /// /// ## Events /// The `Registered` event is emitted in case of success. + #[pallet::call_index(0)] #[pallet::weight(::WeightInfo::register())] pub fn register( origin: OriginFor, @@ -246,6 +247,7 @@ pub mod pallet { /// /// The deposit taken can be specified for this registration. Any `ParaId` /// can be registered, including sub-1000 IDs which are System Parachains. + #[pallet::call_index(1)] #[pallet::weight(::WeightInfo::force_register())] pub fn force_register( origin: OriginFor, @@ -262,6 +264,7 @@ pub mod pallet { /// Deregister a Para Id, freeing all data and returning any deposit. /// /// The caller must be Root, the `para` owner, or the `para` itself. The para must be a parathread. + #[pallet::call_index(2)] #[pallet::weight(::WeightInfo::deregister())] pub fn deregister(origin: OriginFor, id: ParaId) -> DispatchResult { Self::ensure_root_para_or_owner(origin, id)?; @@ -279,6 +282,7 @@ pub mod pallet { /// `ParaId` to be a long-term identifier of a notional "parachain". However, their /// scheduling info (i.e. whether they're a parathread or parachain), auction information /// and the auction deposit are switched. + #[pallet::call_index(3)] #[pallet::weight(::WeightInfo::swap())] pub fn swap(origin: OriginFor, id: ParaId, other: ParaId) -> DispatchResult { Self::ensure_root_para_or_owner(origin, id)?; @@ -328,6 +332,7 @@ pub mod pallet { /// previously locked para to deregister or swap a para without using governance. /// /// Can only be called by the Root origin or the parachain. + #[pallet::call_index(4)] #[pallet::weight(T::DbWeight::get().reads_writes(1, 1))] pub fn remove_lock(origin: OriginFor, para: ParaId) -> DispatchResult { Self::ensure_root_or_para(origin, para)?; @@ -349,6 +354,7 @@ pub mod pallet { /// /// ## Events /// The `Reserved` event is emitted in case of success, which provides the ID reserved for use. + #[pallet::call_index(5)] #[pallet::weight(::WeightInfo::reserve())] pub fn reserve(origin: OriginFor) -> DispatchResult { let who = ensure_signed(origin)?; @@ -362,6 +368,7 @@ pub mod pallet { /// para to deregister or swap a para. /// /// Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked. + #[pallet::call_index(6)] #[pallet::weight(T::DbWeight::get().reads_writes(1, 1))] pub fn add_lock(origin: OriginFor, para: ParaId) -> DispatchResult { Self::ensure_root_para_or_owner(origin, para)?; @@ -372,6 +379,7 @@ pub mod pallet { /// Schedule a parachain upgrade. /// /// Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked. + #[pallet::call_index(7)] #[pallet::weight(::WeightInfo::schedule_code_upgrade(new_code.0.len() as u32))] pub fn schedule_code_upgrade( origin: OriginFor, @@ -386,6 +394,7 @@ pub mod pallet { /// Set the parachain's current head. /// /// Can be called by Root, the parachain, or the parachain manager if the parachain is unlocked. + #[pallet::call_index(8)] #[pallet::weight(::WeightInfo::set_current_head(new_head.0.len() as u32))] pub fn set_current_head( origin: OriginFor, diff --git a/runtime/common/src/paras_sudo_wrapper.rs b/runtime/common/src/paras_sudo_wrapper.rs index 49f27a8d44c3..8cb402c0930e 100644 --- a/runtime/common/src/paras_sudo_wrapper.rs +++ b/runtime/common/src/paras_sudo_wrapper.rs @@ -70,6 +70,7 @@ pub mod pallet { #[pallet::call] impl Pallet { /// Schedule a para to be initialized at the start of the next session. + #[pallet::call_index(0)] #[pallet::weight((1_000, DispatchClass::Operational))] pub fn sudo_schedule_para_initialize( origin: OriginFor, @@ -83,6 +84,7 @@ pub mod pallet { } /// Schedule a para to be cleaned up at the start of the next session. + #[pallet::call_index(1)] #[pallet::weight((1_000, DispatchClass::Operational))] pub fn sudo_schedule_para_cleanup(origin: OriginFor, id: ParaId) -> DispatchResult { ensure_root(origin)?; @@ -92,6 +94,7 @@ pub mod pallet { } /// Upgrade a parathread to a parachain + #[pallet::call_index(2)] #[pallet::weight((1_000, DispatchClass::Operational))] pub fn sudo_schedule_parathread_upgrade( origin: OriginFor, @@ -109,6 +112,7 @@ pub mod pallet { } /// Downgrade a parachain to a parathread + #[pallet::call_index(3)] #[pallet::weight((1_000, DispatchClass::Operational))] pub fn sudo_schedule_parachain_downgrade( origin: OriginFor, @@ -129,6 +133,7 @@ pub mod pallet { /// /// The given parachain should exist and the payload should not exceed the preconfigured size /// `config.max_downward_message_size`. + #[pallet::call_index(4)] #[pallet::weight((1_000, DispatchClass::Operational))] pub fn sudo_queue_downward_xcm( origin: OriginFor, @@ -149,6 +154,7 @@ pub mod pallet { /// /// This is equivalent to sending an `Hrmp::hrmp_init_open_channel` extrinsic followed by /// `Hrmp::hrmp_accept_open_channel`. + #[pallet::call_index(5)] #[pallet::weight((1_000, DispatchClass::Operational))] pub fn sudo_establish_hrmp_channel( origin: OriginFor, diff --git a/runtime/common/src/purchase.rs b/runtime/common/src/purchase.rs index 52ad22bec2fb..dcc3f1e2b5c5 100644 --- a/runtime/common/src/purchase.rs +++ b/runtime/common/src/purchase.rs @@ -195,6 +195,7 @@ pub mod pallet { /// We check that the account does not exist at this stage. /// /// Origin must match the `ValidityOrigin`. + #[pallet::call_index(0)] #[pallet::weight(Weight::from_ref_time(200_000_000) + T::DbWeight::get().reads_writes(4, 1))] pub fn create_account( origin: OriginFor, @@ -232,6 +233,7 @@ pub mod pallet { /// We check that the account exists at this stage, but has not completed the process. /// /// Origin must match the `ValidityOrigin`. + #[pallet::call_index(1)] #[pallet::weight(T::DbWeight::get().reads_writes(1, 1))] pub fn update_validity_status( origin: OriginFor, @@ -260,6 +262,7 @@ pub mod pallet { /// We check that the account is valid for a balance transfer at this point. /// /// Origin must match the `ValidityOrigin`. + #[pallet::call_index(2)] #[pallet::weight(T::DbWeight::get().reads_writes(2, 1))] pub fn update_balance( origin: OriginFor, @@ -297,6 +300,7 @@ pub mod pallet { /// /// Origin must match the configured `PaymentAccount` (if it is not configured then this /// will always fail with `BadOrigin`). + #[pallet::call_index(3)] #[pallet::weight(T::DbWeight::get().reads_writes(4, 2))] pub fn payout(origin: OriginFor, who: T::AccountId) -> DispatchResult { // Payments must be made directly by the `PaymentAccount`. @@ -366,6 +370,7 @@ pub mod pallet { /// Set the account that will be used to payout users in the DOT purchase process. /// /// Origin must match the `ConfigurationOrigin` + #[pallet::call_index(4)] #[pallet::weight(T::DbWeight::get().writes(1))] pub fn set_payment_account(origin: OriginFor, who: T::AccountId) -> DispatchResult { T::ConfigurationOrigin::ensure_origin(origin)?; @@ -378,6 +383,7 @@ pub mod pallet { /// Set the statement that must be signed for a user to participate on the DOT sale. /// /// Origin must match the `ConfigurationOrigin` + #[pallet::call_index(5)] #[pallet::weight(T::DbWeight::get().writes(1))] pub fn set_statement(origin: OriginFor, statement: Vec) -> DispatchResult { T::ConfigurationOrigin::ensure_origin(origin)?; @@ -394,6 +400,7 @@ pub mod pallet { /// Set the block where locked DOTs will become unlocked. /// /// Origin must match the `ConfigurationOrigin` + #[pallet::call_index(6)] #[pallet::weight(T::DbWeight::get().writes(1))] pub fn set_unlock_block( origin: OriginFor, diff --git a/runtime/common/src/slots/mod.rs b/runtime/common/src/slots/mod.rs index 21391dc3d774..62637d582b55 100644 --- a/runtime/common/src/slots/mod.rs +++ b/runtime/common/src/slots/mod.rs @@ -165,6 +165,7 @@ pub mod pallet { /// independently of any other on-chain mechanism to use it. /// /// The dispatch origin for this call must match `T::ForceOrigin`. + #[pallet::call_index(0)] #[pallet::weight(T::WeightInfo::force_lease())] pub fn force_lease( origin: OriginFor, @@ -183,6 +184,7 @@ pub mod pallet { /// Clear all leases for a Para Id, refunding any deposits back to the original owners. /// /// The dispatch origin for this call must match `T::ForceOrigin`. + #[pallet::call_index(1)] #[pallet::weight(T::WeightInfo::clear_all_leases())] pub fn clear_all_leases(origin: OriginFor, para: ParaId) -> DispatchResult { T::ForceOrigin::ensure_origin(origin)?; @@ -205,6 +207,7 @@ pub mod pallet { /// let them onboard from here. /// /// Origin must be signed, but can be called by anyone. + #[pallet::call_index(2)] #[pallet::weight(T::WeightInfo::trigger_onboard())] pub fn trigger_onboard(origin: OriginFor, para: ParaId) -> DispatchResult { let _ = ensure_signed(origin)?; diff --git a/runtime/parachains/src/configuration.rs b/runtime/parachains/src/configuration.rs index 113fad1d7a57..2f09deb34ded 100644 --- a/runtime/parachains/src/configuration.rs +++ b/runtime/parachains/src/configuration.rs @@ -521,6 +521,7 @@ pub mod pallet { #[pallet::call] impl Pallet { /// Set the validation upgrade cooldown. + #[pallet::call_index(0)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -536,6 +537,7 @@ pub mod pallet { } /// Set the validation upgrade delay. + #[pallet::call_index(1)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -551,6 +553,7 @@ pub mod pallet { } /// Set the acceptance period for an included candidate. + #[pallet::call_index(2)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -566,6 +569,7 @@ pub mod pallet { } /// Set the max validation code size for incoming upgrades. + #[pallet::call_index(3)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -578,6 +582,7 @@ pub mod pallet { } /// Set the max POV block size for incoming upgrades. + #[pallet::call_index(4)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -590,6 +595,7 @@ pub mod pallet { } /// Set the max head data size for paras. + #[pallet::call_index(5)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -602,6 +608,7 @@ pub mod pallet { } /// Set the number of parathread execution cores. + #[pallet::call_index(6)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -614,6 +621,7 @@ pub mod pallet { } /// Set the number of retries for a particular parathread. + #[pallet::call_index(7)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -626,6 +634,7 @@ pub mod pallet { } /// Set the parachain validator-group rotation frequency + #[pallet::call_index(8)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -641,6 +650,7 @@ pub mod pallet { } /// Set the availability period for parachains. + #[pallet::call_index(9)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -656,6 +666,7 @@ pub mod pallet { } /// Set the availability period for parathreads. + #[pallet::call_index(10)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -671,6 +682,7 @@ pub mod pallet { } /// Set the scheduling lookahead, in expected number of blocks at peak throughput. + #[pallet::call_index(11)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -683,6 +695,7 @@ pub mod pallet { } /// Set the maximum number of validators to assign to any core. + #[pallet::call_index(12)] #[pallet::weight(( T::WeightInfo::set_config_with_option_u32(), DispatchClass::Operational, @@ -698,6 +711,7 @@ pub mod pallet { } /// Set the maximum number of validators to use in parachain consensus. + #[pallet::call_index(13)] #[pallet::weight(( T::WeightInfo::set_config_with_option_u32(), DispatchClass::Operational, @@ -710,6 +724,7 @@ pub mod pallet { } /// Set the dispute period, in number of sessions to keep for disputes. + #[pallet::call_index(14)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -722,6 +737,7 @@ pub mod pallet { } /// Set the dispute post conclusion acceptance period. + #[pallet::call_index(15)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -737,6 +753,7 @@ pub mod pallet { } /// Set the maximum number of dispute spam slots. + #[pallet::call_index(16)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -749,6 +766,7 @@ pub mod pallet { } /// Set the dispute conclusion by time out period. + #[pallet::call_index(17)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -765,6 +783,7 @@ pub mod pallet { /// Set the no show slots, in number of number of consensus slots. /// Must be at least 1. + #[pallet::call_index(18)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -777,6 +796,7 @@ pub mod pallet { } /// Set the total number of delay tranches. + #[pallet::call_index(19)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -789,6 +809,7 @@ pub mod pallet { } /// Set the zeroth delay tranche width. + #[pallet::call_index(20)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -801,6 +822,7 @@ pub mod pallet { } /// Set the number of validators needed to approve a block. + #[pallet::call_index(21)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -813,6 +835,7 @@ pub mod pallet { } /// Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion. + #[pallet::call_index(22)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -825,6 +848,7 @@ pub mod pallet { } /// Sets the maximum items that can present in a upward dispatch queue at once. + #[pallet::call_index(23)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -837,6 +861,7 @@ pub mod pallet { } /// Sets the maximum total size of items that can present in a upward dispatch queue at once. + #[pallet::call_index(24)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -849,6 +874,7 @@ pub mod pallet { } /// Set the critical downward message size. + #[pallet::call_index(25)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -861,6 +887,7 @@ pub mod pallet { } /// Sets the soft limit for the phase of dispatching dispatchable upward messages. + #[pallet::call_index(26)] #[pallet::weight(( T::WeightInfo::set_config_with_weight(), DispatchClass::Operational, @@ -873,6 +900,7 @@ pub mod pallet { } /// Sets the maximum size of an upward message that can be sent by a candidate. + #[pallet::call_index(27)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -885,6 +913,7 @@ pub mod pallet { } /// Sets the maximum number of messages that a candidate can contain. + #[pallet::call_index(28)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -900,6 +929,7 @@ pub mod pallet { } /// Sets the number of sessions after which an HRMP open channel request expires. + #[pallet::call_index(29)] #[pallet::weight(( T::WeightInfo::set_hrmp_open_request_ttl(), DispatchClass::Operational, @@ -911,6 +941,7 @@ pub mod pallet { } /// Sets the amount of funds that the sender should provide for opening an HRMP channel. + #[pallet::call_index(30)] #[pallet::weight(( T::WeightInfo::set_config_with_balance(), DispatchClass::Operational, @@ -924,6 +955,7 @@ pub mod pallet { /// Sets the amount of funds that the recipient should provide for accepting opening an HRMP /// channel. + #[pallet::call_index(31)] #[pallet::weight(( T::WeightInfo::set_config_with_balance(), DispatchClass::Operational, @@ -936,6 +968,7 @@ pub mod pallet { } /// Sets the maximum number of messages allowed in an HRMP channel at once. + #[pallet::call_index(32)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -948,6 +981,7 @@ pub mod pallet { } /// Sets the maximum total size of messages in bytes allowed in an HRMP channel at once. + #[pallet::call_index(33)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -960,6 +994,7 @@ pub mod pallet { } /// Sets the maximum number of inbound HRMP channels a parachain is allowed to accept. + #[pallet::call_index(34)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -975,6 +1010,7 @@ pub mod pallet { } /// Sets the maximum number of inbound HRMP channels a parathread is allowed to accept. + #[pallet::call_index(35)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -990,6 +1026,7 @@ pub mod pallet { } /// Sets the maximum size of a message that could ever be put into an HRMP channel. + #[pallet::call_index(36)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -1002,6 +1039,7 @@ pub mod pallet { } /// Sets the maximum number of outbound HRMP channels a parachain is allowed to open. + #[pallet::call_index(37)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -1017,6 +1055,7 @@ pub mod pallet { } /// Sets the maximum number of outbound HRMP channels a parathread is allowed to open. + #[pallet::call_index(38)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -1032,6 +1071,7 @@ pub mod pallet { } /// Sets the maximum number of outbound HRMP messages can be sent by a candidate. + #[pallet::call_index(39)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -1047,6 +1087,7 @@ pub mod pallet { } /// Sets the maximum amount of weight any individual upward message may consume. + #[pallet::call_index(40)] #[pallet::weight(( T::WeightInfo::set_config_with_weight(), DispatchClass::Operational, @@ -1059,6 +1100,7 @@ pub mod pallet { } /// Enable or disable PVF pre-checking. Consult the field documentation prior executing. + #[pallet::call_index(41)] #[pallet::weight(( // Using u32 here is a little bit of cheating, but that should be fine. T::WeightInfo::set_config_with_u32(), @@ -1072,6 +1114,7 @@ pub mod pallet { } /// Set the number of session changes after which a PVF pre-checking voting is rejected. + #[pallet::call_index(42)] #[pallet::weight(( T::WeightInfo::set_config_with_u32(), DispatchClass::Operational, @@ -1087,6 +1130,7 @@ pub mod pallet { /// upgrade taking place. /// /// See the field documentation for information and constraints for the new value. + #[pallet::call_index(43)] #[pallet::weight(( T::WeightInfo::set_config_with_block_number(), DispatchClass::Operational, @@ -1103,6 +1147,7 @@ pub mod pallet { /// Setting this to true will disable consistency checks for the configuration setters. /// Use with caution. + #[pallet::call_index(44)] #[pallet::weight(( T::DbWeight::get().writes(1), DispatchClass::Operational, diff --git a/runtime/parachains/src/disputes.rs b/runtime/parachains/src/disputes.rs index b5e9d2540045..a01827f33d7c 100644 --- a/runtime/parachains/src/disputes.rs +++ b/runtime/parachains/src/disputes.rs @@ -525,6 +525,7 @@ pub mod pallet { #[pallet::call] impl Pallet { + #[pallet::call_index(0)] #[pallet::weight(::WeightInfo::force_unfreeze())] pub fn force_unfreeze(origin: OriginFor) -> DispatchResult { ensure_root(origin)?; diff --git a/runtime/parachains/src/disputes/slashing.rs b/runtime/parachains/src/disputes/slashing.rs index 2dfdc87c4b4e..419db8654d89 100644 --- a/runtime/parachains/src/disputes/slashing.rs +++ b/runtime/parachains/src/disputes/slashing.rs @@ -475,6 +475,7 @@ pub mod pallet { #[pallet::call] impl Pallet { + #[pallet::call_index(0)] #[pallet::weight(::WeightInfo::report_dispute_lost( key_owner_proof.validator_count() ))] diff --git a/runtime/parachains/src/hrmp.rs b/runtime/parachains/src/hrmp.rs index ed8e554bc498..4476f1f4a4da 100644 --- a/runtime/parachains/src/hrmp.rs +++ b/runtime/parachains/src/hrmp.rs @@ -465,6 +465,7 @@ pub mod pallet { /// /// The channel can be opened only after the recipient confirms it and only on a session /// change. + #[pallet::call_index(0)] #[pallet::weight(::WeightInfo::hrmp_init_open_channel())] pub fn hrmp_init_open_channel( origin: OriginFor, @@ -491,6 +492,7 @@ pub mod pallet { /// Accept a pending open channel request from the given sender. /// /// The channel will be opened only on the next session boundary. + #[pallet::call_index(1)] #[pallet::weight(::WeightInfo::hrmp_accept_open_channel())] pub fn hrmp_accept_open_channel(origin: OriginFor, sender: ParaId) -> DispatchResult { let origin = ensure_parachain(::RuntimeOrigin::from(origin))?; @@ -503,6 +505,7 @@ pub mod pallet { /// recipient in the channel being closed. /// /// The closure can only happen on a session change. + #[pallet::call_index(2)] #[pallet::weight(::WeightInfo::hrmp_close_channel())] pub fn hrmp_close_channel( origin: OriginFor, @@ -521,6 +524,7 @@ pub mod pallet { /// Origin must be Root. /// /// Number of inbound and outbound channels for `para` must be provided as witness data of weighing. + #[pallet::call_index(3)] #[pallet::weight(::WeightInfo::force_clean_hrmp(*_inbound, *_outbound))] pub fn force_clean_hrmp( origin: OriginFor, @@ -539,6 +543,7 @@ pub mod pallet { /// function process all of those requests immediately. /// /// Total number of opening channels must be provided as witness data of weighing. + #[pallet::call_index(4)] #[pallet::weight(::WeightInfo::force_process_hrmp_open(*_channels))] pub fn force_process_hrmp_open(origin: OriginFor, _channels: u32) -> DispatchResult { ensure_root(origin)?; @@ -553,6 +558,7 @@ pub mod pallet { /// function process all of those requests immediately. /// /// Total number of closing channels must be provided as witness data of weighing. + #[pallet::call_index(5)] #[pallet::weight(::WeightInfo::force_process_hrmp_close(*_channels))] pub fn force_process_hrmp_close(origin: OriginFor, _channels: u32) -> DispatchResult { ensure_root(origin)?; @@ -568,6 +574,7 @@ pub mod pallet { /// /// Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as /// witness data. + #[pallet::call_index(6)] #[pallet::weight(::WeightInfo::hrmp_cancel_open_request(*open_requests))] pub fn hrmp_cancel_open_request( origin: OriginFor, @@ -591,6 +598,7 @@ pub mod pallet { /// /// Expected use is when one of the `ParaId`s involved in the channel is governed by the /// Relay Chain, e.g. a common good parachain. + #[pallet::call_index(7)] #[pallet::weight(::WeightInfo::force_open_hrmp_channel())] pub fn force_open_hrmp_channel( origin: OriginFor, diff --git a/runtime/parachains/src/initializer.rs b/runtime/parachains/src/initializer.rs index ef00e5b884cc..85546559b7de 100644 --- a/runtime/parachains/src/initializer.rs +++ b/runtime/parachains/src/initializer.rs @@ -210,6 +210,7 @@ pub mod pallet { /// Issue a signal to the consensus engine to forcibly act as though all parachain /// blocks in all relay chain blocks up to and including the given number in the current /// chain are valid and should be finalized. + #[pallet::call_index(0)] #[pallet::weight(( ::WeightInfo::force_approve( frame_system::Pallet::::digest().logs.len() as u32, diff --git a/runtime/parachains/src/paras/mod.rs b/runtime/parachains/src/paras/mod.rs index c4fadcf5642b..0fca9a004099 100644 --- a/runtime/parachains/src/paras/mod.rs +++ b/runtime/parachains/src/paras/mod.rs @@ -788,6 +788,7 @@ pub mod pallet { #[pallet::call] impl Pallet { /// Set the storage for the parachain validation code immediately. + #[pallet::call_index(0)] #[pallet::weight(::WeightInfo::force_set_current_code(new_code.0.len() as u32))] pub fn force_set_current_code( origin: OriginFor, @@ -815,6 +816,7 @@ pub mod pallet { } /// Set the storage for the current parachain head data immediately. + #[pallet::call_index(1)] #[pallet::weight(::WeightInfo::force_set_current_head(new_head.0.len() as u32))] pub fn force_set_current_head( origin: OriginFor, @@ -827,6 +829,7 @@ pub mod pallet { } /// Schedule an upgrade as if it was scheduled in the given relay parent block. + #[pallet::call_index(2)] #[pallet::weight(::WeightInfo::force_schedule_code_upgrade(new_code.0.len() as u32))] pub fn force_schedule_code_upgrade( origin: OriginFor, @@ -842,6 +845,7 @@ pub mod pallet { } /// Note a new block head for para within the context of the current block. + #[pallet::call_index(3)] #[pallet::weight(::WeightInfo::force_note_new_head(new_head.0.len() as u32))] pub fn force_note_new_head( origin: OriginFor, @@ -858,6 +862,7 @@ pub mod pallet { /// Put a parachain directly into the next session's action queue. /// We can't queue it any sooner than this without going into the /// initializer... + #[pallet::call_index(4)] #[pallet::weight(::WeightInfo::force_queue_action())] pub fn force_queue_action(origin: OriginFor, para: ParaId) -> DispatchResult { ensure_root(origin)?; @@ -884,6 +889,7 @@ pub mod pallet { /// /// This function is mainly meant to be used for upgrading parachains that do not follow /// the go-ahead signal while the PVF pre-checking feature is enabled. + #[pallet::call_index(5)] #[pallet::weight(::WeightInfo::add_trusted_validation_code(validation_code.0.len() as u32))] pub fn add_trusted_validation_code( origin: OriginFor, @@ -932,6 +938,7 @@ pub mod pallet { /// This is better than removing the storage directly, because it will not remove the code /// that was suddenly got used by some parachain while this dispatchable was pending /// dispatching. + #[pallet::call_index(6)] #[pallet::weight(::WeightInfo::poke_unused_validation_code())] pub fn poke_unused_validation_code( origin: OriginFor, @@ -946,6 +953,7 @@ pub mod pallet { /// Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and /// enacts the results if that was the last vote before achieving the supermajority. + #[pallet::call_index(7)] #[pallet::weight( ::WeightInfo::include_pvf_check_statement_finalize_upgrade_accept() .max(::WeightInfo::include_pvf_check_statement_finalize_upgrade_reject()) diff --git a/runtime/parachains/src/paras_inherent/mod.rs b/runtime/parachains/src/paras_inherent/mod.rs index a053e3dbfaf9..15669ec9c15d 100644 --- a/runtime/parachains/src/paras_inherent/mod.rs +++ b/runtime/parachains/src/paras_inherent/mod.rs @@ -277,6 +277,7 @@ pub mod pallet { #[pallet::call] impl Pallet { /// Enter the paras inherent. This will process bitfields and backed candidates. + #[pallet::call_index(0)] #[pallet::weight(( paras_inherent_total_weight::( data.backed_candidates.as_slice(), diff --git a/runtime/parachains/src/ump.rs b/runtime/parachains/src/ump.rs index 8d734acb3464..d7ecad3797b2 100644 --- a/runtime/parachains/src/ump.rs +++ b/runtime/parachains/src/ump.rs @@ -349,6 +349,7 @@ pub mod pallet { /// /// Events: /// - `OverweightServiced`: On success. + #[pallet::call_index(0)] #[pallet::weight(weight_limit.saturating_add(::WeightInfo::service_overweight()))] pub fn service_overweight( origin: OriginFor, diff --git a/runtime/rococo/src/validator_manager.rs b/runtime/rococo/src/validator_manager.rs index bb13bc823ca4..55b1878cbc7f 100644 --- a/runtime/rococo/src/validator_manager.rs +++ b/runtime/rococo/src/validator_manager.rs @@ -66,6 +66,7 @@ pub mod pallet { /// Add new validators to the set. /// /// The new validators will be active from current session + 2. + #[pallet::call_index(0)] #[pallet::weight(100_000)] pub fn register_validators( origin: OriginFor, @@ -82,6 +83,7 @@ pub mod pallet { /// Remove validators from the set. /// /// The removed validators will be deactivated from current session + 2. + #[pallet::call_index(1)] #[pallet::weight(100_000)] pub fn deregister_validators( origin: OriginFor, diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index a30d4d350715..b32aa953332a 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -621,6 +621,7 @@ pub mod pallet_test_notifier { #[pallet::call] impl Pallet { + #[pallet::call_index(0)] #[pallet::weight(1_000_000)] pub fn prepare_new_query(origin: OriginFor) -> DispatchResult { let who = ensure_signed(origin)?; @@ -635,6 +636,7 @@ pub mod pallet_test_notifier { Ok(()) } + #[pallet::call_index(1)] #[pallet::weight(1_000_000)] pub fn prepare_new_notify_query(origin: OriginFor) -> DispatchResult { let who = ensure_signed(origin)?; @@ -652,6 +654,7 @@ pub mod pallet_test_notifier { Ok(()) } + #[pallet::call_index(2)] #[pallet::weight(1_000_000)] pub fn notification_received( origin: OriginFor, diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index 78dc5087d960..f645e3cfc86f 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -458,6 +458,7 @@ pub mod pallet { #[pallet::call] impl Pallet { + #[pallet::call_index(0)] #[pallet::weight(100_000_000)] pub fn send( origin: OriginFor, @@ -493,6 +494,7 @@ pub mod pallet { /// `dest` side. May not be empty. /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay /// fees. + #[pallet::call_index(1)] #[pallet::weight({ let maybe_assets: Result = (*assets.clone()).try_into(); let maybe_dest: Result = (*dest.clone()).try_into(); @@ -534,6 +536,7 @@ pub mod pallet { /// `dest` side. /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay /// fees. + #[pallet::call_index(2)] #[pallet::weight({ match ((*assets.clone()).try_into(), (*dest.clone()).try_into()) { (Ok(assets), Ok(dest)) => { @@ -574,6 +577,7 @@ pub mod pallet { /// /// NOTE: A successful return to this does *not* imply that the `msg` was executed successfully /// to completion; only that *some* of it was executed. + #[pallet::call_index(3)] #[pallet::weight(Weight::from_ref_time(max_weight.saturating_add(100_000_000u64)))] pub fn execute( origin: OriginFor, @@ -602,6 +606,7 @@ pub mod pallet { /// - `origin`: Must be Root. /// - `location`: The destination that is being described. /// - `xcm_version`: The latest version of XCM that `location` supports. + #[pallet::call_index(4)] #[pallet::weight(100_000_000u64)] pub fn force_xcm_version( origin: OriginFor, @@ -624,6 +629,7 @@ pub mod pallet { /// /// - `origin`: Must be Root. /// - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. + #[pallet::call_index(5)] #[pallet::weight(100_000_000u64)] pub fn force_default_xcm_version( origin: OriginFor, @@ -638,6 +644,7 @@ pub mod pallet { /// /// - `origin`: Must be Root. /// - `location`: The location to which we should subscribe for XCM version notifications. + #[pallet::call_index(6)] #[pallet::weight(100_000_000u64)] pub fn force_subscribe_version_notify( origin: OriginFor, @@ -661,6 +668,7 @@ pub mod pallet { /// - `origin`: Must be Root. /// - `location`: The location to which we are currently subscribed for XCM version /// notifications which we no longer desire. + #[pallet::call_index(7)] #[pallet::weight(100_000_000u64)] pub fn force_unsubscribe_version_notify( origin: OriginFor, @@ -696,6 +704,7 @@ pub mod pallet { /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay /// fees. /// - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + #[pallet::call_index(8)] #[pallet::weight({ match ((*assets.clone()).try_into(), (*dest.clone()).try_into()) { (Ok(assets), Ok(dest)) => { @@ -743,6 +752,7 @@ pub mod pallet { /// - `fee_asset_item`: The index into `assets` of the item which should be used to pay /// fees. /// - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. + #[pallet::call_index(9)] #[pallet::weight({ let maybe_assets: Result = (*assets.clone()).try_into(); let maybe_dest: Result = (*dest.clone()).try_into(); diff --git a/xcm/pallet-xcm/src/mock.rs b/xcm/pallet-xcm/src/mock.rs index 7652a395b47b..10a04034862b 100644 --- a/xcm/pallet-xcm/src/mock.rs +++ b/xcm/pallet-xcm/src/mock.rs @@ -73,6 +73,7 @@ pub mod pallet_test_notifier { #[pallet::call] impl Pallet { + #[pallet::call_index(0)] #[pallet::weight(1_000_000)] pub fn prepare_new_query(origin: OriginFor) -> DispatchResult { let who = ensure_signed(origin)?; @@ -87,6 +88,7 @@ pub mod pallet_test_notifier { Ok(()) } + #[pallet::call_index(1)] #[pallet::weight(1_000_000)] pub fn prepare_new_notify_query(origin: OriginFor) -> DispatchResult { let who = ensure_signed(origin)?; @@ -104,6 +106,7 @@ pub mod pallet_test_notifier { Ok(()) } + #[pallet::call_index(2)] #[pallet::weight(1_000_000)] pub fn notification_received( origin: OriginFor, From 0c659e5db6825ab6beab7ff66b6d3cbb187fc364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Tue, 20 Dec 2022 09:11:20 +0100 Subject: [PATCH 189/211] Update Substrate (#6457) --- Cargo.lock | 512 +++++++++++++++++++++++------------------------------ 1 file changed, 217 insertions(+), 295 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6bbdb7e01779..13e96a0deb6a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,20 +410,17 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "async-trait", "fnv", "futures", - "futures-timer", "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-chain-spec", "sc-client-api", "sc-consensus", - "sc-finality-grandpa", "sc-keystore", "sc-network", "sc-network-common", @@ -447,7 +444,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "beefy-gadget", "futures", @@ -456,7 +453,6 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "sc-rpc", - "sc-utils", "serde", "sp-beefy", "sp-core", @@ -467,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "sp-api", "sp-beefy", @@ -1565,9 +1561,9 @@ dependencies = [ [[package]] name = "ed25519" -version = "1.3.0" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74e1069e39f1454367eb2de793ed062fac4c35c2934b76a81d90dd9abcd28816" +checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369" dependencies = [ "signature", ] @@ -1990,7 +1986,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", ] @@ -2014,7 +2010,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -2037,7 +2033,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "Inflector", "array-bytes", @@ -2049,16 +2045,13 @@ dependencies = [ "frame-system", "gethostname", "handlebars", - "hash-db", "itertools", - "kvdb", "lazy_static", "linked-hash-map", "log", - "memory-db", "parity-scale-codec", "rand 0.8.5", - "rand_pcg 0.3.1", + "rand_pcg", "sc-block-builder", "sc-cli", "sc-client-api", @@ -2068,7 +2061,6 @@ dependencies = [ "sc-sysinfo", "serde", "serde_json", - "serde_nanos", "sp-api", "sp-blockchain", "sp-core", @@ -2081,7 +2073,6 @@ dependencies = [ "sp-std", "sp-storage", "sp-trie", - "tempfile", "thiserror", "thousands", ] @@ -2089,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2108,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -2146,18 +2137,15 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ - "env_logger 0.9.0", "futures", "log", "parity-scale-codec", "serde", - "serde_json", "sp-core", "sp-io", "sp-runtime", - "sp-version", "substrate-rpc-client", "tokio", ] @@ -2165,7 +2153,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "bitflags", "frame-metadata", @@ -2197,7 +2185,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "Inflector", "cfg-expr", @@ -2211,7 +2199,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2223,7 +2211,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro2", "quote", @@ -2233,7 +2221,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2256,7 +2244,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -2267,7 +2255,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "log", @@ -2285,7 +2273,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -2300,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "sp-api", @@ -2309,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "parity-scale-codec", @@ -2480,7 +2468,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "chrono", "frame-election-provider-support", @@ -2489,7 +2477,6 @@ dependencies = [ "git2", "num-format", "pallet-staking", - "sp-io", ] [[package]] @@ -2528,10 +2515,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if", - "js-sys", "libc", "wasi 0.9.0+wasi-snapshot-preview1", - "wasm-bindgen", ] [[package]] @@ -4072,7 +4057,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "log", @@ -4084,7 +4069,6 @@ dependencies = [ "sp-blockchain", "sp-consensus", "sp-core", - "sp-io", "sp-mmr-primitives", "sp-runtime", ] @@ -4092,7 +4076,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "anyhow", "jsonrpsee", @@ -4597,7 +4581,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4612,7 +4596,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -4628,7 +4612,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -4643,7 +4627,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4667,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4687,7 +4671,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4706,7 +4690,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4721,7 +4705,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -4737,7 +4721,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4760,7 +4744,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4778,7 +4762,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4797,7 +4781,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4814,7 +4798,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4831,7 +4815,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4849,7 +4833,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4858,7 +4842,7 @@ dependencies = [ "log", "pallet-election-provider-support-benchmarking", "parity-scale-codec", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "sp-arithmetic", "sp-core", @@ -4866,14 +4850,13 @@ dependencies = [ "sp-npos-elections", "sp-runtime", "sp-std", - "static_assertions", "strum", ] [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4886,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4904,7 +4887,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4922,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4945,7 +4928,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4961,7 +4944,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +4964,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -4998,7 +4981,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +4998,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5032,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5048,7 +5031,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5064,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -5081,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5101,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "sp-api", @@ -5111,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -5128,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5151,7 +5134,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5168,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5183,7 +5166,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5201,7 +5184,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5216,7 +5199,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5235,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5252,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -5273,14 +5256,14 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", "frame-system", "pallet-session", "pallet-staking", - "rand 0.7.3", + "rand 0.8.5", "sp-runtime", "sp-session", "sp-std", @@ -5289,7 +5272,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -5303,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5326,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5337,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "log", "sp-arithmetic", @@ -5346,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5363,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -5377,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5395,7 +5378,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5414,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-support", "frame-system", @@ -5430,7 +5413,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5446,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5458,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5475,7 +5458,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5491,7 +5474,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5506,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-benchmarking", "frame-support", @@ -5685,20 +5668,20 @@ checksum = "0c520e05135d6e763148b6426a837e239041653ba7becd2e538c076c738025fc" [[package]] name = "pbkdf2" -version = "0.4.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" +checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "crypto-mac 0.8.0", + "crypto-mac 0.11.1", ] [[package]] name = "pbkdf2" -version = "0.8.0" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" +checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" dependencies = [ - "crypto-mac 0.11.1", + "digest 0.10.3", ] [[package]] @@ -7722,7 +7705,6 @@ dependencies = [ "rand_chacha 0.2.2", "rand_core 0.5.1", "rand_hc", - "rand_pcg 0.2.1", ] [[package]] @@ -7793,15 +7775,6 @@ dependencies = [ "rand_core 0.5.1", ] -[[package]] -name = "rand_pcg" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" -dependencies = [ - "rand_core 0.5.1", -] - [[package]] name = "rand_pcg" version = "0.3.1" @@ -8279,7 +8252,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "log", "sp-core", @@ -8290,7 +8263,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures", @@ -8301,7 +8274,7 @@ dependencies = [ "parity-scale-codec", "prost", "prost-build", - "rand 0.7.3", + "rand 0.8.5", "sc-client-api", "sc-network-common", "sp-api", @@ -8317,7 +8290,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "futures-timer", @@ -8340,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8356,11 +8329,9 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ - "impl-trait-for-tuples", "memmap2", - "parity-scale-codec", "sc-chain-spec-derive", "sc-network-common", "sc-telemetry", @@ -8373,7 +8344,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8384,7 +8355,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "chrono", @@ -8395,7 +8366,7 @@ dependencies = [ "log", "names", "parity-scale-codec", - "rand 0.7.3", + "rand 0.8.5", "regex", "rpassword", "sc-client-api", @@ -8424,11 +8395,10 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "fnv", "futures", - "hash-db", "log", "parity-scale-codec", "parking_lot 0.12.1", @@ -8445,14 +8415,13 @@ dependencies = [ "sp-runtime", "sp-state-machine", "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=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "hash-db", "kvdb", @@ -8477,7 +8446,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures", @@ -8502,7 +8471,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "fork-tree", @@ -8521,7 +8490,6 @@ dependencies = [ "sc-keystore", "sc-telemetry", "schnorrkel", - "serde", "sp-api", "sp-application-crypto", "sp-block-builder", @@ -8532,10 +8500,8 @@ dependencies = [ "sp-consensus-vrf", "sp-core", "sp-inherents", - "sp-io", "sp-keystore", "sp-runtime", - "sp-version", "substrate-prometheus-endpoint", "thiserror", ] @@ -8543,7 +8509,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "jsonrpsee", @@ -8565,7 +8531,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8578,7 +8544,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures", @@ -8596,13 +8562,12 @@ dependencies = [ "sp-inherents", "sp-runtime", "sp-state-machine", - "thiserror", ] [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "lru", "parity-scale-codec", @@ -8626,7 +8591,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8639,7 +8604,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "log", "sc-allocator", @@ -8652,7 +8617,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "cfg-if", "libc", @@ -8669,7 +8634,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "ahash", "array-bytes", @@ -8687,7 +8652,6 @@ dependencies = [ "sc-chain-spec", "sc-client-api", "sc-consensus", - "sc-keystore", "sc-network", "sc-network-common", "sc-network-gossip", @@ -8710,7 +8674,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "finality-grandpa", "futures", @@ -8721,7 +8685,6 @@ dependencies = [ "sc-finality-grandpa", "sc-rpc", "serde", - "serde_json", "sp-blockchain", "sp-core", "sp-runtime", @@ -8731,7 +8694,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "ansi_term", "futures", @@ -8739,7 +8702,6 @@ dependencies = [ "log", "sc-client-api", "sc-network-common", - "sc-transaction-pool-api", "sp-blockchain", "sp-runtime", ] @@ -8747,7 +8709,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "async-trait", @@ -8762,30 +8724,24 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "async-trait", "asynchronous-codec", - "bitflags", "bytes", - "cid", "either", "fnv", - "fork-tree", "futures", "futures-timer", "ip_network", "libp2p", - "linked-hash-map", - "linked_hash_set", "log", "lru", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "prost", - "rand 0.7.3", + "rand 0.8.5", "sc-block-builder", "sc-client-api", "sc-consensus", @@ -8809,7 +8765,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "cid", "futures", @@ -8823,13 +8779,12 @@ dependencies = [ "sp-runtime", "thiserror", "unsigned-varint", - "void", ] [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "bitflags", @@ -8855,7 +8810,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "ahash", "futures", @@ -8873,7 +8828,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "futures", @@ -8894,7 +8849,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "async-trait", @@ -8926,11 +8881,10 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "futures", - "hex", "libp2p", "log", "parity-scale-codec", @@ -8945,7 +8899,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "bytes", @@ -8959,7 +8913,7 @@ dependencies = [ "once_cell", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.7.3", + "rand 0.8.5", "sc-client-api", "sc-network-common", "sc-peerset", @@ -8975,7 +8929,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "libp2p", @@ -8988,7 +8942,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8997,10 +8951,9 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", - "hash-db", "jsonrpsee", "log", "parity-scale-codec", @@ -9027,13 +8980,10 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ - "futures", "jsonrpsee", - "log", "parity-scale-codec", - "parking_lot 0.12.1", "sc-chain-spec", "sc-transaction-pool-api", "scale-info", @@ -9042,7 +8992,6 @@ dependencies = [ "sp-core", "sp-rpc", "sp-runtime", - "sp-tracing", "sp-version", "thiserror", ] @@ -9050,9 +8999,8 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ - "futures", "http", "jsonrpsee", "log", @@ -9066,39 +9014,45 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ + "array-bytes", "futures", + "futures-util", "hex", "jsonrpsee", + "log", "parity-scale-codec", + "parking_lot 0.12.1", "sc-chain-spec", + "sc-client-api", "sc-transaction-pool-api", "serde", "sp-api", "sp-blockchain", "sp-core", "sp-runtime", + "sp-version", "thiserror", + "tokio-stream", ] [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "directories", "exit-future", "futures", "futures-timer", - "hash-db", "jsonrpsee", "log", "parity-scale-codec", "parking_lot 0.12.1", "pin-project", - "rand 0.7.3", + "rand 0.8.5", "sc-block-builder", "sc-chain-spec", "sc-client-api", @@ -9126,19 +9080,15 @@ dependencies = [ "serde", "serde_json", "sp-api", - "sp-application-crypto", - "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-core", "sp-externalities", - "sp-inherents", "sp-keystore", "sp-runtime", "sp-session", "sp-state-machine", "sp-storage", - "sp-tracing", "sp-transaction-pool", "sp-transaction-storage-proof", "sp-trie", @@ -9155,19 +9105,18 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "log", "parity-scale-codec", "parking_lot 0.12.1", - "sc-client-api", "sp-core", ] [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9186,13 +9135,13 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "libc", "log", - "rand 0.7.3", - "rand_pcg 0.2.1", + "rand 0.8.5", + "rand_pcg", "regex", "sc-telemetry", "serde", @@ -9205,7 +9154,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "chrono", "futures", @@ -9213,7 +9162,7 @@ dependencies = [ "log", "parking_lot 0.12.1", "pin-project", - "rand 0.7.3", + "rand 0.8.5", "serde", "serde_json", "thiserror", @@ -9223,7 +9172,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "ansi_term", "atty", @@ -9254,7 +9203,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9265,7 +9214,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures", @@ -9291,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures", @@ -9305,7 +9254,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "futures-timer", @@ -9525,15 +9474,6 @@ dependencies = [ "serde", ] -[[package]] -name = "serde_nanos" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e44969a61f5d316be20a42ff97816efb3b407a924d06824c3d8a49fa8450de0e" -dependencies = [ - "serde", -] - [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -9787,7 +9727,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "hash-db", "log", @@ -9805,7 +9745,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "blake2", "proc-macro-crate", @@ -9817,7 +9757,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", @@ -9830,14 +9770,13 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-debug-derive", "sp-std", "static_assertions", ] @@ -9845,7 +9784,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", @@ -9858,7 +9797,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "parity-scale-codec", @@ -9870,7 +9809,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", @@ -9887,7 +9826,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "sp-api", @@ -9899,7 +9838,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "log", @@ -9917,11 +9856,10 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures", - "futures-timer", "log", "parity-scale-codec", "sp-core", @@ -9936,7 +9874,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "merlin", @@ -9959,13 +9897,11 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", "serde", - "sp-arithmetic", - "sp-runtime", "sp-std", "sp-timestamp", ] @@ -9973,7 +9909,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", @@ -9986,13 +9922,12 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "base58", "bitflags", "blake2", - "byteorder", "dyn-clonable", "ed25519-zebra", "futures", @@ -10003,11 +9938,10 @@ dependencies = [ "libsecp256k1", "log", "merlin", - "num-traits", "parity-scale-codec", "parking_lot 0.12.1", "primitive-types", - "rand 0.7.3", + "rand 0.8.5", "regex", "scale-info", "schnorrkel", @@ -10024,14 +9958,13 @@ dependencies = [ "substrate-bip39", "thiserror", "tiny-bip39", - "wasmi", "zeroize", ] [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "blake2", "byteorder", @@ -10045,7 +9978,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro2", "quote", @@ -10056,7 +9989,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10065,7 +9998,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro2", "quote", @@ -10075,7 +10008,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "environmental", "parity-scale-codec", @@ -10086,7 +10019,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "finality-grandpa", "log", @@ -10104,7 +10037,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10118,16 +10051,15 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "bytes", + "ed25519", "ed25519-dalek", "futures", - "hash-db", "libsecp256k1", "log", "parity-scale-codec", - "parking_lot 0.12.1", "secp256k1", "sp-core", "sp-externalities", @@ -10137,7 +10069,6 @@ dependencies = [ "sp-std", "sp-tracing", "sp-trie", - "sp-wasm-interface", "tracing", "tracing-core", ] @@ -10145,7 +10076,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "lazy_static", "sp-core", @@ -10156,7 +10087,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures", @@ -10173,7 +10104,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "thiserror", "zstd", @@ -10182,7 +10113,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10200,7 +10131,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", @@ -10214,7 +10145,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "sp-api", "sp-core", @@ -10224,7 +10155,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "backtrace", "lazy_static", @@ -10234,7 +10165,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "rustc-hash", "serde", @@ -10244,7 +10175,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "either", "hash256-std-hasher", @@ -10252,7 +10183,7 @@ dependencies = [ "log", "parity-scale-codec", "paste", - "rand 0.7.3", + "rand 0.8.5", "scale-info", "serde", "sp-application-crypto", @@ -10266,7 +10197,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10284,7 +10215,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "Inflector", "proc-macro-crate", @@ -10296,7 +10227,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", @@ -10310,7 +10241,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "scale-info", @@ -10322,14 +10253,13 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "hash-db", "log", - "num-traits", "parity-scale-codec", "parking_lot 0.12.1", - "rand 0.7.3", + "rand 0.8.5", "smallvec", "sp-core", "sp-externalities", @@ -10338,18 +10268,17 @@ dependencies = [ "sp-trie", "thiserror", "tracing", - "trie-root", ] [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10362,13 +10291,12 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "futures-timer", "log", "parity-scale-codec", - "sp-api", "sp-inherents", "sp-runtime", "sp-std", @@ -10378,7 +10306,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "sp-std", @@ -10390,7 +10318,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "sp-api", "sp-runtime", @@ -10399,7 +10327,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "log", @@ -10415,7 +10343,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "ahash", "hash-db", @@ -10438,7 +10366,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10455,7 +10383,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10466,7 +10394,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "impl-trait-for-tuples", "log", @@ -10479,9 +10407,8 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ - "impl-trait-for-tuples", "parity-scale-codec", "scale-info", "serde", @@ -10694,7 +10621,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "platforms", ] @@ -10702,17 +10629,15 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "frame-system-rpc-runtime-api", "futures", "jsonrpsee", "log", "parity-scale-codec", - "sc-client-api", "sc-rpc-api", "sc-transaction-pool-api", - "serde_json", "sp-api", "sp-block-builder", "sp-blockchain", @@ -10723,9 +10648,8 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ - "futures-util", "hyper", "log", "prometheus", @@ -10736,7 +10660,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "async-trait", "jsonrpsee", @@ -10749,7 +10673,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "jsonrpsee", "log", @@ -10759,10 +10683,8 @@ dependencies = [ "scale-info", "serde", "sp-core", - "sp-io", "sp-runtime", "sp-state-machine", - "sp-std", "sp-trie", "trie-db", ] @@ -10770,7 +10692,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "array-bytes", "async-trait", @@ -10796,7 +10718,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10806,7 +10728,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10817,7 +10739,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "ansi_term", "build-helper", @@ -11166,17 +11088,17 @@ dependencies = [ [[package]] name = "tiny-bip39" -version = "0.8.2" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" +checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" dependencies = [ "anyhow", - "hmac 0.8.1", + "hmac 0.12.1", "once_cell", - "pbkdf2 0.4.0", - "rand 0.7.3", + "pbkdf2 0.11.0", + "rand 0.8.5", "rustc-hash", - "sha2 0.9.8", + "sha2 0.10.2", "thiserror", "unicode-normalization", "wasm-bindgen", @@ -11268,6 +11190,7 @@ dependencies = [ "futures-core", "pin-project-lite 0.2.7", "tokio", + "tokio-util 0.7.1", ] [[package]] @@ -11564,7 +11487,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#5d3624c7fb7648d6f3170007790e95e726d84f35" +source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" dependencies = [ "clap", "frame-remote-externalities", @@ -11572,7 +11495,6 @@ dependencies = [ "hex", "log", "parity-scale-codec", - "sc-chain-spec", "sc-cli", "sc-executor", "sc-service", From 86c134e0571b52809ec9f83293300583f824c423 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Tue, 20 Dec 2022 12:00:13 +0100 Subject: [PATCH 190/211] BlockId removal: refactor: HeaderBackend::header (#6418) * BlockId removal: refactor: HeaderBackend::header It changes the arguments of: - `HeaderBackend::header`, - `Client::header` methods from: `BlockId` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * missed fixes * BlockId removal: refactor: HeaderBackend::expect_header It changes the arguments of `HeaderBackend::expect_header` method from: `BlockId` to: `Block::Hash` * update lockfile for {"substrate"} * misspell fixed Co-authored-by: parity-processbot <> --- Cargo.lock | 361 +++++++++++------------ cli/src/command.rs | 2 +- node/client/src/lib.rs | 4 +- node/core/chain-api/src/lib.rs | 9 +- node/core/chain-api/src/tests.rs | 18 +- node/core/parachains-inherent/Cargo.toml | 1 - node/core/parachains-inherent/src/lib.rs | 3 +- node/service/src/grandpa_support.rs | 47 +-- node/service/src/lib.rs | 7 +- node/test/client/src/block_builder.rs | 13 +- 10 files changed, 228 insertions(+), 237 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 13e96a0deb6a..f65c066c0e9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "async-trait", @@ -444,7 +444,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "beefy-gadget", "futures", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "sp-api", "sp-beefy", @@ -1986,7 +1986,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", ] @@ -2010,7 +2010,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -2033,7 +2033,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2108,7 +2108,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "log", @@ -2153,7 +2153,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "bitflags", "frame-metadata", @@ -2185,7 +2185,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "Inflector", "cfg-expr", @@ -2199,7 +2199,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2211,7 +2211,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro2", "quote", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2244,7 +2244,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "log", @@ -2273,7 +2273,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "sp-api", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "parity-scale-codec", @@ -2468,7 +2468,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "chrono", "frame-election-provider-support", @@ -4057,7 +4057,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "log", @@ -4076,7 +4076,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "anyhow", "jsonrpsee", @@ -4581,7 +4581,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4596,7 +4596,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -4612,7 +4612,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -4627,7 +4627,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4671,7 +4671,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4690,7 +4690,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4705,7 +4705,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -4721,7 +4721,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4744,7 +4744,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4762,7 +4762,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4781,7 +4781,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4798,7 +4798,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4815,7 +4815,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4833,7 +4833,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4856,7 +4856,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4887,7 +4887,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4928,7 +4928,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4944,7 +4944,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4964,7 +4964,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +4981,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -4998,7 +4998,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5031,7 +5031,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5047,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5084,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "sp-api", @@ -5094,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -5111,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5134,7 +5134,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5151,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5166,7 +5166,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5184,7 +5184,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5199,7 +5199,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -5256,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5272,7 +5272,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -5286,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5309,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "log", "sp-arithmetic", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5346,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5378,7 +5378,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5397,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-support", "frame-system", @@ -5413,7 +5413,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5429,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5458,7 +5458,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5474,7 +5474,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-benchmarking", "frame-support", @@ -6373,7 +6373,6 @@ dependencies = [ "polkadot-primitives", "sp-blockchain", "sp-inherents", - "sp-runtime", "thiserror", "tracing-gum", ] @@ -8252,7 +8251,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "log", "sp-core", @@ -8263,7 +8262,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures", @@ -8290,7 +8289,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "futures-timer", @@ -8313,7 +8312,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8329,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8344,7 +8343,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8355,7 +8354,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "chrono", @@ -8395,7 +8394,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "fnv", "futures", @@ -8421,7 +8420,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "hash-db", "kvdb", @@ -8446,7 +8445,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures", @@ -8471,7 +8470,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "fork-tree", @@ -8509,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "jsonrpsee", @@ -8531,7 +8530,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8544,7 +8543,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures", @@ -8567,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "lru", "parity-scale-codec", @@ -8591,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8604,7 +8603,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "log", "sc-allocator", @@ -8617,7 +8616,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "cfg-if", "libc", @@ -8634,7 +8633,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "ahash", "array-bytes", @@ -8674,7 +8673,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "finality-grandpa", "futures", @@ -8694,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "ansi_term", "futures", @@ -8709,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "async-trait", @@ -8724,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "async-trait", @@ -8765,7 +8764,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "cid", "futures", @@ -8784,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "bitflags", @@ -8810,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "ahash", "futures", @@ -8828,7 +8827,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "futures", @@ -8849,7 +8848,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "async-trait", @@ -8881,7 +8880,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "futures", @@ -8899,7 +8898,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "bytes", @@ -8929,7 +8928,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "libp2p", @@ -8942,7 +8941,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8951,7 +8950,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "jsonrpsee", @@ -8980,7 +8979,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8999,7 +8998,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "http", "jsonrpsee", @@ -9014,7 +9013,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "futures", @@ -9040,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "directories", @@ -9105,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "log", "parity-scale-codec", @@ -9116,7 +9115,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9135,7 +9134,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "libc", @@ -9154,7 +9153,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "chrono", "futures", @@ -9172,7 +9171,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "ansi_term", "atty", @@ -9203,7 +9202,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9214,7 +9213,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures", @@ -9240,7 +9239,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures", @@ -9254,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "futures-timer", @@ -9727,7 +9726,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "hash-db", "log", @@ -9745,7 +9744,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "blake2", "proc-macro-crate", @@ -9757,7 +9756,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -9770,7 +9769,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "integer-sqrt", "num-traits", @@ -9784,7 +9783,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -9797,7 +9796,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "parity-scale-codec", @@ -9809,7 +9808,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -9826,7 +9825,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "sp-api", @@ -9838,7 +9837,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "log", @@ -9856,7 +9855,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures", @@ -9874,7 +9873,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "merlin", @@ -9897,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -9909,7 +9908,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -9922,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "base58", @@ -9964,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "blake2", "byteorder", @@ -9978,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro2", "quote", @@ -9989,7 +9988,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9998,7 +9997,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro2", "quote", @@ -10008,7 +10007,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "environmental", "parity-scale-codec", @@ -10019,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "finality-grandpa", "log", @@ -10037,7 +10036,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10051,7 +10050,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "bytes", "ed25519", @@ -10076,7 +10075,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "lazy_static", "sp-core", @@ -10087,7 +10086,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures", @@ -10104,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "thiserror", "zstd", @@ -10113,7 +10112,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10131,7 +10130,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -10145,7 +10144,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "sp-api", "sp-core", @@ -10155,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "backtrace", "lazy_static", @@ -10165,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "rustc-hash", "serde", @@ -10175,7 +10174,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "either", "hash256-std-hasher", @@ -10197,7 +10196,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10215,7 +10214,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "Inflector", "proc-macro-crate", @@ -10227,7 +10226,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -10241,7 +10240,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -10253,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "hash-db", "log", @@ -10273,12 +10272,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10291,7 +10290,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "futures-timer", @@ -10306,7 +10305,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "sp-std", @@ -10318,7 +10317,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "sp-api", "sp-runtime", @@ -10327,7 +10326,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "log", @@ -10343,7 +10342,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "ahash", "hash-db", @@ -10366,7 +10365,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10383,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10394,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "impl-trait-for-tuples", "log", @@ -10407,7 +10406,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "parity-scale-codec", "scale-info", @@ -10621,7 +10620,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "platforms", ] @@ -10629,7 +10628,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10648,7 +10647,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "hyper", "log", @@ -10660,7 +10659,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "async-trait", "jsonrpsee", @@ -10673,7 +10672,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "jsonrpsee", "log", @@ -10692,7 +10691,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "array-bytes", "async-trait", @@ -10718,7 +10717,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10728,7 +10727,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10739,7 +10738,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "ansi_term", "build-helper", @@ -11487,7 +11486,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#8a3b2f2e0d4bcf9614dbf174ad2b24da6f9b0b44" +source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" dependencies = [ "clap", "frame-remote-externalities", diff --git a/cli/src/command.rs b/cli/src/command.rs index 81d707e58a24..d7a66bb9d711 100644 --- a/cli/src/command.rs +++ b/cli/src/command.rs @@ -541,7 +541,7 @@ pub fn run() -> Result<()> { ensure_dev(chain_spec).map_err(Error::Other)?; runner.sync_run(|mut config| { let (client, _, _, _) = service::new_chain_ops(&mut config, None)?; - let header = client.header(BlockId::Number(0_u32.into())).unwrap().unwrap(); + let header = client.header(client.info().genesis_hash).unwrap().unwrap(); let inherent_data = benchmark_inherent_data(header) .map_err(|e| format!("generating inherent data: {:?}", e))?; let remark_builder = RemarkBuilder::new(client.clone()); diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index d2c119ba04a8..2a231058bb83 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -560,12 +560,12 @@ impl sc_client_api::StorageProvider for Client { } impl sp_blockchain::HeaderBackend for Client { - fn header(&self, id: BlockId) -> sp_blockchain::Result> { + fn header(&self, hash: Hash) -> sp_blockchain::Result> { with_client! { self, client, { - client.header(&id) + client.header(hash) } } } diff --git a/node/core/chain-api/src/lib.rs b/node/core/chain-api/src/lib.rs index 7205527982c1..b218c00c57e5 100644 --- a/node/core/chain-api/src/lib.rs +++ b/node/core/chain-api/src/lib.rs @@ -41,7 +41,7 @@ use polkadot_node_subsystem::{ messages::ChainApiMessage, overseer, FromOrchestra, OverseerSignal, SpawnedSubsystem, SubsystemError, SubsystemResult, }; -use polkadot_primitives::v2::{Block, BlockId}; +use polkadot_primitives::v2::Block; mod metrics; use self::metrics::Metrics; @@ -99,10 +99,7 @@ where }, ChainApiMessage::BlockHeader(hash, response_channel) => { let _timer = subsystem.metrics.time_block_header(); - let result = subsystem - .client - .header(BlockId::Hash(hash)) - .map_err(|e| e.to_string().into()); + let result = subsystem.client.header(hash).map_err(|e| e.to_string().into()); subsystem.metrics.on_request(result.is_ok()); let _ = response_channel.send(result); }, @@ -134,7 +131,7 @@ where let mut hash = hash; let next_parent = core::iter::from_fn(|| { - let maybe_header = subsystem.client.header(BlockId::Hash(hash)); + let maybe_header = subsystem.client.header(hash); match maybe_header { // propagate the error Err(e) => { diff --git a/node/core/chain-api/src/tests.rs b/node/core/chain-api/src/tests.rs index aa24b3621200..5b0a2a0e390f 100644 --- a/node/core/chain-api/src/tests.rs +++ b/node/core/chain-api/src/tests.rs @@ -117,13 +117,11 @@ impl HeaderBackend for TestClient { fn hash(&self, number: BlockNumber) -> sp_blockchain::Result> { Ok(self.finalized_blocks.get(&number).copied()) } - fn header(&self, id: BlockId) -> sp_blockchain::Result> { - match id { - // for error path testing - BlockId::Hash(hash) if hash.is_zero() => - Err(sp_blockchain::Error::Backend("Zero hashes are illegal!".into())), - BlockId::Hash(hash) => Ok(self.headers.get(&hash).cloned()), - _ => unreachable!(), + fn header(&self, hash: Hash) -> sp_blockchain::Result> { + if hash.is_zero() { + Err(sp_blockchain::Error::Backend("Zero hashes are illegal!".into())) + } else { + Ok(self.headers.get(&hash).cloned()) } } fn status(&self, _id: BlockId) -> sp_blockchain::Result { @@ -203,10 +201,8 @@ fn request_block_header() { test_harness(|client, mut sender| { async move { const NOT_HERE: Hash = Hash::repeat_byte(0x5); - let test_cases = [ - (TWO, client.header(BlockId::Hash(TWO)).unwrap()), - (NOT_HERE, client.header(BlockId::Hash(NOT_HERE)).unwrap()), - ]; + let test_cases = + [(TWO, client.header(TWO).unwrap()), (NOT_HERE, client.header(NOT_HERE).unwrap())]; for (hash, expected) in &test_cases { let (tx, rx) = oneshot::channel(); diff --git a/node/core/parachains-inherent/Cargo.toml b/node/core/parachains-inherent/Cargo.toml index 26277dd47f8a..d4301cb22270 100644 --- a/node/core/parachains-inherent/Cargo.toml +++ b/node/core/parachains-inherent/Cargo.toml @@ -15,4 +15,3 @@ polkadot-overseer = { path = "../../overseer" } polkadot-primitives = { path = "../../../primitives" } sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" } sp-inherents = { git = "https://github.com/paritytech/substrate", branch = "master" } -sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master" } diff --git a/node/core/parachains-inherent/src/lib.rs b/node/core/parachains-inherent/src/lib.rs index 7634522128e7..a4df582b17a8 100644 --- a/node/core/parachains-inherent/src/lib.rs +++ b/node/core/parachains-inherent/src/lib.rs @@ -29,7 +29,6 @@ use polkadot_node_subsystem::{ errors::SubsystemError, messages::ProvisionerMessage, overseer::Handle, }; use polkadot_primitives::v2::{Block, Hash, InherentData as ParachainsInherentData}; -use sp_runtime::generic::BlockId; use std::{sync::Arc, time}; pub(crate) const LOG_TARGET: &str = "parachain::parachains-inherent"; @@ -87,7 +86,7 @@ impl> ParachainsInherentDataProvider { let mut timeout = futures_timer::Delay::new(PROVISIONER_TIMEOUT).fuse(); - let parent_header = match client.header(BlockId::Hash(parent)) { + let parent_header = match client.header(parent) { Ok(Some(h)) => h, Ok(None) => return Err(Error::ParentHeaderNotFound(parent)), Err(err) => return Err(Error::Blockchain(err)), diff --git a/node/service/src/grandpa_support.rs b/node/service/src/grandpa_support.rs index f85249579ecf..2e31737d97c3 100644 --- a/node/service/src/grandpa_support.rs +++ b/node/service/src/grandpa_support.rs @@ -224,7 +224,7 @@ mod tests { TestClientBuilder, TestClientBuilderExt, }; use sp_blockchain::HeaderBackend; - use sp_runtime::{generic::BlockId, traits::Header}; + use sp_runtime::traits::Header; use std::sync::Arc; #[test] @@ -232,13 +232,16 @@ mod tests { let _ = env_logger::try_init(); let client = Arc::new(TestClientBuilder::new().build()); + let mut hashes = vec![]; + hashes.push(client.info().genesis_hash); let mut push_blocks = { let mut client = client.clone(); - move |n| { + move |hashes: &mut Vec<_>, n| { for _ in 0..n { let block = client.init_polkadot_block_builder().build().unwrap().block; + hashes.push(block.header.hash()); futures::executor::block_on(client.import(BlockOrigin::Own, block)).unwrap(); } } @@ -246,7 +249,7 @@ mod tests { let get_header = { let client = client.clone(); - move |n| client.header(&BlockId::Number(n)).unwrap().unwrap() + move |n| client.expect_header(n).unwrap() }; // the rule should filter all votes after block #20 @@ -254,7 +257,7 @@ mod tests { let voting_rule = super::PauseAfterBlockFor(20, 30); // add 10 blocks - push_blocks(10); + push_blocks(&mut hashes, 10); assert_eq!(client.info().best_number, 10); // we have not reached the pause block @@ -262,38 +265,38 @@ mod tests { assert_eq!( futures::executor::block_on(voting_rule.restrict_vote( client.clone(), - &get_header(0), - &get_header(10), - &get_header(10) + &get_header(hashes[0]), + &get_header(hashes[10]), + &get_header(hashes[10]) )), None, ); // add 15 more blocks // best block: #25 - push_blocks(15); + push_blocks(&mut hashes, 15); // we are targeting the pause block, // the vote should not be restricted assert_eq!( futures::executor::block_on(voting_rule.restrict_vote( client.clone(), - &get_header(10), - &get_header(20), - &get_header(20) + &get_header(hashes[10]), + &get_header(hashes[20]), + &get_header(hashes[20]) )), None, ); // we are past the pause block, votes should // be limited to the pause block. - let pause_block = get_header(20); + let pause_block = get_header(hashes[20]); assert_eq!( futures::executor::block_on(voting_rule.restrict_vote( client.clone(), - &get_header(10), - &get_header(21), - &get_header(21) + &get_header(hashes[10]), + &get_header(hashes[21]), + &get_header(hashes[21]) )), Some((pause_block.hash(), *pause_block.number())), ); @@ -304,15 +307,15 @@ mod tests { futures::executor::block_on(voting_rule.restrict_vote( client.clone(), &pause_block, // #20 - &get_header(21), - &get_header(21), + &get_header(hashes[21]), + &get_header(hashes[21]), )), Some((pause_block.hash(), *pause_block.number())), ); // add 30 more blocks // best block: #55 - push_blocks(30); + push_blocks(&mut hashes, 30); // we're at the last block of the pause, this block // should still be considered in the pause period @@ -320,8 +323,8 @@ mod tests { futures::executor::block_on(voting_rule.restrict_vote( client.clone(), &pause_block, // #20 - &get_header(50), - &get_header(50), + &get_header(hashes[50]), + &get_header(hashes[50]), )), Some((pause_block.hash(), *pause_block.number())), ); @@ -331,8 +334,8 @@ mod tests { futures::executor::block_on(voting_rule.restrict_vote( client.clone(), &pause_block, // #20 - &get_header(51), - &get_header(51), + &get_header(hashes[51]), + &get_header(hashes[51]), )), None, ); diff --git a/node/service/src/lib.rs b/node/service/src/lib.rs index 76be6c2d6f36..4cd937b1d7de 100644 --- a/node/service/src/lib.rs +++ b/node/service/src/lib.rs @@ -161,10 +161,7 @@ where &self, hash: Block::Hash, ) -> sp_blockchain::Result::Header>> { - >::header( - self, - generic::BlockId::::Hash(hash), - ) + >::header(self, hash) } fn number( &self, @@ -701,7 +698,7 @@ where return None }; - let parent_hash = client.header(&BlockId::Hash(hash)).ok()??.parent_hash; + let parent_hash = client.header(hash).ok()??.parent_hash; Some(BlockInfo { hash, parent_hash, number }) }) diff --git a/node/test/client/src/block_builder.rs b/node/test/client/src/block_builder.rs index 1ee6d1e87dc5..058d469a26a1 100644 --- a/node/test/client/src/block_builder.rs +++ b/node/test/client/src/block_builder.rs @@ -24,7 +24,7 @@ use sp_consensus_babe::{ digests::{PreDigest, SecondaryPlainPreDigest}, BABE_ENGINE_ID, }; -use sp_runtime::{generic::BlockId, Digest, DigestItem}; +use sp_runtime::{generic::BlockId, traits::Block as BlockT, Digest, DigestItem}; use sp_state_machine::BasicExternalities; /// An extension for the test client to initialize a Polkadot specific block builder. @@ -42,20 +42,21 @@ pub trait InitPolkadotBlockBuilder { /// which should be the parent block of the block that is being build. fn init_polkadot_block_builder_at( &self, - at: &BlockId, + hash: ::Hash, ) -> sc_block_builder::BlockBuilder; } impl InitPolkadotBlockBuilder for Client { fn init_polkadot_block_builder(&self) -> BlockBuilder { let chain_info = self.chain_info(); - self.init_polkadot_block_builder_at(&BlockId::Hash(chain_info.best_hash)) + self.init_polkadot_block_builder_at(chain_info.best_hash) } fn init_polkadot_block_builder_at( &self, - at: &BlockId, + hash: ::Hash, ) -> BlockBuilder { + let at = BlockId::Hash(hash); let last_timestamp = self.runtime_api().get_last_timestamp(&at).expect("Get last timestamp"); @@ -87,7 +88,7 @@ impl InitPolkadotBlockBuilder for Client { }; let mut block_builder = self - .new_block_at(at, digest, false) + .new_block_at(&at, digest, false) .expect("Creates new block builder for test runtime"); let mut inherent_data = sp_inherents::InherentData::new(); @@ -97,7 +98,7 @@ impl InitPolkadotBlockBuilder for Client { .expect("Put timestamp inherent data"); let parent_header = self - .header(at) + .header(hash) .expect("Get the parent block header") .expect("The target block header must exist"); From 9cf76e37f2783f347b639231a591cb2517991c68 Mon Sep 17 00:00:00 2001 From: Marcin S Date: Tue, 20 Dec 2022 08:32:12 -0500 Subject: [PATCH 191/211] PVF preparation: do not conflate errors (#6384) * PVF preparation: do not conflate errors + Adds some more granularity to the prepare errors. + Better distinguish whether errors occur on the host side or the worker. + Do not kill the worker if the error happened on the host side. + Do not retry preparation if the error was `Panic`. + Removes unnecessary indirection with `Selected` type. * Add missing docs, resolve TODOs * Address review comments and remove TODOs * Fix error in CI * Undo unnecessary change * Update couple of comments * Don't return error for stream shutdown * Update node/core/pvf/src/worker_common.rs --- node/core/candidate-validation/src/lib.rs | 17 +++-- node/core/candidate-validation/src/tests.rs | 2 +- node/core/pvf/src/error.rs | 74 +++++++++++------- node/core/pvf/src/host.rs | 17 ++--- node/core/pvf/src/prepare/pool.rs | 84 ++++++++++++++------- node/core/pvf/src/prepare/queue.rs | 2 +- node/core/pvf/src/prepare/worker.rs | 70 +++++++++-------- node/core/pvf/src/worker_common.rs | 15 +++- 8 files changed, 173 insertions(+), 108 deletions(-) diff --git a/node/core/candidate-validation/src/lib.rs b/node/core/candidate-validation/src/lib.rs index 74610bc113ec..70fc24eacade 100644 --- a/node/core/candidate-validation/src/lib.rs +++ b/node/core/candidate-validation/src/lib.rs @@ -320,12 +320,12 @@ where match validation_backend.precheck_pvf(validation_code).await { Ok(_) => PreCheckOutcome::Valid, - Err(prepare_err) => match prepare_err { - PrepareError::Prevalidation(_) | - PrepareError::Preparation(_) | - PrepareError::Panic(_) => PreCheckOutcome::Invalid, - PrepareError::TimedOut | PrepareError::DidNotMakeIt => PreCheckOutcome::Failed, - }, + Err(prepare_err) => + if prepare_err.is_deterministic() { + PreCheckOutcome::Invalid + } else { + PreCheckOutcome::Failed + }, } } @@ -667,10 +667,11 @@ impl ValidationBackend for ValidationHost { async fn precheck_pvf(&mut self, pvf: Pvf) -> Result { let (tx, rx) = oneshot::channel(); if let Err(_) = self.precheck_pvf(pvf, tx).await { - return Err(PrepareError::DidNotMakeIt) + // Return an IO error if there was an error communicating with the host. + return Err(PrepareError::IoErr) } - let precheck_result = rx.await.or(Err(PrepareError::DidNotMakeIt))?; + let precheck_result = rx.await.or(Err(PrepareError::IoErr))?; precheck_result } diff --git a/node/core/candidate-validation/src/tests.rs b/node/core/candidate-validation/src/tests.rs index 5ac93bc7d1f4..c6003c734973 100644 --- a/node/core/candidate-validation/src/tests.rs +++ b/node/core/candidate-validation/src/tests.rs @@ -1053,5 +1053,5 @@ fn precheck_properly_classifies_outcomes() { inner(Err(PrepareError::Panic("baz".to_owned())), PreCheckOutcome::Invalid); inner(Err(PrepareError::TimedOut), PreCheckOutcome::Failed); - inner(Err(PrepareError::DidNotMakeIt), PreCheckOutcome::Failed); + inner(Err(PrepareError::IoErr), PreCheckOutcome::Failed); } diff --git a/node/core/pvf/src/error.rs b/node/core/pvf/src/error.rs index ddcdb2561cfd..01d8c78d39ca 100644 --- a/node/core/pvf/src/error.rs +++ b/node/core/pvf/src/error.rs @@ -15,7 +15,7 @@ // along with Polkadot. If not, see . use parity_scale_codec::{Decode, Encode}; -use std::{any::Any, time::Duration}; +use std::{any::Any, fmt, time::Duration}; /// Result of PVF preparation performed by the validation host. Contains the elapsed CPU time if /// successful @@ -32,9 +32,46 @@ pub enum PrepareError { Panic(String), /// Failed to prepare the PVF due to the time limit. TimedOut, - /// This state indicates that the process assigned to prepare the artifact wasn't responsible - /// or were killed. This state is reported by the validation host (not by the worker). - DidNotMakeIt, + /// An IO error occurred while receiving the result from the worker process. This state is reported by the + /// validation host (not by the worker). + IoErr, + /// The temporary file for the artifact could not be created at the given cache path. This state is reported by the + /// validation host (not by the worker). + CreateTmpFileErr(String), + /// The response from the worker is received, but the file cannot be renamed (moved) to the final destination + /// location. This state is reported by the validation host (not by the worker). + RenameTmpFileErr(String), +} + +impl PrepareError { + /// Returns whether this is a deterministic error, i.e. one that should trigger reliably. Those + /// errors depend on the PVF itself and the sc-executor/wasmtime logic. + /// + /// Non-deterministic errors can happen spuriously. Typically, they occur due to resource + /// starvation, e.g. under heavy load or memory pressure. Those errors are typically transient + /// but may persist e.g. if the node is run by overwhelmingly underpowered machine. + pub fn is_deterministic(&self) -> bool { + use PrepareError::*; + match self { + Prevalidation(_) | Preparation(_) | Panic(_) => true, + TimedOut | IoErr | CreateTmpFileErr(_) | RenameTmpFileErr(_) => false, + } + } +} + +impl fmt::Display for PrepareError { + fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { + use PrepareError::*; + match self { + Prevalidation(err) => write!(f, "prevalidation: {}", err), + Preparation(err) => write!(f, "preparation: {}", err), + Panic(err) => write!(f, "panic: {}", err), + TimedOut => write!(f, "prepare: timeout"), + IoErr => write!(f, "prepare: io error while receiving response"), + CreateTmpFileErr(err) => write!(f, "prepare: error creating tmp file: {}", err), + RenameTmpFileErr(err) => write!(f, "prepare: error renaming tmp file: {}", err), + } + } } /// A error raised during validation of the candidate. @@ -81,32 +118,17 @@ pub enum InvalidCandidate { impl From for ValidationError { fn from(error: PrepareError) -> Self { // Here we need to classify the errors into two errors: deterministic and non-deterministic. + // See [`PrepareError::is_deterministic`]. // - // Non-deterministic errors can happen spuriously. Typically, they occur due to resource - // starvation, e.g. under heavy load or memory pressure. Those errors are typically transient - // but may persist e.g. if the node is run by overwhelmingly underpowered machine. - // - // Deterministic errors should trigger reliably. Those errors depend on the PVF itself and - // the sc-executor/wasmtime logic. - // - // For now, at least until the PVF pre-checking lands, the deterministic errors will be - // treated as `InvalidCandidate`. Should those occur they could potentially trigger disputes. + // We treat the deterministic errors as `InvalidCandidate`. Should those occur they could + // potentially trigger disputes. // // All non-deterministic errors are qualified as `InternalError`s and will not trigger // disputes. - match error { - PrepareError::Prevalidation(err) => ValidationError::InvalidCandidate( - InvalidCandidate::PrepareError(format!("prevalidation: {}", err)), - ), - PrepareError::Preparation(err) => ValidationError::InvalidCandidate( - InvalidCandidate::PrepareError(format!("preparation: {}", err)), - ), - PrepareError::Panic(err) => ValidationError::InvalidCandidate( - InvalidCandidate::PrepareError(format!("panic: {}", err)), - ), - PrepareError::TimedOut => ValidationError::InternalError("prepare: timeout".to_owned()), - PrepareError::DidNotMakeIt => - ValidationError::InternalError("prepare: did not make it".to_owned()), + if error.is_deterministic() { + ValidationError::InvalidCandidate(InvalidCandidate::PrepareError(error.to_string())) + } else { + ValidationError::InternalError(error.to_string()) } } } diff --git a/node/core/pvf/src/host.rs b/node/core/pvf/src/host.rs index 0f2e2b839a80..d7823ac44c77 100644 --- a/node/core/pvf/src/host.rs +++ b/node/core/pvf/src/host.rs @@ -776,16 +776,15 @@ fn can_retry_prepare_after_failure( num_failures: u32, error: &PrepareError, ) -> bool { - use PrepareError::*; - match error { - // Gracefully returned an error, so it will probably be reproducible. Don't retry. - Prevalidation(_) | Preparation(_) => false, - // Retry if the retry cooldown has elapsed and if we have already retried less than - // `NUM_PREPARE_RETRIES` times. IO errors may resolve themselves. - Panic(_) | TimedOut | DidNotMakeIt => - SystemTime::now() >= last_time_failed + PREPARE_FAILURE_COOLDOWN && - num_failures <= NUM_PREPARE_RETRIES, + if error.is_deterministic() { + // This error is considered deterministic, so it will probably be reproducible. Don't retry. + return false } + + // Retry if the retry cooldown has elapsed and if we have already retried less than `NUM_PREPARE_RETRIES` times. IO + // errors may resolve themselves. + SystemTime::now() >= last_time_failed + PREPARE_FAILURE_COOLDOWN && + num_failures <= NUM_PREPARE_RETRIES } /// A stream that yields a pulse continuously at a given interval. diff --git a/node/core/pvf/src/prepare/pool.rs b/node/core/pvf/src/prepare/pool.rs index 306588eb429a..3319d44e7fb4 100644 --- a/node/core/pvf/src/prepare/pool.rs +++ b/node/core/pvf/src/prepare/pool.rs @@ -22,7 +22,6 @@ use crate::{ LOG_TARGET, }; use always_assert::never; -use assert_matches::assert_matches; use async_std::path::{Path, PathBuf}; use futures::{ channel::mpsc, future::BoxFuture, stream::FuturesUnordered, Future, FutureExt, StreamExt, @@ -232,7 +231,7 @@ fn handle_to_pool( // items concluded; // thus idle token is Some; // qed. - never!("unexpected abscence of the idle token in prepare pool"); + never!("unexpected absence of the idle token in prepare pool"); } } else { // That's a relatively normal situation since the queue may send `start_work` and @@ -294,29 +293,28 @@ fn handle_mux( Ok(()) }, PoolEvent::StartWork(worker, outcome) => { - // If we receive any outcome other than `Concluded`, we attempt to kill the worker - // process. + // If we receive an outcome that the worker is unreachable or that an error occurred on + // the worker, we attempt to kill the worker process. match outcome { - Outcome::Concluded { worker: idle, result } => { - let data = match spawned.get_mut(worker) { - None => { - // Perhaps the worker was killed meanwhile and the result is no longer - // relevant. We already send `Rip` when purging if we detect that the - // worker is dead. - return Ok(()) - }, - Some(data) => data, - }; - - // We just replace the idle worker that was loaned from this option during - // the work starting. - let old = data.idle.replace(idle); - assert_matches!(old, None, "attempt to overwrite an idle worker"); - - reply(from_pool, FromPool::Concluded { worker, rip: false, result })?; - - Ok(()) - }, + Outcome::Concluded { worker: idle, result } => + handle_concluded_no_rip(from_pool, spawned, worker, idle, result), + // Return `Concluded`, but do not kill the worker since the error was on the host side. + Outcome::CreateTmpFileErr { worker: idle, err } => handle_concluded_no_rip( + from_pool, + spawned, + worker, + idle, + Err(PrepareError::CreateTmpFileErr(err)), + ), + // Return `Concluded`, but do not kill the worker since the error was on the host side. + Outcome::RenameTmpFileErr { worker: idle, result: _, err } => + handle_concluded_no_rip( + from_pool, + spawned, + worker, + idle, + Err(PrepareError::RenameTmpFileErr(err)), + ), Outcome::Unreachable => { if attempt_retire(metrics, spawned, worker) { reply(from_pool, FromPool::Rip(worker))?; @@ -324,14 +322,14 @@ fn handle_mux( Ok(()) }, - Outcome::DidNotMakeIt => { + Outcome::IoErr => { if attempt_retire(metrics, spawned, worker) { reply( from_pool, FromPool::Concluded { worker, rip: true, - result: Err(PrepareError::DidNotMakeIt), + result: Err(PrepareError::IoErr), }, )?; } @@ -380,6 +378,40 @@ fn attempt_retire( } } +/// Handles the case where we received a response. There potentially was an error, but not the fault +/// of the worker as far as we know, so the worker should not be killed. +/// +/// This function tries to put the idle worker back into the pool and then replies with +/// `FromPool::Concluded` with `rip: false`. +fn handle_concluded_no_rip( + from_pool: &mut mpsc::UnboundedSender, + spawned: &mut HopSlotMap, + worker: Worker, + idle: IdleWorker, + result: PrepareResult, +) -> Result<(), Fatal> { + let data = match spawned.get_mut(worker) { + None => { + // Perhaps the worker was killed meanwhile and the result is no longer relevant. We + // already send `Rip` when purging if we detect that the worker is dead. + return Ok(()) + }, + Some(data) => data, + }; + + // We just replace the idle worker that was loaned from this option during + // the work starting. + let old = data.idle.replace(idle); + never!( + old.is_some(), + "old idle worker was taken out when starting work; we only replace it here; qed" + ); + + reply(from_pool, FromPool::Concluded { worker, rip: false, result })?; + + Ok(()) +} + /// Spins up the pool and returns the future that should be polled to make the pool functional. pub fn start( metrics: Metrics, diff --git a/node/core/pvf/src/prepare/queue.rs b/node/core/pvf/src/prepare/queue.rs index df0a8ec41883..e78351af9839 100644 --- a/node/core/pvf/src/prepare/queue.rs +++ b/node/core/pvf/src/prepare/queue.rs @@ -761,7 +761,7 @@ mod tests { test.send_from_pool(pool::FromPool::Concluded { worker: w1, rip: true, - result: Err(PrepareError::DidNotMakeIt), + result: Err(PrepareError::IoErr), }); test.poll_ensure_to_pool_is_empty().await; } diff --git a/node/core/pvf/src/prepare/worker.rs b/node/core/pvf/src/prepare/worker.rs index 91361eacaf26..5b4212e1e313 100644 --- a/node/core/pvf/src/prepare/worker.rs +++ b/node/core/pvf/src/prepare/worker.rs @@ -59,28 +59,26 @@ pub enum Outcome { /// The host tried to reach the worker but failed. This is most likely because the worked was /// killed by the system. Unreachable, + /// The temporary file for the artifact could not be created at the given cache path. + CreateTmpFileErr { worker: IdleWorker, err: String }, + /// The response from the worker is received, but the file cannot be renamed (moved) to the + /// final destination location. + RenameTmpFileErr { worker: IdleWorker, result: PrepareResult, err: String }, /// The worker failed to finish the job until the given deadline. /// /// The worker is no longer usable and should be killed. TimedOut, - /// The execution was interrupted abruptly and the worker is not available anymore. + /// An IO error occurred while receiving the result from the worker process. /// /// This doesn't return an idle worker instance, thus this worker is no longer usable. - DidNotMakeIt, -} - -#[derive(Debug)] -enum Selected { - Done(PrepareResult), IoErr, - Deadline, } /// Given the idle token of a worker and parameters of work, communicates with the worker and /// returns the outcome. /// -/// NOTE: Returning the `TimedOut` or `DidNotMakeIt` errors will trigger the child process being -/// killed. +/// NOTE: Returning the `TimedOut`, `IoErr` or `Unreachable` outcomes will trigger the child process +/// being killed. pub async fn start_work( worker: IdleWorker, code: Arc>, @@ -97,7 +95,7 @@ pub async fn start_work( artifact_path.display(), ); - with_tmp_file(pid, cache_path, |tmp_file| async move { + with_tmp_file(stream.clone(), pid, cache_path, |tmp_file| async move { if let Err(err) = send_request(&mut stream, code, &tmp_file, preparation_timeout).await { gum::warn!( target: LOG_TARGET, @@ -120,10 +118,11 @@ pub async fn start_work( let timeout = preparation_timeout * JOB_TIMEOUT_WALL_CLOCK_FACTOR; let result = async_std::future::timeout(timeout, framed_recv(&mut stream)).await; - let selected = match result { + match result { // Received bytes from worker within the time limit. Ok(Ok(response_bytes)) => handle_response_bytes( + IdleWorker { stream, pid }, response_bytes, pid, tmp_file, @@ -139,7 +138,7 @@ pub async fn start_work( "failed to recv a prepare response: {:?}", err, ); - Selected::IoErr + Outcome::IoErr }, Err(_) => { // Timed out here on the host. @@ -148,18 +147,8 @@ pub async fn start_work( worker_pid = %pid, "did not recv a prepare response within the time limit", ); - Selected::Deadline + Outcome::TimedOut }, - }; - - // NOTE: A `TimedOut` or `DidNotMakeIt` error triggers the child process being killed. - match selected { - // Timed out on the child. This should already be logged by the child. - Selected::Done(Err(PrepareError::TimedOut)) => Outcome::TimedOut, - Selected::Done(result) => - Outcome::Concluded { worker: IdleWorker { stream, pid }, result }, - Selected::Deadline => Outcome::TimedOut, - Selected::IoErr => Outcome::DidNotMakeIt, } }) .await @@ -170,12 +159,13 @@ pub async fn start_work( /// NOTE: Here we know the artifact exists, but is still located in a temporary file which will be /// cleared by `with_tmp_file`. async fn handle_response_bytes( + worker: IdleWorker, response_bytes: Vec, pid: u32, tmp_file: PathBuf, artifact_path: PathBuf, preparation_timeout: Duration, -) -> Selected { +) -> Outcome { // By convention we expect encoded `PrepareResult`. let result = match PrepareResult::decode(&mut response_bytes.as_slice()) { Ok(result) => result, @@ -188,12 +178,14 @@ async fn handle_response_bytes( "received unexpected response from the prepare worker: {}", HexDisplay::from(&bound_bytes), ); - return Selected::IoErr + return Outcome::IoErr }, }; let cpu_time_elapsed = match result { Ok(result) => result, - Err(_) => return Selected::Done(result), + // Timed out on the child. This should already be logged by the child. + Err(PrepareError::TimedOut) => return Outcome::TimedOut, + Err(_) => return Outcome::Concluded { worker, result }, }; if cpu_time_elapsed > preparation_timeout { @@ -208,7 +200,10 @@ async fn handle_response_bytes( ); // Return a timeout error. - return Selected::Deadline + // + // NOTE: The artifact exists, but is located in a temporary file which + // will be cleared by `with_tmp_file`. + return Outcome::TimedOut } gum::debug!( @@ -219,10 +214,9 @@ async fn handle_response_bytes( artifact_path.display(), ); - async_std::fs::rename(&tmp_file, &artifact_path) - .await - .map(|_| Selected::Done(result)) - .unwrap_or_else(|err| { + match async_std::fs::rename(&tmp_file, &artifact_path).await { + Ok(_) => Outcome::Concluded { worker, result }, + Err(err) => { gum::warn!( target: LOG_TARGET, worker_pid = %pid, @@ -231,15 +225,16 @@ async fn handle_response_bytes( artifact_path.display(), err, ); - Selected::IoErr - }) + Outcome::RenameTmpFileErr { worker, result, err: format!("{:?}", err) } + }, + } } /// Create a temporary file for an artifact at the given cache path and execute the given /// future/closure passing the file path in. /// /// The function will try best effort to not leave behind the temporary file. -async fn with_tmp_file(pid: u32, cache_path: &Path, f: F) -> Outcome +async fn with_tmp_file(stream: UnixStream, pid: u32, cache_path: &Path, f: F) -> Outcome where Fut: futures::Future, F: FnOnce(PathBuf) -> Fut, @@ -253,7 +248,10 @@ where "failed to create a temp file for the artifact: {:?}", err, ); - return Outcome::DidNotMakeIt + return Outcome::CreateTmpFileErr { + worker: IdleWorker { stream, pid }, + err: format!("{:?}", err), + } }, }; diff --git a/node/core/pvf/src/worker_common.rs b/node/core/pvf/src/worker_common.rs index f9eaf42dcf67..e052bd77ed06 100644 --- a/node/core/pvf/src/worker_common.rs +++ b/node/core/pvf/src/worker_common.rs @@ -19,6 +19,7 @@ use crate::{execute::ExecuteResponse, PrepareError, LOG_TARGET}; use async_std::{ io, + net::Shutdown, os::unix::net::{UnixListener, UnixStream}, path::{Path, PathBuf}, }; @@ -185,7 +186,19 @@ where let stream = UnixStream::connect(socket_path).await?; let _ = async_std::fs::remove_file(socket_path).await; - event_loop(stream).await + let result = event_loop(stream.clone()).await; + + if let Err(err) = stream.shutdown(Shutdown::Both) { + // Log, but don't return error here, as it may shadow any error from `event_loop`. + gum::debug!( + target: LOG_TARGET, + "error shutting down stream at path {}: {}", + socket_path, + err + ); + } + + result }) .unwrap_err(); // it's never `Ok` because it's `Ok(Never)` From b6462e218e1afd090fa2b14ce782bd1e28079588 Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Tue, 20 Dec 2022 17:08:19 +0100 Subject: [PATCH 192/211] [ci] New try-runtime command (#6445) * [ci] New try-runtime command * restart pipeline * build features * fix --features flag * rm --execution flag * remove --no-spec-check-panic flag * change target dir * debug ccargo target dir * return target * try different location for runtime wasm * build only the runtime crate * check all generated .wasm files * adjust paths again * remove debug command Co-authored-by: joao-paulo-parity --- scripts/ci/gitlab/pipeline/check.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/ci/gitlab/pipeline/check.yml b/scripts/ci/gitlab/pipeline/check.yml index f443e76d6779..44185d6f4ca7 100644 --- a/scripts/ci/gitlab/pipeline/check.yml +++ b/scripts/ci/gitlab/pipeline/check.yml @@ -68,7 +68,12 @@ check-try-runtime: echo "Found label runtimemigration. Running tests" export RUST_LOG=remote-ext=debug,runtime=debug echo "---------- Running try-runtime for ${NETWORK} ----------" - time cargo run --release --features=try-runtime try-runtime --chain=${NETWORK}-dev --execution=Wasm --no-spec-check-panic on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443 + time cargo build --release -p "$NETWORK"-runtime + time cargo run --release --features try-runtime try-runtime \ + --runtime ./target/release/wbuild/"$NETWORK"-runtime/target/wasm32-unknown-unknown/release/"$NETWORK"_runtime.wasm \ + -lruntime=debug \ + --chain=${NETWORK}-dev \ + on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443 else echo "runtimemigration label not found. Skipping" fi From ca1f3074eacdc04a4c33dedaa7e61adb174106b4 Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Wed, 21 Dec 2022 09:33:01 +0100 Subject: [PATCH 193/211] Kusama origins as xcm multi_location (#6273) * Kusamsa origins as xcm multilocation * Fellows origin index * origins to xcm plurality body * cleanup * fix cargo spellcheck * Apply suggestions from code review Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> * include Fellows into scope * include Fellows into scope Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com> Co-authored-by: Gavin Wood --- runtime/kusama/src/lib.rs | 2 +- runtime/kusama/src/xcm_config.rs | 42 +++++++++++++++++++----- xcm/pallet-xcm/src/lib.rs | 13 ++++++++ xcm/src/v0/junction.rs | 9 +++++ xcm/xcm-builder/src/lib.rs | 2 +- xcm/xcm-builder/src/origin_conversion.rs | 17 ++++++++++ 6 files changed, 74 insertions(+), 11 deletions(-) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index a67e2d467351..125ce049b195 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -106,7 +106,7 @@ pub mod xcm_config; // Governance configurations. pub mod governance; use governance::{ - old::CouncilCollective, pallet_custom_origins, AuctionAdmin, GeneralAdmin, LeaseAdmin, + old::CouncilCollective, pallet_custom_origins, AuctionAdmin, Fellows, GeneralAdmin, LeaseAdmin, StakingAdmin, Treasurer, TreasurySpender, }; use xcm_config::CheckAccount; diff --git a/runtime/kusama/src/xcm_config.rs b/runtime/kusama/src/xcm_config.rs index 17310dd5ead1..55a474e239f6 100644 --- a/runtime/kusama/src/xcm_config.rs +++ b/runtime/kusama/src/xcm_config.rs @@ -17,8 +17,8 @@ //! XCM configurations for the Kusama runtime. use super::{ - parachains_origin, AccountId, Balances, CouncilCollective, ParaId, Runtime, RuntimeCall, - RuntimeEvent, RuntimeOrigin, WeightToFee, XcmPallet, + parachains_origin, AccountId, Balances, CouncilCollective, Fellows, ParaId, Runtime, + RuntimeCall, RuntimeEvent, RuntimeOrigin, StakingAdmin, WeightToFee, XcmPallet, }; use frame_support::{match_types, parameter_types, traits::Everything}; use runtime_common::{xcm_sender, ToAuthor}; @@ -28,8 +28,8 @@ use xcm_builder::{ AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, BackingToPlurality, ChildParachainAsNative, ChildParachainConvertsVia, ChildSystemParachainAsSuperuser, CurrencyAdapter as XcmCurrencyAdapter, FixedWeightBounds, IsChildSystemParachain, IsConcrete, - LocationInverter, SignedAccountId32AsNative, SignedToAccountId32, SovereignSignedViaLocation, - TakeWeightCredit, UsingComponents, WeightInfoBounds, + LocationInverter, OriginToPluralityVoice, SignedAccountId32AsNative, SignedToAccountId32, + SovereignSignedViaLocation, TakeWeightCredit, UsingComponents, WeightInfoBounds, }; parameter_types! { @@ -154,6 +154,10 @@ impl xcm_executor::Config for XcmConfig { parameter_types! { pub const CouncilBodyId: BodyId = BodyId::Executive; + // StakingAdmin pluralistic body. + pub const StakingAdminBodyId: BodyId = BodyId::Defense; + // Fellows pluralistic body. + pub const FellowsBodyId: BodyId = BodyId::Technical; } /// Type to convert the council origin to a Plurality `MultiLocation` value. @@ -172,13 +176,33 @@ pub type LocalOriginToLocation = ( // And a usual Signed origin to be used in XCM as a corresponding AccountId32 SignedToAccountId32, ); + +/// Type to convert the `StakingAdmin` origin to a Plurality `MultiLocation` value. +pub type StakingAdminToPlurality = + OriginToPluralityVoice; + +/// Type to convert the Fellows origin to a Plurality `MultiLocation` value. +pub type FellowsToPlurality = OriginToPluralityVoice; + +/// Type to convert a pallet `Origin` type value into a `MultiLocation` value which represents an interior location +/// of this chain for a destination chain. +pub type LocalPalletOriginToLocation = ( + // We allow an origin from the Collective pallet to be used in XCM as a corresponding Plurality of the + // `Unit` body. + CouncilToPlurality, + // StakingAdmin origin to be used in XCM as a corresponding Plurality `MultiLocation` value. + StakingAdminToPlurality, + // Fellows origin to be used in XCM as a corresponding Plurality `MultiLocation` value. + FellowsToPlurality, +); + impl pallet_xcm::Config for Runtime { type RuntimeEvent = RuntimeEvent; - // We only allow the council to send messages. This is basically safe to enable for everyone - // (safe the possibility of someone spamming the parachain if they're willing to pay the KSM to - // send from the Relay-chain), but it's useless until we bring in XCM v3 which will make - // `DescendOrigin` a bit more useful. - type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; + // We only allow the root, the council, fellows and the staking admin to send messages. + // This is basically safe to enable for everyone (safe the possibility of someone spamming the parachain + // if they're willing to pay the KSM to send from the Relay-chain), but it's useless until we bring in XCM v3 + // which will make `DescendOrigin` a bit more useful. + type SendXcmOrigin = xcm_builder::EnsureXcmOrigin; type XcmRouter = XcmRouter; // Anyone can execute XCM messages locally. type ExecuteXcmOrigin = xcm_builder::EnsureXcmOrigin; diff --git a/xcm/pallet-xcm/src/lib.rs b/xcm/pallet-xcm/src/lib.rs index f645e3cfc86f..3502c79b5d25 100644 --- a/xcm/pallet-xcm/src/lib.rs +++ b/xcm/pallet-xcm/src/lib.rs @@ -1527,6 +1527,19 @@ impl, Body: Get> Contains } } +/// Filter for `MultiLocation` to find those which represent a voice of an identified plurality. +/// +/// May reasonably be used with `EnsureXcm`. +pub struct IsVoiceOfBody(PhantomData<(Prefix, Body)>); +impl, Body: Get> Contains + for IsVoiceOfBody +{ + fn contains(l: &MultiLocation) -> bool { + let maybe_suffix = l.match_and_split(&Prefix::get()); + matches!(maybe_suffix, Some(Plurality { id, part }) if id == &Body::get() && part == &BodyPart::Voice) + } +} + /// `EnsureOrigin` implementation succeeding with a `MultiLocation` value to recognize and filter the /// `Origin::Xcm` item. pub struct EnsureXcm(PhantomData); diff --git a/xcm/src/v0/junction.rs b/xcm/src/v0/junction.rs index 67f17f464a37..450e882ac3e8 100644 --- a/xcm/src/v0/junction.rs +++ b/xcm/src/v0/junction.rs @@ -52,6 +52,15 @@ pub enum BodyId { /// The unambiguous judicial body (this doesn't exist on Polkadot, but if it were to get a "grand oracle", it /// may be considered as that). Judicial, + /// The unambiguous defense body (for Polkadot, an opinion on the topic given via a public referendum + /// on the `staking_admin` track). + Defense, + /// The unambiguous administration body (for Polkadot, an opinion on the topic given via a public referendum + /// on the `general_admin` track). + Administration, + /// The unambiguous treasury body (for Polkadot, an opinion on the topic given via a public referendum + /// on the `treasurer` track). + Treasury, } /// A part of a pluralistic body. diff --git a/xcm/xcm-builder/src/lib.rs b/xcm/xcm-builder/src/lib.rs index e3473d55d5eb..aa55c56d2cd7 100644 --- a/xcm/xcm-builder/src/lib.rs +++ b/xcm/xcm-builder/src/lib.rs @@ -37,7 +37,7 @@ pub use location_conversion::{ mod origin_conversion; pub use origin_conversion::{ BackingToPlurality, ChildParachainAsNative, ChildSystemParachainAsSuperuser, EnsureXcmOrigin, - ParentAsSuperuser, RelayChainAsNative, SiblingParachainAsNative, + OriginToPluralityVoice, ParentAsSuperuser, RelayChainAsNative, SiblingParachainAsNative, SiblingSystemParachainAsSuperuser, SignedAccountId32AsNative, SignedAccountKey20AsNative, SignedToAccountId32, SovereignSignedViaLocation, }; diff --git a/xcm/xcm-builder/src/origin_conversion.rs b/xcm/xcm-builder/src/origin_conversion.rs index 9fe50eaf9c3f..4d024a9d12c2 100644 --- a/xcm/xcm-builder/src/origin_conversion.rs +++ b/xcm/xcm-builder/src/origin_conversion.rs @@ -321,3 +321,20 @@ where }) } } + +/// `Convert` implementation to convert from an origin which passes the check of an `EnsureOrigin` +/// into a voice of a given pluralistic `Body`. +pub struct OriginToPluralityVoice( + PhantomData<(RuntimeOrigin, EnsureBodyOrigin, Body)>, +); +impl, Body: Get> + Convert + for OriginToPluralityVoice +{ + fn convert(o: RuntimeOrigin) -> Result { + match EnsureBodyOrigin::try_origin(o) { + Ok(_) => Ok(Junction::Plurality { id: Body::get(), part: BodyPart::Voice }.into()), + Err(o) => Err(o), + } + } +} From 1a034bd6de0e76721d19aed02a538bcef0787260 Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Wed, 21 Dec 2022 12:15:59 +0100 Subject: [PATCH 194/211] BlockId removal: refactor: HeaderBackend::status (#6459) * BlockId removal: refactor: HeaderBackend::status It changes the arguments of `HeaderBackend::status` method from: `BlockId` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * Update node/core/chain-api/src/tests.rs Co-authored-by: Adrian Catangiu * unused import removed * update lockfile for {"substrate"} Co-authored-by: Adrian Catangiu Co-authored-by: parity-processbot <> --- Cargo.lock | 360 +++++++++++++++---------------- node/client/src/lib.rs | 4 +- node/core/chain-api/src/tests.rs | 4 +- 3 files changed, 184 insertions(+), 184 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f65c066c0e9e..978edcff4389 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "async-trait", @@ -444,7 +444,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "beefy-gadget", "futures", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "sp-api", "sp-beefy", @@ -1986,7 +1986,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", ] @@ -2010,7 +2010,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -2033,7 +2033,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2108,7 +2108,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "log", @@ -2153,7 +2153,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "bitflags", "frame-metadata", @@ -2185,7 +2185,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "Inflector", "cfg-expr", @@ -2199,7 +2199,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2211,7 +2211,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro2", "quote", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2244,7 +2244,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "log", @@ -2273,7 +2273,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "sp-api", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "parity-scale-codec", @@ -2468,7 +2468,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "chrono", "frame-election-provider-support", @@ -4057,7 +4057,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "log", @@ -4076,7 +4076,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "anyhow", "jsonrpsee", @@ -4581,7 +4581,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4596,7 +4596,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -4612,7 +4612,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -4627,7 +4627,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4671,7 +4671,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4690,7 +4690,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4705,7 +4705,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -4721,7 +4721,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4744,7 +4744,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4762,7 +4762,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4781,7 +4781,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4798,7 +4798,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4815,7 +4815,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4833,7 +4833,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4856,7 +4856,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4887,7 +4887,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4928,7 +4928,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4944,7 +4944,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4964,7 +4964,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +4981,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -4998,7 +4998,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5031,7 +5031,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5047,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5084,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "sp-api", @@ -5094,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -5111,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5134,7 +5134,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5151,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5166,7 +5166,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5184,7 +5184,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5199,7 +5199,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -5256,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5272,7 +5272,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -5286,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5309,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "log", "sp-arithmetic", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5346,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5378,7 +5378,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5397,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-support", "frame-system", @@ -5413,7 +5413,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5429,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5458,7 +5458,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5474,7 +5474,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-benchmarking", "frame-support", @@ -8251,7 +8251,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "log", "sp-core", @@ -8262,7 +8262,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures", @@ -8289,7 +8289,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "futures-timer", @@ -8312,7 +8312,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8328,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8343,7 +8343,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8354,7 +8354,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "chrono", @@ -8394,7 +8394,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "fnv", "futures", @@ -8420,7 +8420,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "hash-db", "kvdb", @@ -8445,7 +8445,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures", @@ -8470,7 +8470,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "fork-tree", @@ -8508,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "jsonrpsee", @@ -8530,7 +8530,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8543,7 +8543,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures", @@ -8566,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "lru", "parity-scale-codec", @@ -8590,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8603,7 +8603,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "log", "sc-allocator", @@ -8616,7 +8616,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "cfg-if", "libc", @@ -8633,7 +8633,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "ahash", "array-bytes", @@ -8673,7 +8673,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "finality-grandpa", "futures", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "ansi_term", "futures", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "async-trait", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "async-trait", @@ -8764,7 +8764,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "cid", "futures", @@ -8783,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "bitflags", @@ -8809,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "ahash", "futures", @@ -8827,7 +8827,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "futures", @@ -8848,7 +8848,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "async-trait", @@ -8880,7 +8880,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "futures", @@ -8898,7 +8898,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "bytes", @@ -8928,7 +8928,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "libp2p", @@ -8941,7 +8941,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8950,7 +8950,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "jsonrpsee", @@ -8979,7 +8979,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8998,7 +8998,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "http", "jsonrpsee", @@ -9013,7 +9013,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "futures", @@ -9039,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "directories", @@ -9104,7 +9104,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "log", "parity-scale-codec", @@ -9115,7 +9115,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9134,7 +9134,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "libc", @@ -9153,7 +9153,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "chrono", "futures", @@ -9171,7 +9171,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "ansi_term", "atty", @@ -9202,7 +9202,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9213,7 +9213,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures", @@ -9239,7 +9239,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures", @@ -9253,7 +9253,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "futures-timer", @@ -9726,7 +9726,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "hash-db", "log", @@ -9744,7 +9744,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "blake2", "proc-macro-crate", @@ -9756,7 +9756,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9769,7 +9769,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "integer-sqrt", "num-traits", @@ -9783,7 +9783,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9796,7 +9796,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "parity-scale-codec", @@ -9808,7 +9808,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9825,7 +9825,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "sp-api", @@ -9837,7 +9837,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "log", @@ -9855,7 +9855,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures", @@ -9873,7 +9873,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "merlin", @@ -9896,7 +9896,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9908,7 +9908,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -9921,7 +9921,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "base58", @@ -9963,7 +9963,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "blake2", "byteorder", @@ -9977,7 +9977,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro2", "quote", @@ -9988,7 +9988,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9997,7 +9997,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro2", "quote", @@ -10007,7 +10007,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "environmental", "parity-scale-codec", @@ -10018,7 +10018,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "finality-grandpa", "log", @@ -10036,7 +10036,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10050,7 +10050,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "bytes", "ed25519", @@ -10075,7 +10075,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "lazy_static", "sp-core", @@ -10086,7 +10086,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures", @@ -10103,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "thiserror", "zstd", @@ -10112,7 +10112,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10130,7 +10130,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10144,7 +10144,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "sp-api", "sp-core", @@ -10154,7 +10154,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "backtrace", "lazy_static", @@ -10164,7 +10164,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "rustc-hash", "serde", @@ -10174,7 +10174,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "either", "hash256-std-hasher", @@ -10196,7 +10196,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10214,7 +10214,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "Inflector", "proc-macro-crate", @@ -10226,7 +10226,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10240,7 +10240,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10252,7 +10252,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "hash-db", "log", @@ -10272,12 +10272,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10290,7 +10290,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "futures-timer", @@ -10305,7 +10305,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "sp-std", @@ -10317,7 +10317,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "sp-api", "sp-runtime", @@ -10326,7 +10326,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "log", @@ -10342,7 +10342,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "ahash", "hash-db", @@ -10365,7 +10365,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10382,7 +10382,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10393,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "impl-trait-for-tuples", "log", @@ -10406,7 +10406,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "parity-scale-codec", "scale-info", @@ -10620,7 +10620,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "platforms", ] @@ -10628,7 +10628,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10647,7 +10647,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "hyper", "log", @@ -10659,7 +10659,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "async-trait", "jsonrpsee", @@ -10672,7 +10672,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "jsonrpsee", "log", @@ -10691,7 +10691,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "array-bytes", "async-trait", @@ -10717,7 +10717,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10727,7 +10727,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10738,7 +10738,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "ansi_term", "build-helper", @@ -11486,7 +11486,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#657c808eb3d22284359a802d67fdfdbe823fbd17" +source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" dependencies = [ "clap", "frame-remote-externalities", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index 2a231058bb83..fcadc5b59932 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -580,12 +580,12 @@ impl sp_blockchain::HeaderBackend for Client { } } - fn status(&self, id: BlockId) -> sp_blockchain::Result { + fn status(&self, hash: Hash) -> sp_blockchain::Result { with_client! { self, client, { - client.status(id) + client.status(hash) } } } diff --git a/node/core/chain-api/src/tests.rs b/node/core/chain-api/src/tests.rs index 5b0a2a0e390f..654458757e70 100644 --- a/node/core/chain-api/src/tests.rs +++ b/node/core/chain-api/src/tests.rs @@ -6,7 +6,7 @@ use std::collections::BTreeMap; use polkadot_node_primitives::BlockWeight; use polkadot_node_subsystem_test_helpers::{make_subsystem_context, TestSubsystemContextHandle}; -use polkadot_primitives::v2::{BlockId, BlockNumber, Hash, Header}; +use polkadot_primitives::v2::{BlockNumber, Hash, Header}; use sp_blockchain::Info as BlockInfo; use sp_core::testing::TaskExecutor; @@ -124,7 +124,7 @@ impl HeaderBackend for TestClient { Ok(self.headers.get(&hash).cloned()) } } - fn status(&self, _id: BlockId) -> sp_blockchain::Result { + fn status(&self, _hash: Hash) -> sp_blockchain::Result { unimplemented!() } } From b8d7d7a77dfbb4c7fd6a8811b2498f47b8175693 Mon Sep 17 00:00:00 2001 From: ordian Date: Thu, 22 Dec 2022 12:23:44 +0100 Subject: [PATCH 195/211] cargo update -p libp2p-yamux (#6464) --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 978edcff4389..ea22421ebeed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3709,9 +3709,9 @@ dependencies = [ [[package]] name = "libp2p-yamux" -version = "0.41.0" +version = "0.41.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30f079097a21ad017fc8139460630286f02488c8c13b26affb46623aa20d8845" +checksum = "0d6874d66543c4f7e26e3b8ca9a6bead351563a13ab4fafd43c7927f7c0d6c12" dependencies = [ "futures", "libp2p-core", From 67963c87c340ef337b8c144c302c49532f084cd9 Mon Sep 17 00:00:00 2001 From: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Date: Thu, 22 Dec 2022 13:26:24 +0200 Subject: [PATCH 196/211] fix dependabot labels (#6468) --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3fb899fd4366..665e9417256a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -21,6 +21,6 @@ updates: interval: "daily" - package-ecosystem: github-actions directory: '/' - labels: ["A2-insubstantial", "B0-silent", "C1-low 📌", "E3-dependencies"] + labels: ["A2-insubstantial", "B0-silent", "C1-low 📌", "E2-dependencies"] schedule: interval: daily From 49552dd8a23686bbe4205eada657e7f6816da95f Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 22 Dec 2022 14:21:16 +0100 Subject: [PATCH 197/211] Fix runtime-migration label detection (#6469) Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi --- scripts/ci/gitlab/pipeline/check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ci/gitlab/pipeline/check.yml b/scripts/ci/gitlab/pipeline/check.yml index 44185d6f4ca7..19d4bfcededf 100644 --- a/scripts/ci/gitlab/pipeline/check.yml +++ b/scripts/ci/gitlab/pipeline/check.yml @@ -62,10 +62,10 @@ check-try-runtime: - | export has_runtimemigration_label=$(curl -sS -H "Accept: application/vnd.github+json" \ -H "Authorization: token $GITHUB_PR_TOKEN" \ - https://api.github.com/repos/paritytech/polkadot/issues/$CI_COMMIT_REF_NAME/labels | grep "E1" | wc -l) + https://api.github.com/repos/paritytech/polkadot/issues/$CI_COMMIT_REF_NAME/labels | grep "E0-runtime_migration" | wc -l) - | if [[ $has_runtimemigration_label != 0 ]]; then - echo "Found label runtimemigration. Running tests" + echo "Found label runtime_migration. Running tests" export RUST_LOG=remote-ext=debug,runtime=debug echo "---------- Running try-runtime for ${NETWORK} ----------" time cargo build --release -p "$NETWORK"-runtime @@ -75,7 +75,7 @@ check-try-runtime: --chain=${NETWORK}-dev \ on-runtime-upgrade live --uri wss://${NETWORK}-try-runtime-node.parity-chains.parity.io:443 else - echo "runtimemigration label not found. Skipping" + echo "runtime_migration label not found. Skipping" fi check-runtime-migration-polkadot: From 8ac29d3846075ec98fbb386d4aa829687df97efe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 23 Dec 2022 01:16:19 +0100 Subject: [PATCH 198/211] Bump secp256k1 from 0.24.0 to 0.24.2 (#6411) Bumps [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) from 0.24.0 to 0.24.2. - [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases) - [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/secp256k1-0.24.2/CHANGELOG.md) - [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/secp256k1-0.24.0...secp256k1-0.24.2) --- updated-dependencies: - dependency-name: secp256k1 dependency-type: indirect ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: parity-processbot <> --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ea22421ebeed..0ead7e69af1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9355,9 +9355,9 @@ dependencies = [ [[package]] name = "secp256k1" -version = "0.24.0" +version = "0.24.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7649a0b3ffb32636e60c7ce0d70511eda9c52c658cd0634e194d5a19943aeff" +checksum = "d9512ffd81e3a3503ed401f79c33168b9148c75038956039166cd750eaa037c3" dependencies = [ "secp256k1-sys", ] From 58c901b0cf40be9b84fbe06dbe85b11cd2b1d828 Mon Sep 17 00:00:00 2001 From: Ankan <10196091+Ank4n@users.noreply.github.com> Date: Mon, 26 Dec 2022 17:53:22 +0100 Subject: [PATCH 199/211] [Companion] Allow StakingAdmin to set min_commission (#6444) * rename staking origin * fix comments * rename origin * give fake weight before re-benchmarking * ".git/.scripts/bench-bot.sh" runtime westend-dev pallet_staking * ".git/.scripts/bench-bot.sh" runtime polkadot-dev pallet_staking * ".git/.scripts/bench-bot.sh" runtime kusama-dev pallet_staking * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 362 +++++++++--------- runtime/kusama/src/lib.rs | 3 +- runtime/kusama/src/weights/pallet_staking.rs | 333 ++++++++-------- runtime/polkadot/src/lib.rs | 5 +- .../polkadot/src/weights/pallet_staking.rs | 331 ++++++++-------- runtime/test-runtime/src/lib.rs | 3 +- runtime/westend/src/lib.rs | 3 +- runtime/westend/src/weights/pallet_staking.rs | 331 ++++++++-------- 8 files changed, 706 insertions(+), 665 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0ead7e69af1f..ad6c38efbdf2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "async-trait", @@ -444,7 +444,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "beefy-gadget", "futures", @@ -463,7 +463,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "sp-api", "sp-beefy", @@ -1986,7 +1986,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", ] @@ -2010,7 +2010,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -2033,7 +2033,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2080,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2091,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2108,7 +2108,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -2137,7 +2137,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "log", @@ -2153,7 +2153,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "bitflags", "frame-metadata", @@ -2185,7 +2185,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "Inflector", "cfg-expr", @@ -2199,7 +2199,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2211,7 +2211,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro2", "quote", @@ -2221,7 +2221,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2244,7 +2244,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -2255,7 +2255,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "log", @@ -2273,7 +2273,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -2288,7 +2288,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "parity-scale-codec", @@ -2468,7 +2468,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "chrono", "frame-election-provider-support", @@ -4057,7 +4057,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "log", @@ -4076,7 +4076,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "anyhow", "jsonrpsee", @@ -4581,7 +4581,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4596,7 +4596,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -4612,7 +4612,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -4627,7 +4627,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4671,7 +4671,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4690,7 +4690,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4705,7 +4705,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -4721,7 +4721,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4744,7 +4744,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4762,7 +4762,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4781,7 +4781,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4798,7 +4798,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4815,7 +4815,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4833,7 +4833,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4856,7 +4856,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4869,7 +4869,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4887,7 +4887,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4928,7 +4928,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4944,7 +4944,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4964,7 +4964,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +4981,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4998,7 +4998,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5015,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5031,7 +5031,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5047,7 +5047,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -5064,7 +5064,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5084,7 +5084,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -5094,7 +5094,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -5111,7 +5111,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5134,7 +5134,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5151,7 +5151,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5166,7 +5166,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5184,7 +5184,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5199,7 +5199,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5218,7 +5218,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5235,7 +5235,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -5256,7 +5256,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5272,7 +5272,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -5286,7 +5286,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5309,7 +5309,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5320,7 +5320,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "log", "sp-arithmetic", @@ -5329,7 +5329,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5346,7 +5346,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5360,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5378,7 +5378,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5397,7 +5397,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-support", "frame-system", @@ -5413,7 +5413,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5429,7 +5429,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5441,7 +5441,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5458,7 +5458,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5474,7 +5474,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5489,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8251,7 +8251,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "log", "sp-core", @@ -8262,7 +8262,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures", @@ -8289,7 +8289,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "futures-timer", @@ -8312,7 +8312,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8328,7 +8328,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8343,7 +8343,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8354,7 +8354,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "chrono", @@ -8394,7 +8394,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "fnv", "futures", @@ -8420,7 +8420,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "hash-db", "kvdb", @@ -8445,7 +8445,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures", @@ -8470,7 +8470,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "fork-tree", @@ -8508,7 +8508,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "jsonrpsee", @@ -8530,7 +8530,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8543,7 +8543,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures", @@ -8566,7 +8566,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "lru", "parity-scale-codec", @@ -8590,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8603,7 +8603,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "log", "sc-allocator", @@ -8616,7 +8616,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "cfg-if", "libc", @@ -8633,7 +8633,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "ahash", "array-bytes", @@ -8673,7 +8673,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "finality-grandpa", "futures", @@ -8693,7 +8693,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "ansi_term", "futures", @@ -8708,7 +8708,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "async-trait", @@ -8723,7 +8723,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "async-trait", @@ -8764,7 +8764,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "cid", "futures", @@ -8783,7 +8783,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "bitflags", @@ -8809,7 +8809,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "ahash", "futures", @@ -8827,7 +8827,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "futures", @@ -8848,7 +8848,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "async-trait", @@ -8880,7 +8880,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "futures", @@ -8890,6 +8890,7 @@ dependencies = [ "pin-project", "sc-network-common", "sc-peerset", + "sc-utils", "sp-consensus", "sp-runtime", "substrate-prometheus-endpoint", @@ -8898,7 +8899,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "bytes", @@ -8928,7 +8929,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "libp2p", @@ -8941,7 +8942,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8950,7 +8951,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "jsonrpsee", @@ -8979,7 +8980,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8998,7 +8999,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "http", "jsonrpsee", @@ -9013,7 +9014,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "futures", @@ -9039,7 +9040,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "directories", @@ -9104,7 +9105,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "log", "parity-scale-codec", @@ -9115,7 +9116,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9134,7 +9135,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "libc", @@ -9153,7 +9154,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "chrono", "futures", @@ -9162,6 +9163,7 @@ dependencies = [ "parking_lot 0.12.1", "pin-project", "rand 0.8.5", + "sc-utils", "serde", "serde_json", "thiserror", @@ -9171,7 +9173,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "ansi_term", "atty", @@ -9202,7 +9204,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9213,7 +9215,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures", @@ -9239,7 +9241,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures", @@ -9253,7 +9255,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "futures-timer", @@ -9726,7 +9728,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "hash-db", "log", @@ -9744,7 +9746,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "blake2", "proc-macro-crate", @@ -9756,7 +9758,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9769,7 +9771,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "integer-sqrt", "num-traits", @@ -9783,7 +9785,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9796,7 +9798,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "parity-scale-codec", @@ -9808,7 +9810,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9825,7 +9827,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "sp-api", @@ -9837,7 +9839,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "log", @@ -9855,7 +9857,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures", @@ -9873,7 +9875,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "merlin", @@ -9896,7 +9898,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9908,7 +9910,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9921,7 +9923,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "base58", @@ -9963,7 +9965,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "blake2", "byteorder", @@ -9977,7 +9979,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro2", "quote", @@ -9988,7 +9990,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9997,7 +9999,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro2", "quote", @@ -10007,7 +10009,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "environmental", "parity-scale-codec", @@ -10018,7 +10020,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "finality-grandpa", "log", @@ -10036,7 +10038,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10050,7 +10052,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "bytes", "ed25519", @@ -10075,7 +10077,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "lazy_static", "sp-core", @@ -10086,7 +10088,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures", @@ -10103,7 +10105,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "thiserror", "zstd", @@ -10112,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10130,7 +10132,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10144,7 +10146,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "sp-api", "sp-core", @@ -10154,7 +10156,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "backtrace", "lazy_static", @@ -10164,7 +10166,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "rustc-hash", "serde", @@ -10174,7 +10176,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "either", "hash256-std-hasher", @@ -10196,7 +10198,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10214,7 +10216,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "Inflector", "proc-macro-crate", @@ -10226,7 +10228,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10240,7 +10242,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10252,7 +10254,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "hash-db", "log", @@ -10272,12 +10274,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10290,7 +10292,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "futures-timer", @@ -10305,7 +10307,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "sp-std", @@ -10317,7 +10319,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "sp-api", "sp-runtime", @@ -10326,7 +10328,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "log", @@ -10342,7 +10344,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "ahash", "hash-db", @@ -10365,7 +10367,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10382,7 +10384,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10393,7 +10395,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "impl-trait-for-tuples", "log", @@ -10406,7 +10408,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10620,7 +10622,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "platforms", ] @@ -10628,7 +10630,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10647,7 +10649,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "hyper", "log", @@ -10659,7 +10661,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "async-trait", "jsonrpsee", @@ -10672,7 +10674,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "jsonrpsee", "log", @@ -10691,7 +10693,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "array-bytes", "async-trait", @@ -10717,7 +10719,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10727,7 +10729,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10738,7 +10740,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "ansi_term", "build-helper", @@ -11486,7 +11488,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#ce025f3a989d165225c0f2f7ab497cf53319dd6d" +source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" dependencies = [ "clap", "frame-remote-externalities", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 125ce049b195..d0e92134fb61 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -584,8 +584,7 @@ impl pallet_staking::Config for Runtime { type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; - // The staking admin or root can cancel the slash. - type SlashCancelOrigin = EitherOf, StakingAdmin>; + type AdminOrigin = EitherOf, StakingAdmin>; type SessionInterface = Self; type EraPayout = EraPayout; type NextNewSession = Session; diff --git a/runtime/kusama/src/weights/pallet_staking.rs b/runtime/kusama/src/weights/pallet_staking.rs index c5fa8545f19b..cdaa6e100ffc 100644 --- a/runtime/kusama/src/weights/pallet_staking.rs +++ b/runtime/kusama/src/weights/pallet_staking.rs @@ -16,21 +16,23 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm5`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot +// /home/benchbot/cargo_target_dir/production/polkadot // benchmark // pallet -// --chain=kusama-dev // --steps=50 // --repeat=20 -// --pallet=pallet_staking // --extrinsic=* // --execution=wasm // --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=pallet_staking +// --chain=kusama-dev // --header=./file_header.txt // --output=./runtime/kusama/src/weights/ @@ -50,10 +52,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - // Minimum execution time: 46_644 nanoseconds. - Weight::from_ref_time(47_601_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 46_498 nanoseconds. + Weight::from_ref_time(47_017_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) @@ -61,10 +63,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - // Minimum execution time: 83_700 nanoseconds. - Weight::from_ref_time(84_180_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 83_337 nanoseconds. + Weight::from_ref_time(84_125_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Nominators (r:1 w:0) @@ -76,10 +78,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - // Minimum execution time: 88_626 nanoseconds. - Weight::from_ref_time(89_533_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 89_555 nanoseconds. + Weight::from_ref_time(90_189_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -87,12 +89,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - // Minimum execution time: 39_857 nanoseconds. - Weight::from_ref_time(41_762_625 as u64) - // Standard Error: 793 - .saturating_add(Weight::from_ref_time(19_027 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 39_859 nanoseconds. + Weight::from_ref_time(41_164_480) + // Standard Error: 870 + .saturating_add(Weight::from_ref_time(22_362).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -107,14 +109,16 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) + // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_kill(s: u32, ) -> Weight { - // Minimum execution time: 77_333 nanoseconds. - Weight::from_ref_time(78_922_702 as u64) - // Standard Error: 1_167 - .saturating_add(Weight::from_ref_time(2_228 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + // Minimum execution time: 78_182 nanoseconds. + Weight::from_ref_time(82_653_282) + // Standard Error: 2_211 + .saturating_add(Weight::from_ref_time(919_603).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinValidatorBond (r:1 w:0) @@ -128,22 +132,22 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - // Minimum execution time: 60_771 nanoseconds. - Weight::from_ref_time(62_120_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 60_801 nanoseconds. + Weight::from_ref_time(61_461_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - // Minimum execution time: 35_488 nanoseconds. - Weight::from_ref_time(31_260_124 as u64) - // Standard Error: 10_282 - .saturating_add(Weight::from_ref_time(6_618_104 as u64).saturating_mul(k as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64))) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64))) + // Minimum execution time: 34_706 nanoseconds. + Weight::from_ref_time(30_155_201) + // Standard Error: 9_801 + .saturating_add(Weight::from_ref_time(6_812_249).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinNominatorBond (r:1 w:0) @@ -158,13 +162,13 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 24]`. fn nominate(n: u32, ) -> Weight { - // Minimum execution time: 63_100 nanoseconds. - Weight::from_ref_time(61_836_772 as u64) - // Standard Error: 7_808 - .saturating_add(Weight::from_ref_time(2_532_660 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 63_815 nanoseconds. + Weight::from_ref_time(62_277_624) + // Standard Error: 8_020 + .saturating_add(Weight::from_ref_time(2_558_933).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Validators (r:1 w:0) @@ -174,59 +178,59 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - // Minimum execution time: 58_416 nanoseconds. - Weight::from_ref_time(59_201_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 59_765 nanoseconds. + Weight::from_ref_time(60_359_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - // Minimum execution time: 15_931 nanoseconds. - Weight::from_ref_time(16_155_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 15_948 nanoseconds. + Weight::from_ref_time(16_331_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - // Minimum execution time: 22_947 nanoseconds. - Weight::from_ref_time(23_520_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 22_707 nanoseconds. + Weight::from_ref_time(23_051_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - // Minimum execution time: 4_206 nanoseconds. - Weight::from_ref_time(4_371_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_236 nanoseconds. + Weight::from_ref_time(4_468_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - // Minimum execution time: 4_225 nanoseconds. - Weight::from_ref_time(4_324_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_264 nanoseconds. + Weight::from_ref_time(4_397_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - // Minimum execution time: 4_361 nanoseconds. - Weight::from_ref_time(4_489_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_334 nanoseconds. + Weight::from_ref_time(4_478_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - // Minimum execution time: 4_369 nanoseconds. - Weight::from_ref_time(4_611_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_429 nanoseconds. + Weight::from_ref_time(4_522_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - // Minimum execution time: 4_450 nanoseconds. - Weight::from_ref_time(4_810_067 as u64) - // Standard Error: 25 - .saturating_add(Weight::from_ref_time(10_502 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_573 nanoseconds. + Weight::from_ref_time(4_979_271) + // Standard Error: 29 + .saturating_add(Weight::from_ref_time(10_199).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking SlashingSpans (r:1 w:0) @@ -243,23 +247,23 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - // Minimum execution time: 71_970 nanoseconds. - Weight::from_ref_time(77_083_021 as u64) - // Standard Error: 2_001 - .saturating_add(Weight::from_ref_time(866_865 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 71_604 nanoseconds. + Weight::from_ref_time(76_356_335) + // Standard Error: 2_128 + .saturating_add(Weight::from_ref_time(924_544).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - // Minimum execution time: 118_673 nanoseconds. - Weight::from_ref_time(1_326_106_039 as u64) - // Standard Error: 87_435 - .saturating_add(Weight::from_ref_time(7_437_525 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 111_696 nanoseconds. + Weight::from_ref_time(919_128_155) + // Standard Error: 58_383 + .saturating_add(Weight::from_ref_time(4_917_235).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) @@ -272,14 +276,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `n` is `[0, 512]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - // Minimum execution time: 109_550 nanoseconds. - Weight::from_ref_time(206_474_081 as u64) - // Standard Error: 16_169 - .saturating_add(Weight::from_ref_time(21_555_193 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) + // Minimum execution time: 110_470 nanoseconds. + Weight::from_ref_time(214_513_056) + // Standard Error: 17_132 + .saturating_add(Weight::from_ref_time(21_681_392).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) @@ -293,14 +297,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - // Minimum execution time: 126_170 nanoseconds. - Weight::from_ref_time(194_778_058 as u64) - // Standard Error: 27_867 - .saturating_add(Weight::from_ref_time(30_845_851 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64))) + // Minimum execution time: 127_623 nanoseconds. + Weight::from_ref_time(71_193_329) + // Standard Error: 104_006 + .saturating_add(Weight::from_ref_time(31_734_017).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) } // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) @@ -310,12 +314,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - // Minimum execution time: 82_627 nanoseconds. - Weight::from_ref_time(84_126_338 as u64) - // Standard Error: 4_351 - .saturating_add(Weight::from_ref_time(45_779 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 81_989 nanoseconds. + Weight::from_ref_time(84_089_774) + // Standard Error: 3_862 + .saturating_add(Weight::from_ref_time(34_551).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: System Account (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) @@ -332,17 +336,16 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - // Minimum execution time: 84_348 nanoseconds. - Weight::from_ref_time(84_781_622 as u64) - // Standard Error: 3_494 - .saturating_add(Weight::from_ref_time(869_042 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 81_744 nanoseconds. + Weight::from_ref_time(83_697_917) + // Standard Error: 2_378 + .saturating_add(Weight::from_ref_time(928_791).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: Staking SlashingSpans (r:1 w:0) - // Storage: VoterList ListBags (r:183 w:0) + // Storage: VoterList ListBags (r:166 w:0) // Storage: VoterList ListNodes (r:101 w:0) // Storage: Staking Nominators (r:101 w:0) // Storage: Staking Validators (r:2 w:0) @@ -358,53 +361,57 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking ErasStakers (r:0 w:1) // Storage: Staking ErasTotalStake (r:0 w:1) // Storage: Staking ErasStartSessionIndex (r:0 w:1) + // Storage: Staking MinimumActiveStake (r:0 w:1) /// The range of component `v` is `[1, 10]`. /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { - // Minimum execution time: 431_295 nanoseconds. - Weight::from_ref_time(434_958_000 as u64) - // Standard Error: 1_764_016 - .saturating_add(Weight::from_ref_time(57_522_953 as u64).saturating_mul(v as u64)) - // Standard Error: 175_774 - .saturating_add(Weight::from_ref_time(13_158_469 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(191 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) + // Minimum execution time: 426_726 nanoseconds. + Weight::from_ref_time(427_956_000) + // Standard Error: 1_694_488 + .saturating_add(Weight::from_ref_time(55_297_221).saturating_mul(v.into())) + // Standard Error: 168_846 + .saturating_add(Weight::from_ref_time(12_858_483).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(173)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: VoterList ListBags (r:200 w:0) + // Storage: VoterList ListBags (r:166 w:0) // Storage: VoterList ListNodes (r:1500 w:0) // Storage: Staking Nominators (r:1500 w:0) // Storage: Staking Validators (r:500 w:0) // Storage: Staking Bonded (r:1500 w:0) // Storage: Staking Ledger (r:1500 w:0) + // Storage: System BlockWeight (r:1 w:1) + // Storage: Staking MinimumActiveStake (r:0 w:1) /// The range of component `v` is `[500, 1000]`. /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { - // Minimum execution time: 24_634_585 nanoseconds. - Weight::from_ref_time(24_718_377_000) - // Standard Error: 324_839 - .saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into())) - // Standard Error: 324_839 - .saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(201)) + // Minimum execution time: 25_092_560 nanoseconds. + Weight::from_ref_time(25_487_312_000) + // Standard Error: 547_909 + .saturating_add(Weight::from_ref_time(4_859_299).saturating_mul(v.into())) + // Standard Error: 547_909 + .saturating_add(Weight::from_ref_time(4_082_635).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(168)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { - // Minimum execution time: 3_520_733 nanoseconds. - Weight::from_ref_time(3_602_387_000 as u64) - // Standard Error: 41_226 - .saturating_add(Weight::from_ref_time(2_633_121 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 3_516_893 nanoseconds. + Weight::from_ref_time(139_483_001) + // Standard Error: 43_749 + .saturating_add(Weight::from_ref_time(7_181_910).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking MinCommission (r:0 w:1) // Storage: Staking MinValidatorBond (r:0 w:1) @@ -413,9 +420,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - // Minimum execution time: 7_287 nanoseconds. - Weight::from_ref_time(7_534_000 as u64) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 7_596 nanoseconds. + Weight::from_ref_time(7_960_000) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking MinCommission (r:0 w:1) // Storage: Staking MinValidatorBond (r:0 w:1) @@ -424,9 +431,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - // Minimum execution time: 6_570 nanoseconds. - Weight::from_ref_time(6_834_000 as u64) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 7_041 nanoseconds. + Weight::from_ref_time(7_258_000) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) @@ -439,17 +446,23 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - // Minimum execution time: 69_446 nanoseconds. - Weight::from_ref_time(71_663_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 69_602 nanoseconds. + Weight::from_ref_time(71_173_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - // Minimum execution time: 15_387 nanoseconds. - Weight::from_ref_time(15_571_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 15_488 nanoseconds. + Weight::from_ref_time(15_690_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Staking MinCommission (r:0 w:1) + fn set_min_commission() -> Weight { + // Minimum execution time: 4_360 nanoseconds. + Weight::from_ref_time(4_617_000) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 385b7b815fb8..8c4d85afb67d 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -553,7 +553,7 @@ parameter_types! { pub const MaxNominations: u32 = ::LIMIT as u32; } -type SlashCancelOrigin = EitherOfDiverse< +type StakingAdminOrigin = EitherOfDiverse< EnsureRoot, pallet_collective::EnsureProportionAtLeast, >; @@ -599,8 +599,7 @@ impl pallet_staking::Config for Runtime { type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; - // A super-majority of the council can cancel the slash. - type SlashCancelOrigin = SlashCancelOrigin; + type AdminOrigin = StakingAdminOrigin; type SessionInterface = Self; type EraPayout = EraPayout; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; diff --git a/runtime/polkadot/src/weights/pallet_staking.rs b/runtime/polkadot/src/weights/pallet_staking.rs index 8e49eeefee1b..8cc7e5903e0f 100644 --- a/runtime/polkadot/src/weights/pallet_staking.rs +++ b/runtime/polkadot/src/weights/pallet_staking.rs @@ -16,21 +16,23 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-16, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm4`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-12-26, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("polkadot-dev"), DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot +// /home/benchbot/cargo_target_dir/production/polkadot // benchmark // pallet -// --chain=polkadot-dev // --steps=50 // --repeat=20 -// --pallet=pallet_staking // --extrinsic=* // --execution=wasm // --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=pallet_staking +// --chain=polkadot-dev // --header=./file_header.txt // --output=./runtime/polkadot/src/weights/ @@ -50,10 +52,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - // Minimum execution time: 46_662 nanoseconds. - Weight::from_ref_time(47_196_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 47_596 nanoseconds. + Weight::from_ref_time(48_262_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) @@ -61,10 +63,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - // Minimum execution time: 84_636 nanoseconds. - Weight::from_ref_time(85_507_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 85_311 nanoseconds. + Weight::from_ref_time(85_983_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Nominators (r:1 w:0) @@ -76,10 +78,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - // Minimum execution time: 89_960 nanoseconds. - Weight::from_ref_time(90_775_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 91_155 nanoseconds. + Weight::from_ref_time(92_284_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -87,12 +89,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - // Minimum execution time: 40_902 nanoseconds. - Weight::from_ref_time(42_037_878 as u64) - // Standard Error: 759 - .saturating_add(Weight::from_ref_time(18_773 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 40_335 nanoseconds. + Weight::from_ref_time(41_980_327) + // Standard Error: 5_476 + .saturating_add(Weight::from_ref_time(22_616).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -107,12 +109,16 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) + // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - // Minimum execution time: 76_841 nanoseconds. - Weight::from_ref_time(78_511_970 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + fn withdraw_unbonded_kill(s: u32, ) -> Weight { + // Minimum execution time: 79_780 nanoseconds. + Weight::from_ref_time(83_493_244) + // Standard Error: 2_034 + .saturating_add(Weight::from_ref_time(921_312).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinValidatorBond (r:1 w:0) @@ -126,22 +132,22 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - // Minimum execution time: 61_371 nanoseconds. - Weight::from_ref_time(62_111_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 60_128 nanoseconds. + Weight::from_ref_time(60_981_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - // Minimum execution time: 32_802 nanoseconds. - Weight::from_ref_time(31_148_886 as u64) - // Standard Error: 8_584 - .saturating_add(Weight::from_ref_time(6_310_078 as u64).saturating_mul(k as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64))) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64))) + // Minimum execution time: 32_908 nanoseconds. + Weight::from_ref_time(29_665_429) + // Standard Error: 8_170 + .saturating_add(Weight::from_ref_time(6_484_323).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinNominatorBond (r:1 w:0) @@ -156,13 +162,13 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - // Minimum execution time: 63_601 nanoseconds. - Weight::from_ref_time(62_683_368 as u64) - // Standard Error: 5_693 - .saturating_add(Weight::from_ref_time(2_387_381 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 63_783 nanoseconds. + Weight::from_ref_time(63_455_416) + // Standard Error: 6_146 + .saturating_add(Weight::from_ref_time(2_387_675).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Validators (r:1 w:0) @@ -172,59 +178,59 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - // Minimum execution time: 58_414 nanoseconds. - Weight::from_ref_time(58_926_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 59_804 nanoseconds. + Weight::from_ref_time(60_578_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - // Minimum execution time: 15_904 nanoseconds. - Weight::from_ref_time(16_192_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 15_947 nanoseconds. + Weight::from_ref_time(16_220_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - // Minimum execution time: 23_346 nanoseconds. - Weight::from_ref_time(23_789_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 22_585 nanoseconds. + Weight::from_ref_time(23_242_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - // Minimum execution time: 4_391 nanoseconds. - Weight::from_ref_time(4_537_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_303 nanoseconds. + Weight::from_ref_time(4_470_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - // Minimum execution time: 4_401 nanoseconds. - Weight::from_ref_time(4_566_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_347 nanoseconds. + Weight::from_ref_time(4_522_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - // Minimum execution time: 4_332 nanoseconds. - Weight::from_ref_time(4_500_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_313 nanoseconds. + Weight::from_ref_time(4_548_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - // Minimum execution time: 4_311 nanoseconds. - Weight::from_ref_time(4_424_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_302 nanoseconds. + Weight::from_ref_time(4_487_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - // Minimum execution time: 4_728 nanoseconds. - Weight::from_ref_time(5_009_153 as u64) - // Standard Error: 40 - .saturating_add(Weight::from_ref_time(13_575 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_414 nanoseconds. + Weight::from_ref_time(4_950_256) + // Standard Error: 34 + .saturating_add(Weight::from_ref_time(11_147).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking SlashingSpans (r:1 w:0) @@ -241,23 +247,23 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - // Minimum execution time: 70_738 nanoseconds. - Weight::from_ref_time(75_635_135 as u64) - // Standard Error: 1_963 - .saturating_add(Weight::from_ref_time(886_440 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 71_586 nanoseconds. + Weight::from_ref_time(76_784_220) + // Standard Error: 2_649 + .saturating_add(Weight::from_ref_time(914_345).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - // Minimum execution time: 121_057 nanoseconds. - Weight::from_ref_time(930_162_123 as u64) - // Standard Error: 58_030 - .saturating_add(Weight::from_ref_time(4_954_466 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 113_087 nanoseconds. + Weight::from_ref_time(919_333_329) + // Standard Error: 58_190 + .saturating_add(Weight::from_ref_time(4_926_882).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) @@ -270,14 +276,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `n` is `[0, 512]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - // Minimum execution time: 109_038 nanoseconds. - Weight::from_ref_time(209_711_375 as u64) - // Standard Error: 14_502 - .saturating_add(Weight::from_ref_time(21_251_776 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) + // Minimum execution time: 109_456 nanoseconds. + Weight::from_ref_time(218_455_664) + // Standard Error: 16_502 + .saturating_add(Weight::from_ref_time(21_415_223).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) @@ -291,14 +297,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `n` is `[0, 512]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - // Minimum execution time: 126_327 nanoseconds. - Weight::from_ref_time(172_023_969 as u64) - // Standard Error: 77_234 - .saturating_add(Weight::from_ref_time(31_062_247 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64))) + // Minimum execution time: 127_355 nanoseconds. + Weight::from_ref_time(183_799_193) + // Standard Error: 31_316 + .saturating_add(Weight::from_ref_time(31_085_934).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) } // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) @@ -308,12 +314,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - // Minimum execution time: 81_709 nanoseconds. - Weight::from_ref_time(83_708_699 as u64) - // Standard Error: 4_311 - .saturating_add(Weight::from_ref_time(44_788 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 82_240 nanoseconds. + Weight::from_ref_time(84_253_539) + // Standard Error: 4_496 + .saturating_add(Weight::from_ref_time(38_336).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: System Account (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) @@ -330,16 +336,15 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - // Minimum execution time: 81_287 nanoseconds. - Weight::from_ref_time(83_420_670 as u64) - // Standard Error: 2_357 - .saturating_add(Weight::from_ref_time(879_072 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 81_232 nanoseconds. + Weight::from_ref_time(83_432_135) + // Standard Error: 1_903 + .saturating_add(Weight::from_ref_time(920_509).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: Staking SlashingSpans (r:1 w:0) // Storage: VoterList ListBags (r:178 w:0) // Storage: VoterList ListNodes (r:101 w:0) // Storage: Staking Nominators (r:101 w:0) @@ -356,53 +361,57 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking ErasStakers (r:0 w:1) // Storage: Staking ErasTotalStake (r:0 w:1) // Storage: Staking ErasStartSessionIndex (r:0 w:1) + // Storage: Staking MinimumActiveStake (r:0 w:1) /// The range of component `v` is `[1, 10]`. /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { - // Minimum execution time: 432_765 nanoseconds. - Weight::from_ref_time(434_560_000 as u64) - // Standard Error: 1_840_727 - .saturating_add(Weight::from_ref_time(60_273_780 as u64).saturating_mul(v as u64)) - // Standard Error: 183_418 - .saturating_add(Weight::from_ref_time(13_301_391 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(186 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) + // Minimum execution time: 443_914 nanoseconds. + Weight::from_ref_time(445_239_000) + // Standard Error: 1_702_013 + .saturating_add(Weight::from_ref_time(55_886_094).saturating_mul(v.into())) + // Standard Error: 169_596 + .saturating_add(Weight::from_ref_time(13_054_062).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(185)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: VoterList ListBags (r:200 w:0) + // Storage: VoterList ListBags (r:178 w:0) // Storage: VoterList ListNodes (r:1500 w:0) // Storage: Staking Nominators (r:1500 w:0) // Storage: Staking Validators (r:500 w:0) // Storage: Staking Bonded (r:1500 w:0) // Storage: Staking Ledger (r:1500 w:0) + // Storage: System BlockWeight (r:1 w:1) + // Storage: Staking MinimumActiveStake (r:0 w:1) /// The range of component `v` is `[500, 1000]`. /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { - // Minimum execution time: 24_634_585 nanoseconds. - Weight::from_ref_time(24_718_377_000) - // Standard Error: 324_839 - .saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into())) - // Standard Error: 324_839 - .saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(201)) + // Minimum execution time: 25_042_404 nanoseconds. + Weight::from_ref_time(25_221_780_000) + // Standard Error: 587_812 + .saturating_add(Weight::from_ref_time(6_736_902).saturating_mul(v.into())) + // Standard Error: 587_812 + .saturating_add(Weight::from_ref_time(2_992_604).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(180)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { - // Minimum execution time: 3_556_361 nanoseconds. - Weight::from_ref_time(120_792_037 as u64) - // Standard Error: 57_285 - .saturating_add(Weight::from_ref_time(7_333_197 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 3_554_519 nanoseconds. + Weight::from_ref_time(111_958_458) + // Standard Error: 51_313 + .saturating_add(Weight::from_ref_time(7_328_224).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking MinCommission (r:0 w:1) // Storage: Staking MinValidatorBond (r:0 w:1) @@ -411,9 +420,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - // Minimum execution time: 7_322 nanoseconds. - Weight::from_ref_time(7_596_000 as u64) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 7_416 nanoseconds. + Weight::from_ref_time(7_844_000) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking MinCommission (r:0 w:1) // Storage: Staking MinValidatorBond (r:0 w:1) @@ -422,9 +431,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - // Minimum execution time: 6_842 nanoseconds. - Weight::from_ref_time(7_029_000 as u64) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 6_765 nanoseconds. + Weight::from_ref_time(7_042_000) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) @@ -437,17 +446,23 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - // Minimum execution time: 69_097 nanoseconds. - Weight::from_ref_time(69_731_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 69_321 nanoseconds. + Weight::from_ref_time(70_413_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - // Minimum execution time: 15_563 nanoseconds. - Weight::from_ref_time(15_867_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 14_915 nanoseconds. + Weight::from_ref_time(15_495_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Staking MinCommission (r:0 w:1) + fn set_min_commission() -> Weight { + // Minimum execution time: 4_184 nanoseconds. + Weight::from_ref_time(4_326_000) + .saturating_add(T::DbWeight::get().writes(1)) } } diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index b32aa953332a..83c0b3b05b53 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -348,8 +348,7 @@ impl pallet_staking::Config for Runtime { type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; - // A majority of the council can cancel the slash. - type SlashCancelOrigin = frame_system::EnsureNever<()>; + type AdminOrigin = frame_system::EnsureNever<()>; type SessionInterface = Self; type EraPayout = pallet_staking::ConvertCurve; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 097dcfdd5897..7118ad1e780b 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -509,8 +509,7 @@ impl pallet_staking::Config for Runtime { type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration; type SlashDeferDuration = SlashDeferDuration; - // A majority of the council can cancel the slash. - type SlashCancelOrigin = EnsureRoot; + type AdminOrigin = EnsureRoot; type SessionInterface = Self; type EraPayout = pallet_staking::ConvertCurve; type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator; diff --git a/runtime/westend/src/weights/pallet_staking.rs b/runtime/westend/src/weights/pallet_staking.rs index 0c240630a9c2..7fe992e49ce3 100644 --- a/runtime/westend/src/weights/pallet_staking.rs +++ b/runtime/westend/src/weights/pallet_staking.rs @@ -16,21 +16,23 @@ //! Autogenerated weights for `pallet_staking` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-11-15, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` -//! HOSTNAME: `bm6`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! DATE: 2022-12-25, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("westend-dev"), DB CACHE: 1024 // Executed Command: -// ./target/production/polkadot +// /home/benchbot/cargo_target_dir/production/polkadot // benchmark // pallet -// --chain=westend-dev // --steps=50 // --repeat=20 -// --pallet=pallet_staking // --extrinsic=* // --execution=wasm // --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/polkadot/.git/.artifacts/bench.json +// --pallet=pallet_staking +// --chain=westend-dev // --header=./file_header.txt // --output=./runtime/westend/src/weights/ @@ -50,10 +52,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) fn bond() -> Weight { - // Minimum execution time: 47_864 nanoseconds. - Weight::from_ref_time(48_374_000 as u64) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(4 as u64)) + // Minimum execution time: 47_938 nanoseconds. + Weight::from_ref_time(48_766_000) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(4)) } // Storage: Staking Bonded (r:1 w:0) // Storage: Staking Ledger (r:1 w:1) @@ -61,10 +63,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListNodes (r:3 w:3) // Storage: VoterList ListBags (r:2 w:2) fn bond_extra() -> Weight { - // Minimum execution time: 92_224 nanoseconds. - Weight::from_ref_time(92_673_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(7 as u64)) + // Minimum execution time: 83_008 nanoseconds. + Weight::from_ref_time(84_097_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking Nominators (r:1 w:0) @@ -76,10 +78,10 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking Bonded (r:1 w:0) // Storage: VoterList ListBags (r:2 w:2) fn unbond() -> Weight { - // Minimum execution time: 89_173 nanoseconds. - Weight::from_ref_time(91_518_000 as u64) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 89_429 nanoseconds. + Weight::from_ref_time(90_577_000) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -87,12 +89,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `s` is `[0, 100]`. fn withdraw_unbonded_update(s: u32, ) -> Weight { - // Minimum execution time: 41_525 nanoseconds. - Weight::from_ref_time(42_785_087 as u64) - // Standard Error: 689 - .saturating_add(Weight::from_ref_time(16_918 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(4 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 40_837 nanoseconds. + Weight::from_ref_time(42_187_130) + // Standard Error: 894 + .saturating_add(Weight::from_ref_time(19_689).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(4)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Staking Ledger (r:1 w:1) // Storage: Staking CurrentEra (r:1 w:0) @@ -107,12 +109,16 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) // Storage: Balances Locks (r:1 w:1) // Storage: Staking Payee (r:0 w:1) + // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. - fn withdraw_unbonded_kill(_s: u32, ) -> Weight { - // Minimum execution time: 77_930 nanoseconds. - Weight::from_ref_time(79_791_309 as u64) - .saturating_add(T::DbWeight::get().reads(13 as u64)) - .saturating_add(T::DbWeight::get().writes(11 as u64)) + fn withdraw_unbonded_kill(s: u32, ) -> Weight { + // Minimum execution time: 79_648 nanoseconds. + Weight::from_ref_time(83_017_096) + // Standard Error: 2_010 + .saturating_add(Weight::from_ref_time(922_930).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(13)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinValidatorBond (r:1 w:0) @@ -126,22 +132,22 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList CounterForListNodes (r:1 w:1) // Storage: Staking CounterForValidators (r:1 w:1) fn validate() -> Weight { - // Minimum execution time: 61_039 nanoseconds. - Weight::from_ref_time(61_864_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(5 as u64)) + // Minimum execution time: 60_320 nanoseconds. + Weight::from_ref_time(61_086_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(5)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) /// The range of component `k` is `[1, 128]`. fn kick(k: u32, ) -> Weight { - // Minimum execution time: 33_744 nanoseconds. - Weight::from_ref_time(31_656_370 as u64) - // Standard Error: 7_390 - .saturating_add(Weight::from_ref_time(6_320_562 as u64).saturating_mul(k as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(k as u64))) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64))) + // Minimum execution time: 33_877 nanoseconds. + Weight::from_ref_time(30_158_812) + // Standard Error: 9_093 + .saturating_add(Weight::from_ref_time(6_467_073).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking MinNominatorBond (r:1 w:0) @@ -156,13 +162,13 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking CounterForNominators (r:1 w:1) /// The range of component `n` is `[1, 16]`. fn nominate(n: u32, ) -> Weight { - // Minimum execution time: 64_103 nanoseconds. - Weight::from_ref_time(63_617_315 as u64) - // Standard Error: 5_476 - .saturating_add(Weight::from_ref_time(2_416_112 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 64_372 nanoseconds. + Weight::from_ref_time(64_284_684) + // Standard Error: 8_143 + .saturating_add(Weight::from_ref_time(2_395_175).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Validators (r:1 w:0) @@ -172,59 +178,59 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill() -> Weight { - // Minimum execution time: 59_072 nanoseconds. - Weight::from_ref_time(59_664_000 as u64) - .saturating_add(T::DbWeight::get().reads(8 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 58_793 nanoseconds. + Weight::from_ref_time(59_523_000) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Payee (r:0 w:1) fn set_payee() -> Weight { - // Minimum execution time: 16_287 nanoseconds. - Weight::from_ref_time(16_474_000 as u64) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 16_281 nanoseconds. + Weight::from_ref_time(16_747_000) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking Ledger (r:2 w:2) fn set_controller() -> Weight { - // Minimum execution time: 23_295 nanoseconds. - Weight::from_ref_time(23_742_000 as u64) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().writes(3 as u64)) + // Minimum execution time: 23_145 nanoseconds. + Weight::from_ref_time(23_556_000) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().writes(3)) } // Storage: Staking ValidatorCount (r:0 w:1) fn set_validator_count() -> Weight { - // Minimum execution time: 4_606 nanoseconds. - Weight::from_ref_time(4_753_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_658 nanoseconds. + Weight::from_ref_time(4_781_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_no_eras() -> Weight { - // Minimum execution time: 4_714 nanoseconds. - Weight::from_ref_time(4_870_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_881 nanoseconds. + Weight::from_ref_time(5_148_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era() -> Weight { - // Minimum execution time: 4_811 nanoseconds. - Weight::from_ref_time(4_915_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_713 nanoseconds. + Weight::from_ref_time(4_874_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking ForceEra (r:0 w:1) fn force_new_era_always() -> Weight { - // Minimum execution time: 4_815 nanoseconds. - Weight::from_ref_time(4_888_000 as u64) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 4_864 nanoseconds. + Weight::from_ref_time(5_081_000) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Invulnerables (r:0 w:1) /// The range of component `v` is `[0, 1000]`. fn set_invulnerables(v: u32, ) -> Weight { - // Minimum execution time: 4_957 nanoseconds. - Weight::from_ref_time(5_458_970 as u64) - // Standard Error: 37 - .saturating_add(Weight::from_ref_time(11_689 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 5_060 nanoseconds. + Weight::from_ref_time(5_422_382) + // Standard Error: 29 + .saturating_add(Weight::from_ref_time(11_331).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking Bonded (r:1 w:1) // Storage: Staking SlashingSpans (r:1 w:0) @@ -241,23 +247,23 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:2) /// The range of component `s` is `[0, 100]`. fn force_unstake(s: u32, ) -> Weight { - // Minimum execution time: 72_209 nanoseconds. - Weight::from_ref_time(77_298_663 as u64) - // Standard Error: 3_183 - .saturating_add(Weight::from_ref_time(888_800 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 71_417 nanoseconds. + Weight::from_ref_time(76_800_091) + // Standard Error: 2_434 + .saturating_add(Weight::from_ref_time(923_979).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: Staking UnappliedSlashes (r:1 w:1) /// The range of component `s` is `[1, 1000]`. fn cancel_deferred_slash(s: u32, ) -> Weight { - // Minimum execution time: 118_262 nanoseconds. - Weight::from_ref_time(930_422_429 as u64) - // Standard Error: 58_358 - .saturating_add(Weight::from_ref_time(4_891_639 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(1 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 113_334 nanoseconds. + Weight::from_ref_time(924_450_107) + // Standard Error: 58_953 + .saturating_add(Weight::from_ref_time(4_923_031).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(1)) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) @@ -270,14 +276,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: System Account (r:1 w:1) /// The range of component `n` is `[0, 64]`. fn payout_stakers_dead_controller(n: u32, ) -> Weight { - // Minimum execution time: 79_513 nanoseconds. - Weight::from_ref_time(93_058_704 as u64) - // Standard Error: 20_402 - .saturating_add(Weight::from_ref_time(19_965_835 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().reads((3 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(2 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(n as u64))) + // Minimum execution time: 77_615 nanoseconds. + Weight::from_ref_time(91_849_000) + // Standard Error: 29_974 + .saturating_add(Weight::from_ref_time(20_052_379).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) } // Storage: Staking CurrentEra (r:1 w:0) // Storage: Staking ErasValidatorReward (r:1 w:0) @@ -291,14 +297,14 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Balances Locks (r:1 w:1) /// The range of component `n` is `[0, 64]`. fn payout_stakers_alive_staked(n: u32, ) -> Weight { - // Minimum execution time: 91_791 nanoseconds. - Weight::from_ref_time(119_133_841 as u64) - // Standard Error: 31_093 - .saturating_add(Weight::from_ref_time(26_717_359 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(10 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(3 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(n as u64))) + // Minimum execution time: 90_513 nanoseconds. + Weight::from_ref_time(115_255_437) + // Standard Error: 29_960 + .saturating_add(Weight::from_ref_time(27_135_740).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(10)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(3)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into()))) } // Storage: Staking Ledger (r:1 w:1) // Storage: Balances Locks (r:1 w:1) @@ -308,12 +314,12 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:2 w:2) /// The range of component `l` is `[1, 32]`. fn rebond(l: u32, ) -> Weight { - // Minimum execution time: 82_457 nanoseconds. - Weight::from_ref_time(83_869_512 as u64) - // Standard Error: 4_174 - .saturating_add(Weight::from_ref_time(46_937 as u64).saturating_mul(l as u64)) - .saturating_add(T::DbWeight::get().reads(9 as u64)) - .saturating_add(T::DbWeight::get().writes(8 as u64)) + // Minimum execution time: 82_630 nanoseconds. + Weight::from_ref_time(83_204_882) + // Standard Error: 22_390 + .saturating_add(Weight::from_ref_time(122_845).saturating_mul(l.into())) + .saturating_add(T::DbWeight::get().reads(9)) + .saturating_add(T::DbWeight::get().writes(8)) } // Storage: System Account (r:1 w:1) // Storage: Staking Bonded (r:1 w:1) @@ -330,16 +336,15 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking SpanSlash (r:0 w:1) /// The range of component `s` is `[1, 100]`. fn reap_stash(s: u32, ) -> Weight { - // Minimum execution time: 82_568 nanoseconds. - Weight::from_ref_time(83_999_520 as u64) - // Standard Error: 2_098 - .saturating_add(Weight::from_ref_time(884_734 as u64).saturating_mul(s as u64)) - .saturating_add(T::DbWeight::get().reads(12 as u64)) - .saturating_add(T::DbWeight::get().writes(12 as u64)) - .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(s as u64))) + // Minimum execution time: 82_488 nanoseconds. + Weight::from_ref_time(84_514_448) + // Standard Error: 2_464 + .saturating_add(Weight::from_ref_time(922_810).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(12)) + .saturating_add(T::DbWeight::get().writes(12)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into()))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: Staking SlashingSpans (r:1 w:0) // Storage: VoterList ListBags (r:178 w:0) // Storage: VoterList ListNodes (r:101 w:0) // Storage: Staking Nominators (r:101 w:0) @@ -356,53 +361,57 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking ErasStakers (r:0 w:1) // Storage: Staking ErasTotalStake (r:0 w:1) // Storage: Staking ErasStartSessionIndex (r:0 w:1) + // Storage: Staking MinimumActiveStake (r:0 w:1) /// The range of component `v` is `[1, 10]`. /// The range of component `n` is `[0, 100]`. fn new_era(v: u32, n: u32, ) -> Weight { - // Minimum execution time: 433_425 nanoseconds. - Weight::from_ref_time(435_379_000 as u64) - // Standard Error: 1_833_800 - .saturating_add(Weight::from_ref_time(60_252_147 as u64).saturating_mul(v as u64)) - // Standard Error: 182_728 - .saturating_add(Weight::from_ref_time(13_188_805 as u64).saturating_mul(n as u64)) - .saturating_add(T::DbWeight::get().reads(186 as u64)) - .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64))) - .saturating_add(T::DbWeight::get().writes(4 as u64)) - .saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64))) + // Minimum execution time: 441_729 nanoseconds. + Weight::from_ref_time(443_065_000) + // Standard Error: 1_706_307 + .saturating_add(Weight::from_ref_time(56_054_739).saturating_mul(v.into())) + // Standard Error: 170_024 + .saturating_add(Weight::from_ref_time(12_968_442).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(185)) + .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(5)) + .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into()))) } // Storage: VoterList CounterForListNodes (r:1 w:0) - // Storage: VoterList ListBags (r:200 w:0) + // Storage: VoterList ListBags (r:178 w:0) // Storage: VoterList ListNodes (r:1500 w:0) // Storage: Staking Nominators (r:1500 w:0) // Storage: Staking Validators (r:500 w:0) // Storage: Staking Bonded (r:1500 w:0) // Storage: Staking Ledger (r:1500 w:0) + // Storage: System BlockWeight (r:1 w:1) + // Storage: Staking MinimumActiveStake (r:0 w:1) /// The range of component `v` is `[500, 1000]`. /// The range of component `n` is `[500, 1000]`. fn get_npos_voters(v: u32, n: u32, ) -> Weight { - // Minimum execution time: 24_634_585 nanoseconds. - Weight::from_ref_time(24_718_377_000) - // Standard Error: 324_839 - .saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into())) - // Standard Error: 324_839 - .saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(201)) + // Minimum execution time: 25_152_628 nanoseconds. + Weight::from_ref_time(25_317_200_000) + // Standard Error: 594_512 + .saturating_add(Weight::from_ref_time(6_190_157).saturating_mul(v.into())) + // Standard Error: 594_512 + .saturating_add(Weight::from_ref_time(3_302_412).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(180)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into()))) .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(2)) } // Storage: Staking CounterForValidators (r:1 w:0) // Storage: Staking Validators (r:501 w:0) // Storage: System BlockWeight (r:1 w:1) /// The range of component `v` is `[500, 1000]`. fn get_npos_targets(v: u32, ) -> Weight { - // Minimum execution time: 3_513_761 nanoseconds. - Weight::from_ref_time(168_738_313 as u64) - // Standard Error: 55_974 - .saturating_add(Weight::from_ref_time(7_130_301 as u64).saturating_mul(v as u64)) - .saturating_add(T::DbWeight::get().reads(3 as u64)) - .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(v as u64))) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 3_621_768 nanoseconds. + Weight::from_ref_time(3_647_367_000) + // Standard Error: 42_035 + .saturating_add(Weight::from_ref_time(2_772_156).saturating_mul(v.into())) + .saturating_add(T::DbWeight::get().reads(3)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into()))) + .saturating_add(T::DbWeight::get().writes(1)) } // Storage: Staking MinCommission (r:0 w:1) // Storage: Staking MinValidatorBond (r:0 w:1) @@ -411,9 +420,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_set() -> Weight { - // Minimum execution time: 8_232 nanoseconds. - Weight::from_ref_time(8_510_000 as u64) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 8_259 nanoseconds. + Weight::from_ref_time(8_629_000) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking MinCommission (r:0 w:1) // Storage: Staking MinValidatorBond (r:0 w:1) @@ -422,9 +431,9 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: Staking MaxNominatorsCount (r:0 w:1) // Storage: Staking MinNominatorBond (r:0 w:1) fn set_staking_configs_all_remove() -> Weight { - // Minimum execution time: 7_257 nanoseconds. - Weight::from_ref_time(7_425_000 as u64) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 7_335 nanoseconds. + Weight::from_ref_time(7_594_000) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking Ledger (r:1 w:0) // Storage: Staking Nominators (r:1 w:1) @@ -437,17 +446,23 @@ impl pallet_staking::WeightInfo for WeightInfo { // Storage: VoterList ListBags (r:1 w:1) // Storage: VoterList CounterForListNodes (r:1 w:1) fn chill_other() -> Weight { - // Minimum execution time: 69_220 nanoseconds. - Weight::from_ref_time(70_070_000 as u64) - .saturating_add(T::DbWeight::get().reads(11 as u64)) - .saturating_add(T::DbWeight::get().writes(6 as u64)) + // Minimum execution time: 69_559 nanoseconds. + Weight::from_ref_time(70_363_000) + .saturating_add(T::DbWeight::get().reads(11)) + .saturating_add(T::DbWeight::get().writes(6)) } // Storage: Staking MinCommission (r:1 w:0) // Storage: Staking Validators (r:1 w:1) fn force_apply_min_commission() -> Weight { - // Minimum execution time: 16_197 nanoseconds. - Weight::from_ref_time(16_518_000 as u64) - .saturating_add(T::DbWeight::get().reads(2 as u64)) - .saturating_add(T::DbWeight::get().writes(1 as u64)) + // Minimum execution time: 15_447 nanoseconds. + Weight::from_ref_time(15_760_000) + .saturating_add(T::DbWeight::get().reads(2)) + .saturating_add(T::DbWeight::get().writes(1)) + } + // Storage: Staking MinCommission (r:0 w:1) + fn set_min_commission() -> Weight { + // Minimum execution time: 4_793 nanoseconds. + Weight::from_ref_time(4_929_000) + .saturating_add(T::DbWeight::get().writes(1)) } } From 6f74775a7b61b4017f7c73e94d105396780eb066 Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Mon, 26 Dec 2022 11:50:18 -0800 Subject: [PATCH 200/211] Added comment describing satisfied invariant (#6460) --- .../provisioner/src/disputes/prioritized_selection/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs index 8ac582bb1cc4..7d8e52ccf19b 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs @@ -218,7 +218,9 @@ where for (session_index, candidate_hash, selected_votes) in votes { let votes_len = selected_votes.valid.raw().len() + selected_votes.invalid.len(); if votes_len + total_votes_len > MAX_DISPUTE_VOTES_FORWARDED_TO_RUNTIME { - // we are done - no more votes can be added + // we are done - no more votes can be added. Importantly, we don't add any votes for a dispute here + // if we can't fit them all. This gives us an important invariant, that backing votes for + // disputes make it into the provisioned vote set. return result } result.insert((session_index, candidate_hash), selected_votes); From b96154252e1a83e1c5b963a6b2662a6d80a1228a Mon Sep 17 00:00:00 2001 From: Dmitry Markin Date: Tue, 27 Dec 2022 13:44:50 +0300 Subject: [PATCH 201/211] Runtime diagnostics for leaked messages in unbounded channels (part 2) (#6481) * Bump `backtrace` to v0.3.67 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <> --- Cargo.lock | 424 ++++++++++++++++++++++++++++------------------------- 1 file changed, 225 insertions(+), 199 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ad6c38efbdf2..b27ac8837cbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,7 +18,16 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" dependencies = [ - "gimli", + "gimli 0.26.1", +] + +[[package]] +name = "addr2line" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" +dependencies = [ + "gimli 0.27.0", ] [[package]] @@ -355,16 +364,16 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.64" +version = "0.3.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e121dee8023ce33ab248d9ce1493df03c3b38a659b240096fcbd7048ff9c31f" +checksum = "233d376d6d185f2a3093e58f283f60f880315b6c60075b01f36b3b85154564ca" dependencies = [ - "addr2line", + "addr2line 0.19.0", "cc", "cfg-if", "libc", - "miniz_oxide", - "object 0.27.1", + "miniz_oxide 0.6.2", + "object 0.30.0", "rustc-demangle", ] @@ -410,7 +419,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "async-trait", @@ -444,7 +453,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "beefy-gadget", "futures", @@ -463,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "sp-api", "sp-beefy", @@ -1031,7 +1040,7 @@ dependencies = [ "cranelift-codegen-shared", "cranelift-entity", "cranelift-isle", - "gimli", + "gimli 0.26.1", "log", "regalloc2", "smallvec", @@ -1950,7 +1959,7 @@ dependencies = [ "crc32fast", "libc", "libz-sys", - "miniz_oxide", + "miniz_oxide 0.4.4", ] [[package]] @@ -1986,7 +1995,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", ] @@ -2010,7 +2019,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -2033,7 +2042,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "Inflector", "array-bytes", @@ -2080,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2091,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2108,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -2137,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "log", @@ -2153,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "bitflags", "frame-metadata", @@ -2185,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "Inflector", "cfg-expr", @@ -2199,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2211,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro2", "quote", @@ -2221,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2244,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -2255,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "log", @@ -2273,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -2288,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "sp-api", @@ -2297,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "parity-scale-codec", @@ -2468,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "chrono", "frame-election-provider-support", @@ -2551,6 +2560,12 @@ dependencies = [ "stable_deref_trait", ] +[[package]] +name = "gimli" +version = "0.27.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dec7af912d60cdbd3677c1af9352ebae6fb8394d165568a2234df0fa00f87793" + [[package]] name = "git2" version = "0.14.2" @@ -4042,6 +4057,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "miniz_oxide" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b275950c28b37e794e8c55d88aeb5e139d0ce23fdbbeda68f8d7174abdf9e8fa" +dependencies = [ + "adler", +] + [[package]] name = "mio" version = "0.8.5" @@ -4057,7 +4081,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "log", @@ -4076,7 +4100,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "anyhow", "jsonrpsee", @@ -4446,22 +4470,22 @@ dependencies = [ [[package]] name = "object" -version = "0.27.1" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67ac1d3f9a1d3616fd9a60c8d74296f22406a238b6a72f5cc1e6f314df4ffbf9" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ + "crc32fast", + "hashbrown", + "indexmap", "memchr", ] [[package]] name = "object" -version = "0.29.0" +version = "0.30.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +checksum = "239da7f290cfa979f43f85a8efeee9a8a76d0827c356d37f9d3d7254d6b537fb" dependencies = [ - "crc32fast", - "hashbrown", - "indexmap", "memchr", ] @@ -4581,7 +4605,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4596,7 +4620,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -4612,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -4627,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4651,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4671,7 +4695,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4690,7 +4714,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4705,7 +4729,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -4721,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4744,7 +4768,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4762,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4781,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4798,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4815,7 +4839,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4833,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4856,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4869,7 +4893,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4887,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4905,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4928,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4944,7 +4968,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4964,7 +4988,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4981,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -4998,7 +5022,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5015,7 +5039,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5031,7 +5055,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5047,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -5064,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5084,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "sp-api", @@ -5094,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -5111,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5134,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5151,7 +5175,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5166,7 +5190,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5184,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5199,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5218,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5235,7 +5259,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -5256,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5272,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -5286,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5309,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5320,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "log", "sp-arithmetic", @@ -5329,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5346,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -5360,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5378,7 +5402,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5397,7 +5421,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-support", "frame-system", @@ -5413,7 +5437,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5429,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5441,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5458,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5474,7 +5498,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -5489,7 +5513,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-benchmarking", "frame-support", @@ -8251,7 +8275,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "log", "sp-core", @@ -8262,7 +8286,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures", @@ -8289,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "futures-timer", @@ -8312,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8328,7 +8352,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8343,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8354,7 +8378,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "chrono", @@ -8394,7 +8418,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "fnv", "futures", @@ -8420,7 +8444,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "hash-db", "kvdb", @@ -8445,7 +8469,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures", @@ -8470,7 +8494,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "fork-tree", @@ -8508,7 +8532,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "jsonrpsee", @@ -8530,7 +8554,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8543,7 +8567,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures", @@ -8566,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "lru", "parity-scale-codec", @@ -8590,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8603,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "log", "sc-allocator", @@ -8616,7 +8640,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "cfg-if", "libc", @@ -8633,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "ahash", "array-bytes", @@ -8673,7 +8697,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "finality-grandpa", "futures", @@ -8693,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "ansi_term", "futures", @@ -8708,7 +8732,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "async-trait", @@ -8723,11 +8747,12 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "async-trait", "asynchronous-codec", + "backtrace", "bytes", "either", "fnv", @@ -8764,7 +8789,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "cid", "futures", @@ -8783,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "bitflags", @@ -8809,7 +8834,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "ahash", "futures", @@ -8827,7 +8852,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "futures", @@ -8848,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "async-trait", @@ -8880,7 +8905,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "futures", @@ -8899,7 +8924,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "bytes", @@ -8929,7 +8954,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "libp2p", @@ -8942,7 +8967,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8951,7 +8976,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "jsonrpsee", @@ -8980,7 +9005,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -8999,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "http", "jsonrpsee", @@ -9014,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "futures", @@ -9040,7 +9065,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "directories", @@ -9105,7 +9130,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "log", "parity-scale-codec", @@ -9116,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9135,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "libc", @@ -9154,7 +9179,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "chrono", "futures", @@ -9173,7 +9198,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "ansi_term", "atty", @@ -9204,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9215,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures", @@ -9241,7 +9266,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures", @@ -9255,8 +9280,9 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ + "backtrace", "futures", "futures-timer", "lazy_static", @@ -9728,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "hash-db", "log", @@ -9746,7 +9772,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "blake2", "proc-macro-crate", @@ -9758,7 +9784,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9771,7 +9797,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "integer-sqrt", "num-traits", @@ -9785,7 +9811,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9798,7 +9824,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "parity-scale-codec", @@ -9810,7 +9836,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9827,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "sp-api", @@ -9839,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "log", @@ -9857,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures", @@ -9875,7 +9901,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "merlin", @@ -9898,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9910,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -9923,7 +9949,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "base58", @@ -9965,7 +9991,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "blake2", "byteorder", @@ -9979,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro2", "quote", @@ -9990,7 +10016,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -9999,7 +10025,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro2", "quote", @@ -10009,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "environmental", "parity-scale-codec", @@ -10020,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "finality-grandpa", "log", @@ -10038,7 +10064,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10052,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "bytes", "ed25519", @@ -10077,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "lazy_static", "sp-core", @@ -10088,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures", @@ -10105,7 +10131,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "thiserror", "zstd", @@ -10114,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10132,7 +10158,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10146,7 +10172,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "sp-api", "sp-core", @@ -10156,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "backtrace", "lazy_static", @@ -10166,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "rustc-hash", "serde", @@ -10176,7 +10202,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "either", "hash256-std-hasher", @@ -10198,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10216,7 +10242,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "Inflector", "proc-macro-crate", @@ -10228,7 +10254,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10242,7 +10268,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10254,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "hash-db", "log", @@ -10274,12 +10300,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10292,7 +10318,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "futures-timer", @@ -10307,7 +10333,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "sp-std", @@ -10319,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "sp-api", "sp-runtime", @@ -10328,7 +10354,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "log", @@ -10344,7 +10370,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "ahash", "hash-db", @@ -10367,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10384,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10395,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "impl-trait-for-tuples", "log", @@ -10408,7 +10434,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "parity-scale-codec", "scale-info", @@ -10622,7 +10648,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "platforms", ] @@ -10630,7 +10656,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10649,7 +10675,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "hyper", "log", @@ -10661,7 +10687,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "async-trait", "jsonrpsee", @@ -10674,7 +10700,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "jsonrpsee", "log", @@ -10693,7 +10719,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "array-bytes", "async-trait", @@ -10719,7 +10745,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10729,7 +10755,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10740,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "ansi_term", "build-helper", @@ -11488,7 +11514,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c16472e7e4a588d8e202c1ab3e865cf6e7b201c5" +source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" dependencies = [ "clap", "frame-remote-externalities", @@ -12013,7 +12039,7 @@ dependencies = [ "cranelift-frontend", "cranelift-native", "cranelift-wasm", - "gimli", + "gimli 0.26.1", "log", "object 0.29.0", "target-lexicon", @@ -12030,7 +12056,7 @@ checksum = "5c587c62e91c5499df62012b87b88890d0eb470b2ffecc5964e9da967b70c77c" dependencies = [ "anyhow", "cranelift-entity", - "gimli", + "gimli 0.26.1", "indexmap", "log", "object 0.29.0", @@ -12047,12 +12073,12 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "047839b5dabeae5424a078c19b8cc897e5943a7fadc69e3d888b9c9a897666b3" dependencies = [ - "addr2line", + "addr2line 0.17.0", "anyhow", "bincode", "cfg-if", "cpp_demangle", - "gimli", + "gimli 0.26.1", "log", "object 0.29.0", "rustc-demangle", From 5fe334dd7a5f91cb400e9fa76b7502f8e93fbee3 Mon Sep 17 00:00:00 2001 From: eskimor Date: Tue, 27 Dec 2022 12:27:55 +0100 Subject: [PATCH 202/211] Update disputes subsytems section. (#6329) * Update disputes subsytems section. * Update roadmap/implementers-guide/src/node/disputes/README.md Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Update roadmap/implementers-guide/src/node/disputes/README.md Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> * Update roadmap/implementers-guide/src/node/disputes/README.md Co-authored-by: ordian * Update roadmap/implementers-guide/src/node/disputes/README.md Co-authored-by: ordian * Review feedback. Co-authored-by: eskimor Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com> Co-authored-by: ordian --- .../src/node/disputes/README.md | 54 ++++++------------- 1 file changed, 16 insertions(+), 38 deletions(-) diff --git a/roadmap/implementers-guide/src/node/disputes/README.md b/roadmap/implementers-guide/src/node/disputes/README.md index 2db891aa216f..a6e126b1534b 100644 --- a/roadmap/implementers-guide/src/node/disputes/README.md +++ b/roadmap/implementers-guide/src/node/disputes/README.md @@ -1,40 +1,18 @@ # Disputes Subsystems -This section is for the node-side subsystems that lead to participation in disputes. There are five major roles that validator nodes must participate in when it comes to disputes - * Detection. Detect bad parablocks, either during candidate backing or approval checking, and initiate a dispute. - * Participation. Participate in active disputes. When a node becomes aware of a dispute, it should recover the data for the disputed block, check the validity of the parablock, and issue a statement regarding the validity of the parablock. - * Distribution. Validators should notify each other of active disputes and relevant statements over the network. - * Submission. When authoring a block, a validator should inspect the state of the parent block and provide any information about disputes that the chain needs as part of the `ParaInherent`. This should initialize new disputes on-chain as necessary. - * Fork-choice and Finality. When observing a block issuing a `DisputeRollback` digest in the header, that branch of the relay chain should be abandoned all the way back to the indicated block. When voting on chains in GRANDPA, no chains that contain blocks with active disputes or disputes that concluded invalid should be voted on. - -## Components - -### Dispute Coordinator - -This component is responsible for coordinating other subsystems around disputes. - -This component should track all statements received from all validators over some window of sessions. This includes backing statements, approval votes, and statements made specifically for disputes. This will be used to identify disagreements or instances where validators conflict with themselves. - -This is responsible for tracking and initiating disputes. Disputes will be initiated either externally by another subsystem which has identified an issue with a parablock or internally upon observing two statements which conflict with each other on the validity of a parablock. - -No more than one statement by each validator on each side of the dispute needs to be stored. That is, validators are allowed to participate on both sides of the dispute, although we won't write code to do so. Such behavior has negative extractable value in the runtime. - -This will notify the dispute participation subsystem of a new dispute if the local validator has not issued any statements on the disputed candidate already. - -Locally authored statements related to disputes will be forwarded to the dispute distribution subsystem. - -This subsystem also provides two further behaviors for the interactions between disputes and fork-choice - - Enhancing the finality voting rule. Given description of a chain and candidates included at different heights in that chain, it returns the `BlockHash` corresponding to the highest `BlockNumber` that there are no disputes before. I expect that we will slightly change `ApprovalVoting::ApprovedAncestor` to return this set and then the target block to vote on will be further constrained by this function. - - Chain roll-backs. Whenever importing new blocks, the header should be scanned for a roll-back digest. If there is one, the chain should be rolled back according to the digest. I expect this would be implemented with a `ChainApi` function and possibly an `ApprovalVoting` function to clean up the approval voting DB. - -### Dispute Participation - -This subsystem ties together the dispute tracker, availability recovery, candidate validation, and dispute distribution subsystems. When notified of a new dispute by the Dispute Tracker, the data should be recovered, the validation code loaded from the relay chain, and the candidate is executed. - -A statement depending on the outcome of the execution is produced, signed, and imported to the dispute tracker. - -### Dispute Distribution - -This is a networking component by which validators notify each other of live disputes and statements on those disputes. - -Validators will in the future distribute votes to each other via the network, but at the moment learn of disputes just from watching the chain. +If approval voting finds an invalid candidate, a dispute is raised. The disputes +subsystems are concerned with the following: + +1. Disputes can be raised +2. Disputes (votes) get propagated to all other validators +3. Votes get recorded as necessary +3. Nodes will participate in disputes in a sensible fashion +4. Finality is stopped while a candidate is being disputed on chain +5. Chains can be reverted in case a dispute concludes invalid +6. Votes are provided to the provisioner for importing on chain, in order for + slashing to work. + +The dispute-coordinator subsystem interfaces with the provisioner and chain +selection to make the bulk of this possible. `dispute-distribution` is concerned +with getting votes out to other validators and receiving them in a spam +resilient way. From db498ce17ce04cc7b639647412e3231068fc736f Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Fri, 30 Dec 2022 03:55:20 -0800 Subject: [PATCH 203/211] Update dispute participation on active leaves update (#6303) * Passed candidate events from scraper to participation * First draft PR 5875 * Added support for timestamp in changes * Some necessary refactoring * Removed SessionIndex from unconfirmed_disputes key * Removed duplicate logic in import statements * Replaced queue_participation call with re-prio * Simplifying refactor. Backed were already handled * Removed unneeded spam slots logic * Implementers guide edits * Undid the spam slots refactor * Added comments and implementers guide edit * Added test for participation upon backing * Round of fixes + ran fmt * Round of changes + fmt * Error handling draft * Changed errors to bubble up from reprioritization * Starting to construct new test * Clarifying participation function rename * Reprio test draft * Very rough bump to priority queue test draft * Improving logging * Most concise reproduction of error on third import * Add `handle_approval_vote_request` * Removing reprioritization on included event test * Removing unneeded test config * cargo fmt * Test works * Fixing final nits * Tweaks to test Tsveto figured out Co-authored-by: eskimor Co-authored-by: Tsvetomir Dimitrov --- .../dispute-coordinator/src/initialized.rs | 35 +- .../src/participation/mod.rs | 16 + .../src/participation/queues/mod.rs | 25 ++ .../dispute-coordinator/src/scraping/mod.rs | 52 ++- node/core/dispute-coordinator/src/tests.rs | 320 +++++++++++++++++- .../src/node/disputes/dispute-coordinator.md | 23 +- 6 files changed, 435 insertions(+), 36 deletions(-) diff --git a/node/core/dispute-coordinator/src/initialized.rs b/node/core/dispute-coordinator/src/initialized.rs index 245af523685f..9f4415ba36a6 100644 --- a/node/core/dispute-coordinator/src/initialized.rs +++ b/node/core/dispute-coordinator/src/initialized.rs @@ -269,8 +269,13 @@ impl Initialized { update: ActiveLeavesUpdate, now: u64, ) -> Result<()> { - let on_chain_votes = + let scraped_updates = self.scraper.process_active_leaves_update(ctx.sender(), &update).await?; + log_error( + self.participation + .bump_to_priority_for_candidates(ctx, &scraped_updates.included_receipts) + .await, + )?; self.participation.process_active_leaves_update(ctx, &update).await?; if let Some(new_leaf) = update.activated { @@ -308,7 +313,7 @@ impl Initialized { // The `runtime-api` subsystem has an internal queue which serializes the execution, // so there is no point in running these in parallel. - for votes in on_chain_votes { + for votes in scraped_updates.on_chain_votes { let _ = self.process_on_chain_votes(ctx, overlay_db, votes, now).await.map_err( |error| { gum::warn!( @@ -416,6 +421,8 @@ impl Initialized { }) .collect(); + // Importantly, handling import statements for backing votes also + // clears spam slots for any newly backed candidates let import_result = self .handle_import_statements( ctx, @@ -837,8 +844,15 @@ impl Initialized { let new_state = import_result.new_state(); let is_included = self.scraper.is_candidate_included(&candidate_hash); - - let potential_spam = !is_included && !new_state.is_confirmed() && !new_state.has_own_vote(); + let is_backed = self.scraper.is_candidate_backed(&candidate_hash); + let has_own_vote = new_state.has_own_vote(); + let is_disputed = new_state.is_disputed(); + let has_controlled_indices = !env.controlled_indices().is_empty(); + let is_confirmed = new_state.is_confirmed(); + let potential_spam = + !is_included && !is_backed && !new_state.is_confirmed() && !new_state.has_own_vote(); + // We participate only in disputes which are included, backed or confirmed + let allow_participation = is_included || is_backed || is_confirmed; gum::trace!( target: LOG_TARGET, @@ -851,8 +865,11 @@ impl Initialized { "Is spam?" ); + // This check is responsible for all clearing of spam slots. It runs + // whenever a vote is imported from on or off chain, and decrements + // slots whenever a candidate is newly backed, confirmed, or has our + // own vote. if !potential_spam { - // Former spammers have not been spammers after all: self.spam_slots.clear(&(session, candidate_hash)); // Potential spam: @@ -880,14 +897,6 @@ impl Initialized { } } - let has_own_vote = new_state.has_own_vote(); - let is_disputed = new_state.is_disputed(); - let has_controlled_indices = !env.controlled_indices().is_empty(); - let is_backed = self.scraper.is_candidate_backed(&candidate_hash); - let is_confirmed = new_state.is_confirmed(); - // We participate only in disputes which are included, backed or confirmed - let allow_participation = is_included || is_backed || is_confirmed; - // Participate in dispute if we did not cast a vote before and actually have keys to cast a // local vote. Disputes should fall in one of the categories below, otherwise we will refrain // from participation: diff --git a/node/core/dispute-coordinator/src/participation/mod.rs b/node/core/dispute-coordinator/src/participation/mod.rs index e923e13e8142..7167bc7e26e8 100644 --- a/node/core/dispute-coordinator/src/participation/mod.rs +++ b/node/core/dispute-coordinator/src/participation/mod.rs @@ -51,7 +51,10 @@ pub use queues::{ParticipationPriority, ParticipationRequest, QueueError}; /// This should be a relatively low value, while we might have a speedup once we fetched the data, /// due to multi-core architectures, but the fetching itself can not be improved by parallel /// requests. This means that higher numbers make it harder for a single dispute to resolve fast. +#[cfg(not(test))] const MAX_PARALLEL_PARTICIPATIONS: usize = 3; +#[cfg(test)] +pub(crate) const MAX_PARALLEL_PARTICIPATIONS: usize = 1; /// Keep track of disputes we need to participate in. /// @@ -212,6 +215,19 @@ impl Participation { Ok(()) } + /// Moving any request concerning the given candidates from best-effort to + /// priority, ignoring any candidates that don't have any queued participation requests. + pub async fn bump_to_priority_for_candidates( + &mut self, + ctx: &mut Context, + included_receipts: &Vec, + ) -> Result<()> { + for receipt in included_receipts { + self.queue.prioritize_if_present(ctx.sender(), receipt).await?; + } + Ok(()) + } + /// Dequeue until `MAX_PARALLEL_PARTICIPATIONS` is reached. async fn dequeue_until_capacity( &mut self, diff --git a/node/core/dispute-coordinator/src/participation/queues/mod.rs b/node/core/dispute-coordinator/src/participation/queues/mod.rs index 29380bd77df1..3452470efcb5 100644 --- a/node/core/dispute-coordinator/src/participation/queues/mod.rs +++ b/node/core/dispute-coordinator/src/participation/queues/mod.rs @@ -159,6 +159,31 @@ impl Queues { self.pop_best_effort().map(|d| d.1) } + /// Reprioritizes any participation requests pertaining to the + /// passed candidates from best effort to priority. + pub async fn prioritize_if_present( + &mut self, + sender: &mut impl overseer::DisputeCoordinatorSenderTrait, + receipt: &CandidateReceipt, + ) -> Result<()> { + let comparator = CandidateComparator::new(sender, receipt).await?; + self.prioritize_with_comparator(comparator)?; + Ok(()) + } + + fn prioritize_with_comparator( + &mut self, + comparator: CandidateComparator, + ) -> std::result::Result<(), QueueError> { + if self.priority.len() >= PRIORITY_QUEUE_SIZE { + return Err(QueueError::PriorityFull) + } + if let Some(request) = self.best_effort.remove(&comparator) { + self.priority.insert(comparator, request); + } + Ok(()) + } + fn queue_with_comparator( &mut self, comparator: CandidateComparator, diff --git a/node/core/dispute-coordinator/src/scraping/mod.rs b/node/core/dispute-coordinator/src/scraping/mod.rs index 7f4f819756e3..29b217e46e4a 100644 --- a/node/core/dispute-coordinator/src/scraping/mod.rs +++ b/node/core/dispute-coordinator/src/scraping/mod.rs @@ -26,7 +26,7 @@ use polkadot_node_subsystem::{ }; use polkadot_node_subsystem_util::runtime::{get_candidate_events, get_on_chain_votes}; use polkadot_primitives::v2::{ - BlockNumber, CandidateEvent, CandidateHash, Hash, ScrapedOnChainVotes, + BlockNumber, CandidateEvent, CandidateHash, CandidateReceipt, Hash, ScrapedOnChainVotes, }; use crate::{ @@ -51,6 +51,24 @@ const LRU_OBSERVED_BLOCKS_CAPACITY: NonZeroUsize = match NonZeroUsize::new(20) { None => panic!("Observed blocks cache size must be non-zero"), }; +/// ScrapedUpdates +/// +/// Updates to on_chain_votes and included receipts for new active leaf and its unprocessed +/// ancestors. +/// +/// on_chain_votes: New votes as seen on chain +/// included_receipts: Newly included parachain block candidate receipts as seen on chain +pub struct ScrapedUpdates { + pub on_chain_votes: Vec, + pub included_receipts: Vec, +} + +impl ScrapedUpdates { + pub fn new() -> Self { + Self { on_chain_votes: Vec::new(), included_receipts: Vec::new() } + } +} + /// Chain scraper /// /// Scrapes unfinalized chain in order to collect information from blocks. @@ -104,8 +122,8 @@ impl ChainScraper { }; let update = ActiveLeavesUpdate { activated: Some(initial_head), deactivated: Default::default() }; - let votes = s.process_active_leaves_update(sender, &update).await?; - Ok((s, votes)) + let updates = s.process_active_leaves_update(sender, &update).await?; + Ok((s, updates.on_chain_votes)) } /// Check whether we have seen a candidate included on any chain. @@ -122,18 +140,19 @@ impl ChainScraper { /// /// and updates current heads, so we can query candidates for all non finalized blocks. /// - /// Returns: On chain vote for the leaf and any ancestors we might not yet have seen. + /// Returns: On chain votes and included candidate receipts for the leaf and any + /// ancestors we might not yet have seen. pub async fn process_active_leaves_update( &mut self, sender: &mut Sender, update: &ActiveLeavesUpdate, - ) -> Result> + ) -> Result where Sender: overseer::DisputeCoordinatorSenderTrait, { let activated = match update.activated.as_ref() { Some(activated) => activated, - None => return Ok(Vec::new()), + None => return Ok(ScrapedUpdates::new()), }; // Fetch ancestry up to last finalized block. @@ -147,20 +166,22 @@ impl ChainScraper { let block_hashes = std::iter::once(activated.hash).chain(ancestors); - let mut on_chain_votes = Vec::new(); + let mut scraped_updates = ScrapedUpdates::new(); for (block_number, block_hash) in block_numbers.zip(block_hashes) { gum::trace!(?block_number, ?block_hash, "In ancestor processing."); - self.process_candidate_events(sender, block_number, block_hash).await?; + let receipts_for_block = + self.process_candidate_events(sender, block_number, block_hash).await?; + scraped_updates.included_receipts.extend(receipts_for_block); if let Some(votes) = get_on_chain_votes(sender, block_hash).await? { - on_chain_votes.push(votes); + scraped_updates.on_chain_votes.push(votes); } } self.last_observed_blocks.put(activated.hash, ()); - Ok(on_chain_votes) + Ok(scraped_updates) } /// Prune finalized candidates. @@ -187,17 +208,21 @@ impl ChainScraper { /// Process candidate events of a block. /// /// Keep track of all included and backed candidates. + /// + /// Returns freshly included candidate receipts async fn process_candidate_events( &mut self, sender: &mut Sender, block_number: BlockNumber, block_hash: Hash, - ) -> Result<()> + ) -> Result> where Sender: overseer::DisputeCoordinatorSenderTrait, { + let events = get_candidate_events(sender, block_hash).await?; + let mut included_receipts: Vec = Vec::new(); // Get included and backed events: - for ev in get_candidate_events(sender, block_hash).await? { + for ev in events { match ev { CandidateEvent::CandidateIncluded(receipt, _, _, _) => { let candidate_hash = receipt.hash(); @@ -208,6 +233,7 @@ impl ChainScraper { "Processing included event" ); self.included_candidates.insert(block_number, candidate_hash); + included_receipts.push(receipt); }, CandidateEvent::CandidateBacked(receipt, _, _, _) => { let candidate_hash = receipt.hash(); @@ -224,7 +250,7 @@ impl ChainScraper { }, } } - Ok(()) + Ok(included_receipts) } /// Returns ancestors of `head` in the descending order, stopping diff --git a/node/core/dispute-coordinator/src/tests.rs b/node/core/dispute-coordinator/src/tests.rs index 75d37790c3d7..023c95d5e23c 100644 --- a/node/core/dispute-coordinator/src/tests.rs +++ b/node/core/dispute-coordinator/src/tests.rs @@ -169,6 +169,7 @@ struct TestState { config: Config, clock: MockClock, headers: HashMap, + block_num_to_header: HashMap, last_block: Hash, // last session the subsystem knows about. known_session: Option, @@ -225,6 +226,8 @@ impl Default for TestState { let mut headers = HashMap::new(); let _ = headers.insert(last_block, genesis_header.clone()); + let mut block_num_to_header = HashMap::new(); + let _ = block_num_to_header.insert(genesis_header.number, last_block); TestState { validators: validators.into_iter().map(|(pair, _)| pair).collect(), @@ -236,6 +239,7 @@ impl Default for TestState { config, clock: MockClock::default(), headers, + block_num_to_header, last_block, known_session: None, } @@ -262,6 +266,7 @@ impl TestState { let block_hash = block_header.hash(); let _ = self.headers.insert(block_hash, block_header.clone()); + let _ = self.block_num_to_header.insert(block_header.number, block_hash); self.last_block = block_hash; gum::debug!(?block_number, "Activating block in activate_leaf_at_session."); @@ -390,6 +395,27 @@ impl TestState { ); finished_steps.got_scraping_information = true; tx.send(Ok(0)).unwrap(); + + // If the activated block number is > 1 the scraper will ask for block ancestors. Handle this case. + if block_number > 1 { + assert_matches!( + overseer_recv(virtual_overseer).await, + AllMessages::ChainApi(ChainApiMessage::Ancestors{ + hash, + k, + response_channel, + }) => { + assert_eq!(hash, block_hash); // A bit restrictive, remove if it causes problems. + let target_header = self.headers.get(&hash).expect("The function is called for this block so it should exist"); + let mut response = Vec::new(); + for i in target_header.number.saturating_sub(k as u32)..target_header.number { + response.push(self.block_num_to_header.get(&i).expect("headers and block_num_to_header should always be in sync").clone()); + } + let _ = response_channel.send(Ok(response)); + } + ); + } + assert_matches!( overseer_recv(virtual_overseer).await, AllMessages::RuntimeApi(RuntimeApiMessage::Request( @@ -580,7 +606,34 @@ fn test_harness(test: F) -> TestState where F: FnOnce(TestState, VirtualOverseer) -> BoxFuture<'static, TestState>, { - TestState::default().resume(test) + let mut test_state = TestState::default(); + + // Add two more blocks after the genesis (which is created in `default()`) + let h1 = Header { + parent_hash: test_state.last_block.clone(), + number: 1, + digest: dummy_digest(), + state_root: dummy_hash(), + extrinsics_root: dummy_hash(), + }; + let h1_hash = h1.hash(); + test_state.headers.insert(h1_hash.clone(), h1); + test_state.block_num_to_header.insert(1, h1_hash.clone()); + test_state.last_block = h1_hash; + + let h2 = Header { + parent_hash: test_state.last_block.clone(), + number: 2, + digest: dummy_digest(), + state_root: dummy_hash(), + extrinsics_root: dummy_hash(), + }; + let h2_hash = h2.hash(); + test_state.headers.insert(h2_hash.clone(), h2); + test_state.block_num_to_header.insert(2, h2_hash.clone()); + test_state.last_block = h2_hash; + + test_state.resume(test) } /// Handle participation messages. @@ -648,6 +701,18 @@ pub async fn handle_approval_vote_request( ); } +/// Handle block number request. In the context of these tests this message is required for +/// handling comparator creation for enqueuing participations. +async fn handle_get_block_number(ctx_handle: &mut VirtualOverseer, test_state: &TestState) { + assert_matches!( + ctx_handle.recv().await, + AllMessages::ChainApi( + ChainApiMessage::BlockNumber(hash, tx)) => { + tx.send(Ok(test_state.headers.get(&hash).map(|r| r.number))).unwrap(); + } + ) +} + #[test] fn too_many_unconfirmed_statements_are_considered_spam() { test_harness(|mut test_state, mut virtual_overseer| { @@ -1273,7 +1338,7 @@ fn backing_statements_import_works_and_no_spam() { }) .await; - // Result should be valid, because our node participated, so spam slots are cleared: + // Import should be valid, as spam slots were not filled assert_matches!(confirmation_rx.await, Ok(ImportStatementsResult::ValidImport)); virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; @@ -3013,7 +3078,7 @@ fn participation_for_included_candidates() { assert_eq!(rx.await.unwrap().len(), 1); - // check if we have participated (casted a vote) + // check if we have participated (cast a vote) let (tx, rx) = oneshot::channel(); virtual_overseer .send(FromOrchestra::Communication { @@ -3035,3 +3100,252 @@ fn participation_for_included_candidates() { }) }); } + +/// Shows that importing backing votes when a backing event is being processed +/// results in participation. +#[test] +fn local_participation_in_dispute_for_backed_candidate() { + test_harness(|mut test_state, mut virtual_overseer| { + Box::pin(async move { + let session = 1; + + test_state.handle_resume_sync(&mut virtual_overseer, session).await; + + let candidate_receipt = make_valid_candidate_receipt(); + let candidate_hash = candidate_receipt.hash(); + + // Step 1: Show that we don't participate when not backed, confirmed, or included + + // activate leaf - without candidate backed event + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, vec![]) + .await; + + // generate two votes + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; + + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), + session, + statements: vec![ + (valid_vote, ValidatorIndex(1)), + (invalid_vote, ValidatorIndex(2)), + ], + pending_confirmation: None, + }, + }) + .await; + + handle_approval_vote_request(&mut virtual_overseer, &candidate_hash, HashMap::new()) + .await; + + assert_matches!(virtual_overseer.recv().timeout(TEST_TIMEOUT).await, None); + + // Step 2: Show that once backing votes are processed we participate + + // Activate leaf: With candidate backed event + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 1, + vec![make_candidate_backed_event(candidate_receipt.clone())], + ) + .await; + + let backing_valid = test_state + .issue_backing_statement_with_index(ValidatorIndex(3), candidate_hash, session) + .await; + + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), + session, + statements: vec![(backing_valid, ValidatorIndex(3))], + pending_confirmation: None, + }, + }) + .await; + + participation_with_distribution( + &mut virtual_overseer, + &candidate_hash, + candidate_receipt.commitments_hash, + ) + .await; + + // Check for our 1 active dispute + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ActiveDisputes(tx), + }) + .await; + + assert_eq!(rx.await.unwrap().len(), 1); + + // check if we have participated (casted a vote) + let (tx, rx) = oneshot::channel(); + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::QueryCandidateVotes( + vec![(session, candidate_hash)], + tx, + ), + }) + .await; + + let (_, _, votes) = rx.await.unwrap().get(0).unwrap().clone(); + assert_eq!(votes.valid.raw().len(), 3); // 3 => 1 initial vote, 1 backing vote, and our vote + assert_eq!(votes.invalid.len(), 1); + + // Wrap up + virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; + + test_state + }) + }); +} + +/// Shows that when a candidate_included event is scraped from the chain we +/// reprioritize any participation requests pertaining to that candidate. +/// This involves moving the request for this candidate from the best effort +/// queue to the priority queue. +#[test] +fn participation_requests_reprioritized_for_newly_included() { + test_harness(|mut test_state, mut virtual_overseer| { + Box::pin(async move { + let session = 1; + test_state.handle_resume_sync(&mut virtual_overseer, session).await; + let mut receipts: Vec = Vec::new(); + + // Generate all receipts + for repetition in 1..=3u8 { + // Building candidate receipts + let mut candidate_receipt = make_valid_candidate_receipt(); + candidate_receipt.descriptor.pov_hash = Hash::from( + [repetition; 32], // Altering this receipt so its hash will be changed + ); + // Set consecutive parents (starting from zero). They will order the candidates for participation. + let parent_block_num: BlockNumber = repetition as BlockNumber - 1; + candidate_receipt.descriptor.relay_parent = + test_state.block_num_to_header.get(&parent_block_num).unwrap().clone(); + receipts.push(candidate_receipt.clone()); + } + + // Mark all candidates as backed, so their participation requests make it to best effort. + // These calls must all occur before including the candidates due to test overseer + // oddities. + let mut candidate_events = Vec::new(); + for r in receipts.iter() { + candidate_events.push(make_candidate_backed_event(r.clone())) + } + test_state + .activate_leaf_at_session(&mut virtual_overseer, session, 1, candidate_events) + .await; + + for (idx, candidate_receipt) in receipts.iter().enumerate() { + let candidate_hash = candidate_receipt.hash(); + + // Create votes for candidates + let (valid_vote, invalid_vote) = generate_opposing_votes_pair( + &test_state, + ValidatorIndex(1), + ValidatorIndex(2), + candidate_hash, + session, + VoteType::Explicit, + ) + .await; + + // Import votes for candidates + virtual_overseer + .send(FromOrchestra::Communication { + msg: DisputeCoordinatorMessage::ImportStatements { + candidate_receipt: candidate_receipt.clone(), + session, + statements: vec![ + (valid_vote, ValidatorIndex(1)), + (invalid_vote, ValidatorIndex(2)), + ], + pending_confirmation: None, + }, + }) + .await; + + // Handle corresponding messages to unblock import + // we need to handle `ApprovalVotingMessage::GetApprovalSignaturesForCandidate` for import + handle_approval_vote_request( + &mut virtual_overseer, + &candidate_hash, + HashMap::new(), + ) + .await; + + // We'll trigger participation for the first `MAX_PARALLEL_PARTICIPATIONS` candidates. + // The rest will be queued => we need to handle `ChainApiMessage::BlockNumber` for them. + if idx >= crate::participation::MAX_PARALLEL_PARTICIPATIONS { + // We send the `idx` as parent block number, because it is used for ordering. + // This way we get predictable ordering and participation. + handle_get_block_number(&mut virtual_overseer, &test_state).await; + } + } + + // Generate included event for one of the candidates here + test_state + .activate_leaf_at_session( + &mut virtual_overseer, + session, + 2, + vec![make_candidate_included_event( + receipts.last().expect("There is more than one candidate").clone(), + )], + ) + .await; + + // NB: The checks below are a bit racy. In theory candidate 2 can be processed even before candidate 0 and this is okay. If any + // of the asserts in the two functions after this comment fail -> rework `participation_with_distribution` to expect a set of + // commitment hashes instead of just one. + + // This is the candidate for which participation was started initially (`MAX_PARALLEL_PARTICIPATIONS` threshold was not yet hit) + participation_with_distribution( + &mut virtual_overseer, + &receipts.get(0).expect("There is more than one candidate").hash(), + receipts.first().expect("There is more than one candidate").commitments_hash, + ) + .await; + + // This one should have been prioritized + participation_with_distribution( + &mut virtual_overseer, + &receipts.get(2).expect("There is more than one candidate").hash(), + receipts.last().expect("There is more than one candidate").commitments_hash, + ) + .await; + + // And this is the last one + participation_with_distribution( + &mut virtual_overseer, + &receipts.get(1).expect("There is more than one candidate").hash(), + receipts.first().expect("There is more than one candidate").commitments_hash, + ) + .await; + + // Wrap up + virtual_overseer.send(FromOrchestra::Signal(OverseerSignal::Conclude)).await; + + test_state + }) + }); +} diff --git a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md index 260f5843d0e2..dc01664c295a 100644 --- a/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md +++ b/roadmap/implementers-guide/src/node/disputes/dispute-coordinator.md @@ -398,11 +398,22 @@ and only if all of the following conditions are satisfied: * the dispute is not confirmed * we haven't cast a vote for the dispute +Whenever any vote on a dispute is imported these conditions are checked. If the +dispute is found not to be potential spam, then spam slots for the disputed candidate hash are cleared. This decrements the spam count for every validator +which had voted invalid. + +To keep spam slots from filling up unnecessarily we want to clear spam slots +whenever a candidate is seen to be backed or included. Fortunately this behavior +is acheived by clearing slots on vote import as described above. Because on chain +backing votes are processed when a block backing the disputed candidate is discovered, spam slots are cleared for every backed candidate. Included +candidates have also been seen as backed on the same fork, so decrementing spam +slots is handled in that case as well. + The reason this works is because we only need to worry about actual dispute votes. Import of backing votes are already rate limited and concern only real -candidates for approval votes a similar argument holds (if they come from +candidates. For approval votes a similar argument holds (if they come from approval-voting), but we also don't import them until a dispute already -concluded. For actual dispute votes, we need two opposing votes, so there must be +concluded. For actual dispute votes we need two opposing votes, so there must be an explicit `invalid` vote in the import. Only a third of the validators can be malicious, so spam disk usage is limited to `2*vote_size*n/3*NUM_SPAM_SLOTS`, with `n` being the number of validators. @@ -516,16 +527,14 @@ We only ever care about disputes for candidates that have been included on at least some chain (became available). This is because the availability system was designed for precisely that: Only with inclusion (availability) we have guarantees about the candidate to actually be available. Because only then we -have guarantees that malicious backers can be reliably checked and slashed. The -system was also designed for non included candidates to not pose any threat to -the system. +have guarantees that malicious backers can be reliably checked and slashed. Also, by design non included candidates do not pose any threat to the system. One could think of an (additional) dispute system to make it possible to dispute any candidate that has been proposed by a validator, no matter whether it got successfully included or even backed. Unfortunately, it would be very brittle (no availability) and also spam protection would be way harder than for the -disputes handled by the dispute-coordinator. In fact all described spam handling -strategies above would simply be not available. +disputes handled by the dispute-coordinator. In fact, all the spam handling +strategies described above would simply be unavailable. It is worth thinking about who could actually raise such disputes anyway: Approval checkers certainly not, as they will only ever check once availability From 6a5d31fcbdd3ac5dd880e0bf3616e303b5bb480f Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Mon, 2 Jan 2023 12:56:26 +0100 Subject: [PATCH 204/211] BlockId removal: refactor: BlockBackend::block|block_status (#6477) * BlockId removal: refactor: BlockBackend::block|block_status It changes the arguments of: - `BlockBackend::block` - `BlockBackend::block_status` method from: `BlockId` to: `Block::Hash` This PR is part of BlockId::Number refactoring analysis (paritytech/substrate#11292) * update lockfile for {"substrate"} * ".git/.scripts/fmt.sh" Co-authored-by: parity-processbot <> --- Cargo.lock | 361 +++++++++++++++++++++-------------------- node/client/src/lib.rs | 13 +- 2 files changed, 189 insertions(+), 185 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b27ac8837cbc..57d4c19431bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -419,7 +419,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "async-trait", @@ -453,7 +453,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "beefy-gadget", "futures", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "sp-api", "sp-beefy", @@ -1995,7 +1995,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", ] @@ -2019,7 +2019,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "chrono", "frame-election-provider-support", @@ -4081,7 +4081,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "log", @@ -4100,7 +4100,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "anyhow", "jsonrpsee", @@ -4605,7 +4605,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4620,7 +4620,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4695,7 +4695,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4714,7 +4714,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4729,7 +4729,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -4745,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4768,7 +4768,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4805,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4822,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4839,7 +4839,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4880,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4893,7 +4893,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4952,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4968,7 +4968,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -4988,7 +4988,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5005,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5022,7 +5022,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5039,7 +5039,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5055,7 +5055,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5108,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "sp-api", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -5135,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5158,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5175,7 +5175,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5190,7 +5190,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5208,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5259,7 +5259,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -5280,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5333,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "log", "sp-arithmetic", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -5384,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5402,7 +5402,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5421,7 +5421,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-support", "frame-system", @@ -5437,7 +5437,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5453,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5465,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5498,7 +5498,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -5513,7 +5513,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-benchmarking", "frame-support", @@ -8275,7 +8275,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "log", "sp-core", @@ -8286,7 +8286,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures", @@ -8313,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "futures-timer", @@ -8336,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8352,7 +8352,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8367,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8378,7 +8378,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "chrono", @@ -8418,7 +8418,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "fnv", "futures", @@ -8444,7 +8444,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "hash-db", "kvdb", @@ -8469,7 +8469,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures", @@ -8494,7 +8494,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "fork-tree", @@ -8532,7 +8532,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "jsonrpsee", @@ -8554,7 +8554,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8567,7 +8567,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures", @@ -8590,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "lru", "parity-scale-codec", @@ -8614,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8627,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "log", "sc-allocator", @@ -8640,7 +8640,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "cfg-if", "libc", @@ -8657,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "ahash", "array-bytes", @@ -8697,7 +8697,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "finality-grandpa", "futures", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "ansi_term", "futures", @@ -8732,7 +8732,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "async-trait", @@ -8747,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "async-trait", @@ -8789,7 +8789,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "cid", "futures", @@ -8808,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "bitflags", @@ -8834,7 +8834,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "ahash", "futures", @@ -8852,7 +8852,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "futures", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "async-trait", @@ -8905,7 +8905,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "futures", @@ -8924,7 +8924,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "bytes", @@ -8954,7 +8954,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "libp2p", @@ -8967,7 +8967,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8976,7 +8976,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "jsonrpsee", @@ -9005,7 +9005,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9024,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "http", "jsonrpsee", @@ -9039,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "futures", @@ -9065,7 +9065,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "directories", @@ -9130,7 +9130,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "log", "parity-scale-codec", @@ -9141,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "libc", @@ -9179,7 +9179,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "chrono", "futures", @@ -9198,7 +9198,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "ansi_term", "atty", @@ -9229,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures", @@ -9266,7 +9266,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures", @@ -9280,7 +9280,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "backtrace", "futures", @@ -9754,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "hash-db", "log", @@ -9772,7 +9772,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "blake2", "proc-macro-crate", @@ -9784,7 +9784,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -9797,7 +9797,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "integer-sqrt", "num-traits", @@ -9811,7 +9811,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -9824,7 +9824,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "parity-scale-codec", @@ -9836,7 +9836,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "sp-api", @@ -9865,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "log", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures", @@ -9901,7 +9901,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "merlin", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -9949,7 +9949,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "base58", @@ -9991,7 +9991,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "blake2", "byteorder", @@ -10005,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro2", "quote", @@ -10016,7 +10016,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10025,7 +10025,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro2", "quote", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "environmental", "parity-scale-codec", @@ -10046,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "finality-grandpa", "log", @@ -10064,7 +10064,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10078,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "bytes", "ed25519", @@ -10103,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "lazy_static", "sp-core", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures", @@ -10131,7 +10131,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "thiserror", "zstd", @@ -10140,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10158,7 +10158,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10172,7 +10172,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "sp-api", "sp-core", @@ -10182,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "backtrace", "lazy_static", @@ -10192,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "rustc-hash", "serde", @@ -10202,7 +10202,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "either", "hash256-std-hasher", @@ -10224,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10242,7 +10242,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "Inflector", "proc-macro-crate", @@ -10254,7 +10254,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10268,7 +10268,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "hash-db", "log", @@ -10300,12 +10300,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10318,7 +10318,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "futures-timer", @@ -10333,7 +10333,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "sp-std", @@ -10345,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "sp-api", "sp-runtime", @@ -10354,7 +10354,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "log", @@ -10370,7 +10370,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "ahash", "hash-db", @@ -10393,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10410,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10421,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "impl-trait-for-tuples", "log", @@ -10434,7 +10434,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "parity-scale-codec", "scale-info", @@ -10648,7 +10648,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "platforms", ] @@ -10656,7 +10656,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10675,7 +10675,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "hyper", "log", @@ -10687,7 +10687,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "async-trait", "jsonrpsee", @@ -10700,7 +10700,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "jsonrpsee", "log", @@ -10719,7 +10719,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "array-bytes", "async-trait", @@ -10745,7 +10745,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10755,7 +10755,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10766,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "ansi_term", "build-helper", @@ -11514,7 +11514,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#6fe8cd4ec19f7013b0ba2e790dce880ad07020b0" +source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" dependencies = [ "clap", "frame-remote-externalities", @@ -11526,6 +11526,7 @@ dependencies = [ "sc-executor", "sc-service", "serde", + "serde_json", "sp-api", "sp-core", "sp-debug-derive", diff --git a/node/client/src/lib.rs b/node/client/src/lib.rs index fcadc5b59932..648d1d63155d 100644 --- a/node/client/src/lib.rs +++ b/node/client/src/lib.rs @@ -29,7 +29,7 @@ use sp_api::{CallApiAt, Encode, NumberFor, ProvideRuntimeApi}; use sp_blockchain::{HeaderBackend, HeaderMetadata}; use sp_consensus::BlockStatus; use sp_runtime::{ - generic::{BlockId, SignedBlock}, + generic::SignedBlock, traits::{BlakeTwo256, Block as BlockT}, Justifications, }; @@ -338,22 +338,25 @@ impl sc_client_api::BlockBackend for Client { } } - fn block(&self, id: &BlockId) -> sp_blockchain::Result>> { + fn block( + &self, + hash: ::Hash, + ) -> sp_blockchain::Result>> { with_client! { self, client, { - client.block(id) + client.block(hash) } } } - fn block_status(&self, id: &BlockId) -> sp_blockchain::Result { + fn block_status(&self, hash: ::Hash) -> sp_blockchain::Result { with_client! { self, client, { - client.block_status(id) + client.block_status(hash) } } } From e5eebcdae06e5e28428a254d0cb75b8d61376e6d Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Tue, 3 Jan 2023 22:08:27 +0100 Subject: [PATCH 205/211] Deploy scheduler agenda cleanup migration (#6465) * Add migration Signed-off-by: Oliver Tale-Yazdi * Add comments Signed-off-by: Oliver Tale-Yazdi * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi --- runtime/kusama/src/lib.rs | 4 ++++ runtime/polkadot/src/lib.rs | 4 ++++ runtime/rococo/src/lib.rs | 4 ++++ runtime/westend/src/lib.rs | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index d0e92134fb61..dce781b533f5 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1480,6 +1480,9 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } +/// All migrations that will run on the next runtime upgrade. +/// +/// Should be cleared after every release. pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, @@ -1488,6 +1491,7 @@ pub type Migrations = ( Runtime, governance::FellowshipReferendaInstance, >, + pallet_scheduler::migration::v4::CleanupAgendas, ); /// Unchecked extrinsic type as expected by this runtime. diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 8c4d85afb67d..453931880431 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1597,9 +1597,13 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } +/// All migrations that will run on the next runtime upgrade. +/// +/// Should be cleared after every release. pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, + pallet_scheduler::migration::v4::CleanupAgendas, ); /// Unchecked extrinsic type as expected by this runtime. diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index bcf0a03c9456..91a095cf23f5 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1477,9 +1477,13 @@ pub type SignedExtra = ( pub type UncheckedExtrinsic = generic::UncheckedExtrinsic; +/// All migrations that will run on the next runtime upgrade. +/// +/// Should be cleared after every release. pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, + pallet_scheduler::migration::v4::CleanupAgendas, ); /// Executive: handles dispatch to the various modules. diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 7118ad1e780b..f1d99ebb8dc7 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1211,9 +1211,13 @@ impl Get<&'static str> for StakingMigrationV11OldPallet { } } +/// All migrations that will run on the next runtime upgrade. +/// +/// Should be cleared after every release. pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, + pallet_scheduler::migration::v4::CleanupAgendas, ); /// Unchecked extrinsic type as expected by this runtime. From 7f42e8afdf076a2b9ec86e722ebd09a8b0ea1510 Mon Sep 17 00:00:00 2001 From: Ankan <10196091+Ank4n@users.noreply.github.com> Date: Tue, 3 Jan 2023 23:17:10 +0100 Subject: [PATCH 206/211] Migrate Staking pallet to v13 (#6365) * add staking v13 migration * add migration to polkadot * only migrate staking * un-remove other migrations * fmt * retrigger ci * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi Signed-off-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi --- Cargo.lock | 360 ++++++++++++++++++------------------ runtime/kusama/src/lib.rs | 1 + runtime/polkadot/src/lib.rs | 1 + runtime/westend/src/lib.rs | 1 + 4 files changed, 183 insertions(+), 180 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57d4c19431bc..887fd732b20b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -419,7 +419,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "async-trait", @@ -453,7 +453,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "beefy-gadget", "futures", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "sp-api", "sp-beefy", @@ -1995,7 +1995,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", ] @@ -2019,7 +2019,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "chrono", "frame-election-provider-support", @@ -4081,7 +4081,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "log", @@ -4100,7 +4100,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "anyhow", "jsonrpsee", @@ -4605,7 +4605,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4620,7 +4620,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4695,7 +4695,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4714,7 +4714,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4729,7 +4729,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -4745,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4768,7 +4768,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4805,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4822,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4839,7 +4839,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4880,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4893,7 +4893,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4952,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4968,7 +4968,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -4988,7 +4988,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5005,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5022,7 +5022,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5039,7 +5039,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5055,7 +5055,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5108,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "sp-api", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -5135,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5158,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5175,7 +5175,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5190,7 +5190,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5208,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5259,7 +5259,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -5280,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5333,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "log", "sp-arithmetic", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -5384,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5402,7 +5402,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5421,7 +5421,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-support", "frame-system", @@ -5437,7 +5437,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5453,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5465,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5498,7 +5498,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -5513,7 +5513,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-benchmarking", "frame-support", @@ -8275,7 +8275,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "log", "sp-core", @@ -8286,7 +8286,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures", @@ -8313,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "futures-timer", @@ -8336,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8352,7 +8352,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8367,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8378,7 +8378,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "chrono", @@ -8418,7 +8418,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "fnv", "futures", @@ -8444,7 +8444,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "hash-db", "kvdb", @@ -8469,7 +8469,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures", @@ -8494,7 +8494,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "fork-tree", @@ -8532,7 +8532,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "jsonrpsee", @@ -8554,7 +8554,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8567,7 +8567,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures", @@ -8590,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "lru", "parity-scale-codec", @@ -8614,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8627,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "log", "sc-allocator", @@ -8640,7 +8640,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "cfg-if", "libc", @@ -8657,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "ahash", "array-bytes", @@ -8697,7 +8697,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "finality-grandpa", "futures", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "ansi_term", "futures", @@ -8732,7 +8732,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "async-trait", @@ -8747,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "async-trait", @@ -8789,7 +8789,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "cid", "futures", @@ -8808,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "bitflags", @@ -8834,7 +8834,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "ahash", "futures", @@ -8852,7 +8852,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "futures", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "async-trait", @@ -8905,7 +8905,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "futures", @@ -8924,7 +8924,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "bytes", @@ -8954,7 +8954,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "libp2p", @@ -8967,7 +8967,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8976,7 +8976,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "jsonrpsee", @@ -9005,7 +9005,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9024,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "http", "jsonrpsee", @@ -9039,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "futures", @@ -9065,7 +9065,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "directories", @@ -9130,7 +9130,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "log", "parity-scale-codec", @@ -9141,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "libc", @@ -9179,7 +9179,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "chrono", "futures", @@ -9198,7 +9198,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "ansi_term", "atty", @@ -9229,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures", @@ -9266,7 +9266,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures", @@ -9280,7 +9280,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "backtrace", "futures", @@ -9754,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "hash-db", "log", @@ -9772,7 +9772,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "blake2", "proc-macro-crate", @@ -9784,7 +9784,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9797,7 +9797,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "integer-sqrt", "num-traits", @@ -9811,7 +9811,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9824,7 +9824,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "parity-scale-codec", @@ -9836,7 +9836,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "sp-api", @@ -9865,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "log", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures", @@ -9901,7 +9901,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "merlin", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -9949,7 +9949,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "base58", @@ -9991,7 +9991,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "blake2", "byteorder", @@ -10005,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro2", "quote", @@ -10016,7 +10016,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10025,7 +10025,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro2", "quote", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "environmental", "parity-scale-codec", @@ -10046,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "finality-grandpa", "log", @@ -10064,7 +10064,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10078,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "bytes", "ed25519", @@ -10103,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "lazy_static", "sp-core", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures", @@ -10131,7 +10131,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "thiserror", "zstd", @@ -10140,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10158,7 +10158,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10172,7 +10172,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "sp-api", "sp-core", @@ -10182,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "backtrace", "lazy_static", @@ -10192,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "rustc-hash", "serde", @@ -10202,7 +10202,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "either", "hash256-std-hasher", @@ -10224,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10242,7 +10242,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "Inflector", "proc-macro-crate", @@ -10254,7 +10254,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10268,7 +10268,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "hash-db", "log", @@ -10300,12 +10300,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10318,7 +10318,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "futures-timer", @@ -10333,7 +10333,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "sp-std", @@ -10345,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "sp-api", "sp-runtime", @@ -10354,7 +10354,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "log", @@ -10370,7 +10370,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "ahash", "hash-db", @@ -10393,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10410,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10421,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "impl-trait-for-tuples", "log", @@ -10434,7 +10434,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "parity-scale-codec", "scale-info", @@ -10648,7 +10648,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "platforms", ] @@ -10656,7 +10656,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10675,7 +10675,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "hyper", "log", @@ -10687,7 +10687,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "async-trait", "jsonrpsee", @@ -10700,7 +10700,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "jsonrpsee", "log", @@ -10719,7 +10719,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "array-bytes", "async-trait", @@ -10745,7 +10745,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10755,7 +10755,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10766,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "ansi_term", "build-helper", @@ -11514,7 +11514,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#bcee526a9b73d2df9d5dea0f1a17677618d70b8e" +source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" dependencies = [ "clap", "frame-remote-externalities", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index dce781b533f5..1d3516ecab41 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1492,6 +1492,7 @@ pub type Migrations = ( governance::FellowshipReferendaInstance, >, pallet_scheduler::migration::v4::CleanupAgendas, + pallet_staking::migrations::v13::MigrateToV13, ); /// Unchecked extrinsic type as expected by this runtime. diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 453931880431..162195b1fa46 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -1604,6 +1604,7 @@ pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, pallet_scheduler::migration::v4::CleanupAgendas, + pallet_staking::migrations::v13::MigrateToV13, ); /// Unchecked extrinsic type as expected by this runtime. diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index f1d99ebb8dc7..d856f243911b 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1218,6 +1218,7 @@ pub type Migrations = ( pallet_balances::migration::MigrateToTrackInactive, crowdloan::migration::MigrateToTrackInactive, pallet_scheduler::migration::v4::CleanupAgendas, + pallet_staking::migrations::v13::MigrateToV13, ); /// Unchecked extrinsic type as expected by this runtime. From f2f72ff34f4f11f077729e78a341bec52a9cbee1 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Wed, 4 Jan 2023 14:25:49 +0100 Subject: [PATCH 207/211] Co #13045: Selectable on-runtime-upgrade checks (#6498) * Use UpgradeCheckSelector Signed-off-by: Oliver Tale-Yazdi * update lockfile for {"substrate"} Signed-off-by: Oliver Tale-Yazdi Co-authored-by: parity-processbot <> --- Cargo.lock | 360 ++++++++++++++++++------------------ runtime/kusama/src/lib.rs | 2 +- runtime/polkadot/src/lib.rs | 2 +- runtime/westend/src/lib.rs | 2 +- 4 files changed, 183 insertions(+), 183 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 887fd732b20b..e9bd9b74286d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -419,7 +419,7 @@ dependencies = [ [[package]] name = "beefy-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "async-trait", @@ -453,7 +453,7 @@ dependencies = [ [[package]] name = "beefy-gadget-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "beefy-gadget", "futures", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "beefy-merkle-tree" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "sp-api", "sp-beefy", @@ -1995,7 +1995,7 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork-tree" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", ] @@ -2019,7 +2019,7 @@ checksum = "85dcb89d2b10c5f6133de2efd8c11959ce9dbb46a2f7a4cab208c4eeda6ce1ab" [[package]] name = "frame-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "frame-benchmarking-cli" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "Inflector", "array-bytes", @@ -2089,7 +2089,7 @@ dependencies = [ [[package]] name = "frame-election-provider-solution-type" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2100,7 +2100,7 @@ dependencies = [ [[package]] name = "frame-election-provider-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-election-provider-solution-type", "frame-support", @@ -2117,7 +2117,7 @@ dependencies = [ [[package]] name = "frame-executive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -2146,7 +2146,7 @@ dependencies = [ [[package]] name = "frame-remote-externalities" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "log", @@ -2162,7 +2162,7 @@ dependencies = [ [[package]] name = "frame-support" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "bitflags", "frame-metadata", @@ -2194,7 +2194,7 @@ dependencies = [ [[package]] name = "frame-support-procedural" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "Inflector", "cfg-expr", @@ -2208,7 +2208,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support-procedural-tools-derive", "proc-macro-crate", @@ -2220,7 +2220,7 @@ dependencies = [ [[package]] name = "frame-support-procedural-tools-derive" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro2", "quote", @@ -2230,7 +2230,7 @@ dependencies = [ [[package]] name = "frame-support-test" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-support-test-pallet", @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "frame-support-test-pallet" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -2264,7 +2264,7 @@ dependencies = [ [[package]] name = "frame-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "log", @@ -2282,7 +2282,7 @@ dependencies = [ [[package]] name = "frame-system-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -2297,7 +2297,7 @@ dependencies = [ [[package]] name = "frame-system-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "sp-api", @@ -2306,7 +2306,7 @@ dependencies = [ [[package]] name = "frame-try-runtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "parity-scale-codec", @@ -2477,7 +2477,7 @@ dependencies = [ [[package]] name = "generate-bags" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "chrono", "frame-election-provider-support", @@ -4081,7 +4081,7 @@ dependencies = [ [[package]] name = "mmr-gadget" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "log", @@ -4100,7 +4100,7 @@ dependencies = [ [[package]] name = "mmr-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "anyhow", "jsonrpsee", @@ -4605,7 +4605,7 @@ checksum = "20448fd678ec04e6ea15bbe0476874af65e98a01515d667aa49f1434dc44ebf4" [[package]] name = "pallet-assets" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4620,7 +4620,7 @@ dependencies = [ [[package]] name = "pallet-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -4636,7 +4636,7 @@ dependencies = [ [[package]] name = "pallet-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -4651,7 +4651,7 @@ dependencies = [ [[package]] name = "pallet-babe" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4675,7 +4675,7 @@ dependencies = [ [[package]] name = "pallet-bags-list" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4695,7 +4695,7 @@ dependencies = [ [[package]] name = "pallet-bags-list-remote-tests" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-election-provider-support", "frame-remote-externalities", @@ -4714,7 +4714,7 @@ dependencies = [ [[package]] name = "pallet-balances" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4729,7 +4729,7 @@ dependencies = [ [[package]] name = "pallet-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -4745,7 +4745,7 @@ dependencies = [ [[package]] name = "pallet-beefy-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "beefy-merkle-tree", @@ -4768,7 +4768,7 @@ dependencies = [ [[package]] name = "pallet-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4786,7 +4786,7 @@ dependencies = [ [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4805,7 +4805,7 @@ dependencies = [ [[package]] name = "pallet-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4822,7 +4822,7 @@ dependencies = [ [[package]] name = "pallet-conviction-voting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -4839,7 +4839,7 @@ dependencies = [ [[package]] name = "pallet-democracy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4857,7 +4857,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-multi-phase" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4880,7 +4880,7 @@ dependencies = [ [[package]] name = "pallet-election-provider-support-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4893,7 +4893,7 @@ dependencies = [ [[package]] name = "pallet-elections-phragmen" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4911,7 +4911,7 @@ dependencies = [ [[package]] name = "pallet-fast-unstake" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -4929,7 +4929,7 @@ dependencies = [ [[package]] name = "pallet-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4952,7 +4952,7 @@ dependencies = [ [[package]] name = "pallet-identity" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "enumflags2", "frame-benchmarking", @@ -4968,7 +4968,7 @@ dependencies = [ [[package]] name = "pallet-im-online" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -4988,7 +4988,7 @@ dependencies = [ [[package]] name = "pallet-indices" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5005,7 +5005,7 @@ dependencies = [ [[package]] name = "pallet-membership" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5022,7 +5022,7 @@ dependencies = [ [[package]] name = "pallet-mmr" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5039,7 +5039,7 @@ dependencies = [ [[package]] name = "pallet-multisig" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5055,7 +5055,7 @@ dependencies = [ [[package]] name = "pallet-nis" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5071,7 +5071,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-benchmarking" version = "1.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5108,7 +5108,7 @@ dependencies = [ [[package]] name = "pallet-nomination-pools-runtime-api" version = "1.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "sp-api", @@ -5118,7 +5118,7 @@ dependencies = [ [[package]] name = "pallet-offences" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -5135,7 +5135,7 @@ dependencies = [ [[package]] name = "pallet-offences-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5158,7 +5158,7 @@ dependencies = [ [[package]] name = "pallet-preimage" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5175,7 +5175,7 @@ dependencies = [ [[package]] name = "pallet-proxy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5190,7 +5190,7 @@ dependencies = [ [[package]] name = "pallet-ranked-collective" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5208,7 +5208,7 @@ dependencies = [ [[package]] name = "pallet-recovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5223,7 +5223,7 @@ dependencies = [ [[package]] name = "pallet-referenda" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "assert_matches", "frame-benchmarking", @@ -5242,7 +5242,7 @@ dependencies = [ [[package]] name = "pallet-scheduler" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5259,7 +5259,7 @@ dependencies = [ [[package]] name = "pallet-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -5280,7 +5280,7 @@ dependencies = [ [[package]] name = "pallet-session-benchmarking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5296,7 +5296,7 @@ dependencies = [ [[package]] name = "pallet-society" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -5310,7 +5310,7 @@ dependencies = [ [[package]] name = "pallet-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-election-provider-support", @@ -5333,7 +5333,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-curve" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "pallet-staking-reward-fn" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "log", "sp-arithmetic", @@ -5353,7 +5353,7 @@ dependencies = [ [[package]] name = "pallet-state-trie-migration" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5370,7 +5370,7 @@ dependencies = [ [[package]] name = "pallet-sudo" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -5384,7 +5384,7 @@ dependencies = [ [[package]] name = "pallet-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5402,7 +5402,7 @@ dependencies = [ [[package]] name = "pallet-tips" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5421,7 +5421,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-support", "frame-system", @@ -5437,7 +5437,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "jsonrpsee", "pallet-transaction-payment-rpc-runtime-api", @@ -5453,7 +5453,7 @@ dependencies = [ [[package]] name = "pallet-transaction-payment-rpc-runtime-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "pallet-transaction-payment", "parity-scale-codec", @@ -5465,7 +5465,7 @@ dependencies = [ [[package]] name = "pallet-treasury" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5482,7 +5482,7 @@ dependencies = [ [[package]] name = "pallet-utility" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5498,7 +5498,7 @@ dependencies = [ [[package]] name = "pallet-vesting" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -5513,7 +5513,7 @@ dependencies = [ [[package]] name = "pallet-whitelist" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-benchmarking", "frame-support", @@ -8275,7 +8275,7 @@ dependencies = [ [[package]] name = "sc-allocator" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "log", "sp-core", @@ -8286,7 +8286,7 @@ dependencies = [ [[package]] name = "sc-authority-discovery" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures", @@ -8313,7 +8313,7 @@ dependencies = [ [[package]] name = "sc-basic-authorship" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "futures-timer", @@ -8336,7 +8336,7 @@ dependencies = [ [[package]] name = "sc-block-builder" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "sc-client-api", @@ -8352,7 +8352,7 @@ dependencies = [ [[package]] name = "sc-chain-spec" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "memmap2", "sc-chain-spec-derive", @@ -8367,7 +8367,7 @@ dependencies = [ [[package]] name = "sc-chain-spec-derive" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -8378,7 +8378,7 @@ dependencies = [ [[package]] name = "sc-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "chrono", @@ -8418,7 +8418,7 @@ dependencies = [ [[package]] name = "sc-client-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "fnv", "futures", @@ -8444,7 +8444,7 @@ dependencies = [ [[package]] name = "sc-client-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "hash-db", "kvdb", @@ -8469,7 +8469,7 @@ dependencies = [ [[package]] name = "sc-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures", @@ -8494,7 +8494,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "fork-tree", @@ -8532,7 +8532,7 @@ dependencies = [ [[package]] name = "sc-consensus-babe-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "jsonrpsee", @@ -8554,7 +8554,7 @@ dependencies = [ [[package]] name = "sc-consensus-epochs" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "fork-tree", "parity-scale-codec", @@ -8567,7 +8567,7 @@ dependencies = [ [[package]] name = "sc-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures", @@ -8590,7 +8590,7 @@ dependencies = [ [[package]] name = "sc-executor" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "lru", "parity-scale-codec", @@ -8614,7 +8614,7 @@ dependencies = [ [[package]] name = "sc-executor-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "sc-allocator", "sp-maybe-compressed-blob", @@ -8627,7 +8627,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmi" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "log", "sc-allocator", @@ -8640,7 +8640,7 @@ dependencies = [ [[package]] name = "sc-executor-wasmtime" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "cfg-if", "libc", @@ -8657,7 +8657,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "ahash", "array-bytes", @@ -8697,7 +8697,7 @@ dependencies = [ [[package]] name = "sc-finality-grandpa-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "finality-grandpa", "futures", @@ -8717,7 +8717,7 @@ dependencies = [ [[package]] name = "sc-informant" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "ansi_term", "futures", @@ -8732,7 +8732,7 @@ dependencies = [ [[package]] name = "sc-keystore" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "async-trait", @@ -8747,7 +8747,7 @@ dependencies = [ [[package]] name = "sc-network" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "async-trait", @@ -8789,7 +8789,7 @@ dependencies = [ [[package]] name = "sc-network-bitswap" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "cid", "futures", @@ -8808,7 +8808,7 @@ dependencies = [ [[package]] name = "sc-network-common" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "bitflags", @@ -8834,7 +8834,7 @@ dependencies = [ [[package]] name = "sc-network-gossip" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "ahash", "futures", @@ -8852,7 +8852,7 @@ dependencies = [ [[package]] name = "sc-network-light" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "futures", @@ -8873,7 +8873,7 @@ dependencies = [ [[package]] name = "sc-network-sync" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "async-trait", @@ -8905,7 +8905,7 @@ dependencies = [ [[package]] name = "sc-network-transactions" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "futures", @@ -8924,7 +8924,7 @@ dependencies = [ [[package]] name = "sc-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "bytes", @@ -8954,7 +8954,7 @@ dependencies = [ [[package]] name = "sc-peerset" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "libp2p", @@ -8967,7 +8967,7 @@ dependencies = [ [[package]] name = "sc-proposer-metrics" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "log", "substrate-prometheus-endpoint", @@ -8976,7 +8976,7 @@ dependencies = [ [[package]] name = "sc-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "jsonrpsee", @@ -9005,7 +9005,7 @@ dependencies = [ [[package]] name = "sc-rpc-api" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9024,7 +9024,7 @@ dependencies = [ [[package]] name = "sc-rpc-server" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "http", "jsonrpsee", @@ -9039,7 +9039,7 @@ dependencies = [ [[package]] name = "sc-rpc-spec-v2" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "futures", @@ -9065,7 +9065,7 @@ dependencies = [ [[package]] name = "sc-service" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "directories", @@ -9130,7 +9130,7 @@ dependencies = [ [[package]] name = "sc-state-db" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "log", "parity-scale-codec", @@ -9141,7 +9141,7 @@ dependencies = [ [[package]] name = "sc-sync-state-rpc" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "jsonrpsee", "parity-scale-codec", @@ -9160,7 +9160,7 @@ dependencies = [ [[package]] name = "sc-sysinfo" version = "6.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "libc", @@ -9179,7 +9179,7 @@ dependencies = [ [[package]] name = "sc-telemetry" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "chrono", "futures", @@ -9198,7 +9198,7 @@ dependencies = [ [[package]] name = "sc-tracing" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "ansi_term", "atty", @@ -9229,7 +9229,7 @@ dependencies = [ [[package]] name = "sc-tracing-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -9240,7 +9240,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures", @@ -9266,7 +9266,7 @@ dependencies = [ [[package]] name = "sc-transaction-pool-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures", @@ -9280,7 +9280,7 @@ dependencies = [ [[package]] name = "sc-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "backtrace", "futures", @@ -9754,7 +9754,7 @@ dependencies = [ [[package]] name = "sp-api" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "hash-db", "log", @@ -9772,7 +9772,7 @@ dependencies = [ [[package]] name = "sp-api-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "blake2", "proc-macro-crate", @@ -9784,7 +9784,7 @@ dependencies = [ [[package]] name = "sp-application-crypto" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9797,7 +9797,7 @@ dependencies = [ [[package]] name = "sp-arithmetic" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "integer-sqrt", "num-traits", @@ -9811,7 +9811,7 @@ dependencies = [ [[package]] name = "sp-authority-discovery" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9824,7 +9824,7 @@ dependencies = [ [[package]] name = "sp-authorship" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "parity-scale-codec", @@ -9836,7 +9836,7 @@ dependencies = [ [[package]] name = "sp-beefy" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9853,7 +9853,7 @@ dependencies = [ [[package]] name = "sp-block-builder" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "sp-api", @@ -9865,7 +9865,7 @@ dependencies = [ [[package]] name = "sp-blockchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "log", @@ -9883,7 +9883,7 @@ dependencies = [ [[package]] name = "sp-consensus" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures", @@ -9901,7 +9901,7 @@ dependencies = [ [[package]] name = "sp-consensus-babe" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "merlin", @@ -9924,7 +9924,7 @@ dependencies = [ [[package]] name = "sp-consensus-slots" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9936,7 +9936,7 @@ dependencies = [ [[package]] name = "sp-consensus-vrf" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -9949,7 +9949,7 @@ dependencies = [ [[package]] name = "sp-core" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "base58", @@ -9991,7 +9991,7 @@ dependencies = [ [[package]] name = "sp-core-hashing" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "blake2", "byteorder", @@ -10005,7 +10005,7 @@ dependencies = [ [[package]] name = "sp-core-hashing-proc-macro" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro2", "quote", @@ -10016,7 +10016,7 @@ dependencies = [ [[package]] name = "sp-database" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "kvdb", "parking_lot 0.12.1", @@ -10025,7 +10025,7 @@ dependencies = [ [[package]] name = "sp-debug-derive" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro2", "quote", @@ -10035,7 +10035,7 @@ dependencies = [ [[package]] name = "sp-externalities" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "environmental", "parity-scale-codec", @@ -10046,7 +10046,7 @@ dependencies = [ [[package]] name = "sp-finality-grandpa" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "finality-grandpa", "log", @@ -10064,7 +10064,7 @@ dependencies = [ [[package]] name = "sp-inherents" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "impl-trait-for-tuples", @@ -10078,7 +10078,7 @@ dependencies = [ [[package]] name = "sp-io" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "bytes", "ed25519", @@ -10103,7 +10103,7 @@ dependencies = [ [[package]] name = "sp-keyring" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "lazy_static", "sp-core", @@ -10114,7 +10114,7 @@ dependencies = [ [[package]] name = "sp-keystore" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures", @@ -10131,7 +10131,7 @@ dependencies = [ [[package]] name = "sp-maybe-compressed-blob" version = "4.1.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "thiserror", "zstd", @@ -10140,7 +10140,7 @@ dependencies = [ [[package]] name = "sp-mmr-primitives" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "ckb-merkle-mountain-range", "log", @@ -10158,7 +10158,7 @@ dependencies = [ [[package]] name = "sp-npos-elections" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10172,7 +10172,7 @@ dependencies = [ [[package]] name = "sp-offchain" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "sp-api", "sp-core", @@ -10182,7 +10182,7 @@ dependencies = [ [[package]] name = "sp-panic-handler" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "backtrace", "lazy_static", @@ -10192,7 +10192,7 @@ dependencies = [ [[package]] name = "sp-rpc" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "rustc-hash", "serde", @@ -10202,7 +10202,7 @@ dependencies = [ [[package]] name = "sp-runtime" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "either", "hash256-std-hasher", @@ -10224,7 +10224,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "bytes", "impl-trait-for-tuples", @@ -10242,7 +10242,7 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "Inflector", "proc-macro-crate", @@ -10254,7 +10254,7 @@ dependencies = [ [[package]] name = "sp-session" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10268,7 +10268,7 @@ dependencies = [ [[package]] name = "sp-staking" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10280,7 +10280,7 @@ dependencies = [ [[package]] name = "sp-state-machine" version = "0.13.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "hash-db", "log", @@ -10300,12 +10300,12 @@ dependencies = [ [[package]] name = "sp-std" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" [[package]] name = "sp-storage" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10318,7 +10318,7 @@ dependencies = [ [[package]] name = "sp-timestamp" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "futures-timer", @@ -10333,7 +10333,7 @@ dependencies = [ [[package]] name = "sp-tracing" version = "6.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "sp-std", @@ -10345,7 +10345,7 @@ dependencies = [ [[package]] name = "sp-transaction-pool" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "sp-api", "sp-runtime", @@ -10354,7 +10354,7 @@ dependencies = [ [[package]] name = "sp-transaction-storage-proof" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "log", @@ -10370,7 +10370,7 @@ dependencies = [ [[package]] name = "sp-trie" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "ahash", "hash-db", @@ -10393,7 +10393,7 @@ dependencies = [ [[package]] name = "sp-version" version = "5.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "impl-serde", "parity-scale-codec", @@ -10410,7 +10410,7 @@ dependencies = [ [[package]] name = "sp-version-proc-macro" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "proc-macro2", @@ -10421,7 +10421,7 @@ dependencies = [ [[package]] name = "sp-wasm-interface" version = "7.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "impl-trait-for-tuples", "log", @@ -10434,7 +10434,7 @@ dependencies = [ [[package]] name = "sp-weights" version = "4.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "parity-scale-codec", "scale-info", @@ -10648,7 +10648,7 @@ dependencies = [ [[package]] name = "substrate-build-script-utils" version = "3.0.0" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "platforms", ] @@ -10656,7 +10656,7 @@ dependencies = [ [[package]] name = "substrate-frame-rpc-system" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "frame-system-rpc-runtime-api", "futures", @@ -10675,7 +10675,7 @@ dependencies = [ [[package]] name = "substrate-prometheus-endpoint" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "hyper", "log", @@ -10687,7 +10687,7 @@ dependencies = [ [[package]] name = "substrate-rpc-client" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "async-trait", "jsonrpsee", @@ -10700,7 +10700,7 @@ dependencies = [ [[package]] name = "substrate-state-trie-migration-rpc" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "jsonrpsee", "log", @@ -10719,7 +10719,7 @@ dependencies = [ [[package]] name = "substrate-test-client" version = "2.0.1" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "array-bytes", "async-trait", @@ -10745,7 +10745,7 @@ dependencies = [ [[package]] name = "substrate-test-utils" version = "4.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "futures", "substrate-test-utils-derive", @@ -10755,7 +10755,7 @@ dependencies = [ [[package]] name = "substrate-test-utils-derive" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -10766,7 +10766,7 @@ dependencies = [ [[package]] name = "substrate-wasm-builder" version = "5.0.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "ansi_term", "build-helper", @@ -11514,7 +11514,7 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "try-runtime-cli" version = "0.10.0-dev" -source = "git+https://github.com/paritytech/substrate?branch=master#c32968aa7c02b84b10af7986fe6d82716d804bf4" +source = "git+https://github.com/paritytech/substrate?branch=master#a052224682994e6b54c94c17572e061f690149e5" dependencies = [ "clap", "frame-remote-externalities", diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index 1d3516ecab41..380a2baa5f78 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -1917,7 +1917,7 @@ sp_api::impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) { + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade kusama."); let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 162195b1fa46..44bbd365b1ef 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -2019,7 +2019,7 @@ sp_api::impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) { + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade polkadot."); let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index d856f243911b..5d050e74a6fe 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -1634,7 +1634,7 @@ sp_api::impl_runtime_apis! { #[cfg(feature = "try-runtime")] impl frame_try_runtime::TryRuntime for Runtime { - fn on_runtime_upgrade(checks: bool) -> (Weight, Weight) { + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { log::info!("try-runtime::on_runtime_upgrade westend."); let weight = Executive::try_runtime_upgrade(checks).unwrap(); (weight, BlockWeights::get().max_block) From f7ef01b49bc012283d73a1dab6f116435a592fe0 Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov Date: Wed, 4 Jan 2023 16:41:56 +0200 Subject: [PATCH 208/211] Add `try-runtime` to Rococo runtime (#6501) * Add `try-runtime` to Rococo runtime * Enable try-runtime in all pallets * Update runtime/rococo/src/lib.rs Co-authored-by: Oliver Tale-Yazdi * Add dev-dependencies for the try-runtime test Co-authored-by: Oliver Tale-Yazdi --- Cargo.lock | 4 +++ runtime/rococo/Cargo.toml | 15 ++++++++++- runtime/rococo/src/lib.rs | 55 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index e9bd9b74286d..c748b5d956ff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8046,10 +8046,12 @@ dependencies = [ "beefy-merkle-tree", "frame-benchmarking", "frame-executive", + "frame-remote-externalities", "frame-support", "frame-system", "frame-system-benchmarking", "frame-system-rpc-runtime-api", + "frame-try-runtime", "hex-literal", "log", "pallet-authority-discovery", @@ -8117,12 +8119,14 @@ dependencies = [ "sp-session", "sp-staking", "sp-std", + "sp-tracing", "sp-transaction-pool", "sp-trie", "sp-version", "static_assertions", "substrate-wasm-builder", "tiny-keccak", + "tokio", "xcm", "xcm-builder", "xcm-executor", diff --git a/runtime/rococo/Cargo.toml b/runtime/rococo/Cargo.toml index aaf6710b7c1a..dda042a6e5ce 100644 --- a/runtime/rococo/Cargo.toml +++ b/runtime/rococo/Cargo.toml @@ -77,6 +77,7 @@ pallet-xcm = { path = "../../xcm/pallet-xcm", default-features = false } pallet-xcm-benchmarks = { path = "../../xcm/pallet-xcm-benchmarks", default-features = false, optional = true } frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } +frame-try-runtime = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } frame-system-benchmarking = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, optional = true } hex-literal = { version = "0.3.4" } @@ -92,9 +93,12 @@ xcm-builder = { package = "xcm-builder", path = "../../xcm/xcm-builder", default [dev-dependencies] tiny-keccak = { version = "2.0.2", features = ["keccak"] } keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" } +remote-externalities = { git = "https://github.com/paritytech/substrate", branch = "master", package = "frame-remote-externalities" } sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" } separator = "0.4.1" serde_json = "1.0.81" +sp-tracing = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false } +tokio = { version = "1.22.0", features = ["macros"] } [build-dependencies] substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "master" } @@ -168,6 +172,7 @@ std = [ "sp-session/std", "runtime-common/std", "runtime-parachains/std", + "frame-try-runtime/std", "beefy-primitives/std", "rococo-runtime-constants/std", "xcm/std", @@ -214,10 +219,14 @@ runtime-benchmarks = [ ] try-runtime = [ "frame-executive/try-runtime", + "frame-try-runtime", "frame-system/try-runtime", "pallet-authority-discovery/try-runtime", "pallet-authorship/try-runtime", "pallet-balances/try-runtime", + "pallet-babe/try-runtime", + "pallet-beefy/try-runtime", + "pallet-beefy-mmr/try-runtime", "pallet-bounties/try-runtime", "pallet-child-bounties/try-runtime", "pallet-transaction-payment/try-runtime", @@ -229,7 +238,9 @@ try-runtime = [ "pallet-im-online/try-runtime", "pallet-indices/try-runtime", "pallet-membership/try-runtime", + "pallet-mmr/try-runtime", "pallet-multisig/try-runtime", + "pallet-nis/try-runtime", "pallet-offences/try-runtime", "pallet-preimage/try-runtime", "pallet-proxy/try-runtime", @@ -239,13 +250,15 @@ try-runtime = [ "pallet-society/try-runtime", "pallet-sudo/try-runtime", "pallet-staking/try-runtime", + "pallet-state-trie-migration/try-runtime", "pallet-timestamp/try-runtime", "pallet-tips/try-runtime", "pallet-treasury/try-runtime", "pallet-utility/try-runtime", "pallet-vesting/try-runtime", - "pallet-babe/try-runtime", + "pallet-xcm/try-runtime", "runtime-common/try-runtime", + "runtime-parachains/try-runtime", ] # When enabled, the runtime API will not be build. # diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 91a095cf23f5..65ad8223e5d8 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -1926,6 +1926,26 @@ sp_api::impl_runtime_apis! { } } + #[cfg(feature = "try-runtime")] + impl frame_try_runtime::TryRuntime for Runtime { + fn on_runtime_upgrade(checks: frame_try_runtime::UpgradeCheckSelect) -> (Weight, Weight) { + log::info!("try-runtime::on_runtime_upgrade rococo."); + let weight = Executive::try_runtime_upgrade(checks).unwrap(); + (weight, BlockWeights::get().max_block) + } + + fn execute_block( + block: Block, + state_root_check: bool, + signature_check: bool, + select: frame_try_runtime::TryStateSelect, + ) -> Weight { + // NOTE: intentional unwrap: we don't want to propagate the error backwards, and want to + // have a backtrace here. + Executive::try_execute_block(block, state_root_check, signature_check, select).unwrap() + } + } + #[cfg(feature = "runtime-benchmarks")] impl frame_benchmarking::Benchmark for Runtime { fn benchmark_metadata(extra: bool) -> ( @@ -2047,3 +2067,38 @@ sp_api::impl_runtime_apis! { } } } + +#[cfg(all(test, feature = "try-runtime"))] +mod remote_tests { + use super::*; + use frame_try_runtime::runtime_decl_for_TryRuntime::TryRuntime; + use remote_externalities::{ + Builder, Mode, OfflineConfig, OnlineConfig, SnapshotConfig, Transport, + }; + use std::env::var; + + #[tokio::test] + async fn run_migrations() { + sp_tracing::try_init_simple(); + let transport: Transport = + var("WS").unwrap_or("wss://rococo-rpc.polkadot.io:443".to_string()).into(); + let maybe_state_snapshot: Option = var("SNAP").map(|s| s.into()).ok(); + let mut ext = Builder::::default() + .mode(if let Some(state_snapshot) = maybe_state_snapshot { + Mode::OfflineOrElseOnline( + OfflineConfig { state_snapshot: state_snapshot.clone() }, + OnlineConfig { + transport, + state_snapshot: Some(state_snapshot), + ..Default::default() + }, + ) + } else { + Mode::Online(OnlineConfig { transport, ..Default::default() }) + }) + .build() + .await + .unwrap(); + ext.execute_with(|| Runtime::on_runtime_upgrade(true)); + } +} From 2feb6c7b68ad0ac1c78e5c4ba51e234aef387955 Mon Sep 17 00:00:00 2001 From: Serban Iorga Date: Wed, 4 Jan 2023 23:27:25 +0200 Subject: [PATCH 209/211] Fix `polkadot-runtime-constants` std build (#6503) * Fix polkadot-runtime-constants std build * Fix kusama, rococo and westend constants std build * Code review fixes --- runtime/kusama/constants/Cargo.toml | 3 +++ runtime/polkadot/constants/Cargo.toml | 3 +++ runtime/rococo/constants/Cargo.toml | 3 +++ runtime/westend/constants/Cargo.toml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/runtime/kusama/constants/Cargo.toml b/runtime/kusama/constants/Cargo.toml index d24fc3b4be12..6d5dc406586c 100644 --- a/runtime/kusama/constants/Cargo.toml +++ b/runtime/kusama/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std" diff --git a/runtime/polkadot/constants/Cargo.toml b/runtime/polkadot/constants/Cargo.toml index c6b3bed8dc3f..ad8159e7463d 100644 --- a/runtime/polkadot/constants/Cargo.toml +++ b/runtime/polkadot/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std" diff --git a/runtime/rococo/constants/Cargo.toml b/runtime/rococo/constants/Cargo.toml index 6d7563e36d10..9383a9de6c68 100644 --- a/runtime/rococo/constants/Cargo.toml +++ b/runtime/rococo/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std" diff --git a/runtime/westend/constants/Cargo.toml b/runtime/westend/constants/Cargo.toml index 1de2721b5051..c6fac15dca32 100644 --- a/runtime/westend/constants/Cargo.toml +++ b/runtime/westend/constants/Cargo.toml @@ -17,6 +17,9 @@ sp-core = { git = "https://github.com/paritytech/substrate", default-features = [features] default = ["std"] std = [ + "frame-support/std", + "primitives/std", + "runtime-common/std", "sp-core/std", "sp-runtime/std", "sp-weights/std" From b4d8c76f60cf8bfdd3bee4923850fe6dc4d1cf33 Mon Sep 17 00:00:00 2001 From: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com> Date: Wed, 4 Jan 2023 13:35:58 -0800 Subject: [PATCH 210/211] Issue 6274: keeping all backing votes in provisioner vote set (#6494) * Fixing filter to keep all backing votes * Comment and implementers guide edit * Formatting * Using fallthrough * Fmt --- .../src/disputes/prioritized_selection/mod.rs | 18 ++++++++++++++---- .../src/node/utility/provisioner.md | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs index 7d8e52ccf19b..e92626e3afca 100644 --- a/node/core/provisioner/src/disputes/prioritized_selection/mod.rs +++ b/node/core/provisioner/src/disputes/prioritized_selection/mod.rs @@ -28,7 +28,7 @@ use polkadot_node_subsystem::{ }; use polkadot_primitives::v2::{ supermajority_threshold, CandidateHash, DisputeState, DisputeStatement, DisputeStatementSet, - Hash, MultiDisputeStatementSet, SessionIndex, ValidatorIndex, + Hash, MultiDisputeStatementSet, SessionIndex, ValidDisputeStatementKind, ValidatorIndex, }; use std::{ collections::{BTreeMap, HashMap}, @@ -364,10 +364,20 @@ fn is_vote_worth_to_keep( dispute_statement: DisputeStatement, onchain_state: &DisputeState, ) -> bool { - let offchain_vote = match dispute_statement { - DisputeStatement::Valid(_) => true, - DisputeStatement::Invalid(_) => false, + let (offchain_vote, valid_kind) = match dispute_statement { + DisputeStatement::Valid(kind) => (true, Some(kind)), + DisputeStatement::Invalid(_) => (false, None), }; + // We want to keep all backing votes. This maximizes the number of backers + // punished when misbehaving. + if let Some(kind) = valid_kind { + match kind { + ValidDisputeStatementKind::BackingValid(_) | + ValidDisputeStatementKind::BackingSeconded(_) => return true, + _ => (), + } + } + let in_validators_for = onchain_state .validators_for .get(validator_index.0 as usize) diff --git a/roadmap/implementers-guide/src/node/utility/provisioner.md b/roadmap/implementers-guide/src/node/utility/provisioner.md index e477a652a60e..fb97d52f1a8c 100644 --- a/roadmap/implementers-guide/src/node/utility/provisioner.md +++ b/roadmap/implementers-guide/src/node/utility/provisioner.md @@ -73,7 +73,7 @@ The end result of this process is a vector of `BackedCandidate`s, sorted in orde This is the point at which the block author provides further votes to active disputes or initiates new disputes in the runtime state. -The block-authoring logic of the runtime has an extra step between handling the inherent-data and producing the actual inherent call, which we assume performs the work of filtering out disputes which are not relevant to the on-chain state. +The block-authoring logic of the runtime has an extra step between handling the inherent-data and producing the actual inherent call, which we assume performs the work of filtering out disputes which are not relevant to the on-chain state. Backing votes are always kept in the dispute statement set. This ensures we punish the maximum number of misbehaving backers. To select disputes: From 52e8606b5ddc18bff26c1897750dcb45d37c5e7a Mon Sep 17 00:00:00 2001 From: Marcin S Date: Wed, 4 Jan 2023 17:18:41 -0500 Subject: [PATCH 211/211] Log PVF retries (#6504) --- node/core/candidate-validation/src/lib.rs | 18 ++++++++++++++---- node/core/pvf/src/host.rs | 22 +++++++++++++++++++++- 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/node/core/candidate-validation/src/lib.rs b/node/core/candidate-validation/src/lib.rs index 70fc24eacade..743a053f2ec7 100644 --- a/node/core/candidate-validation/src/lib.rs +++ b/node/core/candidate-validation/src/lib.rs @@ -604,6 +604,7 @@ async fn validate_candidate_exhaustive( #[async_trait] trait ValidationBackend { + /// Tries executing a PVF a single time (no retries). async fn validate_candidate( &mut self, pvf: Pvf, @@ -611,6 +612,8 @@ trait ValidationBackend { encoded_params: Vec, ) -> Result; + /// Tries executing a PVF. Will retry once if an error is encountered that may have been + /// transient. async fn validate_candidate_with_retry( &mut self, raw_validation_code: Vec, @@ -620,7 +623,7 @@ trait ValidationBackend { // Construct the PVF a single time, since it is an expensive operation. Cloning it is cheap. let pvf = Pvf::from_code(raw_validation_code); - let validation_result = + let mut validation_result = self.validate_candidate(pvf.clone(), timeout, params.encode()).await; // If we get an AmbiguousWorkerDeath error, retry once after a brief delay, on the @@ -630,12 +633,19 @@ trait ValidationBackend { { // Wait a brief delay before retrying. futures_timer::Delay::new(PVF_EXECUTION_RETRY_DELAY).await; + + gum::debug!( + target: LOG_TARGET, + ?pvf, + "Re-trying failed candidate validation due to AmbiguousWorkerDeath." + ); + // Encode the params again when re-trying. We expect the retry case to be relatively // rare, and we want to avoid unconditionally cloning data. - self.validate_candidate(pvf, timeout, params.encode()).await - } else { - validation_result + validation_result = self.validate_candidate(pvf, timeout, params.encode()).await; } + + validation_result } async fn precheck_pvf(&mut self, pvf: Pvf) -> Result; diff --git a/node/core/pvf/src/host.rs b/node/core/pvf/src/host.rs index d7823ac44c77..96aed4eae7a8 100644 --- a/node/core/pvf/src/host.rs +++ b/node/core/pvf/src/host.rs @@ -525,6 +525,16 @@ async fn handle_execute_pvf( }, ArtifactState::FailedToProcess { last_time_failed, num_failures, error } => { if can_retry_prepare_after_failure(*last_time_failed, *num_failures, error) { + gum::debug!( + target: LOG_TARGET, + ?pvf, + ?artifact_id, + ?last_time_failed, + %num_failures, + %error, + "handle_execute_pvf: Re-trying failed PVF preparation." + ); + // If we are allowed to retry the failed prepare job, change the state to // Preparing and re-queue this job. *state = ArtifactState::Preparing { @@ -585,6 +595,16 @@ async fn handle_heads_up( }, ArtifactState::FailedToProcess { last_time_failed, num_failures, error } => { if can_retry_prepare_after_failure(*last_time_failed, *num_failures, error) { + gum::debug!( + target: LOG_TARGET, + ?active_pvf, + ?artifact_id, + ?last_time_failed, + %num_failures, + %error, + "handle_heads_up: Re-trying failed PVF preparation." + ); + // If we are allowed to retry the failed prepare job, change the state to // Preparing and re-queue this job. *state = ArtifactState::Preparing { @@ -1393,7 +1413,7 @@ mod tests { } // Test that multiple execution requests don't trigger preparation retries if the first one - // failed due to reproducible error (e.g. Prevalidation). + // failed due to a reproducible error (e.g. Prevalidation). #[async_std::test] async fn test_execute_prepare_no_retry() { let mut test = Builder::default().build();